@serwist/cli 9.5.8 → 9.5.10
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/cli.js
CHANGED
package/dist/bin.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as logger, n as runBuildCommand, r as runInjectManifestCommand, t as errors } from "./chunks/errors-
|
|
1
|
+
import { i as logger, n as runBuildCommand, r as runInjectManifestCommand, t as errors } from "./chunks/errors-BHE_yL-i.js";
|
|
2
2
|
import { n as constants } from "./chunks/constants-DptMolAX.js";
|
|
3
|
-
import path from "node:path";
|
|
4
3
|
import chokidar from "chokidar";
|
|
5
4
|
import { glob } from "glob";
|
|
5
|
+
import path from "node:path";
|
|
6
6
|
import meow from "meow";
|
|
7
7
|
import updateNotifier from "update-notifier";
|
|
8
8
|
import assert from "node:assert";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as validateBuildOptions } from "./validation-BIte-nSt.js";
|
|
2
|
-
import path from "node:path";
|
|
3
2
|
import { getFileManifestEntries, injectManifest } from "@serwist/build";
|
|
4
3
|
import chokidar from "chokidar";
|
|
5
4
|
import { glob } from "glob";
|
|
5
|
+
import path from "node:path";
|
|
6
6
|
import prettyBytes from "pretty-bytes";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
import { oneLine } from "common-tags";
|
|
@@ -49,11 +49,10 @@ const runBuildCommand = async ({ config, watch }) => {
|
|
|
49
49
|
sourcemap: isDev,
|
|
50
50
|
format: "esm",
|
|
51
51
|
target: [
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"safari12"
|
|
52
|
+
"chrome111",
|
|
53
|
+
"edge111",
|
|
54
|
+
"firefox111",
|
|
55
|
+
"safari16"
|
|
57
56
|
],
|
|
58
57
|
treeShaking: true,
|
|
59
58
|
minify: !isDev,
|
|
@@ -136,4 +135,4 @@ const errors = {
|
|
|
136
135
|
//#endregion
|
|
137
136
|
export { logger as i, runBuildCommand as n, runInjectManifestCommand as r, errors as t };
|
|
138
137
|
|
|
139
|
-
//# sourceMappingURL=errors-
|
|
138
|
+
//# sourceMappingURL=errors-BHE_yL-i.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors-BHE_yL-i.js","names":[],"sources":["../../src/lib/logger.ts","../../src/lib/build.ts","../../src/lib/errors.ts"],"sourcesContent":["/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\n\nimport chalk from \"chalk\";\n\nexport const logger = {\n debug: (...args: string[]): void => console.log(chalk.gray(...args)),\n log: (...args: string[]): void => console.log(...args),\n warn: (...args: string[]): void => console.warn(chalk.yellow(...args)),\n error: (...args: string[]): void => console.error(chalk.red.bold(...args)),\n};\n","import { getFileManifestEntries, injectManifest, type InjectManifestOptions } from \"@serwist/build\";\nimport chokidar from \"chokidar\";\nimport { glob } from \"glob\";\nimport path from \"node:path\";\nimport prettyBytes from \"pretty-bytes\";\n\nimport type { BuildOptions } from \"../types.js\";\nimport { logger } from \"./logger.js\";\nimport { validateBuildOptions } from \"./validation.js\";\n\nexport interface InjectManifestCommand {\n watch: boolean;\n config: InjectManifestOptions;\n}\n\n/**\n * Runs the specified build command with the provided configuration.\n *\n * @param options\n */\nexport const runInjectManifestCommand = async ({ config, watch }: InjectManifestCommand) => {\n const { count, filePaths, size, warnings } = await injectManifest(config);\n\n for (const warning of warnings) {\n logger.warn(warning);\n }\n\n if (filePaths.length === 1) {\n logger.log(`The service worker file was written to ${config.swDest}.`);\n } else {\n const message = filePaths\n .sort()\n .map((filePath) => ` • ${filePath}`)\n .join(\"\\n\");\n logger.log(`The service worker files were written to:\\n${message}`);\n }\n\n if (count > 0) {\n logger.log(`The service worker will precache ${count} URLs, ` + `totaling ${prettyBytes(size)}.`);\n }\n\n if (watch) {\n logger.log(\"\\nWatching for changes...\");\n }\n};\n\nexport interface BuildCommand {\n config: BuildOptions;\n watch: boolean;\n}\n\nexport const runBuildCommand = async ({ config, watch }: BuildCommand) => {\n const isDev = process.env.NODE_ENV === \"development\";\n const options = await validateBuildOptions(config);\n const { count, manifestEntries, size, warnings } = await getFileManifestEntries(options);\n\n for (const warning of warnings) {\n logger.warn(warning);\n }\n\n const manifestString = manifestEntries === undefined ? \"undefined\" : JSON.stringify(manifestEntries, null, 2);\n\n let esbuild: typeof import(\"esbuild\");\n try {\n esbuild = await import(\"esbuild\");\n } catch (err) {\n throw logger.error(`${err}\\nThis command needs esbuild. Install it using \"npm i esbuild\".`);\n }\n\n const parsedDest = path.parse(config.swDest);\n\n const esbuildContext = await esbuild.context({\n metafile: true,\n sourcemap: isDev,\n format: \"esm\",\n target: [\"chrome111\", \"edge111\", \"firefox111\", \"safari16\"],\n treeShaking: true,\n // `minify` would also automatically set `NODE_ENV` to `\"production\"` when true.\n minify: !isDev,\n bundle: true,\n ...options.esbuildOptions,\n platform: \"browser\",\n define: {\n ...options.esbuildOptions.define,\n ...(options.injectionPoint ? { [options.injectionPoint]: manifestString } : {}),\n },\n outdir: parsedDest.dir,\n entryNames: \"[name]\",\n // Asset and chunk names must be at the top, as our path is `/serwist/[path]`,\n // not `/serwist/[...path]`, meaning that we can't resolve paths deeper\n // than one level.\n assetNames: \"[name]-[hash]\",\n chunkNames: \"[name]-[hash]\",\n entryPoints: [{ in: config.swSrc, out: parsedDest.name }],\n });\n\n const rebuild = async () => {\n const result = await esbuildContext.rebuild();\n\n const filePaths = Object.keys(result.metafile.outputs);\n\n if (filePaths.length === 1) {\n logger.log(`The service worker file was written to ${config.swDest}.`);\n } else {\n const message = filePaths\n .sort()\n .map((filePath) => ` • ${filePath}`)\n .join(\"\\n\");\n logger.log(`The service worker files were written to:\\n${message}`);\n }\n\n if (count > 0) {\n logger.log(`The service worker will precache ${count} URLs, ` + `totaling ${prettyBytes(size)}.`);\n }\n\n if (watch) {\n logger.log(\"\\nWatching for changes...\");\n }\n };\n\n if (watch) {\n if (config.globPatterns) {\n chokidar\n .watch(\n [\n config.swSrc,\n ...(config.disablePrecacheManifest\n ? []\n : await glob(config.globPatterns, {\n cwd: config.globDirectory,\n follow: config.globFollow,\n ignore: config.globIgnores,\n })),\n ],\n {\n ignoreInitial: true,\n cwd: config.globDirectory,\n },\n )\n .on(\"all\", async () => {\n if (config === null) return;\n await rebuild();\n })\n .on(\"ready\", async () => {\n if (config === null) return;\n await rebuild();\n })\n .on(\"error\", (err) => {\n logger.error(err instanceof Error ? err.toString() : \"Unknown error\");\n });\n }\n } else {\n await rebuild();\n await esbuildContext.dispose();\n }\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { oneLine as ol } from \"common-tags\";\n\nexport const errors = {\n \"missing-input\": \"params.input value was not set properly.\",\n \"missing-dest-dir-param\": ol`Please provide the path to a directory in which\n the libraries will be copied.`,\n \"invalid-common-js-module\": ol`Please pass in a valid module that\n exports your configuration.`,\n \"config-validation-failed\": \"Your configuration is invalid:\",\n \"serwist-build-runtime-error\": \"Service worker generation failed:\",\n \"unknown-command\": \"Unknown command:\",\n \"no-file-extensions-found\": ol`No files could be found that are suitable for\n caching.`,\n \"no-file-extensions-selected\": \"Please select at least one file extension.\",\n \"invalid-sw-dest\": ol`Please enter a valid path to use for the service worker\n file that's created.`,\n \"glob-directory-invalid\": ol`The path you entered isn't a valid directory.`,\n \"invalid-config-location\": ol`Please enter a valid path to use for the saved\n configuration file.`,\n \"sw-src-missing-injection-point\": ol`That is not a valid source service worker\n file. Please try again with a file containing\n 'self.__SW_MANIFEST'.`,\n \"no-search-parameters-supplied\": ol`Please provide the url search param(s)\n you would like to ignore.`,\n \"invalid-search-parameters-supplied\": ol`Please provide the valid URL search parameter(s)\n without the leading '/' or '?' (i.e. source,version,language).`,\n};\n"],"mappings":";;;;;;;;;AAUA,MAAa,SAAS;CACpB,QA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AO,MAAM,eAAe,QAAQ,IAAI,UAAU,GAAG,gBAAgB;IACrE;QAED;AACL,QAAM,SAAS;AACf,QAAM,eAAe,SAAS;;;;;AChJlC,MAAa,SAAS;CACpB,iBAAiB;CACjB,0BAA0B,OAAE;;CAE5B,4BAA4B,OAAE;;CAE9B,4BAA4B;CAC5B,+BAA+B;CAC/B,mBAAmB;CACnB,4BAA4B,OAAE;;CAE9B,+BAA+B;CAC/B,mBAAmB,OAAE;;CAErB,0BAA0B,OAAE;CAC5B,2BAA2B,OAAE;;CAE7B,kCAAkC,OAAE;;;CAGpC,iCAAiC,OAAE;;CAEnC,sCAAsC,OAAE;;CAEzC"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as runBuildCommand, r as runInjectManifestCommand, t as errors } from "./chunks/errors-
|
|
1
|
+
import { n as runBuildCommand, r as runInjectManifestCommand, t as errors } from "./chunks/errors-BHE_yL-i.js";
|
|
2
2
|
import { n as constants, t as SUPPORTED_ESBUILD_OPTIONS } from "./chunks/constants-DptMolAX.js";
|
|
3
3
|
export { SUPPORTED_ESBUILD_OPTIONS, constants, errors, runBuildCommand, runInjectManifestCommand };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/cli",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The command line interface of Serwist.",
|
|
6
6
|
"files": [
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"chalk": "5.6.2",
|
|
56
56
|
"chokidar": "5.0.0",
|
|
57
57
|
"common-tags": "1.8.2",
|
|
58
|
-
"glob": "
|
|
58
|
+
"glob": "13.0.6",
|
|
59
59
|
"meow": "14.1.0",
|
|
60
60
|
"pretty-bytes": "6.1.1",
|
|
61
61
|
"stringify-object": "6.0.0",
|
|
62
62
|
"update-notifier": "7.3.1",
|
|
63
|
-
"zod": "4.
|
|
64
|
-
"@serwist/build": "9.5.
|
|
65
|
-
"@serwist/utils": "9.5.
|
|
63
|
+
"zod": "4.4.1",
|
|
64
|
+
"@serwist/build": "9.5.10",
|
|
65
|
+
"@serwist/utils": "9.5.10"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/common-tags": "1.8.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-MXE2_2kj.js","names":[],"sources":["../../src/lib/logger.ts","../../src/lib/build.ts","../../src/lib/errors.ts"],"sourcesContent":["/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\n\nimport chalk from \"chalk\";\n\nexport const logger = {\n debug: (...args: string[]): void => console.log(chalk.gray(...args)),\n log: (...args: string[]): void => console.log(...args),\n warn: (...args: string[]): void => console.warn(chalk.yellow(...args)),\n error: (...args: string[]): void => console.error(chalk.red.bold(...args)),\n};\n","import path from \"node:path\";\nimport { getFileManifestEntries, type InjectManifestOptions, injectManifest } from \"@serwist/build\";\nimport chokidar from \"chokidar\";\nimport { glob } from \"glob\";\nimport prettyBytes from \"pretty-bytes\";\n\nimport type { BuildOptions } from \"../types.js\";\nimport { logger } from \"./logger.js\";\nimport { validateBuildOptions } from \"./validation.js\";\n\nexport interface InjectManifestCommand {\n watch: boolean;\n config: InjectManifestOptions;\n}\n\n/**\n * Runs the specified build command with the provided configuration.\n *\n * @param options\n */\nexport const runInjectManifestCommand = async ({ config, watch }: InjectManifestCommand) => {\n const { count, filePaths, size, warnings } = await injectManifest(config);\n\n for (const warning of warnings) {\n logger.warn(warning);\n }\n\n if (filePaths.length === 1) {\n logger.log(`The service worker file was written to ${config.swDest}.`);\n } else {\n const message = filePaths\n .sort()\n .map((filePath) => ` • ${filePath}`)\n .join(\"\\n\");\n logger.log(`The service worker files were written to:\\n${message}`);\n }\n\n if (count > 0) {\n logger.log(`The service worker will precache ${count} URLs, ` + `totaling ${prettyBytes(size)}.`);\n }\n\n if (watch) {\n logger.log(\"\\nWatching for changes...\");\n }\n};\n\nexport interface BuildCommand {\n config: BuildOptions;\n watch: boolean;\n}\n\nexport const runBuildCommand = async ({ config, watch }: BuildCommand) => {\n const isDev = process.env.NODE_ENV === \"development\";\n const options = await validateBuildOptions(config);\n const { count, manifestEntries, size, warnings } = await getFileManifestEntries(options);\n\n for (const warning of warnings) {\n logger.warn(warning);\n }\n\n const manifestString = manifestEntries === undefined ? \"undefined\" : JSON.stringify(manifestEntries, null, 2);\n\n let esbuild: typeof import(\"esbuild\");\n try {\n esbuild = await import(\"esbuild\");\n } catch (err) {\n throw logger.error(`${err}\\nThis command needs esbuild. Install it using \"npm i esbuild\".`);\n }\n\n const parsedDest = path.parse(config.swDest);\n\n const esbuildContext = await esbuild.context({\n metafile: true,\n sourcemap: isDev,\n format: \"esm\",\n target: [\"chrome64\", \"edge79\", \"firefox67\", \"opera51\", \"safari12\"],\n treeShaking: true,\n // `minify` would also automatically set `NODE_ENV` to `\"production\"` when true.\n minify: !isDev,\n bundle: true,\n ...options.esbuildOptions,\n platform: \"browser\",\n define: {\n ...options.esbuildOptions.define,\n ...(options.injectionPoint ? { [options.injectionPoint]: manifestString } : {}),\n },\n outdir: parsedDest.dir,\n entryNames: \"[name]\",\n // Asset and chunk names must be at the top, as our path is `/serwist/[path]`,\n // not `/serwist/[...path]`, meaning that we can't resolve paths deeper\n // than one level.\n assetNames: \"[name]-[hash]\",\n chunkNames: \"[name]-[hash]\",\n entryPoints: [{ in: config.swSrc, out: parsedDest.name }],\n });\n\n const rebuild = async () => {\n const result = await esbuildContext.rebuild();\n\n const filePaths = Object.keys(result.metafile.outputs);\n\n if (filePaths.length === 1) {\n logger.log(`The service worker file was written to ${config.swDest}.`);\n } else {\n const message = filePaths\n .sort()\n .map((filePath) => ` • ${filePath}`)\n .join(\"\\n\");\n logger.log(`The service worker files were written to:\\n${message}`);\n }\n\n if (count > 0) {\n logger.log(`The service worker will precache ${count} URLs, ` + `totaling ${prettyBytes(size)}.`);\n }\n\n if (watch) {\n logger.log(\"\\nWatching for changes...\");\n }\n };\n\n if (watch) {\n if (config.globPatterns) {\n chokidar\n .watch(\n [\n config.swSrc,\n ...(config.disablePrecacheManifest\n ? []\n : await glob(config.globPatterns, {\n cwd: config.globDirectory,\n follow: config.globFollow,\n ignore: config.globIgnores,\n })),\n ],\n {\n ignoreInitial: true,\n cwd: config.globDirectory,\n },\n )\n .on(\"all\", async () => {\n if (config === null) return;\n await rebuild();\n })\n .on(\"ready\", async () => {\n if (config === null) return;\n await rebuild();\n })\n .on(\"error\", (err) => {\n logger.error(err instanceof Error ? err.toString() : \"Unknown error\");\n });\n }\n } else {\n await rebuild();\n await esbuildContext.dispose();\n }\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { oneLine as ol } from \"common-tags\";\n\nexport const errors = {\n \"missing-input\": \"params.input value was not set properly.\",\n \"missing-dest-dir-param\": ol`Please provide the path to a directory in which\n the libraries will be copied.`,\n \"invalid-common-js-module\": ol`Please pass in a valid module that\n exports your configuration.`,\n \"config-validation-failed\": \"Your configuration is invalid:\",\n \"serwist-build-runtime-error\": \"Service worker generation failed:\",\n \"unknown-command\": \"Unknown command:\",\n \"no-file-extensions-found\": ol`No files could be found that are suitable for\n caching.`,\n \"no-file-extensions-selected\": \"Please select at least one file extension.\",\n \"invalid-sw-dest\": ol`Please enter a valid path to use for the service worker\n file that's created.`,\n \"glob-directory-invalid\": ol`The path you entered isn't a valid directory.`,\n \"invalid-config-location\": ol`Please enter a valid path to use for the saved\n configuration file.`,\n \"sw-src-missing-injection-point\": ol`That is not a valid source service worker\n file. Please try again with a file containing\n 'self.__SW_MANIFEST'.`,\n \"no-search-parameters-supplied\": ol`Please provide the url search param(s)\n you would like to ignore.`,\n \"invalid-search-parameters-supplied\": ol`Please provide the valid UR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