diff --git a/dev/.files/bin/includes/utilities.js b/dev/.files/bin/includes/utilities.js index 2424b04..8ff2956 100755 --- a/dev/.files/bin/includes/utilities.js +++ b/dev/.files/bin/includes/utilities.js @@ -896,7 +896,6 @@ export default class u { static async npmPublish(opts = { dryRun: false }) { if (!opts.dryRun) { await u.spawn('npm', ['publish']); - await u.prettifyPkg(); // To our standards. } if (await u.isNPMPkgOriginNPMJS()) { await u.npmjsCheckPkgOrgWideStandards({ dryRun: opts.dryRun }); diff --git a/dev/.files/prettier/config.cjs b/dev/.files/prettier/config.cjs index e29e124..1629d29 100644 --- a/dev/.files/prettier/config.cjs +++ b/dev/.files/prettier/config.cjs @@ -55,6 +55,17 @@ module.exports = { vueIndentScriptAndStyle: true, overrides: [ + { + /** + * Enforce JSON parser. + * + * @see https://o5p.me/sj8jjz + */ + files: ['*.json'], + options: { + parser: 'json', // Not `json-stringify`. + }, + }, { /** * JSDoc plugin options. diff --git a/package-lock.json b/package-lock.json index 241e39f..f2acb90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.37", + "version": "1.0.38", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.37", + "version": "1.0.38", "cpu": [ "x64", "arm64" @@ -17,7 +17,7 @@ "linux" ], "devDependencies": { - "@clevercanyon/skeleton-dev-deps": "^1.0.82", + "@clevercanyon/skeleton-dev-deps": "^1.0.83", "@cloudflare/workers-types": "^4.20230115.0" }, "engines": { @@ -28,7 +28,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.74", + "@clevercanyon/utilities": "^1.0.75", "@cloudflare/kv-asset-handler": "^0.2.0" } }, @@ -173,9 +173,9 @@ } }, "node_modules/@clevercanyon/skeleton-dev-deps": { - "version": "1.0.82", - "resolved": "https://registry.npmjs.org/@clevercanyon/skeleton-dev-deps/-/skeleton-dev-deps-1.0.82.tgz", - "integrity": "sha512-59VBydNhZ9XpuuzbQsgs3zSK0HhPgqA/dlcO85W98buVZhLdbY4eV1QKayYZLXmMXkiDZIUTRCc0e1JnVy7bfw==", + "version": "1.0.83", + "resolved": "https://registry.npmjs.org/@clevercanyon/skeleton-dev-deps/-/skeleton-dev-deps-1.0.83.tgz", + "integrity": "sha512-fbYX1n/m//gN5N/baPiRDdRnM7LnHchrvNX7NFBXZsABpAlKp3yRTdwr31+c8RAitV3Yu8XcOthIzqmjUmpaEQ==", "dev": true, "dependencies": { "@clevercanyon/madrun": "^1.0.20", @@ -258,9 +258,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.74", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.74.tgz", - "integrity": "sha512-M4TgdseJy3BpCbrBzaAhWRic3cuVLOkjcLiqJ6JNysuVXNyzt9N9RwyEq76nytTJWI64VK4qpyOHqoCAjS3Rgg==", + "version": "1.0.75", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.75.tgz", + "integrity": "sha512-8a/L8s2fl6iINaeFL386E5evPVRW3pU7lKLanElhYUVToO+cU7rg5MvE/gdK0q4XiNOJYWe7qIp6M4bHkBm6vg==", "cpu": [ "x64", "arm64" @@ -11555,9 +11555,9 @@ } }, "@clevercanyon/skeleton-dev-deps": { - "version": "1.0.82", - "resolved": "https://registry.npmjs.org/@clevercanyon/skeleton-dev-deps/-/skeleton-dev-deps-1.0.82.tgz", - "integrity": "sha512-59VBydNhZ9XpuuzbQsgs3zSK0HhPgqA/dlcO85W98buVZhLdbY4eV1QKayYZLXmMXkiDZIUTRCc0e1JnVy7bfw==", + "version": "1.0.83", + "resolved": "https://registry.npmjs.org/@clevercanyon/skeleton-dev-deps/-/skeleton-dev-deps-1.0.83.tgz", + "integrity": "sha512-fbYX1n/m//gN5N/baPiRDdRnM7LnHchrvNX7NFBXZsABpAlKp3yRTdwr31+c8RAitV3Yu8XcOthIzqmjUmpaEQ==", "dev": true, "requires": { "@clevercanyon/madrun": "^1.0.20", @@ -11634,9 +11634,9 @@ "dev": true }, "@clevercanyon/utilities": { - "version": "1.0.74", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.74.tgz", - "integrity": "sha512-M4TgdseJy3BpCbrBzaAhWRic3cuVLOkjcLiqJ6JNysuVXNyzt9N9RwyEq76nytTJWI64VK4qpyOHqoCAjS3Rgg==", + "version": "1.0.75", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.75.tgz", + "integrity": "sha512-8a/L8s2fl6iINaeFL386E5evPVRW3pU7lKLanElhYUVToO+cU7rg5MvE/gdK0q4XiNOJYWe7qIp6M4bHkBm6vg==", "peer": true, "requires": {} }, diff --git a/package.json b/package.json index cc6c6b9..3f9b5df 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "restricted" }, - "version": "1.0.38", + "version": "1.0.39", "license": "GPL-3.0-or-later", "name": "@clevercanyon/utilities.cfw", "description": "Another great project by Clever Canyon.", @@ -50,13 +50,13 @@ } }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.74", + "@clevercanyon/utilities": "^1.0.75", "@cloudflare/kv-asset-handler": "^0.2.0" }, "peerDependenciesMeta": {}, "bundleDependencies": [], "devDependencies": { - "@clevercanyon/skeleton-dev-deps": "^1.0.82", + "@clevercanyon/skeleton-dev-deps": "^1.0.83", "@cloudflare/workers-types": "^4.20230115.0" }, "overrides": {},