@takeshape/cli 8.4.0 → 8.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/lib/commands/schema.js +1 -1
- package/lib/files.js +6 -3
- package/package.json +7 -6
package/lib/commands/schema.js
CHANGED
|
@@ -17,7 +17,7 @@ var _default = (0, _linkedCommand.linkedCommand)((command, params) => {
|
|
|
17
17
|
const connector = (0, _connector.createConnector)(params, {
|
|
18
18
|
cache: false
|
|
19
19
|
});
|
|
20
|
-
|
|
20
|
+
(0, _getClientSchema.default)(connector);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.default = _default;
|
package/lib/files.js
CHANGED
|
@@ -31,13 +31,16 @@ function syncStatic(config) {
|
|
|
31
31
|
|
|
32
32
|
if (event === 'addDir') {
|
|
33
33
|
(0, _log.default)('takeshape watch - copied ' + relativePath);
|
|
34
|
-
|
|
34
|
+
|
|
35
|
+
_fsExtra.default.mkdirs(destPath);
|
|
35
36
|
} else if (event === 'unlink' || event === 'unlinkDir') {
|
|
36
37
|
(0, _log.default)('takeshape watch - deleted ' + relativePath);
|
|
37
|
-
|
|
38
|
+
|
|
39
|
+
_fsExtra.default.remove(destPath);
|
|
38
40
|
} else {
|
|
39
41
|
(0, _log.default)('takeshape watch - copied ' + relativePath);
|
|
40
|
-
|
|
42
|
+
|
|
43
|
+
_fsExtra.default.copy(sourcePath, destPath);
|
|
41
44
|
}
|
|
42
45
|
};
|
|
43
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.8.2",
|
|
4
4
|
"description": "TakeShape CLI",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"lib"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@takeshape/schema": "8.
|
|
24
|
-
"@takeshape/ssg": "8.
|
|
25
|
-
"@takeshape/streams": "8.
|
|
26
|
-
"@takeshape/util": "8.
|
|
23
|
+
"@takeshape/schema": "8.8.2",
|
|
24
|
+
"@takeshape/ssg": "8.8.2",
|
|
25
|
+
"@takeshape/streams": "8.8.2",
|
|
26
|
+
"@takeshape/util": "8.8.2",
|
|
27
27
|
"archiver": "^1.3.0",
|
|
28
28
|
"async-retry": "^1.2.1",
|
|
29
29
|
"bluebird": "^3.4.6",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"build:types": "tsc --emitDeclarationOnly --project tsconfig.build.json",
|
|
86
86
|
"build:js": "cross-env BABEL_MODULES=commonjs babel src --out-dir lib --extensions \".js,.ts\" --ignore '**/__tests__'",
|
|
87
87
|
"build:copy": "cp -rf build/src/* lib/",
|
|
88
|
-
"will-it-blend": "pnpm typecheck && pnpm lint -- --quiet && pnpm test -- --silent --coverage false"
|
|
88
|
+
"will-it-blend": "pnpm typecheck && pnpm lint -- --quiet && pnpm test -- --silent --coverage false",
|
|
89
|
+
"todo": "leasot 'src/**/*.{js,jsx,ts,tsx}'"
|
|
89
90
|
}
|
|
90
91
|
}
|