@sanity/runtime-cli 13.3.2 → 13.4.0
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 +23 -23
- package/dist/baseCommands.js +5 -1
- package/dist/cores/index.d.ts +3 -1
- package/dist/cores/index.js +2 -2
- package/oclif.manifest.json +103 -18
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @sanity/runtime-cli
|
|
|
20
20
|
$ sanity-run COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ sanity-run (--version)
|
|
23
|
-
@sanity/runtime-cli/13.
|
|
23
|
+
@sanity/runtime-cli/13.4.0 linux-x64 node-v24.13.0
|
|
24
24
|
$ sanity-run --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ sanity-run COMMAND
|
|
@@ -98,7 +98,7 @@ EXAMPLES
|
|
|
98
98
|
$ sanity-run blueprints add function --name my-function --fn-type document-create --fn-type document-update --lang js
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
_See code: [src/commands/blueprints/add.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
101
|
+
_See code: [src/commands/blueprints/add.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/add.ts)_
|
|
102
102
|
|
|
103
103
|
## `sanity-run blueprints config`
|
|
104
104
|
|
|
@@ -133,7 +133,7 @@ EXAMPLES
|
|
|
133
133
|
$ sanity-run blueprints config --edit --project-id <projectId> --stack-id <stackId>
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [src/commands/blueprints/config.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
136
|
+
_See code: [src/commands/blueprints/config.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/config.ts)_
|
|
137
137
|
|
|
138
138
|
## `sanity-run blueprints deploy`
|
|
139
139
|
|
|
@@ -163,7 +163,7 @@ EXAMPLES
|
|
|
163
163
|
$ sanity-run blueprints deploy --no-wait
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
_See code: [src/commands/blueprints/deploy.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
166
|
+
_See code: [src/commands/blueprints/deploy.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/deploy.ts)_
|
|
167
167
|
|
|
168
168
|
## `sanity-run blueprints destroy`
|
|
169
169
|
|
|
@@ -195,7 +195,7 @@ EXAMPLES
|
|
|
195
195
|
$ sanity-run blueprints destroy --stack-id <stackId> --project-id <projectId> --force --no-wait
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [src/commands/blueprints/destroy.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
198
|
+
_See code: [src/commands/blueprints/destroy.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/destroy.ts)_
|
|
199
199
|
|
|
200
200
|
## `sanity-run blueprints doctor`
|
|
201
201
|
|
|
@@ -203,13 +203,13 @@ Diagnose potential issues with local Blueprint and remote Stack configuration
|
|
|
203
203
|
|
|
204
204
|
```
|
|
205
205
|
USAGE
|
|
206
|
-
$ sanity-run blueprints doctor [--json] [
|
|
206
|
+
$ sanity-run blueprints doctor [--json] [-p <value>] [--verbose] [--fix]
|
|
207
207
|
|
|
208
208
|
FLAGS
|
|
209
|
-
--
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
-p, --path=<value> [env: SANITY_BLUEPRINT_PATH] Path to a Blueprint file or directory containing one
|
|
210
|
+
--fix Interactively fix configuration issues
|
|
211
|
+
--json Format output as json.
|
|
212
|
+
--verbose Verbose output
|
|
213
213
|
|
|
214
214
|
DESCRIPTION
|
|
215
215
|
Diagnose potential issues with local Blueprint and remote Stack configuration
|
|
@@ -221,7 +221,7 @@ DESCRIPTION
|
|
|
221
221
|
issues.
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
_See code: [src/commands/blueprints/doctor.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
224
|
+
_See code: [src/commands/blueprints/doctor.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/doctor.ts)_
|
|
225
225
|
|
|
226
226
|
## `sanity-run blueprints info`
|
|
227
227
|
|
|
@@ -251,7 +251,7 @@ EXAMPLES
|
|
|
251
251
|
$ sanity-run blueprints info --id <stackId>
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
_See code: [src/commands/blueprints/info.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
254
|
+
_See code: [src/commands/blueprints/info.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/info.ts)_
|
|
255
255
|
|
|
256
256
|
## `sanity-run blueprints init [DIR]`
|
|
257
257
|
|
|
@@ -301,7 +301,7 @@ EXAMPLES
|
|
|
301
301
|
$ sanity-run blueprints init --blueprint-type <json|js|ts> --stack-name <stackName>
|
|
302
302
|
```
|
|
303
303
|
|
|
304
|
-
_See code: [src/commands/blueprints/init.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
304
|
+
_See code: [src/commands/blueprints/init.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/init.ts)_
|
|
305
305
|
|
|
306
306
|
## `sanity-run blueprints logs`
|
|
307
307
|
|
|
@@ -329,7 +329,7 @@ EXAMPLES
|
|
|
329
329
|
$ sanity-run blueprints logs --watch
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
_See code: [src/commands/blueprints/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
332
|
+
_See code: [src/commands/blueprints/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/logs.ts)_
|
|
333
333
|
|
|
334
334
|
## `sanity-run blueprints plan`
|
|
335
335
|
|
|
@@ -352,7 +352,7 @@ EXAMPLES
|
|
|
352
352
|
$ sanity-run blueprints plan
|
|
353
353
|
```
|
|
354
354
|
|
|
355
|
-
_See code: [src/commands/blueprints/plan.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
355
|
+
_See code: [src/commands/blueprints/plan.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/plan.ts)_
|
|
356
356
|
|
|
357
357
|
## `sanity-run blueprints stacks`
|
|
358
358
|
|
|
@@ -381,7 +381,7 @@ EXAMPLES
|
|
|
381
381
|
$ sanity-run blueprints stacks --organization-id <organizationId>
|
|
382
382
|
```
|
|
383
383
|
|
|
384
|
-
_See code: [src/commands/blueprints/stacks.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
384
|
+
_See code: [src/commands/blueprints/stacks.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/blueprints/stacks.ts)_
|
|
385
385
|
|
|
386
386
|
## `sanity-run functions add`
|
|
387
387
|
|
|
@@ -430,7 +430,7 @@ EXAMPLES
|
|
|
430
430
|
$ sanity-run functions add --name my-function --type document-create --type document-update --lang js
|
|
431
431
|
```
|
|
432
432
|
|
|
433
|
-
_See code: [src/commands/functions/add.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
433
|
+
_See code: [src/commands/functions/add.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/add.ts)_
|
|
434
434
|
|
|
435
435
|
## `sanity-run functions dev`
|
|
436
436
|
|
|
@@ -464,7 +464,7 @@ EXAMPLES
|
|
|
464
464
|
$ sanity-run functions dev --timeout 60
|
|
465
465
|
```
|
|
466
466
|
|
|
467
|
-
_See code: [src/commands/functions/dev.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
467
|
+
_See code: [src/commands/functions/dev.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/dev.ts)_
|
|
468
468
|
|
|
469
469
|
## `sanity-run functions env add NAME KEY VALUE`
|
|
470
470
|
|
|
@@ -491,7 +491,7 @@ EXAMPLES
|
|
|
491
491
|
$ sanity-run functions env add MyFunction API_URL https://api.example.com/
|
|
492
492
|
```
|
|
493
493
|
|
|
494
|
-
_See code: [src/commands/functions/env/add.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
494
|
+
_See code: [src/commands/functions/env/add.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/env/add.ts)_
|
|
495
495
|
|
|
496
496
|
## `sanity-run functions env list NAME`
|
|
497
497
|
|
|
@@ -515,7 +515,7 @@ EXAMPLES
|
|
|
515
515
|
$ sanity-run functions env list MyFunction
|
|
516
516
|
```
|
|
517
517
|
|
|
518
|
-
_See code: [src/commands/functions/env/list.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
518
|
+
_See code: [src/commands/functions/env/list.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/env/list.ts)_
|
|
519
519
|
|
|
520
520
|
## `sanity-run functions env remove NAME KEY`
|
|
521
521
|
|
|
@@ -541,7 +541,7 @@ EXAMPLES
|
|
|
541
541
|
$ sanity-run functions env remove MyFunction API_URL
|
|
542
542
|
```
|
|
543
543
|
|
|
544
|
-
_See code: [src/commands/functions/env/remove.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
544
|
+
_See code: [src/commands/functions/env/remove.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/env/remove.ts)_
|
|
545
545
|
|
|
546
546
|
## `sanity-run functions logs [NAME]`
|
|
547
547
|
|
|
@@ -580,7 +580,7 @@ EXAMPLES
|
|
|
580
580
|
$ sanity-run functions logs <name> --delete
|
|
581
581
|
```
|
|
582
582
|
|
|
583
|
-
_See code: [src/commands/functions/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
583
|
+
_See code: [src/commands/functions/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/logs.ts)_
|
|
584
584
|
|
|
585
585
|
## `sanity-run functions test [NAME]`
|
|
586
586
|
|
|
@@ -634,7 +634,7 @@ EXAMPLES
|
|
|
634
634
|
$ sanity-run functions test <name> --event update --data-before '{ "title": "before" }' --data-after '{ "title": "after" }'
|
|
635
635
|
```
|
|
636
636
|
|
|
637
|
-
_See code: [src/commands/functions/test.ts](https://github.com/sanity-io/runtime-cli/blob/v13.
|
|
637
|
+
_See code: [src/commands/functions/test.ts](https://github.com/sanity-io/runtime-cli/blob/v13.4.0/src/commands/functions/test.ts)_
|
|
638
638
|
|
|
639
639
|
## `sanity-run help [COMMAND]`
|
|
640
640
|
|
package/dist/baseCommands.js
CHANGED
|
@@ -10,7 +10,10 @@ export const baseFlags = {
|
|
|
10
10
|
hidden,
|
|
11
11
|
}),
|
|
12
12
|
path: OclifFlags.string({
|
|
13
|
-
description: 'Path to
|
|
13
|
+
description: 'Path to a Blueprint file or directory containing one',
|
|
14
|
+
env: 'SANITY_BLUEPRINT_PATH',
|
|
15
|
+
aliases: ['blueprint-path'],
|
|
16
|
+
char: 'p',
|
|
14
17
|
hidden,
|
|
15
18
|
}),
|
|
16
19
|
trace: OclifFlags.boolean({
|
|
@@ -118,6 +121,7 @@ export class LocalBlueprintCommand extends RuntimeCommand {
|
|
|
118
121
|
bin: this.config.bin,
|
|
119
122
|
log: Logger(this.log.bind(this), this.flags),
|
|
120
123
|
validateResources: this.flags['validate-resources'],
|
|
124
|
+
blueprintPath: this.flags.path,
|
|
121
125
|
});
|
|
122
126
|
if (!result.ok) {
|
|
123
127
|
this.error(result.error);
|
package/dist/cores/index.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export interface CoreConfig {
|
|
|
10
10
|
log: ReturnType<typeof Logger>;
|
|
11
11
|
/** Enable resource validation during parsing */
|
|
12
12
|
validateResources?: boolean;
|
|
13
|
+
/** Path to a specific Blueprint file or directory */
|
|
14
|
+
blueprintPath?: string;
|
|
13
15
|
}
|
|
14
16
|
export interface BlueprintConfig extends CoreConfig {
|
|
15
17
|
token: string;
|
|
@@ -45,7 +47,7 @@ type InitBlueprintConfigParams = CoreConfig & ({
|
|
|
45
47
|
validateToken?: false;
|
|
46
48
|
token?: string;
|
|
47
49
|
});
|
|
48
|
-
export declare function initBlueprintConfig({ bin, log, token, validateResources, validateToken, }: InitBlueprintConfigParams): Promise<Result<BlueprintConfig>>;
|
|
50
|
+
export declare function initBlueprintConfig({ bin, log, token, validateResources, validateToken, blueprintPath, }: InitBlueprintConfigParams): Promise<Result<BlueprintConfig>>;
|
|
49
51
|
export declare function initDeployedBlueprintConfig(config: Partial<BlueprintConfig> & Pick<BlueprintConfig, 'bin' | 'log' | 'token' | 'validateResources'> & {
|
|
50
52
|
validateToken?: boolean;
|
|
51
53
|
}): Promise<Result<DeployedBlueprintConfig>>;
|
package/dist/cores/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { niceId } from '../utils/display/presenters.js';
|
|
|
5
5
|
import { validTokenOrErrorMessage } from '../utils/validated-token.js';
|
|
6
6
|
export * as blueprintsCores from './blueprints/index.js';
|
|
7
7
|
export * as functionsCores from './functions/index.js';
|
|
8
|
-
export async function initBlueprintConfig({ bin, log, token, validateResources = false, validateToken = true, }) {
|
|
8
|
+
export async function initBlueprintConfig({ bin, log, token, validateResources = false, validateToken = true, blueprintPath, }) {
|
|
9
9
|
let checkedToken = token;
|
|
10
10
|
if (!token || (token && validateToken)) {
|
|
11
11
|
const tokenCheck = await validTokenOrErrorMessage(log, token);
|
|
@@ -17,7 +17,7 @@ export async function initBlueprintConfig({ bin, log, token, validateResources =
|
|
|
17
17
|
if (!checkedToken) {
|
|
18
18
|
return { ok: false, error: 'A valid token is required but was not provided.' };
|
|
19
19
|
}
|
|
20
|
-
const blueprint = await readLocalBlueprint(log, { resources: validateResources });
|
|
20
|
+
const blueprint = await readLocalBlueprint(log, { resources: validateResources }, blueprintPath);
|
|
21
21
|
if (blueprint.errors.length > 0) {
|
|
22
22
|
log(presentBlueprintParserErrors(blueprint.errors));
|
|
23
23
|
return { ok: false, error: 'Blueprint file contains errors.' };
|
package/oclif.manifest.json
CHANGED
|
@@ -29,7 +29,12 @@
|
|
|
29
29
|
"type": "boolean"
|
|
30
30
|
},
|
|
31
31
|
"path": {
|
|
32
|
-
"
|
|
32
|
+
"aliases": [
|
|
33
|
+
"blueprint-path"
|
|
34
|
+
],
|
|
35
|
+
"char": "p",
|
|
36
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
37
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
33
38
|
"hidden": true,
|
|
34
39
|
"name": "path",
|
|
35
40
|
"hasDynamicHelp": false,
|
|
@@ -208,7 +213,12 @@
|
|
|
208
213
|
"type": "boolean"
|
|
209
214
|
},
|
|
210
215
|
"path": {
|
|
211
|
-
"
|
|
216
|
+
"aliases": [
|
|
217
|
+
"blueprint-path"
|
|
218
|
+
],
|
|
219
|
+
"char": "p",
|
|
220
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
221
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
212
222
|
"hidden": true,
|
|
213
223
|
"name": "path",
|
|
214
224
|
"hasDynamicHelp": false,
|
|
@@ -322,7 +332,12 @@
|
|
|
322
332
|
"type": "boolean"
|
|
323
333
|
},
|
|
324
334
|
"path": {
|
|
325
|
-
"
|
|
335
|
+
"aliases": [
|
|
336
|
+
"blueprint-path"
|
|
337
|
+
],
|
|
338
|
+
"char": "p",
|
|
339
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
340
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
326
341
|
"hidden": true,
|
|
327
342
|
"name": "path",
|
|
328
343
|
"hasDynamicHelp": false,
|
|
@@ -399,7 +414,12 @@
|
|
|
399
414
|
"type": "boolean"
|
|
400
415
|
},
|
|
401
416
|
"path": {
|
|
402
|
-
"
|
|
417
|
+
"aliases": [
|
|
418
|
+
"blueprint-path"
|
|
419
|
+
],
|
|
420
|
+
"char": "p",
|
|
421
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
422
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
403
423
|
"hidden": true,
|
|
404
424
|
"name": "path",
|
|
405
425
|
"hasDynamicHelp": false,
|
|
@@ -523,7 +543,12 @@
|
|
|
523
543
|
"type": "boolean"
|
|
524
544
|
},
|
|
525
545
|
"path": {
|
|
526
|
-
"
|
|
546
|
+
"aliases": [
|
|
547
|
+
"blueprint-path"
|
|
548
|
+
],
|
|
549
|
+
"char": "p",
|
|
550
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
551
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
527
552
|
"hidden": false,
|
|
528
553
|
"name": "path",
|
|
529
554
|
"hasDynamicHelp": false,
|
|
@@ -592,7 +617,12 @@
|
|
|
592
617
|
"type": "boolean"
|
|
593
618
|
},
|
|
594
619
|
"path": {
|
|
595
|
-
"
|
|
620
|
+
"aliases": [
|
|
621
|
+
"blueprint-path"
|
|
622
|
+
],
|
|
623
|
+
"char": "p",
|
|
624
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
625
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
596
626
|
"hidden": true,
|
|
597
627
|
"name": "path",
|
|
598
628
|
"hasDynamicHelp": false,
|
|
@@ -670,7 +700,12 @@
|
|
|
670
700
|
"type": "boolean"
|
|
671
701
|
},
|
|
672
702
|
"path": {
|
|
673
|
-
"
|
|
703
|
+
"aliases": [
|
|
704
|
+
"blueprint-path"
|
|
705
|
+
],
|
|
706
|
+
"char": "p",
|
|
707
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
708
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
674
709
|
"hidden": true,
|
|
675
710
|
"name": "path",
|
|
676
711
|
"hasDynamicHelp": false,
|
|
@@ -824,7 +859,12 @@
|
|
|
824
859
|
"type": "boolean"
|
|
825
860
|
},
|
|
826
861
|
"path": {
|
|
827
|
-
"
|
|
862
|
+
"aliases": [
|
|
863
|
+
"blueprint-path"
|
|
864
|
+
],
|
|
865
|
+
"char": "p",
|
|
866
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
867
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
828
868
|
"hidden": true,
|
|
829
869
|
"name": "path",
|
|
830
870
|
"hasDynamicHelp": false,
|
|
@@ -896,7 +936,12 @@
|
|
|
896
936
|
"type": "boolean"
|
|
897
937
|
},
|
|
898
938
|
"path": {
|
|
899
|
-
"
|
|
939
|
+
"aliases": [
|
|
940
|
+
"blueprint-path"
|
|
941
|
+
],
|
|
942
|
+
"char": "p",
|
|
943
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
944
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
900
945
|
"hidden": true,
|
|
901
946
|
"name": "path",
|
|
902
947
|
"hasDynamicHelp": false,
|
|
@@ -960,7 +1005,12 @@
|
|
|
960
1005
|
"type": "boolean"
|
|
961
1006
|
},
|
|
962
1007
|
"path": {
|
|
963
|
-
"
|
|
1008
|
+
"aliases": [
|
|
1009
|
+
"blueprint-path"
|
|
1010
|
+
],
|
|
1011
|
+
"char": "p",
|
|
1012
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1013
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
964
1014
|
"hidden": true,
|
|
965
1015
|
"name": "path",
|
|
966
1016
|
"hasDynamicHelp": false,
|
|
@@ -1056,7 +1106,12 @@
|
|
|
1056
1106
|
"type": "boolean"
|
|
1057
1107
|
},
|
|
1058
1108
|
"path": {
|
|
1059
|
-
"
|
|
1109
|
+
"aliases": [
|
|
1110
|
+
"blueprint-path"
|
|
1111
|
+
],
|
|
1112
|
+
"char": "p",
|
|
1113
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1114
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1060
1115
|
"hidden": true,
|
|
1061
1116
|
"name": "path",
|
|
1062
1117
|
"hasDynamicHelp": false,
|
|
@@ -1220,7 +1275,12 @@
|
|
|
1220
1275
|
"type": "boolean"
|
|
1221
1276
|
},
|
|
1222
1277
|
"path": {
|
|
1223
|
-
"
|
|
1278
|
+
"aliases": [
|
|
1279
|
+
"blueprint-path"
|
|
1280
|
+
],
|
|
1281
|
+
"char": "p",
|
|
1282
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1283
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1224
1284
|
"hidden": true,
|
|
1225
1285
|
"name": "path",
|
|
1226
1286
|
"hasDynamicHelp": false,
|
|
@@ -1319,7 +1379,12 @@
|
|
|
1319
1379
|
"type": "boolean"
|
|
1320
1380
|
},
|
|
1321
1381
|
"path": {
|
|
1322
|
-
"
|
|
1382
|
+
"aliases": [
|
|
1383
|
+
"blueprint-path"
|
|
1384
|
+
],
|
|
1385
|
+
"char": "p",
|
|
1386
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1387
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1323
1388
|
"hidden": true,
|
|
1324
1389
|
"name": "path",
|
|
1325
1390
|
"hasDynamicHelp": false,
|
|
@@ -1441,7 +1506,12 @@
|
|
|
1441
1506
|
"type": "boolean"
|
|
1442
1507
|
},
|
|
1443
1508
|
"path": {
|
|
1444
|
-
"
|
|
1509
|
+
"aliases": [
|
|
1510
|
+
"blueprint-path"
|
|
1511
|
+
],
|
|
1512
|
+
"char": "p",
|
|
1513
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1514
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1445
1515
|
"hidden": true,
|
|
1446
1516
|
"name": "path",
|
|
1447
1517
|
"hasDynamicHelp": false,
|
|
@@ -1750,7 +1820,12 @@
|
|
|
1750
1820
|
"type": "boolean"
|
|
1751
1821
|
},
|
|
1752
1822
|
"path": {
|
|
1753
|
-
"
|
|
1823
|
+
"aliases": [
|
|
1824
|
+
"blueprint-path"
|
|
1825
|
+
],
|
|
1826
|
+
"char": "p",
|
|
1827
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1828
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1754
1829
|
"hidden": true,
|
|
1755
1830
|
"name": "path",
|
|
1756
1831
|
"hasDynamicHelp": false,
|
|
@@ -1819,7 +1894,12 @@
|
|
|
1819
1894
|
"type": "boolean"
|
|
1820
1895
|
},
|
|
1821
1896
|
"path": {
|
|
1822
|
-
"
|
|
1897
|
+
"aliases": [
|
|
1898
|
+
"blueprint-path"
|
|
1899
|
+
],
|
|
1900
|
+
"char": "p",
|
|
1901
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1902
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1823
1903
|
"hidden": true,
|
|
1824
1904
|
"name": "path",
|
|
1825
1905
|
"hasDynamicHelp": false,
|
|
@@ -1893,7 +1973,12 @@
|
|
|
1893
1973
|
"type": "boolean"
|
|
1894
1974
|
},
|
|
1895
1975
|
"path": {
|
|
1896
|
-
"
|
|
1976
|
+
"aliases": [
|
|
1977
|
+
"blueprint-path"
|
|
1978
|
+
],
|
|
1979
|
+
"char": "p",
|
|
1980
|
+
"description": "Path to a Blueprint file or directory containing one",
|
|
1981
|
+
"env": "SANITY_BLUEPRINT_PATH",
|
|
1897
1982
|
"hidden": true,
|
|
1898
1983
|
"name": "path",
|
|
1899
1984
|
"hasDynamicHelp": false,
|
|
@@ -1941,5 +2026,5 @@
|
|
|
1941
2026
|
]
|
|
1942
2027
|
}
|
|
1943
2028
|
},
|
|
1944
|
-
"version": "13.
|
|
2029
|
+
"version": "13.4.0"
|
|
1945
2030
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/runtime-cli",
|
|
3
3
|
"description": "Sanity's Runtime CLI for Blueprints and Functions",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.4.0",
|
|
5
5
|
"author": "Sanity Runtime Team",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"copy:wrapper": "shx cp ./src/utils/child-process-wrapper.js ./dist/utils/child-process-wrapper.js",
|
|
88
88
|
"lint": "biome ci",
|
|
89
89
|
"lint:write": "biome check --write",
|
|
90
|
+
"lint:fix": "npm run lint:write",
|
|
90
91
|
"prepare": "npm run build",
|
|
91
92
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
92
93
|
"test": "vitest run && npm run lint",
|