sb-mig 2.9.0 → 2.9.13
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 +72 -20
- package/lib/api/componentPresets.d.ts +1 -1
- package/lib/api/componentPresets.js +6 -9
- package/lib/api/components.js +25 -20
- package/lib/api/datasources.js +53 -46
- package/lib/api/migrate.d.ts +2 -2
- package/lib/api/migrate.js +69 -64
- package/lib/api/mutateComponents.js +10 -8
- package/lib/api/presets.js +11 -7
- package/lib/api/resolvePresets.js +7 -7
- package/lib/api/roles.d.ts +1 -1
- package/lib/api/roles.js +39 -32
- package/lib/api/spaces.js +8 -6
- package/lib/commands/backup.d.ts +1 -1
- package/lib/commands/backup.js +75 -75
- package/lib/commands/debug.js +10 -3
- package/lib/commands/sync.js +43 -43
- package/lib/config/StoryblokComponentsConfig.js +44 -44
- package/lib/config/config.js +16 -16
- package/lib/core.js +5 -5
- package/lib/index.js +1 -0
- package/lib/utils/discover.d.ts +1 -1
- package/lib/utils/discover.js +46 -44
- package/lib/utils/discover2.js +100 -91
- package/lib/utils/files.js +21 -15
- package/lib/utils/logger.js +5 -5
- package/lib/utils/others.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +18 -30
- package/CHANGELOG.md +0 -968
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sb-mig",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.13",
|
|
4
4
|
"description": "CLI to rule the world. (and handle stuff related to Storyblok CMS)",
|
|
5
5
|
"author": "Marcin Krawczyk <marckraw@icloud.com>",
|
|
6
6
|
"bin": {
|
|
@@ -8,43 +8,27 @@
|
|
|
8
8
|
},
|
|
9
9
|
"bugs": "https://github.com/sb-mig/sb-mig/issues",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@oclif/command": "^1.
|
|
12
|
-
"@oclif/config": "^1",
|
|
11
|
+
"@oclif/command": "^1.8.0",
|
|
13
12
|
"@oclif/plugin-help": "^2",
|
|
14
|
-
"@oclif/plugin-plugins": "^
|
|
15
|
-
"@oclif/plugin-warn-if-update-available": "^
|
|
16
|
-
"
|
|
13
|
+
"@oclif/plugin-plugins": "^2.0.11",
|
|
14
|
+
"@oclif/plugin-warn-if-update-available": "^2.0.2",
|
|
15
|
+
"@oclif/test": "^2.0.3",
|
|
16
|
+
"axios": "^0.24.0",
|
|
17
|
+
"camelcase": "^6.2.0",
|
|
17
18
|
"dotenv": "^8.2.0",
|
|
18
|
-
"execa": "^4.0.0",
|
|
19
|
-
"figlet": "^1.3.0",
|
|
20
19
|
"glob": "^7.1.6",
|
|
21
20
|
"ncp": "^2.0.0",
|
|
22
|
-
"ora": "^4.0.4",
|
|
23
21
|
"rimraf": "^3.0.2",
|
|
24
|
-
"storyblok-js-client": "^
|
|
25
|
-
"tslib": "^1"
|
|
22
|
+
"storyblok-js-client": "^4.1.5"
|
|
26
23
|
},
|
|
27
24
|
"devDependencies": {
|
|
28
|
-
"@oclif/dev-cli": "^1",
|
|
25
|
+
"@oclif/dev-cli": "^1.26.9",
|
|
29
26
|
"@oclif/test": "^1",
|
|
30
|
-
"@types/chai": "^4",
|
|
31
|
-
"@types/figlet": "^1.2.0",
|
|
32
|
-
"@types/mocha": "^5",
|
|
33
|
-
"@types/ncp": "^2.0.3",
|
|
34
|
-
"@types/node": "^10",
|
|
35
|
-
"chai": "^4",
|
|
36
27
|
"conventional-changelog-cli": "^2.0.31",
|
|
37
|
-
"eslint": "^
|
|
38
|
-
"eslint-config-oclif": "^3.1",
|
|
39
|
-
"eslint-config-oclif-typescript": "^0.1",
|
|
40
|
-
"globby": "^10",
|
|
41
|
-
"mocha": "^5",
|
|
42
|
-
"nyc": "^14",
|
|
43
|
-
"ts-node": "^8",
|
|
44
|
-
"typescript": "^3.3"
|
|
28
|
+
"eslint-config-oclif": "^3.1"
|
|
45
29
|
},
|
|
46
30
|
"engines": {
|
|
47
|
-
"node": ">=
|
|
31
|
+
"node": "^14.13.1 || >=16.0.0"
|
|
48
32
|
},
|
|
49
33
|
"files": [
|
|
50
34
|
"/bin",
|
|
@@ -79,14 +63,18 @@
|
|
|
79
63
|
"type": "git",
|
|
80
64
|
"url": "git+https://github.com/sb-mig/sb-mig.git"
|
|
81
65
|
},
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"registry": "https://registry.npmjs.org/",
|
|
68
|
+
"access": "public"
|
|
69
|
+
},
|
|
82
70
|
"scripts": {
|
|
83
71
|
"postpack": "rm -f oclif.manifest.json",
|
|
84
72
|
"posttest": "eslint . --ext .ts --config .eslintrc",
|
|
85
73
|
"build": "rm -rf lib && tsc -b",
|
|
86
|
-
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
|
|
74
|
+
"prepack": "rm -rf lib && tsc -b && npx oclif-dev manifest && npx oclif-dev readme",
|
|
87
75
|
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
88
|
-
"version": "conventional-changelog -p eslint -i CHANGELOG.md -s
|
|
76
|
+
"version": "conventional-changelog -p eslint -i CHANGELOG.md -s"
|
|
89
77
|
},
|
|
90
78
|
"types": "lib/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "0d43a0437ba6baf0379c9bcbce16a4132d3ff7f8"
|
|
92
80
|
}
|