From 952f69c2e7483a3728ccb8981e9a53a7dab44190 Mon Sep 17 00:00:00 2001 From: Jason Caldwell Date: Thu, 21 Sep 2023 03:38:55 -0400 Subject: [PATCH] Project update. [p][robotic] --- .browserslistrc | 2 +- .dockerignore | 2 +- .gitattributes | 2 +- .github/dependabot.yml | 52 ++++----- .github/workflows/ci.yml | 129 +++++++++++---------- .gitignore | 2 +- .npmignore | 2 +- .prettierignore | 2 +- .remarkrc.mjs | 2 +- .vscode/settings.json | 54 ++++++++- .vscodeignore | 2 +- dev/.files/vite/config.mjs | 2 +- dev/.files/vite/includes/vitest/config.mjs | 2 +- dev/.files/vscode/config.mjs | 75 +++++++++++- eslint.config.mjs | 2 +- jest.config.mjs | 2 +- madrun.config.mjs | 6 +- package-lock.json | 70 +++++------ package.json | 4 +- postcss.config.mjs | 2 +- prettier.config.mjs | 2 +- src/sandbox/tests/index.ts | 6 +- src/tests/index.ts | 6 +- stylelint.config.mjs | 2 +- tailwind.config.mjs | 2 +- tsconfig.json | 2 +- tsconfig.mjs | 16 +-- vite.config.mjs | 2 +- wrangler.mjs | 2 +- wrangler.toml | 2 +- 30 files changed, 287 insertions(+), 171 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index 1308774..ce162b8 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:37 AM EDT. [production] last 1 chrome versions diff --git a/.dockerignore b/.dockerignore index c505752..e815c79 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:36 AM EDT. # Locals diff --git a/.gitattributes b/.gitattributes index 86d7788..9c20dbd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:36 AM EDT. # Default diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c4d3638..2fae1b8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,35 +11,35 @@ version: 2 registries: - registry-npmjs-org: - type: npm-registry - url: https://registry.npmjs.org - token: ${{secrets.USER_NPM_TOKEN}} + registry-npmjs-org: + type: npm-registry + url: https://registry.npmjs.org + token: ${{secrets.USER_NPM_TOKEN || ''}} updates: - - package-ecosystem: npm - directory: / - registries: - - registry-npmjs-org - labels: - - suggestion - - robotic - schedule: - interval: weekly - open-pull-requests-limit: 5 - allow: - - dependency-type: production + - package-ecosystem: npm + directory: / + registries: + - registry-npmjs-org + labels: + - suggestion + - robotic + schedule: + interval: weekly + open-pull-requests-limit: 5 + allow: + - dependency-type: production - - package-ecosystem: github-actions - directory: / - labels: - - suggestion - - robotic - schedule: - interval: weekly - open-pull-requests-limit: 5 - allow: - - dependency-type: all + - package-ecosystem: github-actions + directory: / + labels: + - suggestion + - robotic + schedule: + interval: weekly + open-pull-requests-limit: 5 + allow: + - dependency-type: all # ## # Customizations diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 447b2fa..8bb74a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,75 +12,76 @@ name: 'CI' # run-name: 'CI by @${{github.actor}}' on: - push: - branches: - - 'main' - pull_request: - branches: - - 'main' - workflow_dispatch: + push: + branches: + - 'main' + pull_request: + branches: + - 'main' + workflow_dispatch: concurrency: - cancel-in-progress: true - group: ${{github.workflow}}-${{github.ref}} + cancel-in-progress: true + group: ${{github.workflow}}-${{github.ref}} jobs: - deployment: - strategy: - matrix: - os: [ubuntu-latest] - node-version: [20.5.1] - - runs-on: ${{matrix.os}} - environment: ci # CI environment. - - permissions: # GitHub token permissions. - contents: read # Mininum requirements. - - env: # Supplied by permissions above. - USER_GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - # Supplied by org-wide action secrets. - USER_NPM_TOKEN: ${{secrets.USER_NPM_TOKEN}} - - # Supplied by repo environment secrets. - # Only available for repos using a Dotenv Vault. - USER_DOTENV_KEY_MAIN: ${{secrets.USER_DOTENV_KEY_MAIN || ''}} - USER_DOTENV_KEY_CI: ${{secrets.USER_DOTENV_KEY_CI || ''}} - - steps: - - name: Checkout Project Repo - uses: actions/checkout@v3 - - - name: Setup Node v${{matrix.node-version}} - uses: actions/setup-node@v3 - with: - node-version: ${{matrix.node-version}} - cache: npm # Caches NPM dependencies. - - - name: Parse Project Package JSON - shell: bash - run: | - echo 'PKG_JSON='"$(jq -c . ./package.json)" >> $GITHUB_ENV; - echo 'PKG_JSON_C10N='"$(jq -c '.config | .c10n | .["&"]' ./package.json)" >> $GITHUB_ENV; - - - name: Install Madrun Dependency - shell: bash - run: | - npm install -g @clevercanyon/madrun; - - - name: Install Project - shell: bash - run: | - madrun install project --mode=ci; - - - name: Run Project Tests - if: fromJson(env.PKG_JSON_C10N).build.appType - shell: bash - run: | - madrun tests --mode=ci; + deployment: + if: github.repository_owner == 'clevercanyon' + + strategy: + matrix: + os: [ubuntu-latest] + node-version: [20.5.1] + + runs-on: ${{matrix.os}} + environment: ci # CI environment. + + permissions: # GitHub token permissions. + contents: read # Mininum requirements. + + env: # Supplied by permissions above. + USER_GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + + # Supplied by org-wide action secrets. + USER_NPM_TOKEN: ${{secrets.USER_NPM_TOKEN}} + + # Supplied by repo environment secrets. + # Only available for repos using a Dotenv Vault. + USER_DOTENV_KEY_MAIN: ${{secrets.USER_DOTENV_KEY_MAIN || ''}} + USER_DOTENV_KEY_CI: ${{secrets.USER_DOTENV_KEY_CI || ''}} + + steps: + - name: Checkout Project Repo + uses: actions/checkout@v4 + + - name: Setup Node v${{matrix.node-version}} + uses: actions/setup-node@v3 + with: + node-version: ${{matrix.node-version}} + cache: npm # Caches NPM dependencies. + + - name: Parse Project Package JSON + shell: bash + run: | + echo 'PKG_JSON='"$(jq -c . ./package.json)" >> $GITHUB_ENV; + echo 'PKG_JSON_C10N='"$(jq -c '.config | .c10n | .["&"]' ./package.json)" >> $GITHUB_ENV; + + - name: Install Madrun Dependency + shell: bash + run: | + npm install -g @clevercanyon/madrun; + + - name: Install Project + shell: bash + run: | + madrun install project --mode=ci; + + - name: Run Project Tests + if: fromJson(env.PKG_JSON_C10N).build.appType + shell: bash + run: | + madrun tests --mode=ci; -# ## # Customizations # diff --git a/.gitignore b/.gitignore index 93ce6b4..612246c 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:36 AM EDT. # Locals diff --git a/.npmignore b/.npmignore index 328caf1..70e8ac9 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:36 AM EDT. # Locals diff --git a/.prettierignore b/.prettierignore index f655067..f92f2ec 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:36 AM EDT. # Packages diff --git a/.remarkrc.mjs b/.remarkrc.mjs index 3246c86..2dbf7b4 100644 --- a/.remarkrc.mjs +++ b/.remarkrc.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), {}); + return $obj.mergeDeep({}, await baseConfig(), {}); })(); /* */ diff --git a/.vscode/settings.json b/.vscode/settings.json index 17f902e..80fc506 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` Wed, Sep 20, 2023, 10:18:20 PM EDT. + * Last generated using `./settings.mjs` Thu, Sep 21, 2023, 3:38:36 AM EDT. */ { "editor.autoIndent": "full", @@ -173,9 +173,9 @@ }, "javascript.validate.enable": true, "typescript.validate.enable": true, - "css.validate": true, - "scss.validate": true, - "less.validate": true, + "css.validate": false, + "scss.validate": false, + "less.validate": false, "stylelint.validate": ["scss", "css"], "markdown.styles": [], "markdown.preview.fontSize": 16, @@ -185,6 +185,8 @@ "prettier.ignorePath": ".prettierignore", "evenBetterToml.formatter.indentString": " ", "[mdx]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.wordWrap": "on", "editor.codeActionsOnSave": { "source.fixAll": true @@ -192,6 +194,8 @@ "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "[markdown]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.wordWrap": "on", "editor.codeActionsOnSave": { "source.fixAll": true @@ -199,126 +203,168 @@ "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "[html]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[php]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[ruby]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "ms-python.black-formatter" }, "[shellscript]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[dockerfile]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[javascript]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "[javascriptreact]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "[typescript]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "[typescriptreact]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "[css]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[scss]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[less]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[sql]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[json]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[jsonc]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[toml]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "tamasfe.even-better-toml" }, "[yaml]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[ini]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[properties]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[xml]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, "editor.codeActionsOnSave": { "source.fixAll": true }, diff --git a/.vscodeignore b/.vscodeignore index cc815bd..0ca34f8 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Wed, Sep 20, 2023, 10:18:20 PM EDT. +# Last generated Thu, Sep 21, 2023, 3:38:36 AM EDT. # Locals diff --git a/dev/.files/vite/config.mjs b/dev/.files/vite/config.mjs index 7fa1251..8db6cf2 100644 --- a/dev/.files/vite/config.mjs +++ b/dev/.files/vite/config.mjs @@ -214,8 +214,8 @@ export default async ({ mode, command, ssrBuild: isSSRBuild }) => { ...(targetEnvIsServer // Target environment is server-side? ? { ssr: { - noExternal: ['cfw'].includes(targetEnv), target: ['cfw'].includes(targetEnv) ? 'webworker' : 'node', + ...(['cfw'].includes(targetEnv) ? { noExternal: true } : {}), }, } : {}), diff --git a/dev/.files/vite/includes/vitest/config.mjs b/dev/.files/vite/includes/vitest/config.mjs index 3c8f7e6..7292f05 100644 --- a/dev/.files/vite/includes/vitest/config.mjs +++ b/dev/.files/vite/includes/vitest/config.mjs @@ -155,7 +155,7 @@ export default async ({ projDir, srcDir, logsDir, targetEnv, vitestSandboxEnable ['**/*.{node,any}.{test,tests,spec,specs}.' + extensions.asBracedGlob([...extensions.allJavaScript, ...extensions.allTypeScript]), 'node'], ['**/{test,tests,spec,specs}/**/*.{node,any}.' + extensions.asBracedGlob([...extensions.allJavaScript, ...extensions.allTypeScript]), 'node'], ], - server: { deps: { external: [...new Set([...exclusions.pkgIgnores].concat(rollupConfig.external))] } }, + server: { deps: { inline: [], external: [...new Set([...exclusions.pkgIgnores].concat(rollupConfig.external))] } }, cache: { dir: path.resolve(projDir, './node_modules/.vitest') }, passWithNoTests: true, // Pass if there are no tests to run. diff --git a/dev/.files/vscode/config.mjs b/dev/.files/vscode/config.mjs index 42c3026..9fb3c3c 100755 --- a/dev/.files/vscode/config.mjs +++ b/dev/.files/vscode/config.mjs @@ -215,9 +215,9 @@ export default async () => { * Stylelint options. */ - 'css.validate': true, - 'scss.validate': true, - 'less.validate': true, + 'css.validate': false, + 'scss.validate': false, + 'less.validate': false, 'stylelint.validate': ['scss', 'css'], /** @@ -248,20 +248,29 @@ export default async () => { */ '[mdx]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, 'editor.wordWrap': 'on', + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'dbaeumer.vscode-eslint', }, '[markdown]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, 'editor.wordWrap': 'on', + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'dbaeumer.vscode-eslint', }, '[html]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, @@ -273,30 +282,45 @@ export default async () => { */ '[php]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[ruby]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[python]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'ms-python.black-formatter', }, '[shellscript]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[dockerfile]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, @@ -308,42 +332,63 @@ export default async () => { */ '[javascript]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'dbaeumer.vscode-eslint', }, '[javascriptreact]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'dbaeumer.vscode-eslint', }, '[typescript]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'dbaeumer.vscode-eslint', }, '[typescriptreact]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'dbaeumer.vscode-eslint', }, '[css]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[scss]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[less]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, @@ -355,48 +400,72 @@ export default async () => { */ '[sql]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[json]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[jsonc]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[toml]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'tamasfe.even-better-toml', }, '[yaml]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[ini]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[properties]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, 'editor.defaultFormatter': 'esbenp.prettier-vscode', }, '[xml]': { + 'editor.tabSize': prettierConfig.tabWidth, + 'editor.insertSpaces': !prettierConfig.useTabs, + 'editor.codeActionsOnSave': { 'source.fixAll': true, }, diff --git a/eslint.config.mjs b/eslint.config.mjs index 2c7a3ff..e012902 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), {}).config; + return $obj.mergeDeep({}, await baseConfig(), {}).config; })(); /* */ diff --git a/jest.config.mjs b/jest.config.mjs index 4f25b34..c38a0f2 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default async () => { - return $obj.mergeDeep({}, await baseConfig(), {}); + return $obj.mergeDeep({}, await baseConfig(), {}); }; /* */ diff --git a/madrun.config.mjs b/madrun.config.mjs index 6ffa2bc..9012522 100644 --- a/madrun.config.mjs +++ b/madrun.config.mjs @@ -16,9 +16,9 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default async (context) => { - return $obj.mergeDeep({}, await baseConfig(context), { - // 'project:[cmd]': '', // Always prefix project CMDs. - }); + return $obj.mergeDeep({}, await baseConfig(context), { + // 'project:[cmd]': '', // Always prefix project CMDs. + }); }; /* */ diff --git a/package-lock.json b/package-lock.json index 9e47c2e..a0c6787 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,10 +17,10 @@ "linux" ], "dependencies": { - "@clevercanyon/utilities": "^1.0.262" + "@clevercanyon/utilities": "^1.0.264" }, "devDependencies": { - "@clevercanyon/dev-deps": "^1.0.227" + "@clevercanyon/dev-deps": "^1.0.228" }, "engines": { "node": "^19.1.0 || ^20.5.1", @@ -765,9 +765,9 @@ "dev": true }, "node_modules/@clevercanyon/dev-deps": { - "version": "1.0.227", - "resolved": "https://registry.npmjs.org/@clevercanyon/dev-deps/-/dev-deps-1.0.227.tgz", - "integrity": "sha512-U7AC2CM/crbBMFZ9FdIqapoGhJ5shF2aTFhkGxd9maEy8ecTOuSUjxBwLQPtBCCGYKcLP1S2dKPZmgqYEp2gsg==", + "version": "1.0.228", + "resolved": "https://registry.npmjs.org/@clevercanyon/dev-deps/-/dev-deps-1.0.228.tgz", + "integrity": "sha512-+sMXdZ7qeapsopBaZ1lM2hq27lvJQKwUfhONI+9u13AFBzEq4jQzQ/OqCFmqhJVbBP7dfaBfziHSaIfYWArNXQ==", "cpu": [ "x64", "arm64" @@ -778,10 +778,10 @@ "linux" ], "dependencies": { - "@clevercanyon/madrun": "^1.0.95", - "@clevercanyon/utilities": "^1.0.261", - "@clevercanyon/utilities.cfp": "^1.0.90", - "@clevercanyon/utilities.node": "^1.0.102", + "@clevercanyon/madrun": "^1.0.96", + "@clevercanyon/utilities": "^1.0.263", + "@clevercanyon/utilities.cfp": "^1.0.91", + "@clevercanyon/utilities.node": "^1.0.103", "@cloudflare/workers-types": "^4.20230914.0", "@eslint/js": "^8.48.0", "@iarna/toml": "^2.2.5", @@ -876,9 +876,9 @@ } }, "node_modules/@clevercanyon/madrun": { - "version": "1.0.96", - "resolved": "https://registry.npmjs.org/@clevercanyon/madrun/-/madrun-1.0.96.tgz", - "integrity": "sha512-JrEtYWWLWOStmcpItoYO3sNmVndHT89tLOSKnITz6yRmnNIR+yFJ6IgVPtGGES0Cg+hTpNl+Cz7sPRT9qZ+dwA==", + "version": "1.0.97", + "resolved": "https://registry.npmjs.org/@clevercanyon/madrun/-/madrun-1.0.97.tgz", + "integrity": "sha512-CwxjQurfLRtYfk3lqqlxnsojd3C/fS0PvPqZQy40t/cpONCHQ8EZRMU/d3fWxakPrVTyb/76FQtd/f3rLyRLTQ==", "cpu": [ "x64", "arm64" @@ -889,8 +889,8 @@ "linux" ], "dependencies": { - "@clevercanyon/utilities": "^1.0.261", - "@clevercanyon/utilities.node": "^1.0.102" + "@clevercanyon/utilities": "^1.0.263", + "@clevercanyon/utilities.node": "^1.0.103" }, "bin": { "madrun": "dist/bin/cli.js" @@ -951,9 +951,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.262", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.262.tgz", - "integrity": "sha512-J+BEM2we221F0+DrZsoMqSmOjhtWn2bca1/S8J/szhiaXK3i1gt1rAqtiYjEwl/j4LtbxRYjt7WZnG112FWWhQ==", + "version": "1.0.264", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.264.tgz", + "integrity": "sha512-85jVDKK4k1wPGa5uHHDtXvYhxGV6uj3BPEtNHjEIHuRWo20YXmYIrHFBdv3+ytNW/auJNh+21iQ1uQrgEP9+vw==", "cpu": [ "x64", "arm64" @@ -984,9 +984,9 @@ } }, "node_modules/@clevercanyon/utilities.cfp": { - "version": "1.0.91", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.91.tgz", - "integrity": "sha512-55NpVLEX7p3IqAvkA9Zd2NBQOxbq7xbAXmcXyi+T+699RX+tDUqy9jeiqPDBEcLaupgj35AUdxaVzSgccY/6jg==", + "version": "1.0.92", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.92.tgz", + "integrity": "sha512-ei5ls6tP+N6vYKboFkDetYL067TONioTu18+Pm2qovow2JlCqoUmGoyFCPLR8s3rAeK2uycwHhFQTWCohcG8QQ==", "cpu": [ "x64", "arm64" @@ -1004,15 +1004,15 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.262", - "@clevercanyon/utilities.cfw": "^1.0.99", - "@clevercanyon/utilities.web": "^1.0.70" + "@clevercanyon/utilities": "^1.0.264", + "@clevercanyon/utilities.cfw": "^1.0.101", + "@clevercanyon/utilities.web": "^1.0.71" } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.99", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.99.tgz", - "integrity": "sha512-c6vS26e3Z9eLKNXXQAv1xvx6L/TwkKte2YH5pYLMf/2yW55AOvs2Iq0/jrUT2oBvSRBGrgBcPr3fXu635ZUZ5w==", + "version": "1.0.101", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.101.tgz", + "integrity": "sha512-CBpYAT0srPV6fYBR2L3SOoc/M3ErcXAsXJjyYySeFF7OPSrt6iPc7kzrcADx07JdY+lwbwnfiClD7f8OSgqLig==", "cpu": [ "x64", "arm64" @@ -1031,14 +1031,14 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.262", + "@clevercanyon/utilities": "^1.0.264", "@cloudflare/kv-asset-handler": "^0.2.0" } }, "node_modules/@clevercanyon/utilities.node": { - "version": "1.0.103", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.103.tgz", - "integrity": "sha512-RlkcLotB6Zqq1A3v4fMOPR4NYERrBFSaMGNmBMYjYWxAsHmod0I/JyBlfO81v1ZGjkP16Nx53qsKjuytcakBqA==", + "version": "1.0.104", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.104.tgz", + "integrity": "sha512-1zxICZFFVSn/rX/HN/B4Dr4kqJpR3QD6zEY4GW2orkujDc9/PIjgVEvGcayoxWj2rQ0btzqkXbt1jfuaz2WKtg==", "cpu": [ "x64", "arm64" @@ -1057,7 +1057,7 @@ }, "peerDependencies": { "@clevercanyon/split-cmd.fork": "^1.0.55", - "@clevercanyon/utilities": "^1.0.262", + "@clevercanyon/utilities": "^1.0.264", "archiver": "^5.3.2", "boxen": "^7.1.1", "chalk": "^5.3.0", @@ -1074,9 +1074,9 @@ } }, "node_modules/@clevercanyon/utilities.web": { - "version": "1.0.71", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.71.tgz", - "integrity": "sha512-KizihLE/kwYBmlfMO9ZTnZ07WUiyHBnRkFGAW6SIFT+pbVfBP5UzHmcR3byY1P8F1fScC2SF5AwqkSUueIjsmQ==", + "version": "1.0.72", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.72.tgz", + "integrity": "sha512-3XPXNxzpDccB1UF+Zogm/8N8uZswI6kjswirEW/vSZEBo0pqoJG+aDlhMkufLQYEz5ljaIu6RQOvCFmk1SFGyw==", "cpu": [ "x64", "arm64" @@ -1095,7 +1095,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.262" + "@clevercanyon/utilities": "^1.0.264" } }, "node_modules/@cloudflare/kv-asset-handler": { diff --git a/package.json b/package.json index 348b267..fb7f59c 100644 --- a/package.json +++ b/package.json @@ -39,14 +39,14 @@ } }, "dependencies": { - "@clevercanyon/utilities": "^1.0.262" + "@clevercanyon/utilities": "^1.0.264" }, "peerDependencies": {}, "peerDependenciesMeta": {}, "optionalDependencies": {}, "bundleDependencies": [], "devDependencies": { - "@clevercanyon/dev-deps": "^1.0.227" + "@clevercanyon/dev-deps": "^1.0.228" }, "overrides": {}, "cpu": ["x64", "arm64"], diff --git a/postcss.config.mjs b/postcss.config.mjs index dac7e99..4b870ad 100644 --- a/postcss.config.mjs +++ b/postcss.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), {}); + return $obj.mergeDeep({}, await baseConfig(), {}); })(); /* */ diff --git a/prettier.config.mjs b/prettier.config.mjs index 3d435f7..61bb42d 100644 --- a/prettier.config.mjs +++ b/prettier.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), {}); + return $obj.mergeDeep({}, await baseConfig(), {}); })(); /* */ diff --git a/src/sandbox/tests/index.ts b/src/sandbox/tests/index.ts index 20718ca..3b9bdea 100644 --- a/src/sandbox/tests/index.ts +++ b/src/sandbox/tests/index.ts @@ -6,7 +6,7 @@ import { describe, expect, test } from 'vitest'; describe('sandbox/tests: index', async () => { - test('expect', async () => { - expect(true).toBe(true); - }); + test('expect', async () => { + expect(true).toBe(true); + }); }); diff --git a/src/tests/index.ts b/src/tests/index.ts index cee3771..ed6c58c 100644 --- a/src/tests/index.ts +++ b/src/tests/index.ts @@ -5,7 +5,7 @@ import { describe, expect, test } from 'vitest'; describe('tests: index', async () => { - test('expect', async () => { - expect(true).toBe(true); - }); + test('expect', async () => { + expect(true).toBe(true); + }); }); diff --git a/stylelint.config.mjs b/stylelint.config.mjs index aae7b6f..436e5c2 100644 --- a/stylelint.config.mjs +++ b/stylelint.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), {}); + return $obj.mergeDeep({}, await baseConfig(), {}); })(); /* */ diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 054706c..131b8cc 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default /* Note: Tailwind is not async compatible */ (() => { - return $obj.mergeDeep({}, baseConfig(), {}); + return $obj.mergeDeep({}, baseConfig(), {}); })(); /* */ diff --git a/tsconfig.json b/tsconfig.json index 376e0f1..8736556 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` Wed, Sep 20, 2023, 10:18:20 PM EDT. + * Last generated using `./tsconfig.mjs` Thu, Sep 21, 2023, 3:38:37 AM EDT. */ { "include": ["./*.d.ts", "./src/**/*"], diff --git a/tsconfig.mjs b/tsconfig.mjs index b47db9b..3f89413 100644 --- a/tsconfig.mjs +++ b/tsconfig.mjs @@ -26,14 +26,14 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), { - compilerOptions: { - $concat: { - lib: [], - types: [], - }, - }, - }); + return $obj.mergeDeep({}, await baseConfig(), { + compilerOptions: { + $concat: { + lib: [], + types: [], + }, + }, + }); })(); /* */ diff --git a/vite.config.mjs b/vite.config.mjs index f8d250b..7aa9b4d 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -16,7 +16,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default async (context) => { - return $obj.mergeDeep({}, await baseConfig(context), {}); + return $obj.mergeDeep({}, await baseConfig(context), {}); }; /* */ diff --git a/wrangler.mjs b/wrangler.mjs index 0017f9d..b58affb 100644 --- a/wrangler.mjs +++ b/wrangler.mjs @@ -21,7 +21,7 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js'; * */ export default await (async () => { - return $obj.mergeDeep({}, await baseConfig(), {}); + return $obj.mergeDeep({}, await baseConfig(), {}); })(); /* */ diff --git a/wrangler.toml b/wrangler.toml index 2bf1e4c..47b152e 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` Wed, Sep 20, 2023, 10:18:21 PM EDT. +# Last generated using `./wrangler.mjs` Thu, Sep 21, 2023, 3:38:37 AM EDT. ## compatibility_date = "2023-08-15"