@turbo/types 2.7.5-canary.0 → 2.7.5-canary.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +6 -4
- package/schemas/schema.json +516 -297
- package/schemas/schema.v1.json +19 -19
- package/schemas/schema.v2.json +32 -28
- package/src/types/config-v1.ts +17 -17
- package/src/types/config-v2.ts +37 -30
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@ TypeScript types for `turbo.json`
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
For more information about Turborepo, visit [turborepo.
|
|
7
|
+
For more information about Turborepo, visit [turborepo.dev](https://turborepo.dev) and follow us on X ([@turborepo](https://x.com/turborepo))!
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbo/types",
|
|
3
|
-
"version": "2.7.5-canary.
|
|
3
|
+
"version": "2.7.5-canary.10",
|
|
4
4
|
"description": "Turborepo types",
|
|
5
5
|
"type": "commonjs",
|
|
6
|
-
"homepage": "https://turborepo.
|
|
6
|
+
"homepage": "https://turborepo.dev",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -30,9 +30,11 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"build": "tsc
|
|
33
|
+
"build": "tsc",
|
|
34
34
|
"lint:prettier": "prettier -c . --cache",
|
|
35
|
-
"generate-schema": "
|
|
35
|
+
"generate-schema": "cargo run -p turborepo-schema-gen -- schema -o schemas/schema.json && cargo run -p turborepo-schema-gen -- typescript -o src/types/config-v2.ts && pnpm exec oxfmt schemas/schema.json src/types/config-v2.ts",
|
|
36
|
+
"generate-schema:legacy": "tsx scripts/generate-schema.ts",
|
|
37
|
+
"verify-schema": "cargo run -p turborepo-schema-gen -- verify --schema schemas/schema.json --typescript src/types/config-v2.ts",
|
|
36
38
|
"copy-schema": "cp schemas/schema.json ../turbo/schema.json",
|
|
37
39
|
"package:types": "attw --profile node16 --pack"
|
|
38
40
|
}
|