@sanity/cli 3.64.2-react-compiler.0 → 3.64.3
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/lib/_chunks-cjs/cli.js.map +1 -1
- package/lib/index.d.mts +0 -27
- package/lib/index.d.ts +0 -27
- package/package.json +8 -8
- package/src/types.ts +0 -31
package/lib/index.d.mts
CHANGED
@@ -101,12 +101,6 @@ export declare interface CliConfig {
|
|
101
101
|
* Defaults to `false`
|
102
102
|
*/
|
103
103
|
reactStrictMode?: boolean
|
104
|
-
/**
|
105
|
-
* The React Compiler is currently in beta, and is disabled by default.
|
106
|
-
* @see https://react.dev/learn/react-compiler
|
107
|
-
* @beta
|
108
|
-
*/
|
109
|
-
reactCompiler?: ReactCompilerConfig
|
110
104
|
server?: {
|
111
105
|
hostname?: string
|
112
106
|
port?: number
|
@@ -372,27 +366,6 @@ export declare interface PackageJson {
|
|
372
366
|
|
373
367
|
declare type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun' | 'manual'
|
374
368
|
|
375
|
-
/**
|
376
|
-
* Until these types are on npm: https://github.com/facebook/react/blob/0bc30748730063e561d87a24a4617526fdd38349/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L39-L122
|
377
|
-
* @beta
|
378
|
-
*/
|
379
|
-
export declare interface ReactCompilerConfig {
|
380
|
-
/**
|
381
|
-
* @see https://react.dev/learn/react-compiler#existing-projects
|
382
|
-
*/
|
383
|
-
sources?: Array<string> | ((filename: string) => boolean) | null
|
384
|
-
/**
|
385
|
-
* The minimum major version of React that the compiler should emit code for. If the target is 19
|
386
|
-
* or higher, the compiler emits direct imports of React runtime APIs needed by the compiler. On
|
387
|
-
* versions prior to 19, an extra runtime package react-compiler-runtime is necessary to provide
|
388
|
-
* a userspace approximation of runtime APIs.
|
389
|
-
* @see https://react.dev/learn/react-compiler#using-react-compiler-with-react-17-or-18
|
390
|
-
*/
|
391
|
-
target: '17' | '18' | '19'
|
392
|
-
panicThreshold?: 'ALL_ERRORS' | 'CRITICAL_ERRORS' | 'NONE'
|
393
|
-
compilationMode?: 'infer' | 'syntax' | 'annotation' | 'all'
|
394
|
-
}
|
395
|
-
|
396
369
|
export declare interface ResolvedCliCommand {
|
397
370
|
command: CliCommandDefinition | CliCommandGroupDefinition
|
398
371
|
commandName: string
|
package/lib/index.d.ts
CHANGED
@@ -101,12 +101,6 @@ export declare interface CliConfig {
|
|
101
101
|
* Defaults to `false`
|
102
102
|
*/
|
103
103
|
reactStrictMode?: boolean
|
104
|
-
/**
|
105
|
-
* The React Compiler is currently in beta, and is disabled by default.
|
106
|
-
* @see https://react.dev/learn/react-compiler
|
107
|
-
* @beta
|
108
|
-
*/
|
109
|
-
reactCompiler?: ReactCompilerConfig
|
110
104
|
server?: {
|
111
105
|
hostname?: string
|
112
106
|
port?: number
|
@@ -372,27 +366,6 @@ export declare interface PackageJson {
|
|
372
366
|
|
373
367
|
declare type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun' | 'manual'
|
374
368
|
|
375
|
-
/**
|
376
|
-
* Until these types are on npm: https://github.com/facebook/react/blob/0bc30748730063e561d87a24a4617526fdd38349/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L39-L122
|
377
|
-
* @beta
|
378
|
-
*/
|
379
|
-
export declare interface ReactCompilerConfig {
|
380
|
-
/**
|
381
|
-
* @see https://react.dev/learn/react-compiler#existing-projects
|
382
|
-
*/
|
383
|
-
sources?: Array<string> | ((filename: string) => boolean) | null
|
384
|
-
/**
|
385
|
-
* The minimum major version of React that the compiler should emit code for. If the target is 19
|
386
|
-
* or higher, the compiler emits direct imports of React runtime APIs needed by the compiler. On
|
387
|
-
* versions prior to 19, an extra runtime package react-compiler-runtime is necessary to provide
|
388
|
-
* a userspace approximation of runtime APIs.
|
389
|
-
* @see https://react.dev/learn/react-compiler#using-react-compiler-with-react-17-or-18
|
390
|
-
*/
|
391
|
-
target: '17' | '18' | '19'
|
392
|
-
panicThreshold?: 'ALL_ERRORS' | 'CRITICAL_ERRORS' | 'NONE'
|
393
|
-
compilationMode?: 'infer' | 'syntax' | 'annotation' | 'all'
|
394
|
-
}
|
395
|
-
|
396
369
|
export declare interface ResolvedCliCommand {
|
397
370
|
command: CliCommandDefinition | CliCommandGroupDefinition
|
398
371
|
commandName: string
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sanity/cli",
|
3
|
-
"version": "3.64.
|
3
|
+
"version": "3.64.3",
|
4
4
|
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
|
5
5
|
"keywords": [
|
6
6
|
"sanity",
|
@@ -57,10 +57,10 @@
|
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
59
|
"@babel/traverse": "^7.23.5",
|
60
|
-
"@sanity/client": "^6.22.
|
61
|
-
"@sanity/codegen": "3.64.
|
60
|
+
"@sanity/client": "^6.22.5",
|
61
|
+
"@sanity/codegen": "3.64.3",
|
62
62
|
"@sanity/telemetry": "^0.7.7",
|
63
|
-
"@sanity/util": "3.64.
|
63
|
+
"@sanity/util": "3.64.3",
|
64
64
|
"chalk": "^4.1.2",
|
65
65
|
"debug": "^4.3.4",
|
66
66
|
"decompress": "^4.2.0",
|
@@ -75,13 +75,13 @@
|
|
75
75
|
"validate-npm-package-name": "^3.0.0"
|
76
76
|
},
|
77
77
|
"devDependencies": {
|
78
|
-
"@repo/package.config": "3.64.
|
79
|
-
"@repo/test-config": "3.64.
|
78
|
+
"@repo/package.config": "3.64.3",
|
79
|
+
"@repo/test-config": "3.64.3",
|
80
80
|
"@rexxars/gitconfiglocal": "^3.0.1",
|
81
81
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
82
82
|
"@sanity/eslint-config-studio": "^4.0.0",
|
83
83
|
"@sanity/generate-help-url": "^3.0.0",
|
84
|
-
"@sanity/types": "3.64.
|
84
|
+
"@sanity/types": "3.64.3",
|
85
85
|
"@types/babel__traverse": "^7.20.5",
|
86
86
|
"@types/configstore": "^5.0.1",
|
87
87
|
"@types/cpx": "^1.5.2",
|
@@ -135,5 +135,5 @@
|
|
135
135
|
"engines": {
|
136
136
|
"node": ">=18"
|
137
137
|
},
|
138
|
-
"gitHead": "
|
138
|
+
"gitHead": "a14990d936e2580047d198a660b4f539745e42be"
|
139
139
|
}
|
package/src/types.ts
CHANGED
@@ -286,30 +286,6 @@ export interface GraphQLAPIConfig {
|
|
286
286
|
filterSuffix?: string
|
287
287
|
}
|
288
288
|
|
289
|
-
/**
|
290
|
-
* Until these types are on npm: https://github.com/facebook/react/blob/0bc30748730063e561d87a24a4617526fdd38349/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L39-L122
|
291
|
-
* @beta
|
292
|
-
*/
|
293
|
-
export interface ReactCompilerConfig {
|
294
|
-
/**
|
295
|
-
* @see https://react.dev/learn/react-compiler#existing-projects
|
296
|
-
*/
|
297
|
-
sources?: Array<string> | ((filename: string) => boolean) | null
|
298
|
-
|
299
|
-
/**
|
300
|
-
* The minimum major version of React that the compiler should emit code for. If the target is 19
|
301
|
-
* or higher, the compiler emits direct imports of React runtime APIs needed by the compiler. On
|
302
|
-
* versions prior to 19, an extra runtime package react-compiler-runtime is necessary to provide
|
303
|
-
* a userspace approximation of runtime APIs.
|
304
|
-
* @see https://react.dev/learn/react-compiler#using-react-compiler-with-react-17-or-18
|
305
|
-
*/
|
306
|
-
target: '17' | '18' | '19'
|
307
|
-
|
308
|
-
panicThreshold?: 'ALL_ERRORS' | 'CRITICAL_ERRORS' | 'NONE'
|
309
|
-
|
310
|
-
compilationMode?: 'infer' | 'syntax' | 'annotation' | 'all'
|
311
|
-
}
|
312
|
-
|
313
289
|
export interface CliConfig {
|
314
290
|
api?: CliApiConfig
|
315
291
|
|
@@ -325,13 +301,6 @@ export interface CliConfig {
|
|
325
301
|
*/
|
326
302
|
reactStrictMode?: boolean
|
327
303
|
|
328
|
-
/**
|
329
|
-
* The React Compiler is currently in beta, and is disabled by default.
|
330
|
-
* @see https://react.dev/learn/react-compiler
|
331
|
-
* @beta
|
332
|
-
*/
|
333
|
-
reactCompiler?: ReactCompilerConfig
|
334
|
-
|
335
304
|
server?: {
|
336
305
|
hostname?: string
|
337
306
|
port?: number
|