@knocklabs/cli 0.3.1 → 1.0.0-rc.1
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 +258 -55
- package/dist/commands/branch/delete.js +4 -1
- package/dist/commands/branch/merge.js +82 -0
- package/dist/commands/channel/list.js +73 -0
- package/dist/commands/environment/list.js +73 -0
- package/dist/commands/guide/new.js +276 -0
- package/dist/commands/guide/pull.js +5 -6
- package/dist/commands/guide/push.js +1 -1
- package/dist/commands/guide/validate.js +1 -1
- package/dist/commands/init.js +108 -0
- package/dist/commands/layout/new.js +228 -0
- package/dist/commands/layout/pull.js +5 -6
- package/dist/commands/layout/push.js +1 -1
- package/dist/commands/layout/validate.js +1 -1
- package/dist/commands/message-type/new.js +228 -0
- package/dist/commands/message-type/pull.js +5 -6
- package/dist/commands/message-type/push.js +1 -1
- package/dist/commands/message-type/validate.js +1 -1
- package/dist/commands/partial/new.js +274 -0
- package/dist/commands/partial/pull.js +5 -6
- package/dist/commands/partial/push.js +1 -1
- package/dist/commands/partial/validate.js +1 -1
- package/dist/commands/pull.js +7 -2
- package/dist/commands/push.js +6 -4
- package/dist/commands/translation/pull.js +1 -1
- package/dist/commands/translation/push.js +1 -1
- package/dist/commands/translation/validate.js +1 -1
- package/dist/commands/workflow/new.js +179 -54
- package/dist/commands/workflow/pull.js +6 -8
- package/dist/commands/workflow/push.js +1 -1
- package/dist/commands/workflow/validate.js +1 -1
- package/dist/lib/api-v1.js +23 -2
- package/dist/lib/auth.js +1 -1
- package/dist/lib/base-command.js +18 -15
- package/dist/lib/helpers/project-config.js +158 -0
- package/dist/lib/helpers/request.js +1 -2
- package/dist/lib/helpers/string.js +4 -4
- package/dist/lib/helpers/typegen.js +1 -1
- package/dist/lib/marshal/email-layout/generator.js +152 -0
- package/dist/lib/marshal/email-layout/helpers.js +6 -9
- package/dist/lib/marshal/email-layout/index.js +1 -0
- package/dist/lib/marshal/email-layout/writer.js +15 -3
- package/dist/lib/marshal/guide/generator.js +163 -0
- package/dist/lib/marshal/guide/helpers.js +6 -10
- package/dist/lib/marshal/guide/index.js +1 -0
- package/dist/lib/marshal/guide/writer.js +5 -9
- package/dist/lib/marshal/message-type/generator.js +139 -0
- package/dist/lib/marshal/message-type/helpers.js +6 -10
- package/dist/lib/marshal/message-type/index.js +1 -0
- package/dist/lib/marshal/message-type/writer.js +5 -1
- package/dist/lib/marshal/partial/generator.js +159 -0
- package/dist/lib/marshal/partial/helpers.js +6 -10
- package/dist/lib/marshal/partial/index.js +1 -0
- package/dist/lib/marshal/partial/writer.js +3 -0
- package/dist/lib/marshal/translation/helpers.js +6 -10
- package/dist/lib/marshal/translation/processor.isomorphic.js +4 -4
- package/dist/lib/marshal/translation/writer.js +2 -2
- package/dist/lib/marshal/workflow/generator.js +175 -19
- package/dist/lib/marshal/workflow/helpers.js +7 -10
- package/dist/lib/run-context/loader.js +5 -0
- package/dist/lib/templates.js +131 -0
- package/oclif.manifest.json +1075 -471
- package/package.json +10 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knocklabs/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-rc.1",
|
|
4
4
|
"description": "Knock CLI",
|
|
5
5
|
"author": "@knocklabs",
|
|
6
6
|
"bin": {
|
|
@@ -17,31 +17,33 @@
|
|
|
17
17
|
"/oclif.manifest.json"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@knocklabs/mgmt": "^0.
|
|
20
|
+
"@knocklabs/mgmt": "^0.13.0",
|
|
21
21
|
"@oclif/core": "^3",
|
|
22
22
|
"@oclif/plugin-help": "^6",
|
|
23
23
|
"@prantlf/jsonlint": "^14.1.0",
|
|
24
|
-
"axios": "^1.
|
|
24
|
+
"axios": "^1.13.2",
|
|
25
25
|
"date-fns": "^2.30.0",
|
|
26
|
+
"degit": "^2.8.4",
|
|
26
27
|
"enquirer": "^2.4.1",
|
|
27
28
|
"find-up": "^5.0.0",
|
|
28
|
-
"fs-extra": "^11.3.
|
|
29
|
+
"fs-extra": "^11.3.3",
|
|
29
30
|
"liquidjs": "^10.24.0",
|
|
30
31
|
"locale-codes": "^1.3.1",
|
|
31
32
|
"lodash": "^4.17.21",
|
|
32
33
|
"open": "8.4.2",
|
|
33
34
|
"quicktype-core": "^23.2.6",
|
|
34
|
-
"zod": "^4.1
|
|
35
|
+
"zod": "^4.2.1"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@oclif/test": "^3",
|
|
38
|
-
"@swc/cli": "^0.7.
|
|
39
|
-
"@swc/core": "^1.
|
|
39
|
+
"@swc/cli": "^0.7.9",
|
|
40
|
+
"@swc/core": "^1.15.7",
|
|
40
41
|
"@swc/helpers": "^0.5.17",
|
|
41
42
|
"@types/chai": "^4",
|
|
43
|
+
"@types/degit": "^2.8.6",
|
|
42
44
|
"@types/fs-extra": "^11.0.4",
|
|
43
45
|
"@types/mocha": "^10.0.10",
|
|
44
|
-
"@types/node": "^20.19.
|
|
46
|
+
"@types/node": "^20.19.27",
|
|
45
47
|
"chai": "^4",
|
|
46
48
|
"eslint": "^7.32.0",
|
|
47
49
|
"eslint-config-oclif": "^4",
|