diff --git a/.browserslistrc b/.browserslistrc index 70da3f2e..5d535aeb 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index e5de8cbe..8a7a6e45 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. # Locals diff --git a/.gitattributes b/.gitattributes index f90bb04a..a524803b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. # Default diff --git a/.gitignore b/.gitignore index 82c5d232..4abebdca 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. # Locals diff --git a/.npmignore b/.npmignore index af2e04c2..984f186a 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index d417ea53..18fef6bb 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index aeffd329..e8b3ce8b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,7 @@ * @note This entire file will be updated automatically. * @note Instead of editing here, please review `./settings.mjs`. * - * Last generated using `./settings.mjs` Dec 14, 2023 2:42 PM UTC. + * Last generated using `./settings.mjs` Dec 14, 2023 9:16 PM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index 5143fbe3..7f5a0800 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Dec 14, 2023 2:42 PM UTC. +# Last generated Dec 14, 2023 9:16 PM UTC. # Locals diff --git a/dev/.files/madrun/config.mjs b/dev/.files/madrun/config.mjs index 1d78c478..a290d5a3 100644 --- a/dev/.files/madrun/config.mjs +++ b/dev/.files/madrun/config.mjs @@ -216,6 +216,7 @@ export default async () => { ...(['deploy', 'publish'].includes(args._?.[1]) ? (args._?.[2] ? [] : [distDir]) : []), ...(['deploy', 'publish'].includes(args._?.[1]) ? (args.projectName ? [] : ['--project-name', wranglerSettings.defaultPagesProjectName]) : []), ...(['deploy', 'publish'].includes(args._?.[1]) ? (args.branch ? [] : ['--branch', wranglerSettings.defaultPagesProductionBranch]) : []), + ...(['deploy', 'publish'].includes(args._?.[1]) ? (args.commitDirty ? [] : ['--commit-dirty', 'true']) : []), // Let’s not nag ourselves. // Default `deployment` command args. ...('deployment' === args._?.[1] && 'list' === args._?.[2] diff --git a/dev/.files/madrun/includes/events.mjs b/dev/.files/madrun/includes/events.mjs index 02b51322..6809c4de 100644 --- a/dev/.files/madrun/includes/events.mjs +++ b/dev/.files/madrun/includes/events.mjs @@ -144,10 +144,8 @@ export default { .then((buffer) => buffer.toString()) .then(async (contents) => { if ('cfw' === pkg.config.c10n.build.targetEnv) { - contents = contents.replace( - /^(APP_BASE_URL)\s*=\s*[^\r\n]*$/gmu, - "$1='https://" + wranglerSettings.defaultWorkerName + '.' + wranglerSettings.defaultWorkersDevZoneName + "/'", - ); + contents = contents.replace(/^(BASE_PATH)\s*=\s*[^\r\n]*$/gmu, "$1='/" + wranglerSettings.defaultWorkerStageShortName + "'"); + contents = contents.replace(/^(APP_BASE_URL)\s*=\s*[^\r\n]*$/gmu, "$1='https://" + wranglerSettings.defaultWorkersDomain + "${BASE_PATH}/'"); } else if ('cfp' === pkg.config.c10n.build.targetEnv) { contents = contents.replace( /^(APP_BASE_URL)\s*=\s*[^\r\n]*$/gmu, diff --git a/dev/.files/vite/includes/c10n/post-processing.mjs b/dev/.files/vite/includes/c10n/post-processing.mjs index 64d0966f..887147ca 100644 --- a/dev/.files/vite/includes/c10n/post-processing.mjs +++ b/dev/.files/vite/includes/c10n/post-processing.mjs @@ -80,7 +80,7 @@ export default async ({ mode, wranglerMode, inProdLikeMode, command, isSSRBuild, const ignores = isSSRBuild ? exclusions.defaultNPMIgnores // See notes above regarding these exceptions. .concat(['!**/dist/node_modules/.cache/**', '!**/dist/node_modules/assets/a16s/**']) - : exclusions.defaultNPMIgnores; + : exclusions.defaultNPMIgnores.concat(['!**/dist/node_modules/.cache/**']); for (let globOpts = [{ onlyDirectories: true }, { onlyFiles: false }], i = 0; i < globOpts.length; i++) { for (const fileOrDir of await $glob.promise(ignores, { cwd: distDir, ignoreCase: true, ...globOpts[i] })) { diff --git a/dev/.files/wrangler/config.mjs b/dev/.files/wrangler/config.mjs index 5a5ee43f..7c15a5fb 100755 --- a/dev/.files/wrangler/config.mjs +++ b/dev/.files/wrangler/config.mjs @@ -66,7 +66,7 @@ export default async () => { // Cloudflare Pages does not use. } : { - // Off by default. + // We don’t use. workers_dev: false, @@ -183,8 +183,10 @@ export default async () => { env: { // `$ madrun wrangler dev` environment, for local testing. dev: { - route: {}, - workers_dev: false, + route: { + zone_name: wranglerSettings.defaultLocalHostname, + pattern: wranglerSettings.defaultLocalHostname + '/' + wranglerSettings.defaultWorkerShortName + '/*', + }, vars: wranglerSettings.miniflareEnvVarAsObject, build: { cwd: './' + path.relative(projDir, './'), @@ -192,10 +194,12 @@ export default async () => { command: 'VITE_WRANGLER_MODE=dev npx @clevercanyon/madrun build --mode=dev', }, }, - // `$ madrun wrangler deploy --env=stage` using `workers.dev`. + // `$ madrun wrangler deploy --env=stage`. stage: { - route: {}, - workers_dev: true, + route: { + zone_name: wranglerSettings.defaultWorkerZoneName, + pattern: wranglerSettings.defaultWorkersDomain + '/' + wranglerSettings.defaultWorkerStageShortName + '/*', + }, build: { cwd: './' + path.relative(projDir, './'), watch_dir: './' + path.relative(projDir, './src'), diff --git a/dev/.files/wrangler/settings.mjs b/dev/.files/wrangler/settings.mjs index 7fe60e52..b34ca22d 100755 --- a/dev/.files/wrangler/settings.mjs +++ b/dev/.files/wrangler/settings.mjs @@ -34,6 +34,7 @@ export default { compatibilityFlags: [], // None, for now. defaultLocalIP: '0.0.0.0', + defaultLocalHostname: 'localhost', defaultLocalProtocol: 'https', defaultLocalPort: '443', @@ -57,6 +58,7 @@ export default { defaultWorkerName: pkgSlug.replace(/^workers-/iu, ''), defaultWorkerShortName: pkgSlug.replace(/^(?:workers-)?hop-gdn-/iu, ''), + defaultWorkerStageShortName: pkgSlug.replace(/^(?:workers-)?hop-gdn-/iu, '') + '-stage', osDir: path.resolve(os.homedir(), './.wrangler'), projDir: path.resolve(projDir, './.wrangler'), diff --git a/package-lock.json b/package-lock.json index 2124aadf..b1a032c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/micromatch.fork", - "version": "4.0.81", + "version": "4.0.82", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/micromatch.fork", - "version": "4.0.81", + "version": "4.0.82", "cpu": [ "x64", "arm64" @@ -17,11 +17,11 @@ "linux" ], "dependencies": { - "braces": "npm:@clevercanyon/braces.fork@^3.0.77", - "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.76" + "braces": "npm:@clevercanyon/braces.fork@^3.0.78", + "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.77" }, "devDependencies": { - "@clevercanyon/dev-deps": "^1.0.300" + "@clevercanyon/dev-deps": "^1.0.301" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -837,9 +837,9 @@ "dev": true }, "node_modules/@clevercanyon/dev-deps": { - "version": "1.0.300", - "resolved": "https://registry.npmjs.org/@clevercanyon/dev-deps/-/dev-deps-1.0.300.tgz", - "integrity": "sha512-LgpvScvOZaTFqT+B5UVOf/9Ps8tBwbCnfVhaS2bz07tmzhHRUcpc48SpumdZj92n6/g+QPMprWFTHWncRPecTg==", + "version": "1.0.301", + "resolved": "https://registry.npmjs.org/@clevercanyon/dev-deps/-/dev-deps-1.0.301.tgz", + "integrity": "sha512-IlxT+8busji8LSTWR7auva0bpkinCvOp3FQW2aAxUPU8x+JXp+hs0KqOalocSrfBywI1hmZGqYr2qSvhucsuTg==", "cpu": [ "x64", "arm64" @@ -850,11 +850,11 @@ "linux" ], "dependencies": { - "@clevercanyon/madrun": "^1.0.129", - "@clevercanyon/utilities": "^1.0.594", - "@clevercanyon/utilities.bash": "^1.0.145", - "@clevercanyon/utilities.cfp": "^1.0.131", - "@clevercanyon/utilities.node": "^1.0.137", + "@clevercanyon/madrun": "^1.0.130", + "@clevercanyon/utilities": "^1.0.596", + "@clevercanyon/utilities.bash": "^1.0.146", + "@clevercanyon/utilities.cfp": "^1.0.133", + "@clevercanyon/utilities.node": "^1.0.139", "@cloudflare/workers-types": "4.20231121.0", "@eslint/js": "8.48.0", "@iarna/toml": "2.2.5", @@ -966,9 +966,9 @@ } }, "node_modules/@clevercanyon/madrun": { - "version": "1.0.130", - "resolved": "https://registry.npmjs.org/@clevercanyon/madrun/-/madrun-1.0.130.tgz", - "integrity": "sha512-wGiazbp+JoM03kUCQg4JGwPmmyaVDcMPWZlOWONbBpPIA9QArp1kVR8T+ewvMT+6HGPQs+WTvPrZWBoOcv4wUg==", + "version": "1.0.131", + "resolved": "https://registry.npmjs.org/@clevercanyon/madrun/-/madrun-1.0.131.tgz", + "integrity": "sha512-YsBNbPXmTN5BCzPOBCJgtfF4l1ZQgFJrSnP+CNnnSV/TjsZ+DqxW6N+skGqzzYvZaVnGbruhbynwdHGm9MYg2g==", "cpu": [ "x64", "arm64" @@ -979,8 +979,8 @@ "linux" ], "dependencies": { - "@clevercanyon/utilities": "^1.0.594", - "@clevercanyon/utilities.node": "^1.0.137" + "@clevercanyon/utilities": "^1.0.596", + "@clevercanyon/utilities.node": "^1.0.139" }, "bin": { "madrun": "dist/bin/cli.js" @@ -994,9 +994,9 @@ } }, "node_modules/@clevercanyon/split-cmd.fork": { - "version": "1.0.79", - "resolved": "https://registry.npmjs.org/@clevercanyon/split-cmd.fork/-/split-cmd.fork-1.0.79.tgz", - "integrity": "sha512-hPB8Z43jTn6uK/LNz1VsM7MHRP/32TofpKpRUqA6Rjf24BujlgeVdebDJ2OTgb3tzi1oYigqqICUd58KzJDFLw==", + "version": "1.0.80", + "resolved": "https://registry.npmjs.org/@clevercanyon/split-cmd.fork/-/split-cmd.fork-1.0.80.tgz", + "integrity": "sha512-g0/19m2oecK2UdrGDz1A51amwtCOeDYbEOVJ5BLfCWEGy0BGS4fAYK8kGP/byYth4FOoEr+V/JZTOjxHZmVubQ==", "cpu": [ "x64", "arm64" @@ -1016,9 +1016,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.596", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.596.tgz", - "integrity": "sha512-rtLLacT2BHG2zu40c4DUC3mILwY6TrhmCMHfrGHIYPXZWJpQJYzIZVx8YX/CQFARfpt3840np7CxMQ9lL/scww==", + "version": "1.0.598", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.598.tgz", + "integrity": "sha512-nzduf/HwJc0w9TJCobITZ4ICW025OSueXmsHhFqrMYrTyu0PMSpMGni5d50tQabgQ/XsNuvuaZxXYZDpOeX7NA==", "cpu": [ "x64", "arm64" @@ -1043,7 +1043,7 @@ "ignore": "5.3.0", "ip-regex": "5.0.0", "micro-memoize": "4.1.2", - "micromatch": "npm:@clevercanyon/micromatch.fork@^4.0.80", + "micromatch": "npm:@clevercanyon/micromatch.fork@^4.0.81", "parse-css-color": "0.2.1", "preact": "10.19.2", "preact-render-to-string": "6.3.1", @@ -1052,9 +1052,9 @@ } }, "node_modules/@clevercanyon/utilities.bash": { - "version": "1.0.146", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.146.tgz", - "integrity": "sha512-7gfSTmWIdoyjm185NqGzsQ9HtQrYXA8l0TZ4DDTlbZ8YA7Bwc3+GsvZj0mPhdNbiWp7lJ/4DT31ckdpcEfAWLQ==", + "version": "1.0.147", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.147.tgz", + "integrity": "sha512-z242sKsLcL8R8t1stUnEvgwPWJ7AsccSkslcI8XIPa2GQ6tSp1tyrMy8LOqi2BhZeMp4uzFB9nTdJkKKEFznUw==", "cpu": [ "x64", "arm64" @@ -1072,14 +1072,14 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.594", - "@clevercanyon/utilities.node": "^1.0.137" + "@clevercanyon/utilities": "^1.0.596", + "@clevercanyon/utilities.node": "^1.0.139" } }, "node_modules/@clevercanyon/utilities.cfp": { - "version": "1.0.133", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.133.tgz", - "integrity": "sha512-7MTS2Eic2CkhZQ4ROSOk4N3lNqZH5qYpC05+bl8AtCOTHt62+dMI5W6CAOg/gp8foLynKULcFgRmfM+GY9HOdA==", + "version": "1.0.134", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.134.tgz", + "integrity": "sha512-CSYmiwITxcOT1oZU4hS2HJ/p+RAUPZKYpVuXlqDvQmrojvRSP5HwBBLT0SZikIaowesOWl0RFGsESH1BKQWpFA==", "cpu": [ "x64", "arm64" @@ -1103,9 +1103,9 @@ } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.138", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.138.tgz", - "integrity": "sha512-sW7XZJFCNJow3yphrXJ4ZackmfMKbetln6jf0m4ZpgQqnmMIsjlFJNCJ1pykSl2IniTaU2CSTiiTtgtlBqmWpQ==", + "version": "1.0.139", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.139.tgz", + "integrity": "sha512-C5wS2vDGVWeLyj5bNmPZt5ImF0NV/GAZxM1iluSIP9DMVLinLL2EBo29VFDrfBYQBv6GXYSWm36PUPpIz24FLA==", "cpu": [ "x64", "arm64" @@ -1129,9 +1129,9 @@ } }, "node_modules/@clevercanyon/utilities.node": { - "version": "1.0.139", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.139.tgz", - "integrity": "sha512-eCuMX3PbjHqS+RHetZBGg69DNeqMKupsQhR/WI5nTGPr2hvsJLyHEvFNFo0fOSrDxUDQJ2s8YUmp2WmRbruUkQ==", + "version": "1.0.140", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.140.tgz", + "integrity": "sha512-kqvhrNcBkIlbsaWPJV+KiYGZUpbkCbW3vJnha8Gs3PYQUXe1neWzdfDqDs2emQvYvUgTPW9xeJHFjbb+bowFBw==", "cpu": [ "x64", "arm64" @@ -1168,9 +1168,9 @@ } }, "node_modules/@clevercanyon/utilities.web": { - "version": "1.0.94", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.94.tgz", - "integrity": "sha512-ARpmIgFtz/A56qGfD1FFdmpVNX2L3N4Wz86NULMypdOnAyqa/9iY8J5IFBSOnRhoZLipYkMAG1yoNSOT6SBSEQ==", + "version": "1.0.95", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.95.tgz", + "integrity": "sha512-JBClUo9eA56Q59dsIuRncVvhngHoTzESW0x/UhAU9YysYbbDDjVb91MXeyEaeSxMIxuJRjcCoe6S/rU3Lpz/Nw==", "cpu": [ "x64", "arm64" @@ -1189,7 +1189,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.594" + "@clevercanyon/utilities": "^1.0.596" } }, "node_modules/@cloudflare/kv-asset-handler": { @@ -2762,9 +2762,9 @@ "dev": true }, "node_modules/@iconify/utils": { - "version": "2.1.12", - "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-2.1.12.tgz", - "integrity": "sha512-7vf3Uk6H7TKX4QMs2gbg5KR1X9J0NJzKSRNWhMZ+PWN92l0t6Q3tj2ZxLDG07rC3ppWBtTtA4FPmkQphuEmdsg==", + "version": "2.1.13", + "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-2.1.13.tgz", + "integrity": "sha512-6uWvJIo715xYRy1KmCCyZYW0YYkLjaojEExoEkxpOHKhi9cyHW8hVKo+m8zrxzNVSqjUx9OuVRa2BWXeXfkp5A==", "dev": true, "dependencies": { "@antfu/install-pkg": "^0.1.1", @@ -7773,9 +7773,9 @@ }, "node_modules/braces": { "name": "@clevercanyon/braces.fork", - "version": "3.0.77", - "resolved": "https://registry.npmjs.org/@clevercanyon/braces.fork/-/braces.fork-3.0.77.tgz", - "integrity": "sha512-rNwN35RfOr6d80fyNyx9LeE/DgnTOc49LkR0S4NWCzg4uHiv7Y89zguWr0PIl8Wnokvy491CMKn2kHRuooFSxg==", + "version": "3.0.78", + "resolved": "https://registry.npmjs.org/@clevercanyon/braces.fork/-/braces.fork-3.0.78.tgz", + "integrity": "sha512-mK4q9G9E2CoxxYHm+KdFtBKtBvSxh5fiMkohP29g2qrU+nBoYgyZqvci8VLZ7lVsSJYn15OIFqGaK368VEV8bA==", "cpu": [ "x64", "arm64" @@ -7785,7 +7785,7 @@ "linux" ], "dependencies": { - "fill-range": "npm:@clevercanyon/fill-range.fork@^7.0.75" + "fill-range": "npm:@clevercanyon/fill-range.fork@^7.0.76" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -9593,9 +9593,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.612", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.612.tgz", - "integrity": "sha512-dM8BMtXtlH237ecSMnYdYuCkib2QHq0kpWfUnavjdYsyr/6OsAwg5ZGUfnQ9KD1Ga4QgB2sqXlB2NT8zy2GnVg==", + "version": "1.4.613", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.613.tgz", + "integrity": "sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==", "dev": true }, "node_modules/emittery": { @@ -12727,9 +12727,9 @@ }, "node_modules/fill-range": { "name": "@clevercanyon/fill-range.fork", - "version": "7.0.76", - "resolved": "https://registry.npmjs.org/@clevercanyon/fill-range.fork/-/fill-range.fork-7.0.76.tgz", - "integrity": "sha512-8HukaL3fHhfHd7YQGBZk/2NoR1KOSSfgnDL5L9sPt3fB3DMaOmYYxNM/n+5OoggQW+Rrh6Dy9eh8O8iPN4rKzw==", + "version": "7.0.77", + "resolved": "https://registry.npmjs.org/@clevercanyon/fill-range.fork/-/fill-range.fork-7.0.77.tgz", + "integrity": "sha512-qeFwL9V1FbqO/oUtfL9VX8egxOx+PqtPqHAlL99+GIxOSnpAIy44knTdwjJZg7pttI3+a4djnvU/SXvcHbSvBw==", "cpu": [ "x64", "arm64" @@ -12739,7 +12739,7 @@ "linux" ], "dependencies": { - "to-regex-range": "npm:@clevercanyon/to-regex-range.fork@^5.0.75" + "to-regex-range": "npm:@clevercanyon/to-regex-range.fork@^5.0.76" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -14345,9 +14345,9 @@ }, "node_modules/is-number": { "name": "@clevercanyon/is-number.fork", - "version": "7.0.79", - "resolved": "https://registry.npmjs.org/@clevercanyon/is-number.fork/-/is-number.fork-7.0.79.tgz", - "integrity": "sha512-V7JMxadD3Lo6ZQVCot3Wj49WQMv9tnXsdyYHlhivWhw+zhHDv2poIZeVL+PombvIdNvMX7poWGJtsIKPcZNhrA==", + "version": "7.0.80", + "resolved": "https://registry.npmjs.org/@clevercanyon/is-number.fork/-/is-number.fork-7.0.80.tgz", + "integrity": "sha512-8hGKJnCOFRnMVMYupWlB+WsTzpTJwbxkiO864O3odDqrC00ZCOF7ANUc65rmBatw6VLp7cf7nZbrvvtoSxaXEA==", "cpu": [ "x64", "arm64" @@ -20087,9 +20087,9 @@ }, "node_modules/micromatch": { "name": "@clevercanyon/micromatch.fork", - "version": "4.0.81", - "resolved": "https://registry.npmjs.org/@clevercanyon/micromatch.fork/-/micromatch.fork-4.0.81.tgz", - "integrity": "sha512-fCBHAk+o9twlt5tg2mKZtjBsjcwAEB0r3g92mAOaV3dr5F4NPwcC+HfonRGNo6MKBfrDeQAXM5tstpchFw5EHg==", + "version": "4.0.82", + "resolved": "https://registry.npmjs.org/@clevercanyon/micromatch.fork/-/micromatch.fork-4.0.82.tgz", + "integrity": "sha512-TESOcNNBU8dmgdJW+GOgjp22T1eSZemt5ys34EYwTi8PtNG+mLfUPEt8VL33NAfCBz6aVtnxJu8c1xgxHgTzdQ==", "cpu": [ "x64", "arm64" @@ -20100,8 +20100,8 @@ "linux" ], "dependencies": { - "braces": "npm:@clevercanyon/braces.fork@^3.0.76", - "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.75" + "braces": "npm:@clevercanyon/braces.fork@^3.0.77", + "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.76" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -21296,9 +21296,9 @@ }, "node_modules/picomatch": { "name": "@clevercanyon/picomatch.fork", - "version": "2.3.76", - "resolved": "https://registry.npmjs.org/@clevercanyon/picomatch.fork/-/picomatch.fork-2.3.76.tgz", - "integrity": "sha512-7ymt2Jnl0N5peUrBpaAowe5XCp+49BEOj2kGijtbgPPvTtp6rW6N+76aFq/OYN0eSweNvilDveGr8U7ZpWSR7w==", + "version": "2.3.77", + "resolved": "https://registry.npmjs.org/@clevercanyon/picomatch.fork/-/picomatch.fork-2.3.77.tgz", + "integrity": "sha512-4jTagw9FSXwOtZZYGTouHme4wORsqMH2lUcZm1SStd90R4uCfAo98B9R/wVb1WUhpMY15X3oqPOHk2/xqGL+lw==", "cpu": [ "x64", "arm64" @@ -27363,9 +27363,9 @@ }, "node_modules/spawn-please": { "name": "@clevercanyon/spawn-please.fork", - "version": "2.0.73", - "resolved": "https://registry.npmjs.org/@clevercanyon/spawn-please.fork/-/spawn-please.fork-2.0.73.tgz", - "integrity": "sha512-qsgRC7JoEZ4U/6H/PBM5ynS04URxNScKSqQITdz++zgCaJ77CxG7Wj2a7FxsgL52JTI8/tOK64ucN1YuG34k0Q==", + "version": "2.0.74", + "resolved": "https://registry.npmjs.org/@clevercanyon/spawn-please.fork/-/spawn-please.fork-2.0.74.tgz", + "integrity": "sha512-pb5VyaB6wAOJ5mH/rsV/hJFXLbXtV+q/WhH0guOdFIxryQBA5WLxfu+imPQnC9tyOmZf1krZb9sW3EozGvNd7w==", "cpu": [ "x64", "arm64" @@ -28681,9 +28681,9 @@ }, "node_modules/to-regex-range": { "name": "@clevercanyon/to-regex-range.fork", - "version": "5.0.76", - "resolved": "https://registry.npmjs.org/@clevercanyon/to-regex-range.fork/-/to-regex-range.fork-5.0.76.tgz", - "integrity": "sha512-DfLiGv+LhqZrTHWYfWFS4quA6Jq9jGQJQzi7b8Po/ZwKON+32Fh7pVGpoma8b7dCyBJD8wFn5aykxnGoU8eAoQ==", + "version": "5.0.77", + "resolved": "https://registry.npmjs.org/@clevercanyon/to-regex-range.fork/-/to-regex-range.fork-5.0.77.tgz", + "integrity": "sha512-r3tUePAzuw49uxnjwMdtyfl+xGH/6DJ5idgeD0JfDfazhByA+EEC2yTdFUIXV0vqVK1qUoc6OrPiOFcDC/7VTA==", "cpu": [ "x64", "arm64" @@ -28693,7 +28693,7 @@ "linux" ], "dependencies": { - "is-number": "npm:@clevercanyon/is-number.fork@^7.0.78" + "is-number": "npm:@clevercanyon/is-number.fork@^7.0.79" }, "engines": { "node": "^20.5.0 || ^20.9.0", diff --git a/package.json b/package.json index 9fbe34a7..9afc5e76 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "4.0.82", + "version": "4.0.83", "license": "MIT", "name": "@clevercanyon/micromatch.fork", "description": "Glob matching. A replacement and faster alternative to minimatch and multimatch.", @@ -35,15 +35,15 @@ "types": "", "typesVersions": {}, "dependencies": { - "braces": "npm:@clevercanyon/braces.fork@^3.0.77", - "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.76" + "braces": "npm:@clevercanyon/braces.fork@^3.0.78", + "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.77" }, "peerDependencies": {}, "peerDependenciesMeta": {}, "optionalDependencies": {}, "bundleDependencies": [], "devDependencies": { - "@clevercanyon/dev-deps": "^1.0.300" + "@clevercanyon/dev-deps": "^1.0.301" }, "overrides": {}, "cpu": ["x64", "arm64"], diff --git a/tsconfig.json b/tsconfig.json index 13f34dd8..1c408c5f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ * @note This entire file will be updated automatically. * @note Instead of editing here, please review `./tsconfig.mjs`. * - * Last generated using `./tsconfig.mjs` Dec 14, 2023 2:42 PM UTC. + * Last generated using `./tsconfig.mjs` Dec 14, 2023 9:16 PM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index cf3bab18..9eef0a48 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -7,7 +7,7 @@ # @note This entire file will be updated automatically. # @note Instead of editing here, please review `./wrangler.mjs`. # -# Last generated using `./wrangler.mjs` Dec 14, 2023 2:43 PM UTC. +# Last generated using `./wrangler.mjs` Dec 14, 2023 9:16 PM UTC. ## send_metrics = false @@ -421,23 +421,23 @@ local_protocol = "https" ip = "0.0.0.0" port = 443 -[env.dev] -route = { } -workers_dev = false +[env.dev.route] +zone_name = "localhost" +pattern = "localhost/micromatch-fork/*" - [env.dev.vars] - MINIFLARE = "true" +[env.dev.vars] +MINIFLARE = "true" - [env.dev.build] - cwd = "./" - watch_dir = "./src" - command = "VITE_WRANGLER_MODE=dev npx @clevercanyon/madrun build --mode=dev" +[env.dev.build] +cwd = "./" +watch_dir = "./src" +command = "VITE_WRANGLER_MODE=dev npx @clevercanyon/madrun build --mode=dev" -[env.stage] -route = { } -workers_dev = true +[env.stage.route] +zone_name = "hop.gdn" +pattern = "workers.hop.gdn/micromatch-fork-stage/*" - [env.stage.build] - cwd = "./" - watch_dir = "./src" - command = "npx @clevercanyon/madrun build --mode=stage" +[env.stage.build] +cwd = "./" +watch_dir = "./src" +command = "npx @clevercanyon/madrun build --mode=stage"