Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions apps/agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
},
"scripts": {
"build": "eve build",
"check-types": "tsgo",
"dev": "eve dev",
"start": "eve start",
"typecheck": "tsgo"
"start": "eve start"
},
"dependencies": {
"@vercel/connect": "0.4.2",
Expand Down
3 changes: 3 additions & 0 deletions apps/agents/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"tasks": {
"build": {
"outputs": [".eve/**", ".vercel/**"]
},
"check-types": {
"command": ["pnpm", "exec", "tsgo"]
}
}
}
9 changes: 1 addition & 8 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,9 @@
"scripts": {
"build": "next build",
"check-links": "cd content && node --experimental-strip-types ../../../docs/link-checker/src/validate-docs-links.ts",
"check-openapi": "node --experimental-strip-types scripts/generate-openapi-docs.ts --check",
"check-types": "next typegen && fumadocs-mdx && tsc --noEmit",
"collect-examples-data": "node --experimental-strip-types ./scripts/collect-examples-data.ts",
"dev": "next dev",
"generate:openapi": "node --experimental-strip-types scripts/generate-openapi-docs.ts",
"lint": "fumadocs-mdx",
"postinstall": "fumadocs-mdx",
"schema": "node --experimental-strip-types scripts/copy-json-schema.ts",
"start": "next start",
"translate": "npx @vercel/geistdocs translate"
"start": "next start"
},
"dependencies": {
"@icons-pack/react-simple-icons": "^13.8.0",
Expand Down
50 changes: 47 additions & 3 deletions apps/docs/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,21 @@
"dependsOn": ["@turbo/types#build"],
"inputs": ["scripts/copy-json-schema.ts"],
"outputs": ["public/schema*.json"],
"env": []
"env": [],
"command": [
"node",
"--experimental-strip-types",
"scripts/copy-json-schema.ts"
]
},

"collect-examples-data": {
"cache": false
"cache": false,
"command": [
"node",
"--experimental-strip-types",
"scripts/collect-examples-data.ts"
]
},
"check-links": {
"inputs": [
Expand All @@ -37,7 +47,41 @@
"cache": false
},
"check-types": {
"dependsOn": ["collect-examples-data"]
"dependsOn": ["collect-examples-data", "check-types:mdx"],
"command": ["pnpm", "exec", "tsc", "--noEmit"]
},
"check-types:next": {
"cache": false,
"command": ["pnpm", "exec", "next", "typegen"]
},
"check-types:mdx": {
"cache": false,
"dependsOn": ["check-types:next"],
"command": ["pnpm", "exec", "fumadocs-mdx"]
},
"lint": {
"command": ["pnpm", "exec", "fumadocs-mdx"]
},
"check-openapi": {
"command": [
"node",
"--experimental-strip-types",
"scripts/generate-openapi-docs.ts",
"--check"
]
},
"generate:openapi": {
"cache": false,
"command": [
"node",
"--experimental-strip-types",
"scripts/generate-openapi-docs.ts"
]
},
"translate": {
"cache": false,
"interactive": true,
"command": ["npx", "@vercel/geistdocs", "translate"]
}
}
}
5 changes: 0 additions & 5 deletions examples/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"name": "turborepo-examples",
"scripts": {
"install-all": "tsx install-all.ts",
"update-turbo": "tsx update-turbo.ts",
"check-examples": "tsx --env-file=.env.local check-examples.ts"
},
"devDependencies": {
"@vercel/sandbox": "2.5.0",
"tsx": "4.21.0"
Expand Down
20 changes: 19 additions & 1 deletion examples/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,26 @@
"lint:prettier": {
"inputs": []
},
"check-types": {
"command": null
},
"check-examples": {
"passThroughEnv": ["VERCEL_TOKEN"]
"passThroughEnv": ["VERCEL_TOKEN"],
"command": [
"pnpm",
"exec",
"tsx",
"--env-file=.env.local",
"check-examples.ts"
]
},
"install-all": {
"cache": false,
"command": ["pnpm", "exec", "tsx", "install-all.ts"]
},
"update-turbo": {
"cache": false,
"command": ["pnpm", "exec", "tsx", "update-turbo.ts"]
}
}
}
2 changes: 1 addition & 1 deletion lockfile-tests/fixtures/pnpm6turbo/pnpm-lock.yaml

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

3 changes: 0 additions & 3 deletions lockfile-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"name": "lockfile-tests",
"private": true,
"scripts": {
"check-lockfiles": "tsx check-lockfiles.ts"
},
"devDependencies": {
"tsx": "4.21.0"
}
Expand Down
6 changes: 5 additions & 1 deletion lockfile-tests/turbo.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"extends": ["//"],
"tasks": {
"check-types": {
"command": null
},
"check-lockfiles": {
// The harness runs the turbo binary from target/; depending on the
// crate's build task guarantees it exists and re-runs this check
// whenever the binary's transitive Rust sources change.
"dependsOn": ["turbo#build"],
"passThroughEnv": ["VERCEL_TOKEN"]
"passThroughEnv": ["VERCEL_TOKEN"],
"command": ["pnpm", "exec", "tsx", "check-lockfiles.ts"]
}
}
}
15 changes: 1 addition & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,11 @@
"version": "0.0.0",
"private": true,
"scripts": {
"build": "turbo run build",
"build:turbo": "cargo build --package turbo",
"build:ts": "tsc -b tsconfig.project.json",
"lint": "pnpm exec oxlint --deny-warnings .",
"lint:fix": "pnpm exec oxlint --fix .",
"format": "oxfmt --check",
"format:fix": "oxfmt .",
"check:toml": "taplo format --check",
"fix:toml": "taplo format",
"docs:dev": "turbo run dev --filter=./apps/docs",
"turbo": "pnpm run build:turbo && ./target/debug/turbo",
"turbo-prebuilt": "pnpm -- turbo",
"prepare": "husky install",
"test": "turbo run test",
"rustdoc": "RUSTDOCFLAGS=\"-Z unstable-options --enable-index-page\" cargo doc --workspace --no-deps --keep-going || true",
"rustdoc:open": "RUSTDOCFLAGS=\"-Z unstable-options --enable-index-page\" cargo doc --workspace --no-deps --keep-going --open",
"check": "ultracite check",
"fix": "ultracite fix"
"rustdoc:open": "RUSTDOCFLAGS=\"-Z unstable-options --enable-index-page\" cargo doc --workspace --no-deps --keep-going --open"
},
"devDependencies": {
"@taplo/cli": "0.5.2",
Expand Down
6 changes: 0 additions & 6 deletions packages/create-turbo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
"files": [
"dist"
],
"scripts": {
"build": "tsdown",
"test": "jest",
"check-types": "tsc --noEmit",
"lint:prettier": "prettier -c . --cache --ignore-path=../../.prettierignore"
},
"dependencies": {
"@inquirer/prompts": "^7.10.1",
"commander": "11.0.0",
Expand Down
17 changes: 15 additions & 2 deletions packages/create-turbo/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,23 @@
"extends": ["//"],
"tasks": {
"test": {
"dependsOn": ["build"]
"dependsOn": ["build"],
"command": ["pnpm", "exec", "jest"]
},
"build": {
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"command": ["pnpm", "exec", "tsdown"]
},
"lint:prettier": {
"command": [
"pnpm",
"exec",
"prettier",
"-c",
".",
"--cache",
"--ignore-path=../../.prettierignore"
]
}
}
}
5 changes: 0 additions & 5 deletions packages/eslint-config-turbo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
}
}
},
"scripts": {
"build": "bunchee",
"lint:prettier": "prettier -c . --cache --ignore-path=../../.prettierignore",
"package:types": "attw --profile node16 --pack"
},
"dependencies": {
"eslint-plugin-turbo": "workspace:*"
},
Expand Down
23 changes: 23 additions & 0 deletions packages/eslint-config-turbo/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "../../docs/public/schema.json",
"extends": ["//"],
"tasks": {
"build": {
"command": ["pnpm", "exec", "bunchee"]
},
"lint:prettier": {
"command": [
"pnpm",
"exec",
"prettier",
"-c",
".",
"--cache",
"--ignore-path=../../.prettierignore"
]
},
"package:types": {
"command": ["pnpm", "exec", "attw", "--profile", "node16", "--pack"]
}
}
}
6 changes: 0 additions & 6 deletions packages/eslint-plugin-turbo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"test": "jest",
"build": "tsdown && tsc -p tsconfig.build.json",
"check-types": "tsc --noEmit",
"lint:prettier": "prettier -c . --cache --ignore-path=../../.prettierignore"
},
"dependencies": {
"dotenv": "16.0.3"
},
Expand Down
23 changes: 22 additions & 1 deletion packages/eslint-plugin-turbo/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,30 @@
"$schema": "../../docs/public/schema.json",
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["build:bundle"],
"command": ["pnpm", "exec", "tsc", "-p", "tsconfig.build.json"]
},
"build:bundle": {
"cache": false,
"dependsOn": ["^build"],
"command": ["pnpm", "exec", "tsdown"]
},
"test": {
"dependsOn": ["build"],
"passThroughEnv": ["!CI"]
"passThroughEnv": ["!CI"],
"command": ["pnpm", "exec", "jest"]
},
"lint:prettier": {
"command": [
"pnpm",
"exec",
"prettier",
"-c",
".",
"--cache",
"--ignore-path=../../.prettierignore"
]
}
}
}
6 changes: 0 additions & 6 deletions packages/turbo-codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"test": "jest",
"check-types": "tsc --noEmit",
"lint:prettier": "prettier -c . --cache --ignore-path=../../.prettierignore"
},
"dependencies": {
"@inquirer/prompts": "^7.10.1",
"brace-expansion": "5.0.8",
Expand Down
23 changes: 23 additions & 0 deletions packages/turbo-codemod/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "../../docs/public/schema.json",
"extends": ["//"],
"tasks": {
"build": {
"command": ["pnpm", "exec", "tsdown"]
},
"test": {
"command": ["pnpm", "exec", "jest", "--runInBand", "--forceExit"]
},
"lint:prettier": {
"command": [
"pnpm",
"exec",
"prettier",
"-c",
".",
"--cache",
"--ignore-path=../../.prettierignore"
]
}
}
}
6 changes: 0 additions & 6 deletions packages/turbo-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown && tsc -p tsconfig.build.json",
"build:embed": "node scripts/embed-templates.mjs",
"test": "jest",
"check-types": "tsc --noEmit"
},
"dependencies": {
"@inquirer/prompts": "^7.10.1",
"esbuild": "^0.28.1"
Expand Down
Loading
Loading