From f79efc34396590823d9847ff24014a55493fc69f Mon Sep 17 00:00:00 2001 From: ChristopherPHolder Date: Thu, 19 Dec 2024 08:49:31 +0100 Subject: [PATCH] fix: remove esbuild-meta Signed-off-by: ChristopherPHolder --- .github/workflows/release.yml | 47 --- .verdaccio/config.yml | 29 -- .verdaccio/htpasswd | 1 - global-setup.e2e.ts | 13 - nx.json | 35 -- package-lock.json | 364 ++++++++++++++++-- package.json | 1 - packages/esbuild-meta/.eslintrc.json | 34 -- packages/esbuild-meta/CHANGELOG.md | 279 -------------- packages/esbuild-meta/README.md | 3 - .../e2e/__snapshots__/filter.test.e2e.ts.snap | 16 - .../e2e/__snapshots__/root.test.e2e.ts.snap | 13 - packages/esbuild-meta/e2e/filter.test.e2e.ts | 28 -- packages/esbuild-meta/e2e/root.test.e2e.ts | 32 -- packages/esbuild-meta/e2e/utils.ts | 19 - packages/esbuild-meta/package.json | 16 - packages/esbuild-meta/project.json | 57 --- packages/esbuild-meta/src/lib/filter-meta.ts | 64 --- packages/esbuild-meta/src/lib/utils.ts | 55 --- packages/esbuild-meta/src/main.ts | 19 - packages/esbuild-meta/tsconfig.json | 26 -- packages/esbuild-meta/tsconfig.lib.json | 10 - packages/esbuild-meta/tsconfig.spec.json | 22 -- packages/esbuild-meta/vite.config.ts | 20 - packages/esbuild-meta/vitest.config.e2e.ts | 22 -- project.json | 14 - tools/scripts/publish.mjs | 58 --- tools/scripts/start-local-registry.ts | 103 ----- tools/scripts/stop-local-registry.ts | 10 - tsconfig.base.json | 1 - 30 files changed, 328 insertions(+), 1083 deletions(-) delete mode 100644 .github/workflows/release.yml delete mode 100644 .verdaccio/config.yml delete mode 100644 .verdaccio/htpasswd delete mode 100644 global-setup.e2e.ts delete mode 100644 packages/esbuild-meta/.eslintrc.json delete mode 100644 packages/esbuild-meta/CHANGELOG.md delete mode 100644 packages/esbuild-meta/README.md delete mode 100644 packages/esbuild-meta/e2e/__snapshots__/filter.test.e2e.ts.snap delete mode 100644 packages/esbuild-meta/e2e/__snapshots__/root.test.e2e.ts.snap delete mode 100644 packages/esbuild-meta/e2e/filter.test.e2e.ts delete mode 100644 packages/esbuild-meta/e2e/root.test.e2e.ts delete mode 100644 packages/esbuild-meta/e2e/utils.ts delete mode 100644 packages/esbuild-meta/package.json delete mode 100644 packages/esbuild-meta/project.json delete mode 100644 packages/esbuild-meta/src/lib/filter-meta.ts delete mode 100644 packages/esbuild-meta/src/lib/utils.ts delete mode 100644 packages/esbuild-meta/src/main.ts delete mode 100644 packages/esbuild-meta/tsconfig.json delete mode 100644 packages/esbuild-meta/tsconfig.lib.json delete mode 100644 packages/esbuild-meta/tsconfig.spec.json delete mode 100644 packages/esbuild-meta/vite.config.ts delete mode 100644 packages/esbuild-meta/vitest.config.e2e.ts delete mode 100644 project.json delete mode 100644 tools/scripts/publish.mjs delete mode 100644 tools/scripts/start-local-registry.ts delete mode 100644 tools/scripts/stop-local-registry.ts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 25a213c6..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: RELEASE -on: - push: - branches: - - main - -jobs: - main: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: nrwl/nx-set-shas@v3 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'npm' - registry-url: https://registry.npmjs.org - - - name: Setup git user - shell: bash - run: git config user.email "chris@deep-blue.io" && git config user.name "Christopher Holder" - - - name: Cache NPM dependencies - uses: actions/cache@v4 - id: cache-primes - with: - path: | - node_modules - ~/.cache - dist - key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - - - name: Clean Install Dependencies - if: steps.cache-primes.outputs.cache-hit != 'true' - run: npm ci -# - name: Lint -# run: npx nx run-many -t lint -# - name: Test -# run: npx nx run-many -t test --configuration=ci - - name: Release - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx nx release --yes diff --git a/.verdaccio/config.yml b/.verdaccio/config.yml deleted file mode 100644 index 1805e5ac..00000000 --- a/.verdaccio/config.yml +++ /dev/null @@ -1,29 +0,0 @@ -# path to a directory with all packages -storage: ../tmp/local-registry/storage - -auth: - htpasswd: - file: ./htpasswd - -# a list of other known repositories we can talk to -uplinks: - npmjs: - url: https://registry.npmjs.org/ - maxage: 60m - -packages: - '**': - # give all users (including non-authenticated users) full access - # because it is a local registry - access: $all - publish: $all - unpublish: $all - - # if package is not available locally, proxy requests to npm registry - proxy: npmjs - -# log settings -logs: - type: stdout - format: pretty - level: http diff --git a/.verdaccio/htpasswd b/.verdaccio/htpasswd deleted file mode 100644 index 8391cd4b..00000000 --- a/.verdaccio/htpasswd +++ /dev/null @@ -1 +0,0 @@ -test:$6FrCaT/v0dwE:autocreated 2020-03-25T19:10:50.254Z diff --git a/global-setup.e2e.ts b/global-setup.e2e.ts deleted file mode 100644 index 8a7e7c0c..00000000 --- a/global-setup.e2e.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { execSync } from 'child_process'; -import startLocalRegistry from './tools/scripts/start-local-registry'; -import stopLocalRegistry from './tools/scripts/stop-local-registry'; - -export async function setup() { - await startLocalRegistry(); - execSync('npm install -D @app-speed/esbuild-meta@e2e --force'); -} - -export async function teardown() { - stopLocalRegistry(); - execSync('npm uninstall @app-speed/esbuild-meta'); -} diff --git a/nx.json b/nx.json index 0f3c0a0a..08e16188 100644 --- a/nx.json +++ b/nx.json @@ -95,30 +95,6 @@ "style": "scss" } }, - "release": { - "projects": ["esbuild-meta"], - "projectsRelationship": "independent", - "version": { - "preVersionCommand": "npx nx run-many -t build", - "generatorOptions": { - "specifierSource": "conventional-commits", - "currentVersionResolver": "git-tag", - "fallbackCurrentVersionResolver": "disk", - "packageRoot": "dist/packages/{projectName}" - } - }, - "changelog": { - "projectChangelogs": { - "createRelease": "github" - } - }, - "releaseTagPattern": "release/{projectName}/{version}", - "git": { - "commit": true, - "tag": true, - "commitMessage": "ci({projectName}): publish v{version}" - } - }, "plugins": [ { "plugin": "@nx/eslint/plugin", @@ -142,17 +118,6 @@ "packages/cli-middleware/**/*", "packages/user-flow-replay/**/*" ] - }, - { - "plugin": "@nx/vite/plugin", - "options": { - "buildTargetName": "build", - "serveTargetName": "serve", - "previewTargetName": "preview", - "testTargetName": "e2e", - "serveStaticTargetName": "serve-static" - }, - "include": ["packages/esbuild-meta/**/*", "packages/runner-e2e/**/*"] } ], "useLegacyCache": true diff --git a/package-lock.json b/package-lock.json index 6ae4fdb1..6615c9f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -120,7 +120,6 @@ "stylelint-prettier": "^5.0.0", "ts-jest": "29.1.0", "typescript": "5.6.3", - "verdaccio": "^5.0.4", "vite": "5.1.3", "vite-plugin-eslint": "^1.8.1", "vite-tsconfig-paths": "^4.3.1", @@ -16086,6 +16085,8 @@ "integrity": "sha512-sPmHdnYuRSMgABCsTJEfz8tb/smONsWVg0g4KK2QycyYZ/A+RwZLV1JLiQb4wzu9zvS0HSloqWqkWlyNHW3mtw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/config": "8.0.0-next-8.1", "@verdaccio/core": "8.0.0-next-8.1", @@ -16111,6 +16112,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16129,6 +16132,8 @@ "integrity": "sha512-F/YZANu4DmpcEV0jronzI7v2fGVWkQ5Mwi+bVmV+ACJ+EzR0c9Jbhtbe5QyLUuzR97t8R5E/Xe53O0cc2LukdQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "http-errors": "2.0.0", "http-status-codes": "2.2.0" @@ -16146,7 +16151,9 @@ "resolved": "https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.2.0.tgz", "integrity": "sha512-feERVo9iWxvnejp3SEfm/+oNG517npqL2/PIA8ORjyOZjGC7TwCRQsZylciLS64i6pJ0wRYz3rkXLRwbtFa8Ng==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/config": { "version": "8.0.0-next-8.1", @@ -16154,6 +16161,8 @@ "integrity": "sha512-goDVOH4e8xMUxjHybJpi5HwIecVFqzJ9jeNFrRUgtUUn0PtFuNMHgxOeqDKRVboZhc5HK90yed8URK/1O6VsUw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/core": "8.0.0-next-8.1", "@verdaccio/utils": "7.0.1-next-8.1", @@ -16176,6 +16185,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16194,6 +16205,8 @@ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "argparse": "^2.0.1" }, @@ -16207,6 +16220,8 @@ "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -16223,6 +16238,8 @@ "integrity": "sha512-kQRCB2wgXEh8H88G51eQgAFK9IxmnBtkQ8sY5FbmB6PbBkyHrbGcCp+2mtRqqo36j0W1VAlfM3XzoknMy6qQnw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ajv": "8.17.1", "core-js": "3.37.1", @@ -16245,6 +16262,8 @@ "integrity": "sha512-oqYLfv3Yg3mAgw9qhASBpjD50osj2AX4IwbkUtyuhhKGyoFU9eZdrbeW6tpnqUnj6yBMtAPm2eGD4BwQuX400g==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "lockfile": "1.0.4" }, @@ -16262,6 +16281,8 @@ "integrity": "sha512-mqGCUBs862g8mICZwX8CG92p1EZ1Un0DJ2DB7+iVu2TYaEeKoHoIdafabVdiYrbOjLcAOOBrMKE1Wnn14eLxpA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/logger": "8.0.0-next-8.1", "debug": "4.3.7", @@ -16281,6 +16302,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16299,6 +16322,8 @@ "integrity": "sha512-7AXG7qlcVFmF+Nue2oKaraprGRtaBvrQIOvc/E89+7hAe399V01KnZI6E/ET56u7U9fq0MSlp92HBcdotlpUXg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/commons-api": "10.2.0", "@verdaccio/file-locking": "10.3.1", @@ -16322,7 +16347,9 @@ "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/local-storage-legacy/node_modules/debug": { "version": "4.3.4", @@ -16330,6 +16357,8 @@ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "2.1.2" }, @@ -16348,6 +16377,8 @@ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "mkdirp": "bin/cmd.js" }, @@ -16360,7 +16391,9 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/logger": { "version": "8.0.0-next-8.1", @@ -16368,6 +16401,8 @@ "integrity": "sha512-w5kR0/umQkfH2F4PK5Fz9T6z3xz+twewawKLPTUfAgrVAOiWxcikGhhcHWhSGiJ0lPqIa+T0VYuLWMeVeDirGw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/logger-commons": "8.0.0-next-8.1", "pino": "8.17.2" @@ -16386,6 +16421,8 @@ "integrity": "sha512-V+/B1Wnct3IZ90q6HkI1a3dqbS0ds7s/5WPrS5cmBeLEw78/OGgF76XkhI2+lett7Un1CjVow7mcebOWcZ/Sqw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/logger-commons": "8.0.0-next-8.1", "pino": "7.11.0" @@ -16404,6 +16441,8 @@ "integrity": "sha512-M3BmBhwJRZsSx38lZyhE53Csddgzl5R7xGJNk7CVddZD6CcmwMCH8J+7AprIrQKH7TonKxaCjcv27Qmf+sQ+oA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "end-of-stream": "^1.4.1", "inherits": "^2.0.3", @@ -16416,7 +16455,9 @@ "resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz", "integrity": "sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/logger-7/node_modules/pino": { "version": "7.11.0", @@ -16424,6 +16465,8 @@ "integrity": "sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "atomic-sleep": "^1.0.0", "fast-redact": "^3.0.0", @@ -16447,6 +16490,8 @@ "integrity": "sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "duplexify": "^4.1.2", "split2": "^4.0.0" @@ -16457,7 +16502,9 @@ "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz", "integrity": "sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/logger-7/node_modules/readable-stream": { "version": "3.6.2", @@ -16465,6 +16512,8 @@ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -16480,6 +16529,8 @@ "integrity": "sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 12.13.0" } @@ -16490,6 +16541,8 @@ "integrity": "sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "atomic-sleep": "^1.0.0" } @@ -16500,6 +16553,8 @@ "integrity": "sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "real-require": "^0.1.0" } @@ -16510,6 +16565,8 @@ "integrity": "sha512-jCge//RT4uaK7MarhpzcJeJ5Uvtu/DbJ1wvJQyGiFe+9AvxDGm3EUFXvawLFZ0lzYhmLt1nvm7kevcc3vOm2ZQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/core": "8.0.0-next-8.1", "@verdaccio/logger-prettify": "8.0.0-next-8.0", @@ -16530,6 +16587,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16548,6 +16607,8 @@ "integrity": "sha512-7mAFHZF2NPTubrOXYp2+fbMjRW5MMWXMeS3LcpupMAn5uPp6jkKEM8NC4IVJEevC5Ph4vPVZqpoPDpgXHEaV3Q==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "colorette": "2.0.20", "dayjs": "1.11.13", @@ -16569,6 +16630,8 @@ "integrity": "sha512-GpAdJYky1WmOERpxPoCkVSwTTJIsVAjqf2a2uQNvi7R3UZhs059JKhWcZjJMVCGV0uz9xgQvtb3DEuYGHqyaOg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/config": "8.0.0-next-8.1", "@verdaccio/core": "8.0.0-next-8.1", @@ -16595,6 +16658,8 @@ "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 0.6" } @@ -16605,6 +16670,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16623,6 +16690,8 @@ "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -16666,6 +16735,8 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -16675,7 +16746,9 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/middleware/node_modules/lru-cache": { "version": "7.18.3", @@ -16683,6 +16756,8 @@ "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "engines": { "node": ">=12" } @@ -16693,6 +16768,8 @@ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "mime": "cli.js" }, @@ -16705,7 +16782,9 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/middleware/node_modules/qs": { "version": "6.13.0", @@ -16713,6 +16792,8 @@ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "license": "BSD-3-Clause", + "optional": true, + "peer": true, "dependencies": { "side-channel": "^1.0.6" }, @@ -16729,6 +16810,8 @@ "integrity": "sha512-VS9axVt8XAueiPceVCgaj9nlvYj5s/T4MkAILSf2rVZeFFOMUyxU3mddUCajSHzL+YpqCuzLLL9865sRRzOJ9w==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=12" }, @@ -16743,6 +16826,8 @@ "integrity": "sha512-klcc2UlCvQxXDV65Qewo2rZOfv7S1y8NekS/8uurSaCTjU35T+fz+Pbqz1S9XK9oQlMp4vCQ7w3iMPWQbvphEQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "debug": "4.3.7", "jsonwebtoken": "9.0.2" @@ -16761,6 +16846,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16779,6 +16866,8 @@ "integrity": "sha512-OojIG/f7UYKxC4dYX8x5ax8QhRx1b8OYUAMz82rUottCuzrssX/4nn5QE7Ank0DUSX3C9l/HPthc4d9uKRJqJQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=12", "npm": ">=5" @@ -16794,6 +16883,8 @@ "integrity": "sha512-58uimU2Bqt9+s+9ixy7wK/nPCqbOXhhhr/MQjl+otIlsUhSeATndhFzEctz/W+4MhUDg0tUnE9HC2yeNHHAo1Q==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/core": "8.0.0-next-8.1", "@verdaccio/url": "13.0.0-next-8.1", @@ -16817,6 +16908,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16834,7 +16927,9 @@ "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-8.0.0-next-8.1.tgz", "integrity": "sha512-9PxV8+jE2Tr+iy9DQW/bzny4YqOlW0mCZ9ct6jhcUW4GdfzU//gY2fBN/DDtQVmfbTy8smuj4Enyv5f0wCsnYg==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@verdaccio/url": { "version": "13.0.0-next-8.1", @@ -16842,6 +16937,8 @@ "integrity": "sha512-h6pkJf+YtogImKgOrmPP9UVG3p3gtb67gqkQU0bZnK+SEKQt6Rkek/QvtJ8MbmciagYS18bDhpI8DxqLHjDfZQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/core": "8.0.0-next-8.1", "debug": "4.3.7", @@ -16862,6 +16959,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -16880,6 +16979,8 @@ "integrity": "sha512-cyJdRrVa+8CS7UuIQb3K3IJFjMe64v38tYiBnohSmhRbX7dX9IT3jWbjrwkqWh4KeS1CS6BYENrGG1evJ2ggrQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/core": "8.0.0-next-8.1", "lodash": "4.17.21", @@ -16900,6 +17001,8 @@ "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -17639,6 +17742,8 @@ "integrity": "sha512-FCAJojipPn0bXjuEpjOOOMN8FZDkxfWWp4JGN9mifU2IhxvKyXZYqpzPHdnTSUpmPDy+tsslB6Z1g+Vg6nVbYA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -17891,6 +17996,8 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8.0.0" } @@ -18442,7 +18549,9 @@ "resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz", "integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/beasties": { "version": "0.1.0", @@ -18732,6 +18841,8 @@ "integrity": "sha512-19OEpq7vWgsH6WkvkBJQDFvJS1uPcbFOQ4v9CU839dO+ZZXUZO6XpE6hNCqvlIIj+4fZvRiJ6DsAQ382GwiyTQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "pako": "~0.2.0" } @@ -18831,7 +18942,9 @@ "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", "dev": true, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "optional": true, + "peer": true }, "node_modules/buffer-from": { "version": "1.1.2", @@ -19618,6 +19731,8 @@ "integrity": "sha512-CXkMQxU6s9GklO/1f714dkKBMu1lopS1WFF0B8o4AxPykR1hpozxSiUZ5ZUeBjfPgCWqbcNOtZVFhB8Lkfp1+Q==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "workspaces": [ "website" ], @@ -20257,6 +20372,8 @@ "dev": true, "hasInstallScript": true, "license": "MIT", + "optional": true, + "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/core-js" @@ -20289,6 +20406,8 @@ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "object-assign": "^4", "vary": "^1" @@ -21803,6 +21922,8 @@ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "end-of-stream": "^1.0.0", "inherits": "^2.0.1", @@ -21816,6 +21937,8 @@ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -21831,7 +21954,9 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/duplexify/node_modules/string_decoder": { "version": "1.1.1", @@ -21839,6 +21964,8 @@ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -21874,6 +22001,8 @@ "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", "dev": true, "license": "Apache-2.0", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "^5.0.1" } @@ -22182,6 +22311,8 @@ "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "envinfo": "dist/cli.js" }, @@ -23082,7 +23213,9 @@ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-5.5.1.tgz", "integrity": "sha512-MTjE2eIbHv5DyfuFz4zLYWxpqVhEhkTiwFGuB74Q9CSou2WHO52nlE5y3Zlg6SIsiYUIPj6ifFxnkPz6O3sIUg==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/express/node_modules/debug": { "version": "2.6.9", @@ -23277,6 +23410,8 @@ "integrity": "sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=6" } @@ -23286,7 +23421,9 @@ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/fast-uri": { "version": "3.0.3", @@ -24790,6 +24927,8 @@ "integrity": "sha512-4haO1M4mLO91PW57BMsDFf75UmwoRX0GkdD+Faw+Lr+r/OZrOCS0pIBwOL1xCKQqnQzbNFGgK2V2CpBUPeFNTw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "browserify-zlib": "^0.1.4", "is-deflate": "^1.0.0", @@ -24808,6 +24947,8 @@ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -24823,7 +24964,9 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/gunzip-maybe/node_modules/string_decoder": { "version": "1.1.1", @@ -24831,6 +24974,8 @@ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -24841,6 +24986,8 @@ "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -25403,7 +25550,9 @@ "resolved": "https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.3.0.tgz", "integrity": "sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/https-proxy-agent": { "version": "7.0.5", @@ -25941,7 +26090,9 @@ "resolved": "https://registry.npmjs.org/is-deflate/-/is-deflate-1.0.0.tgz", "integrity": "sha512-YDoFpuZWu1VRXlsnlYMzKyVRITXj7Ej/V9gXQ2/pAe7X1J7M/RNOqaIYi6qUn+B7nGyB9pDXrv02dsB58d2ZAQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/is-docker": { "version": "2.2.1", @@ -26023,6 +26174,8 @@ "integrity": "sha512-rcfALRIb1YewtnksfRIHGcIY93QnK8BIQ/2c9yDYcG/Y6+vRoJuTWBmmSEbyLLYtXm7q35pHOHbZFQBaLrhlWQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -26164,7 +26317,9 @@ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/is-stream": { "version": "2.0.1", @@ -27733,6 +27888,8 @@ "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "jws": "^3.2.2", "lodash.includes": "^4.3.0", @@ -27772,6 +27929,8 @@ "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", @@ -27784,6 +27943,8 @@ "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "jwa": "^1.4.1", "safe-buffer": "^5.0.1" @@ -28581,6 +28742,8 @@ "integrity": "sha512-cvbTwETRfsFh4nHsL1eGWapU1XFi5Ot9E85sWAwia7Y7EgB7vfqcZhTKZ+l7hCGxSPoushMv5GKhT5PdLv03WA==", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "signal-exit": "^3.0.2" } @@ -28590,7 +28753,9 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true, - "license": "ISC" + "license": "ISC", + "optional": true, + "peer": true }, "node_modules/lodash": { "version": "4.17.21", @@ -28647,14 +28812,18 @@ "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/lodash.isboolean": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/lodash.isfunction": { "version": "3.0.9", @@ -28668,14 +28837,18 @@ "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/lodash.isnumber": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/lodash.isplainobject": { "version": "4.0.6", @@ -28689,7 +28862,8 @@ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/lodash.kebabcase": { "version": "4.1.1", @@ -29045,6 +29219,8 @@ "integrity": "sha512-2+x8esE/Wb9SQ1F9IHaYWfsC9FIecLOPrK4g17FGEayjUWH172H6nwicRovGvSE2CPZouc2MCIqCI7h9d+GftQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "graceful-fs": "^4.1.3", "is-promise": "^2.1.0", @@ -29062,6 +29238,8 @@ "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=4" } @@ -30745,6 +30923,8 @@ "integrity": "sha512-at/ZndSy3xEGJ8i0ygALh8ru9qy7gWW1cmkaqBN29JmMlIvM//MEO9y1sk/avxuwnPcfhkejkLsuPxH81BrkSg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "mkdirp": "~0.5.1", "ncp": "~2.0.0", @@ -30760,6 +30940,8 @@ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -30772,6 +30954,8 @@ "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "inflight": "^1.0.4", "inherits": "2", @@ -30789,6 +30973,8 @@ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -30803,6 +30989,8 @@ "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "glob": "^6.0.1" }, @@ -30855,6 +31043,8 @@ "integrity": "sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "ncp": "bin/ncp" } @@ -35710,6 +35900,7 @@ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -35740,6 +35931,8 @@ "integrity": "sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=14.0.0" } @@ -36131,7 +36324,9 @@ "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/param-case": { "version": "3.0.4", @@ -36412,6 +36607,8 @@ "integrity": "sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "buffer-from": "^1.0.0", "duplexify": "^3.5.0", @@ -36424,6 +36621,8 @@ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -36439,7 +36638,9 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/peek-stream/node_modules/string_decoder": { "version": "1.1.1", @@ -36447,6 +36648,8 @@ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -36457,6 +36660,8 @@ "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -36509,6 +36714,8 @@ "integrity": "sha512-LA6qKgeDMLr2ux2y/YiUt47EfgQ+S9LznBWOJdN3q1dx2sv0ziDLUBeVpyVv17TEcGCBuWf0zNtg3M5m1NhhWQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "atomic-sleep": "^1.0.0", "fast-redact": "^3.1.1", @@ -36532,6 +36739,8 @@ "integrity": "sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "readable-stream": "^4.0.0", "split2": "^4.0.0" @@ -36542,14 +36751,18 @@ "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz", "integrity": "sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/pino/node_modules/process-warning": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-3.0.0.tgz", "integrity": "sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/pirates": { "version": "4.0.6", @@ -36787,6 +37000,8 @@ "integrity": "sha512-8xCNE/aT/EXKenuMDZ+xTVwkT8gsoHN2z/Q29l80u0ppGEXVvsKRzNMbtKhg8LS8k1tJLAHHylf6p4VFmP6XUQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 0.4.0" } @@ -38351,7 +38566,9 @@ "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-1.0.0.tgz", "integrity": "sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/progress": { "version": "2.0.3", @@ -38513,6 +38730,8 @@ "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "duplexify": "^3.6.0", "inherits": "^2.0.3", @@ -38525,6 +38744,8 @@ "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -38705,7 +38926,9 @@ "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz", "integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/quick-lru": { "version": "4.0.1", @@ -39119,6 +39342,8 @@ "integrity": "sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 12.13.0" } @@ -39891,6 +40116,8 @@ "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=10" } @@ -41216,6 +41443,8 @@ "integrity": "sha512-ybz6OYOUjoQQCQ/i4LU8kaToD8ACtYP+Cj5qd2AO36bwbdewxWJ3ArmJ2cr6AvxlL2o0PqnCcPGUgkILbfkaCA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "atomic-sleep": "^1.0.0" } @@ -41508,6 +41737,8 @@ "integrity": "sha512-EEHMVYHNXFHfGtgjNITnka0aHhiAlo93F7z2/Pwd+g0teG9CnM3JIINM7hVVB5/rhw9voufD7Wukwgtw2uqh6w==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "graceful-fs": "^4.1.3" } @@ -41592,7 +41823,9 @@ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/streamroller": { "version": "3.1.5", @@ -43104,6 +43337,8 @@ "integrity": "sha512-qQiRWsU/wvNolI6tbbCKd9iKaTnCXsTwVxhhKM6nctPdujTyztjlbUkUTUymidWcMnZ5pWR0ej4a0tjsW021vw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "real-require": "^0.2.0" } @@ -43676,6 +43911,8 @@ "integrity": "sha512-ZW/lVMRabETuYCd9O9ZvMhAh8GslSqaUjxmK/JLPCh6l73CvLBiuXswj/+7LdnWOgYsQ130FqLzFz5aGT4I3Ug==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "workspaces": [ "website" ] @@ -44047,7 +44284,9 @@ "resolved": "https://registry.npmjs.org/unix-crypt-td-js/-/unix-crypt-td-js-1.1.4.tgz", "integrity": "sha512-8rMeVYWSIyccIJscb9NdCfZKSRBKYTeVnwmiRYT2ulE3qd1RaDQ0xQDP+rI3ccIWbhu/zuo5cgN8z73belNZgw==", "dev": true, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "optional": true, + "peer": true }, "node_modules/unpipe": { "version": "1.0.0", @@ -44288,6 +44527,8 @@ "integrity": "sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 0.10" } @@ -44308,6 +44549,8 @@ "integrity": "sha512-mZWTt/k3KyprhS9IriUEHfKSV4lqB9P1aTVhw5GcNgu4533GSsJRwlBwrFijnoBbWDVarjZoIf+t8wq0iv+5jg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@cypress/request": "3.0.6", "@verdaccio/auth": "8.0.0-next-8.1", @@ -44365,6 +44608,8 @@ "integrity": "sha512-EEfUeC1kHuErtwF9FC670W+EXHhcl+iuigONkcprwRfkPxmdBs+Hx36745hgAMZ9SCqedNECaycnGF3tZ3VYfw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/config": "8.0.0-next-8.1", "@verdaccio/core": "8.0.0-next-8.1", @@ -44386,6 +44631,8 @@ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "debug": "4" }, @@ -44399,6 +44646,8 @@ "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 0.6" } @@ -44409,6 +44658,8 @@ "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -44452,6 +44703,8 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -44462,6 +44715,8 @@ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "agent-base": "6", "debug": "4" @@ -44475,14 +44730,18 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/verdaccio-audit/node_modules/path-to-regexp": { "version": "0.1.10", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/verdaccio-audit/node_modules/qs": { "version": "6.13.0", @@ -44490,6 +44749,8 @@ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "license": "BSD-3-Clause", + "optional": true, + "peer": true, "dependencies": { "side-channel": "^1.0.6" }, @@ -44506,6 +44767,8 @@ "integrity": "sha512-BfvmO+ZdbwfttOwrdTPD6Bccr1ZfZ9Tk/9wpXamxdWB/XPWlk3FtyGsvqCmxsInRLPhQ/FSk9c3zRCGvICTFYg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@verdaccio/core": "8.0.0-next-8.1", "@verdaccio/file-locking": "13.0.0-next-8.0", @@ -44530,6 +44793,8 @@ "integrity": "sha512-28XRwpKiE3Z6KsnwE7o8dEM+zGWOT+Vef7RVJyUlG176JVDbGGip3HfCmFioE1a9BklLyGEFTu6D69BzfbRkzA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "lockfile": "1.0.4" }, @@ -44547,6 +44812,8 @@ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -44565,6 +44832,8 @@ "integrity": "sha512-fi0eVdCOtKu5Ed6+E8mYxUF6ZTFJDZvHogCBelM0xVXmrDEkyM22gRArQzq1YcHPm1V47Vf/iAD+WgVdUlJCGg==", "dev": true, "license": "Apache-2.0", + "optional": true, + "peer": true, "dependencies": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -44595,6 +44864,8 @@ "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -44638,6 +44909,8 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -44648,6 +44921,8 @@ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "argparse": "^2.0.1" }, @@ -44661,6 +44936,8 @@ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=6" } @@ -44671,6 +44948,8 @@ "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "license": "ISC", + "optional": true, + "peer": true, "engines": { "node": ">=12" } @@ -44681,6 +44960,8 @@ "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "mime": "cli.js" }, @@ -44694,6 +44975,8 @@ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "mkdirp": "bin/cmd.js" }, @@ -44706,14 +44989,18 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/verdaccio/node_modules/path-to-regexp": { "version": "0.1.10", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/verdaccio/node_modules/qs": { "version": "6.13.0", @@ -44721,6 +45008,8 @@ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "license": "BSD-3-Clause", + "optional": true, + "peer": true, "dependencies": { "side-channel": "^1.0.6" }, @@ -44737,6 +45026,8 @@ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -46370,6 +46661,7 @@ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.4" } diff --git a/package.json b/package.json index 07fc0842..e28070d3 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,6 @@ "stylelint-prettier": "^5.0.0", "ts-jest": "29.1.0", "typescript": "5.6.3", - "verdaccio": "^5.0.4", "vite": "5.1.3", "vite-plugin-eslint": "^1.8.1", "vite-tsconfig-paths": "^4.3.1", diff --git a/packages/esbuild-meta/.eslintrc.json b/packages/esbuild-meta/.eslintrc.json deleted file mode 100644 index 22d31df3..00000000 --- a/packages/esbuild-meta/.eslintrc.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.json"], - "parser": "jsonc-eslint-parser", - "rules": { - "@nx/dependency-checks": [ - "error", - { - "ignoredFiles": [ - "{projectRoot}/e2e/**/*", - "{projectRoot}/vitest.config.e2e.{js,ts,mjs,mts}", - "{projectRoot}/vite.config.{js,ts,mjs,mts}" - ] - } - ] - } - } - ] -} diff --git a/packages/esbuild-meta/CHANGELOG.md b/packages/esbuild-meta/CHANGELOG.md deleted file mode 100644 index aeee7c4f..00000000 --- a/packages/esbuild-meta/CHANGELOG.md +++ /dev/null @@ -1,279 +0,0 @@ -## 1.4.17 (2024-10-08) - - -### 🩹 Fixes - -- **esbuild-meta:** fix filter bug ([76a5eb9](https://github.com/ChristopherPHolder/app-speed/commit/76a5eb9)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.16 (2024-10-08) - - -### 🩹 Fixes - -- **esbuild-meta:** fix filter bug ([821c230](https://github.com/ChristopherPHolder/app-speed/commit/821c230)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.15 (2024-09-14) - - -### 🩹 Fixes - -- **workspace:** migrate nx vitest inferred ([16e996b](https://github.com/ChristopherPHolder/app-speed/commit/16e996b)) - -- **workspace:** migrate nx vitest inferred ([fe3e582](https://github.com/ChristopherPHolder/app-speed/commit/fe3e582)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.14 (2024-07-04) - - -### 🩹 Fixes - -- **esbuild-meta:** handle missing stats path ([ea51338](https://github.com/ChristopherPHolder/app-speed/commit/ea51338)) - -- **esbuild-meta:** fix dependency check ([2df834a](https://github.com/ChristopherPHolder/app-speed/commit/2df834a)) - -- **esbuild-meta:** fix dependency check ([b1a0a7d](https://github.com/ChristopherPHolder/app-speed/commit/b1a0a7d)) - -- **esbuild-meta:** fix dependency check ([d717845](https://github.com/ChristopherPHolder/app-speed/commit/d717845)) - -- **esbuild-meta:** fix no unit test pass ([7718211](https://github.com/ChristopherPHolder/app-speed/commit/7718211)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.13 (2024-07-01) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release config ([571beea](https://github.com/ChristopherPHolder/app-speed/commit/571beea)) - - -### ❤️ Thank You - -- ChristopherPHolder - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.11 (2024-06-29) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release config ([5866f06](https://github.com/ChristopherPHolder/app-speed/commit/5866f06)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.10 (2024-06-29) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release config ([a3dda38](https://github.com/ChristopherPHolder/app-speed/commit/a3dda38)) - -- **esbuild-meta:** fix release config ([3ed22cb](https://github.com/ChristopherPHolder/app-speed/commit/3ed22cb)) - -- **esbuild-meta:** fix release config ([a0a2485](https://github.com/ChristopherPHolder/app-speed/commit/a0a2485)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.9 (2024-06-29) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release config ([fea0167](https://github.com/ChristopherPHolder/app-speed/commit/fea0167)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.8 (2024-06-29) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release config ([2a75aa7](https://github.com/ChristopherPHolder/app-speed/commit/2a75aa7)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.7 (2024-06-29) - - -### 🩹 Fixes - -- **esbuild-meta:** bin syntax ([619a0f4](https://github.com/ChristopherPHolder/app-speed/commit/619a0f4)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.6 (2024-06-20) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release ([428e7ba](https://github.com/ChristopherPHolder/app-speed/commit/428e7ba)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.5 (2024-06-20) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release ([8a9ef76](https://github.com/ChristopherPHolder/app-speed/commit/8a9ef76)) - -- **esbuild-meta:** fix release ([7056434](https://github.com/ChristopherPHolder/app-speed/commit/7056434)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.4 (2024-06-20) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release ([08b0823](https://github.com/ChristopherPHolder/app-speed/commit/08b0823)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.3 (2024-06-20) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release ([6e200658](https://github.com/ChristopherPHolder/app-speed/commit/6e200658)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.2 (2024-06-20) - - -### 🩹 Fixes - -- **esbuild-meta:** fix release ([dc27a6e](https://github.com/ChristopherPHolder/app-speed/commit/dc27a6e)) - - -### ❤️ Thank You - -- ChristopherPHolder - -## 1.4.1 (2024-06-17) - - -### 🩹 Fixes - -- **esbuild-meta:** fix arg dist description ([8cbcaa6](https://github.com/ChristopherPHolder/app-speed/commit/8cbcaa6)) - - -### ❤️ Thank You - -- Christopher Holder @ChristopherPHolder -- ChristopherPHolder - -## 1.4.0 (2024-06-17) - - -### 🚀 Features - -- **esbuild-meta:** versions ([a40ab91](https://github.com/ChristopherPHolder/app-speed/commit/a40ab91)) - -- **esbuild-meta:** versions boost ([1861f92](https://github.com/ChristopherPHolder/app-speed/commit/1861f92)) - -- **esbuild-meta:** filter out dynamic imports from output chunks ([bc6cf16](https://github.com/ChristopherPHolder/app-speed/commit/bc6cf16)) - -- **esbuild-meta:** default filter dynamic to false ([56a9256](https://github.com/ChristopherPHolder/app-speed/commit/56a9256)) - -- **esbuild-meta:** specify entry and dist ([a6a7698](https://github.com/ChristopherPHolder/app-speed/commit/a6a7698)) - - -### 🩹 Fixes - -- fix structure about lib ([b2521ad](https://github.com/ChristopherPHolder/app-speed/commit/b2521ad)) - -- add esbuild meta ([0d77fd8](https://github.com/ChristopherPHolder/app-speed/commit/0d77fd8)) - -- **esbuild-meta:** add esbuild meta ([5aca4b3](https://github.com/ChristopherPHolder/app-speed/commit/5aca4b3)) - -- **esbuild-meta:** release config ([fa0412a](https://github.com/ChristopherPHolder/app-speed/commit/fa0412a)) - -- **esbuild-meta:** fix lin issues ([f4feec0](https://github.com/ChristopherPHolder/app-speed/commit/f4feec0)) - -- **esbuild-meta:** fix bin ([5e8431e](https://github.com/ChristopherPHolder/app-speed/commit/5e8431e)) - -- **esbuild-meta:** fix version ([8b20fbd](https://github.com/ChristopherPHolder/app-speed/commit/8b20fbd)) - -- **esbuild-meta:** versions boost ([422bb46](https://github.com/ChristopherPHolder/app-speed/commit/422bb46)) - -- **esbuild-meta:** fix packages ([a181e6f](https://github.com/ChristopherPHolder/app-speed/commit/a181e6f)) - -- **esbuild-meta:** fix versioning ([f292a04](https://github.com/ChristopherPHolder/app-speed/commit/f292a04)) - -- **esbuild-meta:** fix versioning ([8963a1f](https://github.com/ChristopherPHolder/app-speed/commit/8963a1f)) - -- **esbuild-meta:** fix versioning ([7969e24](https://github.com/ChristopherPHolder/app-speed/commit/7969e24)) - -- **esbuild-meta:** fix versioning ([30b35b1](https://github.com/ChristopherPHolder/app-speed/commit/30b35b1)) - -- **esbuild-meta:** fix versioning ([2cfd809](https://github.com/ChristopherPHolder/app-speed/commit/2cfd809)) - -- **esbuild-meta:** fix versioning ([cc07dad](https://github.com/ChristopherPHolder/app-speed/commit/cc07dad)) - -- **esbuild-meta:** fix versioning ([48efa8b](https://github.com/ChristopherPHolder/app-speed/commit/48efa8b)) - -- **esbuild-meta:** fix versioning ([96f8b2e](https://github.com/ChristopherPHolder/app-speed/commit/96f8b2e)) - -- **esbuild-meta:** fix versioning ([dcb3bbd](https://github.com/ChristopherPHolder/app-speed/commit/dcb3bbd)) - -- **esbuild-meta:** fix versioning ([dcb8bd6](https://github.com/ChristopherPHolder/app-speed/commit/dcb8bd6)) - -- **esbuild-meta:** make filter default command ([7713c7a](https://github.com/ChristopherPHolder/app-speed/commit/7713c7a)) - -- **esbuild-meta:** add missing type ([973e10e](https://github.com/ChristopherPHolder/app-speed/commit/973e10e)) - -- **esbuild-meta:** add missing type ([0e7f76b](https://github.com/ChristopherPHolder/app-speed/commit/0e7f76b)) - - -### ❤️ Thank You - -- ChristopherPHolder diff --git a/packages/esbuild-meta/README.md b/packages/esbuild-meta/README.md deleted file mode 100644 index 2dc619b9..00000000 --- a/packages/esbuild-meta/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @app-speed/esbuild-meta - -Esbuild Meta is a CLI tool to help you analyse the meta output of esbuild. diff --git a/packages/esbuild-meta/e2e/__snapshots__/filter.test.e2e.ts.snap b/packages/esbuild-meta/e2e/__snapshots__/filter.test.e2e.ts.snap deleted file mode 100644 index 62535c40..00000000 --- a/packages/esbuild-meta/e2e/__snapshots__/filter.test.e2e.ts.snap +++ /dev/null @@ -1,16 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`filter command > should have a help option 1`] = ` -"esbuild-meta filter - -Filters the meta file to only include chunks required by specified entry points - -Options: - -s, --statsPath The path to the stats.json file [string] [required] - -o, --outPath The path where the new file should be saved [string] [default: "initial-stats.json"] - --excludeDynamicImports, --eDI Should the dynamic imports be filtered out of the output chunk imports [boolean] [default: false] - -e, --entryPoints Entry points that should be considered for the bundle [array] [default: ["main-","polyfills-"]] - -v, --version Show version number [boolean] - -h, --help Show help [boolean] -" -`; diff --git a/packages/esbuild-meta/e2e/__snapshots__/root.test.e2e.ts.snap b/packages/esbuild-meta/e2e/__snapshots__/root.test.e2e.ts.snap deleted file mode 100644 index 27fa9512..00000000 --- a/packages/esbuild-meta/e2e/__snapshots__/root.test.e2e.ts.snap +++ /dev/null @@ -1,13 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`--help > should show help 1`] = ` -"esbuild-meta [command] - -Commands: - esbuild-meta filter Filters the meta file to only include chunks required by specified entry points [aliases: f] - -Options: - -v, --version Show version number [boolean] - -h, --help Show help [boolean] -" -`; diff --git a/packages/esbuild-meta/e2e/filter.test.e2e.ts b/packages/esbuild-meta/e2e/filter.test.e2e.ts deleted file mode 100644 index 1c705b05..00000000 --- a/packages/esbuild-meta/e2e/filter.test.e2e.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { describe, expect, it } from 'vitest'; -import { cliProcess } from './utils.js'; -import { DEMAND_STATS_PATH } from '../src/lib/filter-meta.js'; -import { INVALID_FILE_PATH_ERROR_MSG } from '../src/lib/utils.js'; - -describe('filter command', () => { - it('should have a help option', async () => { - const { stdout, stderr, code } = await cliProcess('esbuild-meta filter --help'); - expect(stdout).toMatchSnapshot(); - expect(stderr).toBeFalsy(); - expect(code).toBe(0); - }); - - it('should demand stats path option', async () => { - const { stdout, stderr, code } = await cliProcess('esbuild-meta filter'); - expect(stderr).toContain(DEMAND_STATS_PATH); - expect(stdout).toBeFalsy(); - expect(code).toBe(1); - }); - - it('should throw if stats path does not point to a file', async () => { - const INVALID_STATS_FILE = 'invalid-path.json'; - const { stdout, stderr, code } = await cliProcess(`esbuild-meta filter --statsPath ${INVALID_STATS_FILE}`); - expect(stderr).toContain(INVALID_FILE_PATH_ERROR_MSG('invalid-path.json')); - expect(stdout).toBeFalsy(); - expect(code).toBe(1); - }); -}); diff --git a/packages/esbuild-meta/e2e/root.test.e2e.ts b/packages/esbuild-meta/e2e/root.test.e2e.ts deleted file mode 100644 index e89bdb36..00000000 --- a/packages/esbuild-meta/e2e/root.test.e2e.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { describe, it, expect, beforeAll } from 'vitest'; -import { version } from '../package.json'; - -import { cliProcess, CliProcessOutput } from './utils.js'; - -describe('--help', () => { - let output: CliProcessOutput; - - beforeAll(async () => { - output = await cliProcess('esbuild-meta --help'); - }); - - it('should show help', async () => { - const { stdout, stderr, code } = output; - expect(stdout).toMatchSnapshot(); - expect(stderr).toBeFalsy(); - expect(code).toBe(0); - }); - - it('should alias to -h', async () => { - expect(await cliProcess('esbuild-meta --help')).toEqual(output); - }); -}); - -describe('--version', () => { - it('should show version', async () => { - const {stdout, stderr, code} = await cliProcess('esbuild-meta --version'); - expect(stdout).toContain(version); - expect(stderr).toBeFalsy(); - expect(code).toBe(0); - }); -}); diff --git a/packages/esbuild-meta/e2e/utils.ts b/packages/esbuild-meta/e2e/utils.ts deleted file mode 100644 index c5f356c0..00000000 --- a/packages/esbuild-meta/e2e/utils.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { spawn } from 'node:child_process'; - -export type CliProcessOutput = { - stdout: string; - stderr: string; - code: number | null; -} - -export const cliProcess = (command: string) => { - return new Promise((resolve) => { - const process = spawn(command, [], { stdio: 'pipe', shell: true }); - - let stdout = ''; - let stderr = ''; - process.stdout.on('data', (data) => stdout += String(data)); - process.stderr.on('data', (data) => stderr += String(data)); - process.on('close', code => resolve({ stdout, stderr, code })); - }) -} diff --git a/packages/esbuild-meta/package.json b/packages/esbuild-meta/package.json deleted file mode 100644 index 5608c5b3..00000000 --- a/packages/esbuild-meta/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "@app-speed/esbuild-meta", - "bin": { - "esbuild-meta": "./main.js" - }, - "type": "module", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "dependencies": { - "esbuild": "0.19.2", - "yargs": "^17.7.2" - }, - "version": "1.4.13" -} diff --git a/packages/esbuild-meta/project.json b/packages/esbuild-meta/project.json deleted file mode 100644 index 529694f7..00000000 --- a/packages/esbuild-meta/project.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "esbuild-meta", - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages/esbuild-meta/src", - "projectType": "app", - "targets": { - "build": { - "executor": "@nx/esbuild:esbuild", - "outputs": ["{options.outputPath}"], - "options": { - "outputPath": "dist/packages/esbuild-meta", - "main": "packages/esbuild-meta/src/main.ts", - "tsConfig": "packages/esbuild-meta/tsconfig.lib.json", - "assets": ["packages/esbuild-meta/*.md"], - "generatePackageJson": true, - "format": ["esm"], - "minify": true, - "platform": "node", - "bundle": true - } - }, - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] - }, - "test": { - "inputs": [ - "default", - "^default", - { - "externalDependencies": ["vitest"] - } - ], - "outputs": [ - "{projectRoot}/{options.coverage.reportsDirectory}", - "{workspaceRoot}\\coverage\\packages\\esbuild-meta" - ], - "options": { - "coverage.reportsDirectory": "../../coverage/packages/esbuild-meta" - } - }, - "e2e": { - "inputs": [ - "default", - "^default", - { - "externalDependencies": ["vitest"] - } - ], - "outputs": ["{workspaceRoot}/coverage/{projectRoot}-e2e"], - "options": { - "config": "vitest.config.e2e.ts" - }, - "dependsOn": ["build"] - } - } -} diff --git a/packages/esbuild-meta/src/lib/filter-meta.ts b/packages/esbuild-meta/src/lib/filter-meta.ts deleted file mode 100644 index 592d9e7f..00000000 --- a/packages/esbuild-meta/src/lib/filter-meta.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { CommandModule, CommandBuilder, Options, InferredOptionTypes, Argv } from 'yargs'; -import { Metafile } from 'esbuild'; -import { extractEntryPoints, filterMetaFromEntryPoints, removeDynamicImports, getJson, makeJson } from './utils.js'; - -export const DEMAND_STATS_PATH = 'The path to a stats.json file is required'; - -const statsPath = { - alias: 's', - type: 'string', - description: 'The path to the stats.json file', - demandOption: DEMAND_STATS_PATH, -} as const satisfies Options; - -const outPath = { - alias: 'o', - type: 'string', - description: 'The path where the new file should be saved', - default: 'initial-stats.json', -} as const satisfies Options; - -const excludeDynamicImports = { - alias: 'eDI', - type: 'boolean', - description: 'Should the dynamic imports be filtered out of the output chunk imports', - default: false, -} as const satisfies Options; - -const entryPoints = { - alias: 'e', - type: 'array', - default: ['main-', 'polyfills-'], - coerce: (i) => i.map((value: never) => String(value)), - description: 'Entry points that should be considered for the bundle', -} as const satisfies Options; - -const filterMetaOptions = { statsPath, outPath, excludeDynamicImports, entryPoints }; - -type FilterMetaOptions = InferredOptionTypes; -type FilterMetaCommandModule = CommandModule; - -const filterMetaBuilder: CommandBuilder = (argv: Argv) => { - return argv.options(filterMetaOptions); -}; - -const filterMetaHandler: FilterMetaCommandModule['handler'] = (argv: FilterMetaOptions) => { - const meta = getJson(argv.statsPath); - const entryPoints = extractEntryPoints(meta, argv.entryPoints); - - filterMetaFromEntryPoints(meta, entryPoints); - - if (argv.excludeDynamicImports) { - removeDynamicImports(meta); - } - makeJson(argv.outPath, meta); - console.log('Filtered Meta File was successfully created as ' + argv.outPath); -}; - -export const filterMetaCommand: FilterMetaCommandModule = { - command: 'filter', - describe: 'Filters the meta file to only include chunks required by specified entry points', - aliases: 'f', - builder: filterMetaBuilder, - handler: filterMetaHandler, -}; diff --git a/packages/esbuild-meta/src/lib/utils.ts b/packages/esbuild-meta/src/lib/utils.ts deleted file mode 100644 index 582b24a2..00000000 --- a/packages/esbuild-meta/src/lib/utils.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { readFileSync, writeFileSync } from 'node:fs'; -import { join, normalize } from 'node:path'; -import { Metafile } from 'esbuild'; - -export const INVALID_FILE_PATH_ERROR_MSG = (path: string) => `No file found at ${path}`; - -export function getJson(path: string) { - const normalizedPath = normalize(path); - try { - return JSON.parse(readFileSync(normalizedPath, { encoding: 'utf-8' })) as T; - } catch (e) { - throw new Error(INVALID_FILE_PATH_ERROR_MSG(normalizedPath)); - } -} - -export function makeJson(path: string, file: any) { - writeFileSync(join(...[path]), JSON.stringify(file, null, 4), { encoding: 'utf-8' }); -} - -function importsInEntryPoint( - entryPoint: string, - metaFileOutputs: Metafile['outputs'], - traversedImports = [entryPoint], -): string[] { - const staticImports = metaFileOutputs[entryPoint].imports.filter( - ({ kind, path }) => kind !== 'dynamic-import' && !traversedImports.includes(path), - ); - - if (!staticImports.length) { - return traversedImports; - } - - return staticImports.flatMap(({ path }) => importsInEntryPoint(path, metaFileOutputs, [...traversedImports, path])); -} - -export function removeDynamicImports(meta: Metafile): void { - Object.entries(meta.outputs).forEach(([name, { imports }]) => { - meta.outputs[name]['imports'] = imports.filter(({ kind }) => kind !== 'dynamic-import'); - }); -} - -const matchesPattern = (fileName: string, patterns: string[]) => - patterns.some((substring) => fileName.includes(substring)); - -export function extractEntryPoints(meta: Metafile, patterns: string[]): string[] { - return Object.keys(meta.outputs).filter((fileName) => matchesPattern(fileName, patterns)); -} - -export function filterMetaFromEntryPoints(meta: Metafile, entryPoints: string[]) { - const initialChunks = new Set(entryPoints.flatMap((e) => importsInEntryPoint(e, meta.outputs))); - - Object.keys(meta.outputs) - .filter((path) => !initialChunks.has(path)) - .forEach((path) => delete meta['outputs'][path]); -} diff --git a/packages/esbuild-meta/src/main.ts b/packages/esbuild-meta/src/main.ts deleted file mode 100644 index d9dd4d73..00000000 --- a/packages/esbuild-meta/src/main.ts +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env node - -import yargs from 'yargs'; -import { hideBin } from 'yargs/helpers'; -import { argv } from 'node:process'; -import { filterMetaCommand } from './lib/filter-meta.js'; -import { version } from '../package.json'; - -yargs(hideBin(argv)) - .scriptName('esbuild-meta') - .version(version).alias('v', 'version') - .showHelpOnFail(true) - .command(filterMetaCommand) - .help() - .alias('h', 'help') - .wrap(null) - .parse(); - -console.log('Esbuild Meta completed successfully'); diff --git a/packages/esbuild-meta/tsconfig.json b/packages/esbuild-meta/tsconfig.json deleted file mode 100644 index 36d2a010..00000000 --- a/packages/esbuild-meta/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "module": "NodeNext", - "moduleResolution": "NodeNext", - "resolveJsonModule": true, - "esModuleInterop": true, - "target": "ES2022", - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - }, - { - "path": "./tsconfig.spec.json" - } - ] -} diff --git a/packages/esbuild-meta/tsconfig.lib.json b/packages/esbuild-meta/tsconfig.lib.json deleted file mode 100644 index ce3b531c..00000000 --- a/packages/esbuild-meta/tsconfig.lib.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../dist/out-tsc", - "declaration": true, - "types": ["node"] - }, - "include": ["src/**/*.ts"], - "exclude": ["vite.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] -} diff --git a/packages/esbuild-meta/tsconfig.spec.json b/packages/esbuild-meta/tsconfig.spec.json deleted file mode 100644 index c872c81b..00000000 --- a/packages/esbuild-meta/tsconfig.spec.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../dist/out-tsc", - "types": ["vitest/globals", "vitest/importMeta", "vite/client", "node", "vitest"] - }, - "include": [ - "vite.config.ts", - "vitest.config.ts", - "vitest.config.e2e.ts", - "e2e/**/*.test.e2e.ts", - "src/**/*.test.ts", - "src/**/*.spec.ts", - "src/**/*.test.tsx", - "src/**/*.spec.tsx", - "src/**/*.test.js", - "src/**/*.spec.js", - "src/**/*.test.jsx", - "src/**/*.spec.jsx", - "src/**/*.d.ts" - ] -} diff --git a/packages/esbuild-meta/vite.config.ts b/packages/esbuild-meta/vite.config.ts deleted file mode 100644 index 007c41e4..00000000 --- a/packages/esbuild-meta/vite.config.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defineConfig } from 'vite'; - -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; - -export default defineConfig({ - root: __dirname, - cacheDir: '../../node_modules/.vite/packages/esbuild-meta', - - plugins: [nxViteTsPaths()], - - test: { - globals: true, - cache: { dir: '../../node_modules/.vitest' }, - environment: 'node', - include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], - reporters: ['default'], - passWithNoTests: true, - coverage: { reportsDirectory: '../../coverage/packages/esbuild-meta', provider: 'v8' }, - }, -}); diff --git a/packages/esbuild-meta/vitest.config.e2e.ts b/packages/esbuild-meta/vitest.config.e2e.ts deleted file mode 100644 index 6cae177e..00000000 --- a/packages/esbuild-meta/vitest.config.e2e.ts +++ /dev/null @@ -1,22 +0,0 @@ -/// -import { defineConfig } from 'vite'; -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; - -export default defineConfig({ - cacheDir: '../../node_modules/.vite/esbuild-meta/e2e', - - plugins: [nxViteTsPaths()], - - test: { - watch: false, - pool: 'threads', - poolOptions: { threads: { singleThread: true } }, - testTimeout: 140_000, - reporters: ['default'], - globals: true, - cache: { dir: '../../node_modules/.vitest' }, - environment: 'node', - include: ['e2e/**/*.test.e2e.ts'], - globalSetup: '../../global-setup.e2e.ts' - }, -}); diff --git a/project.json b/project.json deleted file mode 100644 index 7620b5a4..00000000 --- a/project.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "@app-speed/source", - "$schema": "node_modules/nx/schemas/project-schema.json", - "targets": { - "local-registry": { - "executor": "@nx/js:verdaccio", - "options": { - "port": 4873, - "config": ".verdaccio/config.yml", - "storage": "tmp/local-registry/storage" - } - } - } -} diff --git a/tools/scripts/publish.mjs b/tools/scripts/publish.mjs deleted file mode 100644 index 5f87c0c2..00000000 --- a/tools/scripts/publish.mjs +++ /dev/null @@ -1,58 +0,0 @@ -/** - * This is a minimal script to publish your package to "npm". - * This is meant to be used as-is or customize as you see fit. - * - * This script is executed on "dist/path/to/library" as "cwd" by default. - * - * You might need to authenticate with NPM before running this script. - */ - -import { execSync } from 'child_process'; -import { readFileSync, writeFileSync } from 'fs'; -import chalk from 'chalk'; - -import devkit from '@nx/devkit'; -const { readCachedProjectGraph } = devkit; - -function invariant(condition, message) { - if (!condition) { - console.error(chalk.bold.red(message)); - process.exit(1); - } -} - -// Executing publish script: node path/to/publish.mjs {name} --version {version} --tag {tag} -// Default "tag" to "next" so we won't publish the "latest" tag by accident. -const [, , name, version, tag = 'next'] = process.argv; - -// A simple SemVer validation to validate the version -const validVersion = /^\d+\.\d+\.\d+(-\w+\.\d+)?/; -invariant( - version && validVersion.test(version), - `No version provided or version did not match Semantic Versioning, expected: #.#.#-tag.# or #.#.#, got ${version}.`, -); - -const graph = readCachedProjectGraph(); -const project = graph.nodes[name]; - -invariant(project, `Could not find project "${name}" in the workspace. Is the project.json configured correctly?`); - -const outputPath = project.data?.targets?.build?.options?.outputPath; -invariant( - outputPath, - `Could not find "build.options.outputPath" of project "${name}". Is project.json configured correctly?`, -); - -process.chdir(outputPath); - -// Updating the version in "package.json" before publishing -try { - const json = JSON.parse(readFileSync(`package.json`).toString()); - json.version = version; - writeFileSync(`package.json`, JSON.stringify(json, null, 2)); -} catch (e) { - console.error(chalk.bold.red(`Error reading package.json file from library build output.`)); -} - -// Execute "npm publish" to publish -execSync(`npm publish --access public --tag ${tag}`); diff --git a/tools/scripts/start-local-registry.ts b/tools/scripts/start-local-registry.ts deleted file mode 100644 index 0601c650..00000000 --- a/tools/scripts/start-local-registry.ts +++ /dev/null @@ -1,103 +0,0 @@ -/** - * This script starts a local registry for e2e testing purposes. - * It is meant to be called in jest's globalSetup. - */ -import { execSync, spawn } from 'node:child_process'; -import { releasePublish, releaseVersion } from 'nx/release'; - -export default async () => { - const localRegistryTarget = '@app-speed/source:local-registry'; - const storage = './tmp/local-registry/storage'; - - global.stopLocalRegistry = await startLocalRegistry({ - localRegistryTarget, - storage, - verbose: true, - }); - - await releaseVersion({ - specifier: '0.0.0-e2e', - stageChanges: false, - gitCommit: false, - gitTag: false, - generatorOptionsOverrides: { - skipLockFileUpdate: true, - }, - }); - - await releasePublish({ - projects: ['esbuild-meta'], - tag: 'e2e', - firstRelease: true, - }); -}; - -// soft copy from https://github.com/nrwl/nx/blob/16.9.x/packages/js/src/plugins/jest/start-local-registry.ts -// original function does not work, because it uses require.resolve('nx') and fork, -// and it does not work with vite -function startLocalRegistry({ localRegistryTarget, storage, verbose }: { - localRegistryTarget: string; - storage?: string; - verbose?: boolean; -}) { - if (!localRegistryTarget) { - throw new Error(`localRegistryTarget is required`); - } - return new Promise<() => void>((resolve, reject) => { - const childProcess = spawn( - 'npx', - [ - 'nx', - ...`run ${localRegistryTarget} --location none --clear true`.split(' '), - ...(storage ? [`--storage`, storage] : []), - ], - { stdio: 'pipe', shell: true }, - ); - - const listener = data => { - if (verbose) { - process.stdout.write(data); - } - if (data.toString().includes('http://localhost:')) { - const port = parseInt(data.toString().match(/localhost:(?\d+)/)?.groups?.port); - console.info('Local registry started on port ' + port); - - const registry = `http://localhost:${port}`; - process.env.npm_config_registry = registry; - execSync( - `npm config set //localhost:${port}/:_authToken "secretVerdaccioToken"`, - ); - - // yarnv1 - process.env.YARN_REGISTRY = registry; - // yarnv2 - process.env.YARN_NPM_REGISTRY_SERVER = registry; - process.env.YARN_UNSAFE_HTTP_WHITELIST = 'localhost'; - - console.info('Set npm and yarn config registry to ' + registry); - - resolve(() => { - childProcess.kill(); - execSync(`npm config delete //localhost:${port}/:_authToken`); - }); - childProcess?.stdout?.off('data', listener); - } - }; - childProcess?.stdout?.on('data', listener); - childProcess?.stderr?.on('data', data => { - process.stderr.write(data); - }); - childProcess.on('error', err => { - console.error('local registry error', err); - reject(err); - }); - childProcess.on('exit', code => { - console.info('local registry exit', code); - if (code !== 0) { - reject(code); - } else { - resolve(() => {}); - } - }); - }); -} diff --git a/tools/scripts/stop-local-registry.ts b/tools/scripts/stop-local-registry.ts deleted file mode 100644 index 31d5d347..00000000 --- a/tools/scripts/stop-local-registry.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This script stops the local registry for e2e testing purposes. - * It is meant to be called in jest's globalTeardown. - */ - -export default () => { - if (global.stopLocalRegistry) { - global.stopLocalRegistry(); - } -}; diff --git a/tsconfig.base.json b/tsconfig.base.json index 7f4b46dd..32a9405e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -14,7 +14,6 @@ "paths": { "@app-speed/aws-deploy": ["packages/aws-deploy/src/index.ts"], "@app-speed/environments": ["packages/environments/public-api.ts"], - "@app-speed/esbuild-meta": ["packages/esbuild-meta/src/index.ts"], "@app-speed/portal-data-access": ["packages/portal/data-access/src/index.ts"], "@app-speed/portal-feature-audit": ["packages/portal/feature-audit/src/index.ts"], "@app-speed/portal-feature-audit/builder": ["packages/portal/feature-audit/builder/src/index.ts"],