@sanity/runtime-cli 1.8.0 → 1.8.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 +16 -412
- package/bin/dev.cmd +1 -1
- package/bin/dev.js +1 -1
- package/dist/actions/blueprints/resources.js +1 -1
- package/dist/commands/blueprints/add.js +1 -1
- package/dist/commands/blueprints/config.js +1 -1
- package/dist/commands/blueprints/deploy.js +7 -9
- package/dist/commands/blueprints/info.js +5 -39
- package/dist/commands/blueprints/init.js +1 -2
- package/dist/commands/blueprints/logs.js +18 -16
- package/dist/commands/blueprints/plan.js +2 -4
- package/dist/commands/blueprints/stacks.js +2 -2
- package/dist/commands/functions/invoke.js +4 -5
- package/dist/commands/functions/logs.js +4 -5
- package/dist/config.js +2 -1
- package/dist/utils/display/blueprints-formatting.d.ts +1 -2
- package/dist/utils/display/blueprints-formatting.js +53 -42
- package/dist/utils/display/colors.d.ts +1 -0
- package/dist/utils/display/colors.js +3 -0
- package/dist/utils/display/dates.js +4 -8
- package/dist/utils/display/logs-formatting.d.ts +1 -1
- package/dist/utils/display/logs-formatting.js +13 -18
- package/oclif.manifest.json +25 -25
- package/package.json +24 -26
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/runtime-cli",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "1.8.
|
|
3
|
+
"description": "Sanity's Runtime CLI for Blueprints and Functions",
|
|
4
|
+
"version": "1.8.2",
|
|
5
5
|
"author": "Sanity Runtime Team",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -25,32 +25,31 @@
|
|
|
25
25
|
"sanity-run": "./bin/run.js"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
|
-
"build": "rollup -c && npm run build:
|
|
29
|
-
"
|
|
28
|
+
"build": "rollup -c && npm run build:ts && npm run build:static",
|
|
29
|
+
"postbuild": "oclif manifest && oclif readme",
|
|
30
|
+
"build:ts": "shx rm -rf dist *.tsbuildinfo && tsc -b",
|
|
30
31
|
"build:static": "npm run copy:wrapper && npm run copy:server",
|
|
31
32
|
"copy:server": "shx cp -r ./src/server/static ./dist/server",
|
|
32
33
|
"copy:wrapper": "shx cp ./src/utils/child-process-wrapper.js ./dist/utils/child-process-wrapper.js",
|
|
33
34
|
"lint": "biome ci",
|
|
34
35
|
"lint:write": "biome check --write",
|
|
35
|
-
"postpack": "shx rm -f oclif.manifest.json",
|
|
36
|
-
"posttest": "npm run lint",
|
|
37
36
|
"prepack": "oclif manifest && oclif readme",
|
|
37
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
38
38
|
"test": "vitest run",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
39
|
+
"posttest": "npm run lint",
|
|
40
|
+
"test:watch": "vitest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@oclif/core": "^4",
|
|
44
|
-
"@oclif/plugin-help": "^6",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
43
|
+
"@oclif/core": "^4.2.10",
|
|
44
|
+
"@oclif/plugin-help": "^6.2.27",
|
|
45
|
+
"array-treeify": "^0.1.3",
|
|
46
|
+
"color-json": "^3.0.5",
|
|
47
|
+
"eventsource": "^3.0.6",
|
|
47
48
|
"inquirer": "^12.5.0",
|
|
48
49
|
"jszip": "^3.10.1",
|
|
49
|
-
"mime-types": "^
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"tinyhighlight": "^0.3.2",
|
|
53
|
-
"xdg-basedir": "^5.1.0"
|
|
50
|
+
"mime-types": "^3.0.1",
|
|
51
|
+
"xdg-basedir": "^5.1.0",
|
|
52
|
+
"yocto-spinner": "^0.2.1"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
55
|
"@biomejs/biome": "1.9.4",
|
|
@@ -58,29 +57,28 @@
|
|
|
58
57
|
"@codemirror/state": "^6.5.2",
|
|
59
58
|
"@enhance/store": "^1.0.2",
|
|
60
59
|
"@oclif/prettier-config": "^0.2.1",
|
|
61
|
-
"@oclif/test": "^4",
|
|
60
|
+
"@oclif/test": "^4.1.12",
|
|
62
61
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
63
62
|
"@types/mime-types": "^2.1.4",
|
|
64
63
|
"@types/node": "20",
|
|
65
64
|
"codemirror": "^6.0.1",
|
|
66
|
-
"mentoss": "^0.
|
|
67
|
-
"oclif": "^4",
|
|
65
|
+
"mentoss": "^0.9.1",
|
|
66
|
+
"oclif": "^4.17.41",
|
|
68
67
|
"pretty-bytes": "^6.1.1",
|
|
69
68
|
"pretty-ms": "^9.2.0",
|
|
70
|
-
"rollup": "^4.
|
|
69
|
+
"rollup": "^4.38.0",
|
|
71
70
|
"shx": "^0.4.0",
|
|
72
|
-
"ts-node": "^10",
|
|
71
|
+
"ts-node": "^10.9.2",
|
|
73
72
|
"tsx": "^4.19.3",
|
|
74
|
-
"typescript": "^5",
|
|
75
|
-
"vitest": "3.0.
|
|
73
|
+
"typescript": "^5.8.2",
|
|
74
|
+
"vitest": "3.0.9"
|
|
76
75
|
},
|
|
77
76
|
"oclif": {
|
|
78
77
|
"bin": "sanity-run",
|
|
79
78
|
"dirname": "sanity-run",
|
|
80
79
|
"commands": "./dist/commands",
|
|
81
80
|
"plugins": [
|
|
82
|
-
"@oclif/plugin-help"
|
|
83
|
-
"@oclif/plugin-plugins"
|
|
81
|
+
"@oclif/plugin-help"
|
|
84
82
|
],
|
|
85
83
|
"state": "beta",
|
|
86
84
|
"topicSeparator": " ",
|