@sanity/runtime-cli 16.0.1 → 16.0.2
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 +20 -20
- package/dist/utils/warnings.js +3 -6
- package/oclif.manifest.json +1 -1
- package/package.json +1 -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/16.0.
|
|
23
|
+
@sanity/runtime-cli/16.0.2 linux-x64 node-v24.16.0
|
|
24
24
|
$ sanity-run --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ sanity-run COMMAND
|
|
@@ -103,7 +103,7 @@ EXAMPLES
|
|
|
103
103
|
$ sanity-run blueprints add function --name my-function --fn-type document-create --fn-type document-update --lang js
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
_See code: [src/commands/blueprints/add.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
106
|
+
_See code: [src/commands/blueprints/add.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/add.ts)_
|
|
107
107
|
|
|
108
108
|
## `sanity-run blueprints config`
|
|
109
109
|
|
|
@@ -140,7 +140,7 @@ EXAMPLES
|
|
|
140
140
|
$ sanity-run blueprints config --edit --project-id <projectId> --stack <name-or-id>
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
_See code: [src/commands/blueprints/config.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
143
|
+
_See code: [src/commands/blueprints/config.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/config.ts)_
|
|
144
144
|
|
|
145
145
|
## `sanity-run blueprints deploy`
|
|
146
146
|
|
|
@@ -194,7 +194,7 @@ EXAMPLES
|
|
|
194
194
|
$ sanity-run blueprints deploy --new-stack-name <new-name>
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
_See code: [src/commands/blueprints/deploy.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
197
|
+
_See code: [src/commands/blueprints/deploy.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/deploy.ts)_
|
|
198
198
|
|
|
199
199
|
## `sanity-run blueprints destroy`
|
|
200
200
|
|
|
@@ -232,7 +232,7 @@ EXAMPLES
|
|
|
232
232
|
$ sanity-run blueprints destroy --stack <name-or-id> --project-id <projectId> --force --no-wait
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
_See code: [src/commands/blueprints/destroy.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
235
|
+
_See code: [src/commands/blueprints/destroy.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/destroy.ts)_
|
|
236
236
|
|
|
237
237
|
## `sanity-run blueprints doctor`
|
|
238
238
|
|
|
@@ -263,7 +263,7 @@ EXAMPLES
|
|
|
263
263
|
$ sanity-run blueprints doctor --fix
|
|
264
264
|
```
|
|
265
265
|
|
|
266
|
-
_See code: [src/commands/blueprints/doctor.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
266
|
+
_See code: [src/commands/blueprints/doctor.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/doctor.ts)_
|
|
267
267
|
|
|
268
268
|
## `sanity-run blueprints info`
|
|
269
269
|
|
|
@@ -300,7 +300,7 @@ EXAMPLES
|
|
|
300
300
|
$ sanity-run blueprints info --organization-id <orgId> --stack <name-or-id>
|
|
301
301
|
```
|
|
302
302
|
|
|
303
|
-
_See code: [src/commands/blueprints/info.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
303
|
+
_See code: [src/commands/blueprints/info.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/info.ts)_
|
|
304
304
|
|
|
305
305
|
## `sanity-run blueprints init [DIR]`
|
|
306
306
|
|
|
@@ -359,7 +359,7 @@ EXAMPLES
|
|
|
359
359
|
$ sanity-run blueprints init old-stack --type <json|js|ts> --project-id <projectId> --stack-id <existingStackId>
|
|
360
360
|
```
|
|
361
361
|
|
|
362
|
-
_See code: [src/commands/blueprints/init.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
362
|
+
_See code: [src/commands/blueprints/init.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/init.ts)_
|
|
363
363
|
|
|
364
364
|
## `sanity-run blueprints logs`
|
|
365
365
|
|
|
@@ -405,7 +405,7 @@ EXAMPLES
|
|
|
405
405
|
$ sanity-run blueprints logs --before 2026-05-01T00:00:00Z
|
|
406
406
|
```
|
|
407
407
|
|
|
408
|
-
_See code: [src/commands/blueprints/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
408
|
+
_See code: [src/commands/blueprints/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/logs.ts)_
|
|
409
409
|
|
|
410
410
|
## `sanity-run blueprints mint-deploy-token`
|
|
411
411
|
|
|
@@ -450,7 +450,7 @@ EXAMPLES
|
|
|
450
450
|
$ sanity-run blueprints mint-deploy-token --organization-id <orgId>
|
|
451
451
|
```
|
|
452
452
|
|
|
453
|
-
_See code: [src/commands/blueprints/mint-deploy-token.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
453
|
+
_See code: [src/commands/blueprints/mint-deploy-token.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/mint-deploy-token.ts)_
|
|
454
454
|
|
|
455
455
|
## `sanity-run blueprints plan`
|
|
456
456
|
|
|
@@ -483,7 +483,7 @@ EXAMPLES
|
|
|
483
483
|
$ sanity-run blueprints plan --organization-id <orgId> --stack <name-or-id>
|
|
484
484
|
```
|
|
485
485
|
|
|
486
|
-
_See code: [src/commands/blueprints/plan.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
486
|
+
_See code: [src/commands/blueprints/plan.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/plan.ts)_
|
|
487
487
|
|
|
488
488
|
## `sanity-run blueprints promote`
|
|
489
489
|
|
|
@@ -519,7 +519,7 @@ EXAMPLES
|
|
|
519
519
|
$ sanity-run blueprints promote --new-stack-name <new-name>
|
|
520
520
|
```
|
|
521
521
|
|
|
522
|
-
_See code: [src/commands/blueprints/promote.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
522
|
+
_See code: [src/commands/blueprints/promote.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/promote.ts)_
|
|
523
523
|
|
|
524
524
|
## `sanity-run blueprints stacks`
|
|
525
525
|
|
|
@@ -555,7 +555,7 @@ EXAMPLES
|
|
|
555
555
|
$ sanity-run blueprints stacks --organization-id <organizationId> --include-projects
|
|
556
556
|
```
|
|
557
557
|
|
|
558
|
-
_See code: [src/commands/blueprints/stacks.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
558
|
+
_See code: [src/commands/blueprints/stacks.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/blueprints/stacks.ts)_
|
|
559
559
|
|
|
560
560
|
## `sanity-run functions add`
|
|
561
561
|
|
|
@@ -607,7 +607,7 @@ EXAMPLES
|
|
|
607
607
|
$ sanity-run functions add --name my-function --type document-create --type document-update --lang js
|
|
608
608
|
```
|
|
609
609
|
|
|
610
|
-
_See code: [src/commands/functions/add.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
610
|
+
_See code: [src/commands/functions/add.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/add.ts)_
|
|
611
611
|
|
|
612
612
|
## `sanity-run functions dev`
|
|
613
613
|
|
|
@@ -642,7 +642,7 @@ EXAMPLES
|
|
|
642
642
|
$ sanity-run functions dev --timeout 60
|
|
643
643
|
```
|
|
644
644
|
|
|
645
|
-
_See code: [src/commands/functions/dev.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
645
|
+
_See code: [src/commands/functions/dev.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/dev.ts)_
|
|
646
646
|
|
|
647
647
|
## `sanity-run functions env add NAME KEY VALUE`
|
|
648
648
|
|
|
@@ -672,7 +672,7 @@ EXAMPLES
|
|
|
672
672
|
$ sanity-run functions env add MyFunction API_URL https://api.example.com/
|
|
673
673
|
```
|
|
674
674
|
|
|
675
|
-
_See code: [src/commands/functions/env/add.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
675
|
+
_See code: [src/commands/functions/env/add.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/env/add.ts)_
|
|
676
676
|
|
|
677
677
|
## `sanity-run functions env list NAME`
|
|
678
678
|
|
|
@@ -699,7 +699,7 @@ EXAMPLES
|
|
|
699
699
|
$ sanity-run functions env list MyFunction
|
|
700
700
|
```
|
|
701
701
|
|
|
702
|
-
_See code: [src/commands/functions/env/list.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
702
|
+
_See code: [src/commands/functions/env/list.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/env/list.ts)_
|
|
703
703
|
|
|
704
704
|
## `sanity-run functions env remove NAME KEY`
|
|
705
705
|
|
|
@@ -728,7 +728,7 @@ EXAMPLES
|
|
|
728
728
|
$ sanity-run functions env remove MyFunction API_URL
|
|
729
729
|
```
|
|
730
730
|
|
|
731
|
-
_See code: [src/commands/functions/env/remove.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
731
|
+
_See code: [src/commands/functions/env/remove.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/env/remove.ts)_
|
|
732
732
|
|
|
733
733
|
## `sanity-run functions logs [NAME]`
|
|
734
734
|
|
|
@@ -768,7 +768,7 @@ EXAMPLES
|
|
|
768
768
|
$ sanity-run functions logs <name> --delete
|
|
769
769
|
```
|
|
770
770
|
|
|
771
|
-
_See code: [src/commands/functions/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
771
|
+
_See code: [src/commands/functions/logs.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/logs.ts)_
|
|
772
772
|
|
|
773
773
|
## `sanity-run functions test [NAME]`
|
|
774
774
|
|
|
@@ -825,7 +825,7 @@ EXAMPLES
|
|
|
825
825
|
$ sanity-run functions test <name> --event update --data-before '{ "title": "before" }' --data-after '{ "title": "after" }'
|
|
826
826
|
```
|
|
827
827
|
|
|
828
|
-
_See code: [src/commands/functions/test.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.
|
|
828
|
+
_See code: [src/commands/functions/test.ts](https://github.com/sanity-io/runtime-cli/blob/v16.0.2/src/commands/functions/test.ts)_
|
|
829
829
|
|
|
830
830
|
## `sanity-run help [COMMAND]`
|
|
831
831
|
|
package/dist/utils/warnings.js
CHANGED
|
@@ -4,24 +4,21 @@ const workspaceRuleWarnings = [
|
|
|
4
4
|
code: 'studio',
|
|
5
5
|
suggestions: [
|
|
6
6
|
'Blueprint should not be co-located with a Sanity Studio. See docs for correct layout options:',
|
|
7
|
-
|
|
8
|
-
'https://www.sanity.io/docs/blueprints/blueprints-introduction#aaeea93bdd42',
|
|
7
|
+
'https://www.sanity.io/docs/blueprints/project-layout-and-monorepos',
|
|
9
8
|
],
|
|
10
9
|
},
|
|
11
10
|
{
|
|
12
11
|
code: 'floating',
|
|
13
12
|
suggestions: [
|
|
14
13
|
'Blueprint is in a separate directory from its stack. See docs for recommended layout options:',
|
|
15
|
-
|
|
16
|
-
'https://www.sanity.io/docs/blueprints/blueprints-introduction#aaeea93bdd42',
|
|
14
|
+
'https://www.sanity.io/docs/blueprints/project-layout-and-monorepos',
|
|
17
15
|
],
|
|
18
16
|
},
|
|
19
17
|
{
|
|
20
18
|
code: 'functions',
|
|
21
19
|
suggestions: [
|
|
22
20
|
'Blueprint is co-located with the functions directory. See docs for correct layout options:',
|
|
23
|
-
|
|
24
|
-
'https://www.sanity.io/docs/blueprints/blueprints-introduction#aaeea93bdd42',
|
|
21
|
+
'https://www.sanity.io/docs/blueprints/project-layout-and-monorepos',
|
|
25
22
|
],
|
|
26
23
|
},
|
|
27
24
|
];
|
package/oclif.manifest.json
CHANGED