Skip to content

Commit

Permalink
Remove turbo (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon authored Aug 20, 2024
1 parent de28c6e commit f238a95
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 167 deletions.
4 changes: 0 additions & 4 deletions .github/contributing.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Contributing

`tus-node-server` is a mono-repository managed by [Turborepo](https://turbo.build/repo).
This means running `npm run build` in the root will build all packages in parallel. The
same goes for `lint` and `format`.

## Changesets

We use [changesets](https://github.com/changesets/changesets) to manage versioning,
Expand Down
124 changes: 0 additions & 124 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"lint": "eslint .",
"format": "eslint --fix .",
"pretest": "tsc --build",
"test": "turbo run test",
"test": "npm test -w ./packages",
"version": "changeset version",
"release": "gh workflow run release",
"release:local": "turbo run build && changeset publish"
"release:local": "npm run build && changeset publish"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
Expand All @@ -26,7 +26,6 @@
"eslint-config-custom": "^0.0.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"turbo": "^1.13.0",
"typescript": "^5.5.4"
},
"version": "0.0.0"
Expand Down
6 changes: 1 addition & 5 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
module.exports = {
env: {es6: true, node: true, mocha: true},
parser: '@typescript-eslint/parser',
extends: [
'turbo',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'no-new': 'off',
Expand Down
4 changes: 3 additions & 1 deletion packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "echo \"No tests specified\""
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-turbo": "^1.11.3",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8"
},
Expand Down
5 changes: 1 addition & 4 deletions test/src/stores.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ import {setTimeout as promSetTimeout} from 'node:timers/promises'

import {Upload, Uid} from '@tus/server'

// In CI we run multiple jobs in parallel,
// so we need to make sure that the IDs are unique.
export function testId(id: string) {
// eslint-disable-next-line turbo/no-undeclared-env-vars
return `${id}-${process.env.GITHUB_JOB ?? Uid.rand()}`
return `${id}-${Uid.rand()}`
}

export const shouldHaveStoreMethods = function () {
Expand Down
26 changes: 0 additions & 26 deletions turbo.json

This file was deleted.

0 comments on commit f238a95

Please sign in to comment.