@serwist/cli 9.0.11 → 9.0.12
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/bin.js +1 -3
- package/package.json +8 -8
package/dist/bin.js
CHANGED
|
@@ -29,8 +29,6 @@ const errors = {
|
|
|
29
29
|
the libraries will be copied.`,
|
|
30
30
|
"invalid-common-js-module": oneLine`Please pass in a valid CommonJS module that
|
|
31
31
|
exports your configuration.`,
|
|
32
|
-
"config-validation-failed": "Your configuration is invalid:",
|
|
33
|
-
"serwist-build-runtime-error": "Service worker generation failed:",
|
|
34
32
|
"unknown-command": "Unknown command:",
|
|
35
33
|
"no-file-extensions-found": oneLine`No files could be found that are suitable for
|
|
36
34
|
caching.`,
|
|
@@ -275,7 +273,7 @@ const app = async (params)=>{
|
|
|
275
273
|
watch: true
|
|
276
274
|
});
|
|
277
275
|
}).on("error", (err)=>{
|
|
278
|
-
logger.error(err.toString());
|
|
276
|
+
logger.error(err instanceof Error ? err.toString() : "Unknown error");
|
|
279
277
|
});
|
|
280
278
|
}
|
|
281
279
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/cli",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The command line interface of Serwist.",
|
|
6
6
|
"files": [
|
|
@@ -31,26 +31,26 @@
|
|
|
31
31
|
"serwist": "cli.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@inquirer/prompts": "7.
|
|
35
|
-
"chalk": "5.
|
|
36
|
-
"chokidar": "4.0.
|
|
34
|
+
"@inquirer/prompts": "7.3.2",
|
|
35
|
+
"chalk": "5.4.1",
|
|
36
|
+
"chokidar": "4.0.3",
|
|
37
37
|
"common-tags": "1.8.2",
|
|
38
38
|
"glob": "10.4.5",
|
|
39
39
|
"meow": "13.2.0",
|
|
40
40
|
"pretty-bytes": "6.1.1",
|
|
41
41
|
"stringify-object": "5.0.0",
|
|
42
42
|
"update-notifier": "7.3.1",
|
|
43
|
-
"@serwist/build": "9.0.
|
|
43
|
+
"@serwist/build": "9.0.12"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/common-tags": "1.8.4",
|
|
47
47
|
"@types/inquirer": "9.0.7",
|
|
48
48
|
"@types/stringify-object": "4.0.5",
|
|
49
49
|
"@types/update-notifier": "6.0.8",
|
|
50
|
-
"rollup": "4.
|
|
50
|
+
"rollup": "4.34.8",
|
|
51
51
|
"typescript": "5.6.3",
|
|
52
|
-
"@serwist/configs": "9.0.
|
|
53
|
-
"@serwist/utils": "9.0.
|
|
52
|
+
"@serwist/configs": "9.0.12",
|
|
53
|
+
"@serwist/utils": "9.0.12"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js",
|