From 3b6d510a95c273cfe3c071d7a6f41d4f05edb9ff Mon Sep 17 00:00:00 2001 From: Lennart Date: Fri, 4 Oct 2024 13:46:20 +0200 Subject: [PATCH] chore(repo): Node 20 / attw change (#4283) --- .changeset/wicked-bottles-divide.md | 2 + .github/actions/init/action.yml | 2 +- .github/workflows/ci.yml | 7 +- package-lock.json | 488 +++++++++++++++++++-------- package.json | 2 +- packages/astro/package.json | 2 +- packages/backend/package.json | 2 +- packages/elements/package.json | 2 +- packages/nextjs/package.json | 2 +- packages/tanstack-start/package.json | 2 +- packages/ui/package.json | 1 + 11 files changed, 351 insertions(+), 161 deletions(-) create mode 100644 .changeset/wicked-bottles-divide.md diff --git a/.changeset/wicked-bottles-divide.md b/.changeset/wicked-bottles-divide.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/wicked-bottles-divide.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/actions/init/action.yml b/.github/actions/init/action.yml index c05326f31c..a3485991e0 100644 --- a/.github/actions/init/action.yml +++ b/.github/actions/init/action.yml @@ -112,7 +112,7 @@ runs: registry-url: ${{ inputs.registry-url }} - name: Install NPM Dependencies - run: npm ci --audit=false --fund=false + run: npm ci --audit=false --fund=false --engine-strict=false shell: bash - name: Get Playwright Version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47bc23d43e..08d7eba2d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: turbo-summarize: ${{ env.TURBO_SUMMARIZE }} turbo-team: ${{ vars.TURBO_TEAM }} turbo-token: ${{ secrets.TURBO_TOKEN }} + node-version: 20 - name: Require Changeset if: ${{ !(github.event_name == 'merge_group') }} @@ -65,11 +66,7 @@ jobs: run: npx turbo lint:publint $TURBO_ARGS --only - name: Lint types using attw - run: npx turbo lint:attw $TURBO_ARGS --filter=!@clerk/nextjs --filter=!@clerk/tanstack-start --filter=!@clerk/elements --filter=!@clerk/backend --filter=!@clerk/astro --only - - - name: Lint types using attw [Errors Allowed] - run: npx turbo lint:attw $TURBO_ARGS --filter=@clerk/nextjs --filter=@clerk/tanstack-start --filter=@clerk/backend --filter=@clerk/elements --filter=@clerk/astro --continue --only - continue-on-error: true # TODO: Remove this when all related errors are fixed + run: npx turbo lint:attw $TURBO_ARGS --only - name: Run lint run: npx turbo lint $TURBO_ARGS --only -- --quiet diff --git a/package-lock.json b/package-lock.json index fe72d58688..03af25c64d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "devDependencies": { "@actions/core": "^1.10.1", - "@arethetypeswrong/cli": "^0.15.3", + "@arethetypeswrong/cli": "0.15.4", "@changesets/cli": "^2.26.2", "@changesets/get-github-info": "^0.5.2", "@commitlint/cli": "^19.3.0", @@ -154,16 +154,17 @@ "dev": true }, "node_modules/@arethetypeswrong/cli": { - "version": "0.15.3", + "version": "0.15.4", + "resolved": "https://registry.npmjs.org/@arethetypeswrong/cli/-/cli-0.15.4.tgz", + "integrity": "sha512-YDbImAi1MGkouT7f2yAECpUMFhhA1J0EaXzIqoC5GGtK0xDgauLtcsZezm8tNq7d3wOFXH7OnY+IORYcG212rw==", "dev": true, - "license": "MIT", "dependencies": { "@arethetypeswrong/core": "0.15.1", "chalk": "^4.1.2", "cli-table3": "^0.6.3", "commander": "^10.0.1", "marked": "^9.1.2", - "marked-terminal": "^6.0.0", + "marked-terminal": "^7.1.0", "semver": "^7.5.4" }, "bin": { @@ -7902,6 +7903,28 @@ "react": ">=16.8.0" } }, + "node_modules/@jescalan/ink-markdown/node_modules/ansi-escapes": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz", + "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@jescalan/ink-markdown/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@jescalan/ink-markdown/node_modules/marked": { "version": "11.2.0", "license": "MIT", @@ -7912,6 +7935,25 @@ "node": ">= 18" } }, + "node_modules/@jescalan/ink-markdown/node_modules/marked-terminal": { + "version": "6.2.0", + "resolved": "git+ssh://git@github.com/jescalan/marked-terminal.git#44f5ab42076e16937f56d645d3d7264675558ea1", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^6.2.0", + "chalk": "^5.3.0", + "cli-highlight": "^2.1.11", + "cli-table3": "^0.6.3", + "node-emoji": "^2.1.3", + "supports-hyperlinks": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "marked": ">=1 <12" + } + }, "node_modules/@jest/console": { "version": "29.7.0", "devOptional": true, @@ -13458,7 +13500,8 @@ }, "node_modules/@sindresorhus/is": { "version": "4.6.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", + "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", "engines": { "node": ">=10" }, @@ -16404,10 +16447,6 @@ "node": ">=4" } }, - "node_modules/ansicolors": { - "version": "0.3.2", - "license": "MIT" - }, "node_modules/any-eslint-parser": { "version": "1.0.1", "license": "MIT", @@ -18739,6 +18778,117 @@ "semver": "^7.0.0" } }, + "node_modules/bundlewatch": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/bundlewatch/-/bundlewatch-0.4.0.tgz", + "integrity": "sha512-w8w4K8RdrsHMZD9Ss4Ailfsrax/0zSIgh25GCaiudNHg45xXuh/u/xezzjbu+WCQJGjL9O1Fg9k9TEdS/XkZFA==", + "dev": true, + "dependencies": { + "axios": "^0.28.0", + "bytes": "^3.1.1", + "chalk": "^4.0.0", + "ci-env": "^1.17.0", + "commander": "^5.0.0", + "glob": "^7.1.2", + "gzip-size": "^6.0.0", + "jsonpack": "^1.1.5", + "lodash.merge": "^4.6.1", + "read-pkg-up": "^7.0.1" + }, + "bin": { + "bundlewatch": "lib/bin/index.js" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/bundlewatch/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/bundlewatch/node_modules/axios": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.28.1.tgz", + "integrity": "sha512-iUcGA5a7p0mVb4Gm/sy+FSECNkPFT4y7wt6OM/CDpO/OnNCvSs3PoMG8ibrC9jRoGYU0gUK5pXVC4NPXq6lHRQ==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/bundlewatch/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/bundlewatch/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/bundlewatch/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/bundlewatch/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/bundlewatch/node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/busboy": { "version": "1.6.0", "dev": true, @@ -19071,17 +19221,6 @@ ], "license": "CC-BY-4.0" }, - "node_modules/cardinal": { - "version": "2.1.1", - "license": "MIT", - "dependencies": { - "ansicolors": "~0.3.2", - "redeyed": "~2.1.0" - }, - "bin": { - "cdl": "bin/cdl.js" - } - }, "node_modules/caseless": { "version": "0.12.0", "dev": true, @@ -19452,6 +19591,111 @@ "node": ">=8" } }, + "node_modules/cli-highlight": { + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz", + "integrity": "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==", + "dependencies": { + "chalk": "^4.0.0", + "highlight.js": "^10.7.1", + "mz": "^2.4.0", + "parse5": "^5.1.1", + "parse5-htmlparser2-tree-adapter": "^6.0.0", + "yargs": "^16.0.0" + }, + "bin": { + "highlight": "bin/highlight" + }, + "engines": { + "node": ">=8.0.0", + "npm": ">=5.0.0" + } + }, + "node_modules/cli-highlight/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cli-highlight/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cli-highlight/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/cli-highlight/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/cli-highlight/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/cli-highlight/node_modules/parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==" + }, + "node_modules/cli-highlight/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cli-highlight/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + }, "node_modules/cli-spinners": { "version": "2.9.2", "license": "MIT", @@ -19463,8 +19707,9 @@ } }, "node_modules/cli-table3": { - "version": "0.6.3", - "license": "MIT", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", + "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", "dependencies": { "string-width": "^4.2.0" }, @@ -22682,7 +22927,8 @@ }, "node_modules/emojilib": { "version": "2.4.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", + "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==" }, "node_modules/emojis-list": { "version": "3.0.0", @@ -22808,6 +23054,18 @@ "node": ">=4" } }, + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eol": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/eol/-/eol-0.9.1.tgz", @@ -26767,6 +27025,14 @@ "node": ">=8" } }, + "node_modules/highlight.js": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", + "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", + "engines": { + "node": "*" + } + }, "node_modules/hoist-non-react-statics": { "version": "3.3.2", "license": "BSD-3-Clause", @@ -31991,7 +32257,9 @@ }, "node_modules/marked": { "version": "9.1.6", - "license": "MIT", + "resolved": "https://registry.npmjs.org/marked/-/marked-9.1.6.tgz", + "integrity": "sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==", + "dev": true, "bin": { "marked": "bin/marked.js" }, @@ -32000,13 +32268,15 @@ } }, "node_modules/marked-terminal": { - "version": "6.2.0", - "license": "MIT", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.1.0.tgz", + "integrity": "sha512-+pvwa14KZL74MVXjYdPR3nSInhGhNvPce/3mqLVZT2oUvt654sL1XImFuLZ1pkA866IYZ3ikDTOFUIC7XzpZZg==", + "dev": true, "dependencies": { - "ansi-escapes": "^6.2.0", - "cardinal": "^2.1.1", + "ansi-escapes": "^7.0.0", "chalk": "^5.3.0", - "cli-table3": "^0.6.3", + "cli-highlight": "^2.1.11", + "cli-table3": "^0.6.5", "node-emoji": "^2.1.3", "supports-hyperlinks": "^3.0.0" }, @@ -32014,14 +32284,19 @@ "node": ">=16.0.0" }, "peerDependencies": { - "marked": ">=1 <12" + "marked": ">=1 <14" } }, "node_modules/marked-terminal/node_modules/ansi-escapes": { - "version": "6.2.1", - "license": "MIT", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", + "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", + "dev": true, + "dependencies": { + "environment": "^1.0.0" + }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -32029,7 +32304,9 @@ }, "node_modules/marked-terminal/node_modules/chalk": { "version": "5.3.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -34250,7 +34527,8 @@ }, "node_modules/node-emoji": { "version": "2.1.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.3.tgz", + "integrity": "sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==", "dependencies": { "@sindresorhus/is": "^4.6.0", "char-regex": "^1.0.2", @@ -35523,6 +35801,19 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", + "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", + "dependencies": { + "parse5": "^6.0.1" + } + }, + "node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, "node_modules/parseurl": { "version": "1.3.3", "dev": true, @@ -37304,13 +37595,6 @@ "node": ">=8" } }, - "node_modules/redeyed": { - "version": "2.1.1", - "license": "MIT", - "dependencies": { - "esprima": "~4.0.0" - } - }, "node_modules/redis-commands": { "version": "1.7.0", "dev": true, @@ -38636,7 +38920,8 @@ }, "node_modules/skin-tone": { "version": "2.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", + "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", "dependencies": { "unicode-emoji-modifier-base": "^1.0.0" }, @@ -39788,19 +40073,24 @@ } }, "node_modules/supports-hyperlinks": { - "version": "3.0.0", - "license": "MIT", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", + "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", "dependencies": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" }, "engines": { "node": ">=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/supports-hyperlinks/node_modules/has-flag": { "version": "4.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } @@ -41713,7 +42003,8 @@ }, "node_modules/unicode-emoji-modifier-base": { "version": "1.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", + "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==", "engines": { "node": ">=4" } @@ -45693,30 +45984,6 @@ "ajv": "^8.8.2" } }, - "packages/clerk-js/node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "packages/clerk-js/node_modules/axios": { - "version": "0.28.1", - "dev": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "packages/clerk-js/node_modules/babel-loader": { "version": "9.1.2", "dev": true, @@ -45733,60 +46000,6 @@ "webpack": ">=5" } }, - "packages/clerk-js/node_modules/bundlewatch": { - "version": "0.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "axios": "^0.28.0", - "bytes": "^3.1.1", - "chalk": "^4.0.0", - "ci-env": "^1.17.0", - "commander": "^5.0.0", - "glob": "^7.1.2", - "gzip-size": "^6.0.0", - "jsonpack": "^1.1.5", - "lodash.merge": "^4.6.1", - "read-pkg-up": "^7.0.1" - }, - "bin": { - "bundlewatch": "lib/bin/index.js" - }, - "engines": { - "node": ">=16" - } - }, - "packages/clerk-js/node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "packages/clerk-js/node_modules/color-convert": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "packages/clerk-js/node_modules/color-name": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, "packages/clerk-js/node_modules/enhanced-resolve": { "version": "5.16.0", "dev": true, @@ -45819,35 +46032,11 @@ "node": ">=4.0" } }, - "packages/clerk-js/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "packages/clerk-js/node_modules/json-schema-traverse": { "version": "1.0.0", "dev": true, "license": "MIT" }, - "packages/clerk-js/node_modules/proxy-from-env": { - "version": "1.1.0", - "dev": true, - "license": "MIT" - }, "packages/clerk-js/node_modules/schema-utils": { "version": "4.0.1", "dev": true, @@ -49660,6 +49849,7 @@ "@clerk/tailwindcss-transformer": "*", "@testing-library/react": "^16.0.0", "@vitejs/plugin-react": "^4.3.1", + "bundlewatch": "^0.4.0", "concurrently": "^8.2.2", "jsdom": "^24.1.1", "vitest": "^2.0.5" diff --git a/package.json b/package.json index 87ff248603..1f44355e66 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@actions/core": "^1.10.1", - "@arethetypeswrong/cli": "^0.15.3", + "@arethetypeswrong/cli": "0.15.4", "@changesets/cli": "^2.26.2", "@changesets/get-github-info": "^0.5.2", "@commitlint/cli": "^19.3.0", diff --git a/packages/astro/package.json b/packages/astro/package.json index fabc9fb343..c5c90fc216 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -34,7 +34,7 @@ "build:dts": "tsc --emitDeclarationOnly --declaration", "copy:components": "rm -rf ./components && mkdir -p ./components/ && cp -r ./src/astro-components/* ./components/ && cp ./src/types.ts ./", "lint": "eslint src/", - "lint:attw": "attw --pack .", + "lint:attw": "attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm internal-resolution-error", "lint:publint": "npm run copy:components && publint", "publish:local": "npx yalc push --replace --sig" }, diff --git a/packages/backend/package.json b/packages/backend/package.json index 5d10e81625..6cc4099640 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -87,7 +87,7 @@ "clean:tests": "rimraf ./tests/dist", "lint": "eslint src/", "lint:publint": "publint", - "lint:attw": "attw --pack .", + "lint:attw": "attw --pack . --ignore-rules false-cjs", "test": "run-s clean:tests build:runtime build:tests test:node test:edge-runtime test:cloudflare-miniflare", "test:node": "./tests/node/run.sh", "test:edge-runtime": "./tests/edge-runtime/run.sh", diff --git a/packages/elements/package.json b/packages/elements/package.json index 70c07d7084..af98919a73 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -65,7 +65,7 @@ "dev:example": "concurrently \"npm run dev\" \"npm run app:dev\"", "dev:theme-builder": "TURBO_UI=0 concurrently --prefix-colors auto --names \"elements,ui,theme-builder\" \"turbo dev --filter=@clerk/elements\" \"npm run dev -w @clerk/ui\" \"cd ../ui/theme-builder && npm run dev\"", "lint": "eslint src/", - "lint:attw": "attw --pack .", + "lint:attw": "attw --pack . --ignore-rules no-resolution", "lint:publint": "publint", "test": "jest", "test:cache:clear": "jest --clearCache --useStderr" diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 717b714e90..1873220202 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -59,7 +59,7 @@ "dev": "tsup --watch", "dev:publish": "npm run dev -- --env.publish", "lint": "eslint src/", - "lint:attw": "attw --pack .", + "lint:attw": "attw --pack . --ignore-rules no-resolution unexpected-module-syntax", "lint:publint": "publint", "publish:local": "npx yalc push --replace --sig", "test": "jest", diff --git a/packages/tanstack-start/package.json b/packages/tanstack-start/package.json index 113ffc6d6a..174565e537 100644 --- a/packages/tanstack-start/package.json +++ b/packages/tanstack-start/package.json @@ -49,7 +49,7 @@ "dev": "tsup --watch", "dev:publish": "npm run dev -- --env.publish", "lint": "eslint src/", - "lint:attw": "attw --pack .", + "lint:attw": "attw --pack . --ignore-rules cjs-resolves-to-esm", "lint:publint": "publint", "publish:local": "npx yalc push --replace --sig" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index cc292d6f8e..aada6836b4 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -62,6 +62,7 @@ "@clerk/tailwindcss-transformer": "*", "@testing-library/react": "^16.0.0", "@vitejs/plugin-react": "^4.3.1", + "bundlewatch": "^0.4.0", "concurrently": "^8.2.2", "jsdom": "^24.1.1", "vitest": "^2.0.5"