@turbo/types 2.10.13-canary.6 → 2.10.13
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/package.json +1 -1
- package/schemas/schema.json +2 -2
- package/schemas/schema.ts +4 -4
- package/schemas/schema.v1.json +1 -1
- package/schemas/schema.v2.json +1 -1
- package/src/json/frameworks.json +16 -1
- package/src/types/config-v1.ts +2 -2
- package/src/types/config-v2.ts +4 -4
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
"globalPassThroughEnv": {
|
|
154
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv",
|
|
154
|
+
"description": "An allowlist of environment variables that should be made available to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv",
|
|
155
155
|
"type": ["array", "null"],
|
|
156
156
|
"items": {
|
|
157
157
|
"$ref": "#/definitions/String"
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
466
|
"passThroughEnv": {
|
|
467
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key.",
|
|
467
|
+
"description": "An allowlist of environment variables that should be made available to all tasks, but should not contribute to the task's cache key.",
|
|
468
468
|
"type": ["array", "null"],
|
|
469
469
|
"items": {
|
|
470
470
|
"$ref": "#/definitions/String"
|
package/schemas/schema.ts
CHANGED
|
@@ -95,8 +95,8 @@ export interface RootSchema extends BaseSchema {
|
|
|
95
95
|
globalEnv?: Array<EnvWildcard>;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* An allowlist of environment variables that should be made to all tasks,
|
|
99
|
-
* should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
98
|
+
* An allowlist of environment variables that should be made available to all tasks,
|
|
99
|
+
* but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
100
100
|
*
|
|
101
101
|
* Documentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv
|
|
102
102
|
*
|
|
@@ -338,8 +338,8 @@ export interface GlobalConfig {
|
|
|
338
338
|
env?: Array<EnvWildcard>;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
* An allowlist of environment variables that should be made to all tasks,
|
|
342
|
-
* should not contribute to the task's cache key.
|
|
341
|
+
* An allowlist of environment variables that should be made available to all tasks,
|
|
342
|
+
* but should not contribute to the task's cache key.
|
|
343
343
|
*
|
|
344
344
|
* Replaces `globalPassThroughEnv` when `futureFlags.globalConfiguration` is enabled.
|
|
345
345
|
*
|
package/schemas/schema.v1.json
CHANGED
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
],
|
|
185
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv",
|
|
185
|
+
"description": "An allowlist of environment variables that should be made available to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv",
|
|
186
186
|
"default": null
|
|
187
187
|
},
|
|
188
188
|
"globalDotEnv": {
|
package/schemas/schema.v2.json
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
"globalPassThroughEnv": {
|
|
145
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv",
|
|
145
|
+
"description": "An allowlist of environment variables that should be made available to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv",
|
|
146
146
|
"type": ["array", "null"],
|
|
147
147
|
"items": {
|
|
148
148
|
"$ref": "#/definitions/String"
|
package/src/json/frameworks.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
{
|
|
48
48
|
"slug": "nextjs",
|
|
49
49
|
"name": "Next.js",
|
|
50
|
-
"envWildcards": ["NEXT_PUBLIC_*"],
|
|
50
|
+
"envWildcards": ["NEXT_PUBLIC_*", "NEXT_DEPLOYMENT_ID"],
|
|
51
51
|
"envConditionals": [
|
|
52
52
|
{
|
|
53
53
|
"when": { "key": "VERCEL_SKEW_PROTECTION_ENABLED", "value": "1" },
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"name": "Nuxt.js",
|
|
92
92
|
"envWildcards": [
|
|
93
93
|
"NUXT_*",
|
|
94
|
+
"NUXT_ENV_*",
|
|
94
95
|
"NITRO_*",
|
|
95
96
|
"SERVER_*",
|
|
96
97
|
"AWS_APP_ID",
|
|
@@ -119,6 +120,20 @@
|
|
|
119
120
|
"dependencies": ["@redwoodjs/core"]
|
|
120
121
|
}
|
|
121
122
|
},
|
|
123
|
+
{
|
|
124
|
+
"slug": "remix",
|
|
125
|
+
"name": "Remix",
|
|
126
|
+
"envWildcards": ["REMIX_*"],
|
|
127
|
+
"dependencyMatch": {
|
|
128
|
+
"strategy": "some",
|
|
129
|
+
"dependencies": [
|
|
130
|
+
"@remix-run/dev",
|
|
131
|
+
"@remix-run/react",
|
|
132
|
+
"@remix-run/serve",
|
|
133
|
+
"@react-router/dev"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
122
137
|
{
|
|
123
138
|
"slug": "sanity",
|
|
124
139
|
"name": "Sanity Studio",
|
package/src/types/config-v1.ts
CHANGED
|
@@ -241,8 +241,8 @@ export interface RootSchemaV1 extends BaseSchemaV1 {
|
|
|
241
241
|
globalEnv?: Array<EnvWildcardV1>;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* An allowlist of environment variables that should be made to all tasks,
|
|
245
|
-
* should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
244
|
+
* An allowlist of environment variables that should be made available to all tasks,
|
|
245
|
+
* but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
246
246
|
*
|
|
247
247
|
* Documentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv
|
|
248
248
|
*
|
package/src/types/config-v2.ts
CHANGED
|
@@ -95,8 +95,8 @@ export interface RootSchema extends BaseSchema {
|
|
|
95
95
|
globalEnv?: Array<EnvWildcard>;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* An allowlist of environment variables that should be made to all tasks,
|
|
99
|
-
* should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
98
|
+
* An allowlist of environment variables that should be made available to all tasks,
|
|
99
|
+
* but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
100
100
|
*
|
|
101
101
|
* Documentation: https://turborepo.dev/docs/reference/configuration#globalpassthroughenv
|
|
102
102
|
*
|
|
@@ -404,8 +404,8 @@ export interface GlobalConfig {
|
|
|
404
404
|
env?: Array<EnvWildcard>;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
|
-
* An allowlist of environment variables that should be made to all tasks,
|
|
408
|
-
* should not contribute to the task's cache key.
|
|
407
|
+
* An allowlist of environment variables that should be made available to all tasks,
|
|
408
|
+
* but should not contribute to the task's cache key.
|
|
409
409
|
*
|
|
410
410
|
* Replaces `globalPassThroughEnv` when `futureFlags.globalConfiguration` is enabled.
|
|
411
411
|
*
|