@swell/cli 2.0.20 → 2.2.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/dist/commands/api/delete.d.ts +15 -0
- package/dist/commands/api/delete.js +26 -0
- package/dist/commands/api/get.d.ts +15 -0
- package/dist/commands/api/get.js +31 -0
- package/dist/commands/api/index.d.ts +7 -0
- package/dist/commands/api/index.js +16 -0
- package/dist/commands/api/post.d.ts +16 -0
- package/dist/commands/api/post.js +33 -0
- package/dist/commands/api/put.d.ts +16 -0
- package/dist/commands/api/put.js +33 -0
- package/dist/commands/app/dev.d.ts +18 -4
- package/dist/commands/app/dev.js +383 -5
- package/dist/commands/app/frontend/dev.d.ts +6 -5
- package/dist/commands/app/frontend/dev.js +127 -58
- package/dist/commands/app/install.js +3 -3
- package/dist/commands/app/pull.d.ts +1 -1
- package/dist/commands/app/pull.js +6 -6
- package/dist/commands/app/push.d.ts +3 -3
- package/dist/commands/app/push.js +8 -6
- package/dist/commands/app/release.d.ts +1 -1
- package/dist/commands/app/release.js +1 -1
- package/dist/commands/app/version.d.ts +1 -1
- package/dist/commands/app/version.js +5 -3
- package/dist/commands/create/app.d.ts +10 -2
- package/dist/commands/create/app.js +226 -57
- package/dist/commands/create/content.d.ts +4 -0
- package/dist/commands/create/content.js +83 -15
- package/dist/commands/create/function.js +27 -5
- package/dist/commands/create/model.d.ts +4 -0
- package/dist/commands/create/model.js +120 -25
- package/dist/commands/inspect/content.d.ts +25 -0
- package/dist/commands/inspect/content.js +159 -0
- package/dist/commands/inspect/index.d.ts +7 -0
- package/dist/commands/inspect/index.js +16 -0
- package/dist/commands/inspect/models.d.ts +27 -0
- package/dist/commands/inspect/models.js +197 -0
- package/dist/commands/schema.d.ts +27 -0
- package/dist/commands/schema.js +231 -0
- package/dist/commands/theme/dev.d.ts +1 -1
- package/dist/commands/theme/dev.js +2 -2
- package/dist/commands/theme/init.d.ts +1 -1
- package/dist/commands/theme/init.js +1 -1
- package/dist/commands/theme/pull.d.ts +2 -2
- package/dist/commands/theme/pull.js +2 -2
- package/dist/commands/theme/push.d.ts +1 -1
- package/dist/commands/theme/push.js +1 -1
- package/dist/create-app-command.d.ts +14 -0
- package/dist/create-app-command.js +198 -15
- package/dist/create-collection-command.js +4 -1
- package/dist/create-config-command.js +4 -0
- package/dist/env/local.d.ts +2 -0
- package/dist/env/local.js +2 -0
- package/dist/env/production.d.ts +2 -0
- package/dist/env/production.js +2 -0
- package/dist/env/review.d.ts +2 -0
- package/dist/env/review.js +2 -0
- package/dist/env/staging.d.ts +2 -0
- package/dist/env/staging.js +2 -0
- package/dist/lib/api.d.ts +16 -5
- package/dist/lib/api.js +67 -25
- package/dist/lib/app-config.js +1 -0
- package/dist/lib/apps/app-config.d.ts +49 -0
- package/dist/lib/apps/app-config.js +21 -14
- package/dist/lib/apps/index.d.ts +5 -4
- package/dist/lib/apps/index.js +109 -21
- package/dist/lib/bundle.js +2 -1
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/constants.d.ts +2 -4
- package/dist/lib/constants.js +6 -4
- package/dist/lib/create/content.d.ts +5 -1
- package/dist/lib/create/content.js +8 -1
- package/dist/lib/create/function.d.ts +2 -1
- package/dist/lib/create/function.js +7 -3
- package/dist/lib/create/model.d.ts +1 -0
- package/dist/lib/create/schemas.d.ts +6 -0
- package/dist/lib/create/schemas.js +6 -0
- package/dist/lib/proxy.d.ts +1 -0
- package/dist/lib/proxy.js +29 -1
- package/dist/lib/sessions.js +4 -3
- package/dist/lib/style.js +0 -1
- package/dist/lib/swell-function-wrapper.d.ts +23 -4
- package/dist/lib/swell-function-wrapper.js +11 -4
- package/dist/lib/theme-sync.d.ts +6 -6
- package/dist/lib/theme-sync.js +49 -39
- package/dist/push-app-command.d.ts +12 -8
- package/dist/push-app-command.js +108 -29
- package/dist/remote-app-command.d.ts +1 -1
- package/dist/remote-app-command.js +4 -2
- package/dist/swell-api-command.d.ts +13 -0
- package/dist/swell-api-command.js +75 -0
- package/dist/swell-command.d.ts +1 -1
- package/dist/swell-command.js +9 -9
- package/package.json +10 -1
- package/oclif.manifest.json +0 -1895
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swell/cli",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Swell's command line interface/utility",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"@oclif/errors": "1.3.6",
|
|
33
33
|
"@oclif/plugin-help": "6.0.4",
|
|
34
34
|
"@oclif/plugin-plugins": "3.9.4",
|
|
35
|
+
"ajv": "8.17.1",
|
|
36
|
+
"ajv-errors": "3.0.0",
|
|
37
|
+
"ajv-formats": "3.0.1",
|
|
35
38
|
"blake3-wasm": "2.1.5",
|
|
36
39
|
"chalk": "5.3.0",
|
|
37
40
|
"conf": "11.0.2",
|
|
@@ -44,6 +47,7 @@
|
|
|
44
47
|
"http-proxy": "1.18.1",
|
|
45
48
|
"inflection": "3.0.0",
|
|
46
49
|
"istextorbinary": "9.5.0",
|
|
50
|
+
"localtunnel": "2.0.2",
|
|
47
51
|
"lodash": "4.17.21",
|
|
48
52
|
"mime-detect": "1.2.0",
|
|
49
53
|
"ngrok": "5.0.0-beta.2",
|
|
@@ -51,6 +55,7 @@
|
|
|
51
55
|
"oclif": "4.0.3",
|
|
52
56
|
"open": "9.1.0",
|
|
53
57
|
"ora": "7.0.1",
|
|
58
|
+
"parse-json": "8.3.0",
|
|
54
59
|
"qs": "6.12.3",
|
|
55
60
|
"semver": "7.5.4",
|
|
56
61
|
"table": "6.8.1",
|
|
@@ -63,6 +68,7 @@
|
|
|
63
68
|
"@types/configstore": "6.0.1",
|
|
64
69
|
"@types/http-proxy": "1.17.16",
|
|
65
70
|
"@types/inquirer": "9.0.6",
|
|
71
|
+
"@types/localtunnel": "2.0.4",
|
|
66
72
|
"@types/mocha": "10.0.3",
|
|
67
73
|
"@types/node": "20.8.8",
|
|
68
74
|
"@types/qs": "6.9.15",
|
|
@@ -98,6 +104,9 @@
|
|
|
98
104
|
},
|
|
99
105
|
"create": {
|
|
100
106
|
"description": "Create dependencies for your Swell app."
|
|
107
|
+
},
|
|
108
|
+
"inspect": {
|
|
109
|
+
"description": "Inspect deployed artifacts in your store."
|
|
101
110
|
}
|
|
102
111
|
}
|
|
103
112
|
},
|