diff --git a/.gitignore b/.gitignore index 07691ce24fd89..156a063ef6a55 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ jest.debug.config.js # Issues scraper creates these files, stored by github's cache /scripts/issues-scraper/cached -# Lerna creates this +# We don't commit a CHANELGELOG.md file to the repo, we only create Github releases CHANGELOG.md # Next.js diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 409c1d36a0c85..b59a0dd6162d2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -112,9 +112,7 @@ Yarn Berry operates slightly differently than Yarn Classic. In order to publish - localhost ``` -- Run `pnpm nx-release --local` in Terminal 2 to publish next minor version. If this version already exists, you can - bump the minor version in `lerna.json` to toggle the next minor. The output will report the version of published - packages. +- Run `pnpm nx-release minor --local` in Terminal 2 to publish next minor version. The output will report the version of published packages. - Go to your target folder (e.g. `cd ./tmp`) in Terminal 2 - Run `yarn dlx create-nx-workspace@123.4.5` in Terminal 2 (replace `123.4.5` with the version that got published). diff --git a/e2e/utils/global-setup.ts b/e2e/utils/global-setup.ts index 3f5e286b9e3be..2adfa070324f7 100644 --- a/e2e/utils/global-setup.ts +++ b/e2e/utils/global-setup.ts @@ -8,6 +8,8 @@ import { existsSync, removeSync } from 'fs-extra'; import { Config } from '@jest/types'; import * as isCI from 'is-ci'; +const LARGE_BUFFER = 1024 * 1000000; + export default async function (globalConfig: Config.ConfigGlobals) { const isVerbose: boolean = process.env.NX_VERBOSE_LOGGING === 'true' || !!globalConfig.verbose; @@ -33,6 +35,7 @@ export default async function (globalConfig: Config.ConfigGlobals) { await new Promise((res, rej) => { const publishProcess = exec(`pnpm nx-release --local ${publishVersion}`, { env: process.env, + maxBuffer: LARGE_BUFFER, }); let logs = Buffer.from(''); if (isVerbose) { diff --git a/lerna.json b/lerna.json deleted file mode 100644 index bfc8cb93b9001..0000000000000 --- a/lerna.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "packages": ["build/packages/*", "build/packages/nx/native-packages/*"], - "version": "16.9.0-beta.3", - "granularPathspec": false, - "command": { - "publish": { - "graphType": "all" - } - } -} diff --git a/nx.json b/nx.json index f3c0e067b5c70..ddf4acbdcd93b 100644 --- a/nx.json +++ b/nx.json @@ -56,7 +56,25 @@ } ] }, + "release": { + "groups": { + "npm": { + "projects": ["packages/*", "packages-legacy/*"], + "version": { + "generatorOptions": { + "packageRoot": "build/packages/{projectName}", + "currentVersionResolver": "registry" + } + } + } + } + }, "targetDefaults": { + "nx-release-publish": { + "options": { + "packageRoot": "build/packages/{projectName}" + } + }, "build": { "dependsOn": ["build-base", "build-native"], "inputs": [ diff --git a/package.json b/package.json index 17b7f3f5d22f1..633471b20f289 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "check-codeowners": "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/check-codeowners.ts", "nx-release": "ts-node -P ./scripts/tsconfig.release.json ./scripts/nx-release", "prepublishOnly": "node ./scripts/update-package-group.js", - "version": "pnpm prettier lerna.json --write", "local-registry": "nx local-registry @nx/nx-source", "documentation": "ts-node -P scripts/tsconfig.scripts.json ./scripts/documentation/generators/main.ts && pnpm check-documentation-map", "submit-plugin": "node ./scripts/submit-plugin.js", @@ -209,7 +208,6 @@ "jsonc-eslint-parser": "^2.1.0", "jsonc-parser": "3.2.0", "kill-port": "^1.6.1", - "lerna": "6.6.2", "less": "4.1.3", "less-loader": "11.1.0", "license-webpack-plugin": "^4.0.2", @@ -371,10 +369,6 @@ "check-codeowners", "documentation" ] - }, - "pnpm": { - "patchedDependencies": { - "lerna@6.6.2": "patches/lerna@6.6.2.patch" - } } } + diff --git a/packages/nx/native-packages/darwin-arm64/project.json b/packages/nx/native-packages/darwin-arm64/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/darwin-arm64/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/darwin-x64/project.json b/packages/nx/native-packages/darwin-x64/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/darwin-x64/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/freebsd-x64/project.json b/packages/nx/native-packages/freebsd-x64/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/freebsd-x64/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/linux-arm-gnueabihf/project.json b/packages/nx/native-packages/linux-arm-gnueabihf/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/linux-arm-gnueabihf/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/linux-arm64-gnu/project.json b/packages/nx/native-packages/linux-arm64-gnu/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/linux-arm64-gnu/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/linux-arm64-musl/project.json b/packages/nx/native-packages/linux-arm64-musl/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/linux-arm64-musl/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/linux-x64-gnu/project.json b/packages/nx/native-packages/linux-x64-gnu/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/linux-x64-gnu/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/linux-x64-musl/project.json b/packages/nx/native-packages/linux-x64-musl/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/linux-x64-musl/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/win32-arm64-msvc/project.json b/packages/nx/native-packages/win32-arm64-msvc/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/win32-arm64-msvc/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/native-packages/win32-x64-msvc/project.json b/packages/nx/native-packages/win32-x64-msvc/project.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/packages/nx/native-packages/win32-x64-msvc/project.json @@ -0,0 +1 @@ +{} diff --git a/packages/nx/project.json b/packages/nx/project.json index ff4080b495874..9b948d131368a 100644 --- a/packages/nx/project.json +++ b/packages/nx/project.json @@ -19,8 +19,12 @@ } } }, + "copy-native-package-directories": { + "command": "cp -R build/packages/nx/native-packages/* build/packages" + }, "artifacts": { - "command": "pnpm napi artifacts -c build/packages/nx/package.json -d ./artifacts --dist build/packages/nx/native-packages" + "dependsOn": ["copy-native-package-directories"], + "command": "pnpm napi artifacts -c build/packages/nx/package.json -d ./artifacts --dist build/packages" }, "build-base": { "executor": "@nx/js:tsc", diff --git a/patches/lerna@6.6.2.patch b/patches/lerna@6.6.2.patch deleted file mode 100644 index e0ead36be5a8e..0000000000000 --- a/patches/lerna@6.6.2.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/dist/cli.js b/dist/cli.js -index 8cd49ff1e99dca8241a75bc412c669a85475fce2..8f081b7ee0769a493b11f22c5d5d0752e8285629 100755 ---- a/dist/cli.js -+++ b/dist/cli.js -@@ -7933,7 +7933,10 @@ var require_src10 = __commonJS({ - logPacked(pkg.packed); - return pkg; - }).catch((err) => { -- if (err.code === "EPUBLISHCONFLICT") { -+ if ( -+ err.code === "EPUBLISHCONFLICT" || -+ (err.code === "E403" && -+ err.body?.error?.includes("You cannot publish over the previously published versions"))) { - tracker.warn("publish", `Package is already published: ${pkg.name}@${pkg.version}`); - tracker.completeWork(1); - return pkg; -diff --git a/dist/commands/publish/index.js b/dist/commands/publish/index.js -index 34fe8f496af5e7adaf58a7f9c4c3a11d812608c3..bbab4d70c044729b174208b2f1250f54ab69e56d 100644 ---- a/dist/commands/publish/index.js -+++ b/dist/commands/publish/index.js -@@ -6094,7 +6094,10 @@ var require_src2 = __commonJS({ - logPacked(pkg.packed); - return pkg; - }).catch((err) => { -- if (err.code === "EPUBLISHCONFLICT") { -+ if ( -+ err.code === "EPUBLISHCONFLICT" || -+ (err.code === "E403" && -+ err.body?.error?.includes("You cannot publish over the previously published versions"))) { - tracker.warn("publish", `Package is already published: ${pkg.name}@${pkg.version}`); - tracker.completeWork(1); - return pkg; -diff --git a/dist/index.js b/dist/index.js -index a1f83a569598efc7f129d8de7d004f45177514f4..86364db7a267c0fa3eaafc9b1bc51838a41f4f4f 100644 ---- a/dist/index.js -+++ b/dist/index.js -@@ -7932,7 +7932,10 @@ var require_src10 = __commonJS({ - logPacked(pkg2.packed); - return pkg2; - }).catch((err) => { -- if (err.code === "EPUBLISHCONFLICT") { -+ if ( -+ err.code === "EPUBLISHCONFLICT" || -+ (err.code === "E403" && -+ err.body?.error?.includes("You cannot publish over the previously published versions"))) { - tracker.warn("publish", `Package is already published: ${pkg2.name}@${pkg2.version}`); - tracker.completeWork(1); - return pkg2; \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cd22a08113e88..caf9bbf97ed86 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,11 +8,6 @@ overrides: minimist: ^1.2.6 underscore: ^1.12.1 -patchedDependencies: - lerna@6.6.2: - hash: 3yvbdpztnf4grjjp7nswmjw3mi - path: patches/lerna@6.6.2.patch - dependencies: '@docsearch/react': specifier: ^3.3.0 @@ -706,9 +701,6 @@ devDependencies: kill-port: specifier: ^1.6.1 version: 1.6.1 - lerna: - specifier: 6.6.2 - version: 6.6.2(patch_hash=3yvbdpztnf4grjjp7nswmjw3mi)(@swc-node/register@1.5.4)(@swc/core@1.3.51) less: specifier: 4.1.3 version: 4.1.3 @@ -4674,10 +4666,6 @@ packages: wrap-ansi-cjs: /wrap-ansi@7.0.0 dev: true - /@isaacs/string-locale-compare@1.1.0: - resolution: {integrity: sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==} - dev: true - /@istanbuljs/load-nyc-config@1.1.0: resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} engines: {node: '>=8'} @@ -4982,111 +4970,6 @@ packages: resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==} dev: true - /@lerna/child-process@6.6.2: - resolution: {integrity: sha512-QyKIWEnKQFnYu2ey+SAAm1A5xjzJLJJj3bhIZd3QKyXKKjaJ0hlxam/OsWSltxTNbcyH1jRJjC6Cxv31usv0Ag==} - engines: {node: ^14.17.0 || >=16.0.0} - dependencies: - chalk: 4.1.2 - execa: 5.1.1 - strong-log-transformer: 2.1.0 - dev: true - - /@lerna/create@6.6.2: - resolution: {integrity: sha512-xQ+1Y7D+9etvUlE+unhG/TwmM6XBzGIdFBaNoW8D8kyOa9M2Jf3vdEtAxVa7mhRz66CENfhL/+I/QkVaa7pwbQ==} - engines: {node: ^14.17.0 || >=16.0.0} - dependencies: - '@lerna/child-process': 6.6.2 - dedent: 0.7.0 - fs-extra: 9.1.0 - init-package-json: 3.0.2 - npm-package-arg: 8.1.1 - p-reduce: 2.1.0 - pacote: 15.1.1 - pify: 5.0.0 - semver: 7.5.3 - slash: 3.0.0 - validate-npm-package-license: 3.0.4 - validate-npm-package-name: 4.0.0 - yargs-parser: 20.2.4 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - - /@lerna/legacy-package-management@6.6.2(nx@15.8.0)(typescript@4.9.5): - resolution: {integrity: sha512-0hZxUPKnHwehUO2xC4ldtdX9bW0W1UosxebDIQlZL2STnZnA2IFmIk2lJVUyFW+cmTPQzV93jfS0i69T9Z+teg==} - engines: {node: ^14.17.0 || >=16.0.0} - dependencies: - '@npmcli/arborist': 6.2.3 - '@npmcli/run-script': 4.1.7 - '@nrwl/devkit': 15.8.0(nx@15.8.0)(typescript@4.9.5) - '@octokit/rest': 19.0.3 - byte-size: 7.0.0 - chalk: 4.1.0 - clone-deep: 4.0.1 - cmd-shim: 5.0.0 - columnify: 1.6.0 - config-chain: 1.1.12 - conventional-changelog-core: 4.2.4 - conventional-recommended-bump: 6.1.0 - cosmiconfig: 7.0.0 - dedent: 0.7.0 - dot-prop: 6.0.1 - execa: 5.0.0 - file-url: 3.0.0 - find-up: 5.0.0 - fs-extra: 9.1.0 - get-port: 5.1.1 - get-stream: 6.0.0 - git-url-parse: 13.1.0 - glob-parent: 5.1.2 - globby: 11.1.0 - graceful-fs: 4.2.10 - has-unicode: 2.0.1 - inquirer: 8.2.4 - is-ci: 2.0.0 - is-stream: 2.0.0 - libnpmpublish: 7.1.4 - load-json-file: 6.2.0 - make-dir: 3.1.0 - minimatch: 3.0.5 - multimatch: 5.0.0 - node-fetch: 2.6.7 - npm-package-arg: 8.1.1 - npm-packlist: 5.1.1 - npm-registry-fetch: 14.0.3 - npmlog: 6.0.2 - p-map: 4.0.0 - p-map-series: 2.1.0 - p-queue: 6.6.2 - p-waterfall: 2.1.1 - pacote: 15.1.1 - pify: 5.0.0 - pretty-format: 29.4.3 - read-cmd-shim: 3.0.0 - read-package-json: 5.0.1 - resolve-from: 5.0.0 - semver: 7.3.8 - signal-exit: 3.0.7 - slash: 3.0.0 - ssri: 9.0.1 - strong-log-transformer: 2.1.0 - tar: 6.1.11 - temp-dir: 1.0.0 - tempy: 1.0.0 - upath: 2.0.1 - uuid: 8.3.2 - write-file-atomic: 4.0.1 - write-pkg: 4.0.0 - yargs: 16.2.0 - transitivePeerDependencies: - - bluebird - - encoding - - nx - - supports-color - - typescript - dev: true - /@ltd/j-toml@1.38.0: resolution: {integrity: sha512-lYtBcmvHustHQtg4X7TXUu1Xa/tbLC3p2wLvgQI+fWVySguVZJF60Snxijw5EiohumxZbR10kWYFFebh1zotiw==} dev: true @@ -5654,7 +5537,7 @@ packages: '@angular/core': 16.2.0(rxjs@7.8.1)(zone.js@0.13.1) critters: 0.0.20 jsdom: 22.1.0 - tslib: 2.5.3 + tslib: 2.6.1 transitivePeerDependencies: - bufferutil - canvas @@ -5680,49 +5563,6 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.13.0 - /@npmcli/arborist@6.2.3: - resolution: {integrity: sha512-lpGOC2ilSJXcc2zfW9QtukcCTcMbl3fVI0z4wvFB2AFIl0C+Q6Wv7ccrpdrQa8rvJ1ZVuc6qkX7HVTyKlzGqKA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - '@isaacs/string-locale-compare': 1.1.0 - '@npmcli/fs': 3.1.0 - '@npmcli/installed-package-contents': 2.0.1 - '@npmcli/map-workspaces': 3.0.4 - '@npmcli/metavuln-calculator': 5.0.1 - '@npmcli/name-from-folder': 2.0.0 - '@npmcli/node-gyp': 3.0.0 - '@npmcli/package-json': 3.1.1 - '@npmcli/query': 3.0.0 - '@npmcli/run-script': 6.0.2 - bin-links: 4.0.2 - cacache: 17.1.3 - common-ancestor-path: 1.0.1 - hosted-git-info: 6.1.1 - json-parse-even-better-errors: 3.0.0 - json-stringify-nice: 1.1.4 - minimatch: 6.2.0 - nopt: 7.2.0 - npm-install-checks: 6.0.0 - npm-package-arg: 10.1.0 - npm-pick-manifest: 8.0.1 - npm-registry-fetch: 14.0.5 - npmlog: 7.0.1 - pacote: 15.2.0 - parse-conflict-json: 3.0.1 - proc-log: 3.0.0 - promise-all-reject-late: 1.0.1 - promise-call-limit: 1.0.2 - read-package-json-fast: 3.0.2 - semver: 7.5.3 - ssri: 10.0.4 - treeverse: 3.0.0 - walk-up-path: 1.0.0 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - /@npmcli/fs@2.1.2: resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -5755,22 +5595,6 @@ packages: - bluebird dev: true - /@npmcli/git@4.1.0: - resolution: {integrity: sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/promise-spawn': 6.0.1 - lru-cache: 7.14.0 - npm-pick-manifest: 8.0.1 - proc-log: 3.0.0 - promise-inflight: 1.0.1 - promise-retry: 2.0.1 - semver: 7.5.3 - which: 3.0.0 - transitivePeerDependencies: - - bluebird - dev: true - /@npmcli/installed-package-contents@2.0.1: resolution: {integrity: sha512-GIykAFdOVK31Q1/zAtT5MbxqQL2vyl9mvFJv+OGu01zxbhL3p0xc8gJjdNGX1mWmUT43aEKVO2L6V/2j4TOsAA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -5780,29 +5604,6 @@ packages: npm-normalize-package-bin: 3.0.0 dev: true - /@npmcli/map-workspaces@3.0.4: - resolution: {integrity: sha512-Z0TbvXkRbacjFFLpVpV0e2mheCh+WzQpcqL+4xp49uNJOxOnIAPZyXtUxZ5Qn3QBTGKA11Exjd9a5411rBrhDg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/name-from-folder': 2.0.0 - glob: 10.2.2 - minimatch: 9.0.0 - read-package-json-fast: 3.0.2 - dev: true - - /@npmcli/metavuln-calculator@5.0.1: - resolution: {integrity: sha512-qb8Q9wIIlEPj3WeA1Lba91R4ZboPL0uspzV0F9uwP+9AYMVB2zOoa7Pbk12g6D2NHAinSbHh6QYmGuRyHZ874Q==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - cacache: 17.1.3 - json-parse-even-better-errors: 3.0.0 - pacote: 15.2.0 - semver: 7.5.3 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - /@npmcli/move-file@2.0.1: resolution: {integrity: sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -5812,42 +5613,11 @@ packages: rimraf: 3.0.2 dev: true - /@npmcli/name-from-folder@2.0.0: - resolution: {integrity: sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - - /@npmcli/node-gyp@2.0.0: - resolution: {integrity: sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dev: true - /@npmcli/node-gyp@3.0.0: resolution: {integrity: sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /@npmcli/package-json@3.1.1: - resolution: {integrity: sha512-+UW0UWOYFKCkvszLoTwrYGrjNrT8tI5Ckeb/h+Z1y1fsNJEctl7HmerA5j2FgmoqFaLI2gsA1X9KgMFqx/bRmA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/git': 4.1.0 - glob: 10.2.2 - json-parse-even-better-errors: 3.0.0 - normalize-package-data: 5.0.0 - npm-normalize-package-bin: 3.0.1 - proc-log: 3.0.0 - transitivePeerDependencies: - - bluebird - dev: true - - /@npmcli/promise-spawn@3.0.0: - resolution: {integrity: sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - infer-owner: 1.0.4 - dev: true - /@npmcli/promise-spawn@6.0.1: resolution: {integrity: sha512-+hcUpxgx0vEpDJI9Cn+lkTdKLoqKBXFCVps5H7FujEU2vLOp6KwqjLlxbnz8Wzgm8oEqW/u5FeNAXSFjLdCD0A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -5855,27 +5625,6 @@ packages: which: 3.0.0 dev: true - /@npmcli/query@3.0.0: - resolution: {integrity: sha512-MFNDSJNgsLZIEBVZ0Q9w9K7o07j5N4o4yjtdz2uEpuCZlXGMuPENiRaFYk0vRqAA64qVuUQwC05g27fRtfUgnA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - postcss-selector-parser: 6.0.11 - dev: true - - /@npmcli/run-script@4.1.7: - resolution: {integrity: sha512-WXr/MyM4tpKA4BotB81NccGAv8B48lNH0gRoILucbcAhTQXLCoi6HflMV3KdXubIqvP9SuLsFn68Z7r4jl+ppw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - '@npmcli/node-gyp': 2.0.0 - '@npmcli/promise-spawn': 3.0.0 - node-gyp: 9.3.0 - read-package-json-fast: 2.0.3 - which: 2.0.2 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - /@npmcli/run-script@6.0.0: resolution: {integrity: sha512-ql+AbRur1TeOdl1FY+RAwGW9fcr4ZwiVKabdvm93mujGREVuVLbdkXRJDrkTXSdCjaxYydr1wlA2v67jxWG5BQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -5890,20 +5639,6 @@ packages: - supports-color dev: true - /@npmcli/run-script@6.0.2: - resolution: {integrity: sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/node-gyp': 3.0.0 - '@npmcli/promise-spawn': 6.0.1 - node-gyp: 9.3.0 - read-package-json-fast: 3.0.2 - which: 3.0.0 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - /@nrwl/angular@16.9.0-beta.3(@angular-devkit/build-angular@16.2.0)(@angular-devkit/core@16.2.0)(@angular-devkit/schematics@16.2.0)(@nguniversal/builders@16.2.0)(@schematics/angular@16.2.0)(@swc-node/register@1.5.4)(@swc/core@1.3.51)(@types/node@18.16.9)(cypress@13.0.0)(esbuild@0.19.2)(eslint@8.46.0)(html-webpack-plugin@5.5.0)(nx@16.9.0-beta.3)(rxjs@7.8.1)(ts-node@10.9.1)(typescript@5.1.3)(verdaccio@5.15.4): resolution: {integrity: sha512-HwITYcjAbF6x8HoU3KOEgB9DIGxL1+xGm2ym9nF4vdRyEqEBKS8t6bBLqTDSssjz55z9mykTOEwtj+uOdpzI0A==} dependencies: @@ -5976,22 +5711,6 @@ packages: - verdaccio dev: true - /@nrwl/devkit@15.8.0(nx@15.8.0)(typescript@4.9.5): - resolution: {integrity: sha512-qD+asvhTXIibXPXr3r1IDP7ap3Bw5H7tSd+C5mXFhIMMinTqRnQVXe6Odfs34VFP/dpWBIBZdkkwCM/+BsCLNw==} - peerDependencies: - nx: '>= 14.1 <= 16' - dependencies: - '@phenomnomnominal/tsquery': 4.1.1(typescript@4.9.5) - ejs: 3.1.8 - ignore: 5.2.0 - nx: 15.8.0(@swc-node/register@1.5.4)(@swc/core@1.3.51) - semver: 7.3.4 - tmp: 0.2.1 - tslib: 2.5.3 - transitivePeerDependencies: - - typescript - dev: true - /@nrwl/devkit@15.8.0(nx@15.8.0)(typescript@5.1.3): resolution: {integrity: sha512-qD+asvhTXIibXPXr3r1IDP7ap3Bw5H7tSd+C5mXFhIMMinTqRnQVXe6Odfs34VFP/dpWBIBZdkkwCM/+BsCLNw==} peerDependencies: @@ -6003,7 +5722,7 @@ packages: nx: 15.8.0(@swc-node/register@1.5.4)(@swc/core@1.3.51) semver: 7.3.4 tmp: 0.2.1 - tslib: 2.5.3 + tslib: 2.6.1 transitivePeerDependencies: - typescript dev: true @@ -6019,7 +5738,7 @@ packages: nx: 16.9.0-beta.3(@swc-node/register@1.5.4)(@swc/core@1.3.51) semver: 7.3.4 tmp: 0.2.1 - tslib: 2.5.3 + tslib: 2.6.1 transitivePeerDependencies: - typescript dev: true @@ -6113,7 +5832,7 @@ packages: minimatch: 3.0.5 source-map-support: 0.5.19 tree-kill: 1.2.2 - tslib: 2.5.3 + tslib: 2.6.1 transitivePeerDependencies: - '@babel/traverse' - '@swc-node/register' @@ -6150,7 +5869,7 @@ packages: minimatch: 3.0.5 source-map-support: 0.5.19 tree-kill: 1.2.2 - tslib: 2.5.3 + tslib: 2.6.1 transitivePeerDependencies: - '@babel/traverse' - '@swc-node/register' @@ -7223,21 +6942,6 @@ packages: - encoding dev: true - /@octokit/core@4.2.4: - resolution: {integrity: sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==} - engines: {node: '>= 14'} - dependencies: - '@octokit/auth-token': 3.0.2 - '@octokit/graphql': 5.0.4 - '@octokit/request': 6.2.3 - '@octokit/request-error': 3.0.3 - '@octokit/types': 9.3.2 - before-after-hook: 2.2.3 - universal-user-agent: 6.0.0 - transitivePeerDependencies: - - encoding - dev: true - /@octokit/endpoint@7.0.3: resolution: {integrity: sha512-57gRlb28bwTsdNXq+O3JTQ7ERmBTuik9+LelgcLIVfYwf235VHbN9QNo4kXExtp/h8T423cR5iJThKtFYxC7Lw==} engines: {node: '>= 14'} @@ -7293,10 +6997,6 @@ packages: - encoding dev: true - /@octokit/openapi-types@12.11.0: - resolution: {integrity: sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==} - dev: true - /@octokit/openapi-types@14.0.0: resolution: {integrity: sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==} dev: true @@ -7305,24 +7005,6 @@ packages: resolution: {integrity: sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==} dev: true - /@octokit/openapi-types@18.0.0: - resolution: {integrity: sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw==} - dev: true - - /@octokit/plugin-enterprise-rest@6.0.1: - resolution: {integrity: sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==} - dev: true - - /@octokit/plugin-paginate-rest@3.1.0(@octokit/core@4.2.4): - resolution: {integrity: sha512-+cfc40pMzWcLkoDcLb1KXqjX0jTGYXjKuQdFQDc6UAknISJHnZTiBqld6HDwRJvD4DsouDKrWXNbNV0lE/3AXA==} - engines: {node: '>= 14'} - peerDependencies: - '@octokit/core': '>=4' - dependencies: - '@octokit/core': 4.2.4 - '@octokit/types': 6.41.0 - dev: true - /@octokit/plugin-paginate-rest@6.0.0(@octokit/core@4.2.0): resolution: {integrity: sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==} engines: {node: '>= 14'} @@ -7333,25 +7015,6 @@ packages: '@octokit/types': 9.0.0 dev: true - /@octokit/plugin-request-log@1.0.4(@octokit/core@4.2.4): - resolution: {integrity: sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==} - peerDependencies: - '@octokit/core': '>=3' - dependencies: - '@octokit/core': 4.2.4 - dev: true - - /@octokit/plugin-rest-endpoint-methods@6.8.1(@octokit/core@4.2.4): - resolution: {integrity: sha512-QrlaTm8Lyc/TbU7BL/8bO49vp+RZ6W3McxxmmQTgYxf2sWkO8ZKuj4dLhPNJD6VCUW1hetCmeIM0m6FTVpDiEg==} - engines: {node: '>= 14'} - peerDependencies: - '@octokit/core': '>=3' - dependencies: - '@octokit/core': 4.2.4 - '@octokit/types': 8.2.1 - deprecation: 2.3.1 - dev: true - /@octokit/plugin-rest-endpoint-methods@7.0.1(@octokit/core@4.2.0): resolution: {integrity: sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==} engines: {node: '>= 14'} @@ -7408,48 +7071,18 @@ packages: - encoding dev: true - /@octokit/rest@19.0.3: - resolution: {integrity: sha512-5arkTsnnRT7/sbI4fqgSJ35KiFaN7zQm0uQiQtivNQLI8RQx8EHwJCajcTUwmaCMNDg7tdCvqAnc7uvHHPxrtQ==} - engines: {node: '>= 14'} - dependencies: - '@octokit/core': 4.2.4 - '@octokit/plugin-paginate-rest': 3.1.0(@octokit/core@4.2.4) - '@octokit/plugin-request-log': 1.0.4(@octokit/core@4.2.4) - '@octokit/plugin-rest-endpoint-methods': 6.8.1(@octokit/core@4.2.4) - transitivePeerDependencies: - - encoding - dev: true - - /@octokit/types@6.41.0: - resolution: {integrity: sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==} - dependencies: - '@octokit/openapi-types': 12.11.0 - dev: true - /@octokit/types@8.0.0: resolution: {integrity: sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==} dependencies: '@octokit/openapi-types': 14.0.0 dev: true - /@octokit/types@8.2.1: - resolution: {integrity: sha512-8oWMUji8be66q2B9PmEIUyQm00VPDPun07umUWSaCwxmeaquFBro4Hcc3ruVoDo3zkQyZBlRvhIMEYS3pBhanw==} - dependencies: - '@octokit/openapi-types': 14.0.0 - dev: true - /@octokit/types@9.0.0: resolution: {integrity: sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==} dependencies: '@octokit/openapi-types': 16.0.0 dev: true - /@octokit/types@9.3.2: - resolution: {integrity: sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==} - dependencies: - '@octokit/openapi-types': 18.0.0 - dev: true - /@octokit/webhooks-methods@3.0.2: resolution: {integrity: sha512-Vlnv5WBscf07tyAvfDbp7pTkMZUwk7z7VwEF32x6HqI+55QRwBTcT+D7DDjZXtad/1dU9E32x0HmtDlF9VIRaQ==} engines: {node: '>= 14'} @@ -7478,15 +7111,6 @@ packages: node-gyp-build: 4.5.0 dev: true - /@phenomnomnominal/tsquery@4.1.1(typescript@4.9.5): - resolution: {integrity: sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ==} - peerDependencies: - typescript: ^3 || ^4 - dependencies: - esquery: 1.4.0 - typescript: 4.9.5 - dev: true - /@phenomnomnominal/tsquery@4.1.1(typescript@5.1.3): resolution: {integrity: sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ==} peerDependencies: @@ -8961,7 +8585,7 @@ packages: '@storybook/core-common': 7.2.2 '@storybook/node-logger': 7.2.2 '@storybook/types': 7.2.2 - '@types/node': 16.18.36 + '@types/node': 16.18.48 ts-dedent: 2.2.0 transitivePeerDependencies: - encoding @@ -11317,11 +10941,6 @@ packages: /abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} - /abbrev@2.0.0: - resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -11692,14 +11311,6 @@ packages: readable-stream: 3.6.0 dev: true - /are-we-there-yet@4.0.1: - resolution: {integrity: sha512-2zuA+jpOYBRgoBCfa+fB87Rk0oGJjDX6pxGzqH6f33NzUhG25Xur6R0u0Z9VVAq8Z5JvQpQI6j6rtonuivC8QA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - delegates: 1.0.0 - readable-stream: 4.4.2 - dev: true - /arg@4.1.3: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} @@ -11733,7 +11344,7 @@ packages: dependencies: '@types/react': 18.2.14 react: 18.2.0 - tslib: 2.5.3 + tslib: 2.6.1 dev: true /aria-query@4.2.2: @@ -12447,16 +12058,6 @@ packages: executable: 4.1.1 dev: true - /bin-links@4.0.2: - resolution: {integrity: sha512-jxJ0PbXR8eQyPlExCvCs3JFnikvs1Yp4gUJt6nmgathdOwvur+q22KWC3h20gvWl4T/14DXKj2IlkJwwZkZPOw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - cmd-shim: 6.0.1 - npm-normalize-package-bin: 3.0.0 - read-cmd-shim: 4.0.0 - write-file-atomic: 5.0.1 - dev: true - /bin-version-check@5.0.0: resolution: {integrity: sha512-Q3FMQnS5eZmrBGqmDXLs4dbAn/f+52voP6ykJYmweSA60t6DyH4UTSwZhtbK5UH+LBoWvDljILUQMLRUtsynsA==} engines: {node: '>=12'} @@ -12759,13 +12360,6 @@ packages: ieee754: 1.2.1 dev: true - /buffer@6.0.3: - resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - dev: true - /buffers@0.1.1: resolution: {integrity: sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ==} engines: {node: '>=0.2.0'} @@ -12789,10 +12383,6 @@ packages: engines: {node: '>=6'} dev: true - /builtins@1.0.3: - resolution: {integrity: sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==} - dev: true - /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: @@ -12805,11 +12395,6 @@ packages: dependencies: streamsearch: 1.1.0 - /byte-size@7.0.0: - resolution: {integrity: sha512-NNiBxKgxybMBtWdmvx7ZITJi4ZG+CYUgwOSZTfqB1qogkRHrhbQE/R2r5Fh94X+InN5MCYz6SvB/ejHMj/HbsQ==} - engines: {node: '>=10'} - dev: true - /bytes@3.0.0: resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} engines: {node: '>= 0.8'} @@ -13266,18 +12851,6 @@ packages: engines: {node: '>=0.8'} dev: true - /cmd-shim@5.0.0: - resolution: {integrity: sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - mkdirp-infer-owner: 2.0.0 - dev: true - - /cmd-shim@6.0.1: - resolution: {integrity: sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /co@4.6.0: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} @@ -13402,10 +12975,6 @@ packages: engines: {node: '>= 12'} dev: true - /common-ancestor-path@1.0.1: - resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} - dev: true - /common-path-prefix@3.0.0: resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} dev: true @@ -13461,16 +13030,6 @@ packages: typedarray: 0.0.6 dev: true - /concat-stream@2.0.0: - resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} - engines: {'0': node >= 6.0} - dependencies: - buffer-from: 1.1.2 - inherits: 2.0.4 - readable-stream: 3.6.0 - typedarray: 0.0.6 - dev: true - /concat-with-sourcemaps@1.1.0: resolution: {integrity: sha512-4gEjHJFT9e+2W/77h/DS5SGUgwDaOwprX8L/gl5+3ixnzkVJJsZWDSelmN3Oilw3LNDZjZV0yqH1hLG3k6nghg==} dependencies: @@ -13491,13 +13050,6 @@ packages: well-known-symbols: 2.0.0 dev: false - /config-chain@1.1.12: - resolution: {integrity: sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA==} - dependencies: - ini: 1.3.8 - proto-list: 1.2.4 - dev: true - /confusing-browser-globals@1.0.11: resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} dev: true @@ -13548,14 +13100,6 @@ packages: engines: {node: '>= 0.6'} dev: true - /conventional-changelog-angular@5.0.12: - resolution: {integrity: sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw==} - engines: {node: '>=10'} - dependencies: - compare-func: 2.0.0 - q: 1.5.1 - dev: true - /conventional-changelog-angular@5.0.13: resolution: {integrity: sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==} engines: {node: '>=10'} @@ -13714,21 +13258,6 @@ packages: through2: 4.0.2 dev: true - /conventional-recommended-bump@6.1.0: - resolution: {integrity: sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==} - engines: {node: '>=10'} - hasBin: true - dependencies: - concat-stream: 2.0.0 - conventional-changelog-preset-loader: 2.3.4 - conventional-commits-filter: 2.0.7 - conventional-commits-parser: 3.2.4 - git-raw-commits: 2.0.11 - git-semver-tags: 4.1.1 - meow: 8.1.2 - q: 1.5.1 - dev: true - /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} @@ -13863,17 +13392,6 @@ packages: yaml: 1.10.2 dev: true - /cosmiconfig@7.0.0: - resolution: {integrity: sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==} - engines: {node: '>=10'} - dependencies: - '@types/parse-json': 4.0.0 - import-fresh: 3.3.0 - parse-json: 5.2.0 - path-type: 4.0.0 - yaml: 1.10.2 - dev: true - /cosmiconfig@7.0.1: resolution: {integrity: sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==} engines: {node: '>=10'} @@ -13949,11 +13467,6 @@ packages: resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} dev: true - /crypto-random-string@2.0.0: - resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} - engines: {node: '>=8'} - dev: true - /cson-parser@4.0.9: resolution: {integrity: sha512-I79SAcCYquWnEfXYj8hBqOOWKj6eH6zX1hhX3yqmS4K3bYp7jME3UFpHPzu3rUew0oyfc0s8T6IlWGXRAheHag==} engines: {node: '>=10.13'} @@ -14666,20 +14179,6 @@ packages: /defined@1.0.1: resolution: {integrity: sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==} - /del@6.1.1: - resolution: {integrity: sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==} - engines: {node: '>=10'} - dependencies: - globby: 11.1.0 - graceful-fs: 4.2.11 - is-glob: 4.0.3 - is-path-cwd: 2.2.0 - is-path-inside: 3.0.3 - p-map: 4.0.0 - rimraf: 3.0.2 - slash: 3.0.0 - dev: true - /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -14723,11 +14222,6 @@ packages: engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} dev: true - /detect-indent@5.0.0: - resolution: {integrity: sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==} - engines: {node: '>=4'} - dev: true - /detect-newline@3.1.0: resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} engines: {node: '>=8'} @@ -14931,13 +14425,6 @@ packages: is-obj: 2.0.0 dev: true - /dot-prop@6.0.1: - resolution: {integrity: sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==} - engines: {node: '>=10'} - dependencies: - is-obj: 2.0.0 - dev: true - /dotenv-expand@10.0.0: resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==} engines: {node: '>=12'} @@ -15884,21 +15371,6 @@ packages: strip-final-newline: 2.0.0 dev: true - /execa@5.0.0: - resolution: {integrity: sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ==} - engines: {node: '>=10'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - dev: true - /execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -16227,11 +15699,6 @@ packages: token-types: 5.0.1 dev: true - /file-url@3.0.0: - resolution: {integrity: sha512-g872QGsHexznxkIAdK8UiZRe7SkE6kvylShU4Nsj8NvfvZag7S0QuQ4IgvPDkk75HxgjIVDwycFTDAgIiO4nDA==} - engines: {node: '>=8'} - dev: true - /filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} dependencies: @@ -16688,20 +16155,6 @@ packages: wide-align: 1.1.5 dev: true - /gauge@5.0.1: - resolution: {integrity: sha512-CmykPMJGuNan/3S4kZOpvvPYSNqSHANiWnh9XcMU2pSjtBfF0XzZ2p1bFAxTbnFxyBuPxQYHhzwaoOmUdqzvxQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - signal-exit: 4.0.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - dev: true - /generic-names@4.0.0: resolution: {integrity: sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==} dependencies: @@ -16750,11 +16203,6 @@ packages: yargs: 16.2.0 dev: true - /get-port@5.1.1: - resolution: {integrity: sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==} - engines: {node: '>=8'} - dev: true - /get-stdin@8.0.0: resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} engines: {node: '>=10'} @@ -16772,11 +16220,6 @@ packages: pump: 3.0.0 dev: true - /get-stream@6.0.0: - resolution: {integrity: sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg==} - engines: {node: '>=10'} - dev: true - /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -16849,19 +16292,6 @@ packages: semver: 6.3.1 dev: true - /git-up@7.0.0: - resolution: {integrity: sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==} - dependencies: - is-ssh: 1.4.0 - parse-url: 8.1.0 - dev: true - - /git-url-parse@13.1.0: - resolution: {integrity: sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==} - dependencies: - git-up: 7.0.0 - dev: true - /gitconfiglocal@1.0.0: resolution: {integrity: sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==} dependencies: @@ -16966,16 +16396,6 @@ packages: once: 1.4.0 dev: true - /glob@9.3.5: - resolution: {integrity: sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - fs.realpath: 1.0.0 - minimatch: 8.0.4 - minipass: 4.2.8 - path-scurry: 1.7.0 - dev: true - /global-dirs@3.0.0: resolution: {integrity: sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==} engines: {node: '>=10'} @@ -17265,13 +16685,6 @@ packages: /hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - /hosted-git-info@3.0.8: - resolution: {integrity: sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==} - engines: {node: '>=10'} - dependencies: - lru-cache: 6.0.0 - dev: true - /hosted-git-info@4.1.0: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} @@ -17279,13 +16692,6 @@ packages: lru-cache: 6.0.0 dev: true - /hosted-git-info@5.2.1: - resolution: {integrity: sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - lru-cache: 7.14.0 - dev: true - /hosted-git-info@6.1.1: resolution: {integrity: sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -17747,19 +17153,6 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /init-package-json@3.0.2: - resolution: {integrity: sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - npm-package-arg: 9.1.2 - promzard: 0.3.0 - read: 1.0.7 - read-package-json: 5.0.1 - semver: 7.5.3 - validate-npm-package-license: 3.0.4 - validate-npm-package-name: 4.0.0 - dev: true - /injection-js@2.4.0: resolution: {integrity: sha512-6jiJt0tCAo9zjHbcwLiPL+IuNe9SQ6a9g0PEzafThW3fOQi0mrmiJGBJvDD6tmhPh8cQHIQtCOrJuBfQME4kPA==} dependencies: @@ -17810,27 +17203,6 @@ packages: wrap-ansi: 7.0.0 dev: true - /inquirer@8.2.5: - resolution: {integrity: sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==} - engines: {node: '>=12.0.0'} - dependencies: - ansi-escapes: 4.3.2 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-width: 3.0.0 - external-editor: 3.1.0 - figures: 3.2.0 - lodash: 4.17.21 - mute-stream: 0.0.8 - ora: 5.4.1 - run-async: 2.4.1 - rxjs: 7.8.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - through: 2.3.8 - wrap-ansi: 7.0.0 - dev: true - /internal-slot@1.0.5: resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} engines: {node: '>= 0.4'} @@ -17939,13 +17311,6 @@ packages: engines: {node: '>= 0.4'} dev: true - /is-ci@2.0.0: - resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==} - hasBin: true - dependencies: - ci-info: 2.0.0 - dev: true - /is-ci@3.0.1: resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} hasBin: true @@ -18070,11 +17435,6 @@ packages: engines: {node: '>=8'} dev: true - /is-path-cwd@2.2.0: - resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==} - engines: {node: '>=6'} - dev: true - /is-path-inside@3.0.3: resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} engines: {node: '>=8'} @@ -18149,22 +17509,11 @@ packages: call-bind: 1.0.2 dev: true - /is-ssh@1.4.0: - resolution: {integrity: sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==} - dependencies: - protocols: 2.0.1 - dev: true - /is-stream@1.1.0: resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} engines: {node: '>=0.10.0'} dev: true - /is-stream@2.0.0: - resolution: {integrity: sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==} - engines: {node: '>=8'} - dev: true - /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} @@ -19049,10 +18398,6 @@ packages: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} dev: true - /json-stringify-nice@1.1.4: - resolution: {integrity: sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==} - dev: true - /json-stringify-safe@5.0.1: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} @@ -19165,14 +18510,6 @@ packages: object.assign: 4.1.4 dev: true - /just-diff-apply@5.5.0: - resolution: {integrity: sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw==} - dev: true - - /just-diff@6.0.2: - resolution: {integrity: sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA==} - dev: true - /jwa@1.4.1: resolution: {integrity: sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==} dependencies: @@ -19271,97 +18608,6 @@ packages: dotenv-expand: 10.0.0 dev: true - /lerna@6.6.2(patch_hash=3yvbdpztnf4grjjp7nswmjw3mi)(@swc-node/register@1.5.4)(@swc/core@1.3.51): - resolution: {integrity: sha512-W4qrGhcdutkRdHEaDf9eqp7u4JvI+1TwFy5woX6OI8WPe4PYBdxuILAsvhp614fUG41rKSGDKlOh+AWzdSidTg==} - engines: {node: ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@lerna/child-process': 6.6.2 - '@lerna/create': 6.6.2 - '@lerna/legacy-package-management': 6.6.2(nx@15.8.0)(typescript@4.9.5) - '@npmcli/arborist': 6.2.3 - '@npmcli/run-script': 4.1.7 - '@nrwl/devkit': 15.8.0(nx@15.8.0)(typescript@4.9.5) - '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.3 - byte-size: 7.0.0 - chalk: 4.1.0 - clone-deep: 4.0.1 - cmd-shim: 5.0.0 - columnify: 1.6.0 - config-chain: 1.1.12 - conventional-changelog-angular: 5.0.12 - conventional-changelog-core: 4.2.4 - conventional-recommended-bump: 6.1.0 - cosmiconfig: 7.0.0 - dedent: 0.7.0 - dot-prop: 6.0.1 - envinfo: 7.8.1 - execa: 5.0.0 - fs-extra: 9.1.0 - get-port: 5.1.1 - get-stream: 6.0.0 - git-url-parse: 13.1.0 - glob-parent: 5.1.2 - globby: 11.1.0 - graceful-fs: 4.2.10 - has-unicode: 2.0.1 - import-local: 3.1.0 - init-package-json: 3.0.2 - inquirer: 8.2.5 - is-ci: 2.0.0 - is-stream: 2.0.0 - js-yaml: 4.1.0 - libnpmaccess: 6.0.4 - libnpmpublish: 7.1.4 - load-json-file: 6.2.0 - make-dir: 3.1.0 - minimatch: 3.0.5 - multimatch: 5.0.0 - node-fetch: 2.6.7 - npm-package-arg: 8.1.1 - npm-packlist: 5.1.1 - npm-registry-fetch: 14.0.5 - npmlog: 6.0.2 - nx: 15.8.0(@swc-node/register@1.5.4)(@swc/core@1.3.51) - p-map: 4.0.0 - p-map-series: 2.1.0 - p-pipe: 3.1.0 - p-queue: 6.6.2 - p-reduce: 2.1.0 - p-waterfall: 2.1.1 - pacote: 15.1.1 - pify: 5.0.0 - read-cmd-shim: 3.0.0 - read-package-json: 5.0.1 - resolve-from: 5.0.0 - rimraf: 4.4.1 - semver: 7.5.3 - signal-exit: 3.0.7 - slash: 3.0.0 - ssri: 9.0.1 - strong-log-transformer: 2.1.0 - tar: 6.1.11 - temp-dir: 1.0.0 - typescript: 4.9.5 - upath: 2.0.1 - uuid: 8.3.2 - validate-npm-package-license: 3.0.4 - validate-npm-package-name: 4.0.0 - write-file-atomic: 4.0.1 - write-pkg: 4.0.0 - yargs: 16.2.0 - yargs-parser: 20.2.4 - transitivePeerDependencies: - - '@swc-node/register' - - '@swc/core' - - bluebird - - debug - - encoding - - supports-color - dev: true - patched: true - /less-loader@11.1.0(less@4.1.3)(webpack@5.88.0): resolution: {integrity: sha512-C+uDBV7kS7W5fJlUjq5mPBeBVhYpTIm5gB09APT9o3n/ILeaXVsiSFTbZpTJCJwQ/Crczfn3DmfQFwxYusWFug==} engines: {node: '>= 14.15.0'} @@ -19426,35 +18672,6 @@ packages: type-check: 0.4.0 dev: true - /libnpmaccess@6.0.4: - resolution: {integrity: sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - aproba: 2.0.0 - minipass: 3.3.4 - npm-package-arg: 9.1.2 - npm-registry-fetch: 13.3.1 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - - /libnpmpublish@7.1.4: - resolution: {integrity: sha512-mMntrhVwut5prP4rJ228eEbEyvIzLWhqFuY90j5QeXBCTT2pWSMno7Yo2S2qplPUr02zPurGH4heGLZ+wORczg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - ci-info: 3.8.0 - normalize-package-data: 5.0.0 - npm-package-arg: 10.1.0 - npm-registry-fetch: 14.0.5 - proc-log: 3.0.0 - semver: 7.5.3 - sigstore: 1.4.0 - ssri: 10.0.4 - transitivePeerDependencies: - - supports-color - dev: true - /license-checker@25.0.1: resolution: {integrity: sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==} hasBin: true @@ -19556,16 +18773,6 @@ packages: strip-bom: 3.0.0 dev: true - /load-json-file@6.2.0: - resolution: {integrity: sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==} - engines: {node: '>=8'} - dependencies: - graceful-fs: 4.2.11 - parse-json: 5.2.0 - strip-bom: 4.0.0 - type-fest: 0.6.0 - dev: true - /loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -19873,9 +19080,11 @@ packages: /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} + requiresBuild: true dependencies: pify: 4.0.1 semver: 5.7.1 + optional: true /make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} @@ -20253,7 +19462,7 @@ packages: resolution: {integrity: sha512-FQiZGhIxCzhDwK4LxyPMLlq0Tsmla10X7BfNGlYFK0A5IsaVKNJbETyTzhpIwc+YFRT4GkFFwgo0V2N5vxO5HA==} engines: {node: '>=16'} dependencies: - terser: 5.18.0 + terser: 5.19.2 dev: true /metro-minify-uglify@0.76.7: @@ -20751,13 +19960,6 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch@6.2.0: - resolution: {integrity: sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@7.4.6: resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==} engines: {node: '>=10'} @@ -20765,13 +19967,6 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch@8.0.4: - resolution: {integrity: sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@9.0.0: resolution: {integrity: sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==} engines: {node: '>=16 || 14 >=14.17'} @@ -20881,15 +20076,6 @@ packages: resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} dev: true - /mkdirp-infer-owner@2.0.0: - resolution: {integrity: sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==} - engines: {node: '>=10'} - dependencies: - chownr: 2.0.0 - infer-owner: 1.0.4 - mkdirp: 1.0.4 - dev: true - /mkdirp@0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true @@ -20973,17 +20159,6 @@ packages: minimatch: 3.0.5 dev: true - /multimatch@5.0.0: - resolution: {integrity: sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==} - engines: {node: '>=10'} - dependencies: - '@types/minimatch': 3.0.5 - array-differ: 3.0.0 - array-union: 2.1.0 - arrify: 2.0.1 - minimatch: 3.0.5 - dev: true - /mute-stream@0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} dev: true @@ -21294,14 +20469,6 @@ packages: abbrev: 1.1.1 dev: true - /nopt@7.2.0: - resolution: {integrity: sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - abbrev: 2.0.0 - dev: true - /normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: @@ -21320,16 +20487,6 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /normalize-package-data@4.0.1: - resolution: {integrity: sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - hosted-git-info: 5.2.1 - is-core-module: 2.11.0 - semver: 7.5.3 - validate-npm-package-license: 3.0.4 - dev: true - /normalize-package-data@5.0.0: resolution: {integrity: sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -21350,14 +20507,8 @@ packages: dev: true /normalize-url@6.1.0: - resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} - engines: {node: '>=10'} - dev: true - - /npm-bundled@1.1.2: - resolution: {integrity: sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==} - dependencies: - npm-normalize-package-bin: 1.0.1 + resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} + engines: {node: '>=10'} dev: true /npm-bundled@3.0.0: @@ -21376,17 +20527,13 @@ packages: /npm-normalize-package-bin@1.0.1: resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==} + dev: false /npm-normalize-package-bin@3.0.0: resolution: {integrity: sha512-g+DPQSkusnk7HYXr75NtzkIP4+N81i3RPsGFidF3DzHd9MT9wWngmqoeg/fnHFz5MNdtG4w03s+QnhewSLTT2Q==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /npm-normalize-package-bin@3.0.1: - resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /npm-package-arg@10.1.0: resolution: {integrity: sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -21407,36 +20554,6 @@ packages: validate-npm-package-name: 5.0.0 dev: true - /npm-package-arg@8.1.1: - resolution: {integrity: sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==} - engines: {node: '>=10'} - dependencies: - hosted-git-info: 3.0.8 - semver: 7.5.3 - validate-npm-package-name: 3.0.0 - dev: true - - /npm-package-arg@9.1.2: - resolution: {integrity: sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - hosted-git-info: 5.2.1 - proc-log: 2.0.1 - semver: 7.5.3 - validate-npm-package-name: 4.0.0 - dev: true - - /npm-packlist@5.1.1: - resolution: {integrity: sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - hasBin: true - dependencies: - glob: 8.1.0 - ignore-walk: 5.0.1 - npm-bundled: 1.1.2 - npm-normalize-package-bin: 1.0.1 - dev: true - /npm-packlist@7.0.0: resolution: {integrity: sha512-8GRMzWQmFdUrRmc6tPPCd9Umm9g2qDR6X6Rik+9nYvoDQTLs/0IcCKv6iUdAmgr9sgJCm24QovwozCHWMDriOg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -21454,37 +20571,6 @@ packages: semver: 7.5.3 dev: true - /npm-registry-fetch@13.3.1: - resolution: {integrity: sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - make-fetch-happen: 10.2.1 - minipass: 3.3.4 - minipass-fetch: 2.1.2 - minipass-json-stream: 1.0.1 - minizlib: 2.1.2 - npm-package-arg: 9.1.2 - proc-log: 2.0.1 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - - /npm-registry-fetch@14.0.3: - resolution: {integrity: sha512-YaeRbVNpnWvsGOjX2wk5s85XJ7l1qQBGAp724h8e2CZFFhMSuw9enom7K1mWVUtvXO1uUSFIAPofQK0pPN0ZcA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - make-fetch-happen: 11.0.3 - minipass: 4.2.8 - minipass-fetch: 3.0.0 - minipass-json-stream: 1.0.1 - minizlib: 2.1.2 - npm-package-arg: 10.1.0 - proc-log: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: true - /npm-registry-fetch@14.0.5: resolution: {integrity: sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -21523,16 +20609,6 @@ packages: set-blocking: 2.0.0 dev: true - /npmlog@7.0.1: - resolution: {integrity: sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - are-we-there-yet: 4.0.1 - console-control-strings: 1.1.0 - gauge: 5.0.1 - set-blocking: 2.0.0 - dev: true - /nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} dependencies: @@ -22066,11 +21142,6 @@ packages: p-limit: 4.0.0 dev: true - /p-map-series@2.1.0: - resolution: {integrity: sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==} - engines: {node: '>=8'} - dev: true - /p-map@4.0.0: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} @@ -22078,11 +21149,6 @@ packages: aggregate-error: 3.1.0 dev: true - /p-pipe@3.1.0: - resolution: {integrity: sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==} - engines: {node: '>=8'} - dev: true - /p-queue@6.6.2: resolution: {integrity: sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==} engines: {node: '>=8'} @@ -22091,11 +21157,6 @@ packages: p-timeout: 3.2.0 dev: true - /p-reduce@2.1.0: - resolution: {integrity: sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==} - engines: {node: '>=8'} - dev: true - /p-retry@4.6.2: resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} engines: {node: '>=8'} @@ -22121,41 +21182,6 @@ packages: engines: {node: '>=6'} dev: true - /p-waterfall@2.1.1: - resolution: {integrity: sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==} - engines: {node: '>=8'} - dependencies: - p-reduce: 2.1.0 - dev: true - - /pacote@15.1.1: - resolution: {integrity: sha512-eeqEe77QrA6auZxNHIp+1TzHQ0HBKf5V6c8zcaYZ134EJe1lCi+fjXATkNiEEfbG+e50nu02GLvUtmZcGOYabQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - '@npmcli/git': 4.0.3 - '@npmcli/installed-package-contents': 2.0.1 - '@npmcli/promise-spawn': 6.0.1 - '@npmcli/run-script': 6.0.2 - cacache: 17.1.3 - fs-minipass: 3.0.0 - minipass: 4.2.8 - npm-package-arg: 10.1.0 - npm-packlist: 7.0.0 - npm-pick-manifest: 8.0.1 - npm-registry-fetch: 14.0.5 - proc-log: 3.0.0 - promise-retry: 2.0.1 - read-package-json: 6.0.4 - read-package-json-fast: 3.0.2 - sigstore: 1.4.0 - ssri: 10.0.4 - tar: 6.1.15 - transitivePeerDependencies: - - bluebird - - supports-color - dev: true - /pacote@15.2.0: resolution: {integrity: sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -22202,15 +21228,6 @@ packages: callsites: 3.1.0 dev: true - /parse-conflict-json@3.0.1: - resolution: {integrity: sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - json-parse-even-better-errors: 3.0.0 - just-diff: 6.0.2 - just-diff-apply: 5.5.0 - dev: true - /parse-entities@2.0.0: resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} dependencies: @@ -22256,18 +21273,6 @@ packages: resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} engines: {node: '>= 0.10'} - /parse-path@7.0.0: - resolution: {integrity: sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==} - dependencies: - protocols: 2.0.1 - dev: true - - /parse-url@8.1.0: - resolution: {integrity: sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==} - dependencies: - parse-path: 7.0.0 - dev: true - /parse5-html-rewriting-stream@7.0.0: resolution: {integrity: sha512-mazCyGWkmCRWDI15Zp+UiCqMp/0dgEmkZRvhlsqqKYr4SsVm/TvnSpD9fCvqCA2zoWJcfRym846ejWBBHRiYEg==} dependencies: @@ -22424,6 +21429,8 @@ packages: /pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} + requiresBuild: true + optional: true /pify@5.0.0: resolution: {integrity: sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==} @@ -23663,15 +22670,6 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 - /postcss@8.4.24: - resolution: {integrity: sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: false - /postcss@8.4.27: resolution: {integrity: sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==} engines: {node: ^10 || ^12 || >=14} @@ -23679,7 +22677,6 @@ packages: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: true /preact@10.6.4: resolution: {integrity: sha512-WyosM7pxGcndU8hY0OQlLd54tOU+qmG45QXj2dAYrL11HoyU/EzOSTlpJsirbBr1QW7lICxSsVJJmcmUglovHQ==} @@ -23789,11 +22786,6 @@ packages: engines: {node: '>=6'} dev: false - /proc-log@2.0.1: - resolution: {integrity: sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dev: true - /proc-log@3.0.0: resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -23812,14 +22804,6 @@ packages: engines: {node: '>= 0.6.0'} dev: true - /promise-all-reject-late@1.0.1: - resolution: {integrity: sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==} - dev: true - - /promise-call-limit@1.0.2: - resolution: {integrity: sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA==} - dev: true - /promise-inflight@1.0.1: resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} peerDependencies: @@ -23850,12 +22834,6 @@ packages: sisteransi: 1.0.5 dev: true - /promzard@0.3.0: - resolution: {integrity: sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw==} - dependencies: - read: 1.0.7 - dev: true - /prop-types@15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} dependencies: @@ -23873,14 +22851,6 @@ packages: resolution: {integrity: sha512-gVNZ74nqhRMiIUYWGQdosYetaKc83x8oT41a0LlV3AAFCAZwCpg4vmGkq8t34+cUhp3cnM4XDiU/7xlgK7HGrg==} dev: true - /proto-list@1.2.4: - resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} - dev: true - - /protocols@2.0.1: - resolution: {integrity: sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==} - dev: true - /proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -24309,16 +23279,6 @@ packages: dependencies: pify: 2.3.0 - /read-cmd-shim@3.0.0: - resolution: {integrity: sha512-KQDVjGqhZk92PPNRj9ZEXEuqg8bUobSKRw+q0YQ3TKI5xkce7bUJobL4Z/OtiEbAAv70yEpYIXp4iQ9L8oPVog==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dev: true - - /read-cmd-shim@4.0.0: - resolution: {integrity: sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /read-installed@4.0.3: resolution: {integrity: sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==} dependencies: @@ -24332,14 +23292,6 @@ packages: graceful-fs: 4.2.11 dev: false - /read-package-json-fast@2.0.3: - resolution: {integrity: sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==} - engines: {node: '>=10'} - dependencies: - json-parse-even-better-errors: 2.3.1 - npm-normalize-package-bin: 1.0.1 - dev: true - /read-package-json-fast@3.0.2: resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -24357,16 +23309,6 @@ packages: npm-normalize-package-bin: 1.0.1 dev: false - /read-package-json@5.0.1: - resolution: {integrity: sha512-MALHuNgYWdGW3gKzuNMuYtcSSZbGQm94fAp16xt8VsYTLBjUSc55bLMKe6gzpWue0Tfi6CBgwCSdDAqutGDhMg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - glob: 8.1.0 - json-parse-even-better-errors: 2.3.1 - normalize-package-data: 4.0.1 - npm-normalize-package-bin: 1.0.1 - dev: true - /read-package-json@6.0.0: resolution: {integrity: sha512-b/9jxWJ8EwogJPpv99ma+QwtqB7FSl3+V6UXS7Aaay8/5VwMY50oIFooY1UKXMWpfNCM6T/PoGqa5GD1g9xf9w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -24377,16 +23319,6 @@ packages: npm-normalize-package-bin: 3.0.0 dev: true - /read-package-json@6.0.4: - resolution: {integrity: sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - glob: 10.2.2 - json-parse-even-better-errors: 3.0.0 - normalize-package-data: 5.0.0 - npm-normalize-package-bin: 3.0.0 - dev: true - /read-pkg-up@3.0.0: resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==} engines: {node: '>=4'} @@ -24423,13 +23355,6 @@ packages: type-fest: 0.6.0 dev: true - /read@1.0.7: - resolution: {integrity: sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==} - engines: {node: '>=0.8'} - dependencies: - mute-stream: 0.0.8 - dev: true - /readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} dependencies: @@ -24451,17 +23376,6 @@ packages: util-deprecate: 1.0.2 dev: true - /readable-stream@4.4.2: - resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - abort-controller: 3.0.0 - buffer: 6.0.3 - events: 3.3.0 - process: 0.11.10 - string_decoder: 1.3.0 - dev: true - /readable-web-to-node-stream@3.0.2: resolution: {integrity: sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==} engines: {node: '>=8'} @@ -24845,14 +23759,6 @@ packages: glob: 7.1.4 dev: true - /rimraf@4.4.1: - resolution: {integrity: sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==} - engines: {node: '>=14'} - hasBin: true - dependencies: - glob: 9.3.5 - dev: true - /rollup-plugin-copy@3.4.0: resolution: {integrity: sha512-rGUmYYsYsceRJRqLVlE9FivJMxJ7X6jDlP79fmFkL8sJs7VVMSVyA2yfyL+PGyO/vJs4A87hwhgVfz61njI+uQ==} engines: {node: '>=8.3'} @@ -25206,14 +24112,6 @@ packages: lru-cache: 6.0.0 dev: true - /semver@7.3.8: - resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /semver@7.5.3: resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==} engines: {node: '>=10'} @@ -25642,13 +24540,6 @@ packages: is-plain-obj: 1.1.0 dev: true - /sort-keys@2.0.0: - resolution: {integrity: sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==} - engines: {node: '>=4'} - dependencies: - is-plain-obj: 1.1.0 - dev: true - /source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} @@ -26474,11 +25365,6 @@ packages: memoizerific: 1.11.3 dev: true - /temp-dir@1.0.0: - resolution: {integrity: sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==} - engines: {node: '>=4'} - dev: true - /temp-dir@2.0.0: resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} engines: {node: '>=8'} @@ -26492,17 +25378,6 @@ packages: uuid: 3.4.0 dev: true - /tempy@1.0.0: - resolution: {integrity: sha512-eLXG5B1G0mRPHmgH2WydPl5v4jH35qEn3y/rA/aahKhIa91Pn119SsU7n7v/433gtT9ONzC8ISvNHIh2JSTm0w==} - engines: {node: '>=10'} - dependencies: - del: 6.1.1 - is-stream: 2.0.1 - temp-dir: 2.0.0 - type-fest: 0.16.0 - unique-string: 2.0.0 - dev: true - /terser-webpack-plugin@5.3.6(@swc/core@1.3.51)(esbuild@0.19.2)(webpack@5.88.0): resolution: {integrity: sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==} engines: {node: '>= 10.13.0'} @@ -26551,7 +25426,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.2.0 serialize-javascript: 6.0.1 - terser: 5.18.0 + terser: 5.19.2 webpack: 5.88.2(@swc/core@1.3.51)(esbuild@0.18.17) dev: true @@ -26577,7 +25452,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.2.0 serialize-javascript: 6.0.1 - terser: 5.18.0 + terser: 5.19.2 webpack: 5.75.0(@swc/core@1.3.51)(esbuild@0.19.2) dev: true @@ -26603,7 +25478,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.2.0 serialize-javascript: 6.0.1 - terser: 5.18.0 + terser: 5.19.2 webpack: 5.88.0(@swc/core@1.3.51)(esbuild@0.19.2) dev: true @@ -26871,11 +25746,6 @@ packages: engines: {node: '>=0.6'} dev: false - /treeverse@3.0.0: - resolution: {integrity: sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} dev: true @@ -27150,11 +26020,6 @@ packages: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} - /type-fest@0.16.0: - resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==} - engines: {node: '>=10'} - dev: true - /type-fest@0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} engines: {node: '>=10'} @@ -27170,11 +26035,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@0.4.1: - resolution: {integrity: sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==} - engines: {node: '>=6'} - dev: true - /type-fest@0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} @@ -27371,13 +26231,6 @@ packages: imurmurhash: 0.1.4 dev: true - /unique-string@2.0.0: - resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} - engines: {node: '>=8'} - dependencies: - crypto-random-string: 2.0.0 - dev: true - /unist-builder@4.0.0: resolution: {integrity: sha512-wmRFnH+BLpZnTKpc5L7O67Kac89s9HMrtELpnNaE6TAobq5DTZZs5YaTQfAZBA9bFPECx2uVAPO31c+GVug8mg==} dependencies: @@ -27504,11 +26357,6 @@ packages: setimmediate: 1.0.5 dev: true - /upath@2.0.1: - resolution: {integrity: sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==} - engines: {node: '>=4'} - dev: true - /update-browserslist-db@1.0.10(browserslist@4.21.4): resolution: {integrity: sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==} hasBin: true @@ -27761,19 +26609,6 @@ packages: spdx-correct: 3.1.1 spdx-expression-parse: 3.0.1 - /validate-npm-package-name@3.0.0: - resolution: {integrity: sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==} - dependencies: - builtins: 1.0.3 - dev: true - - /validate-npm-package-name@4.0.0: - resolution: {integrity: sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - builtins: 5.0.1 - dev: true - /validate-npm-package-name@5.0.0: resolution: {integrity: sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -27980,7 +26815,7 @@ packages: '@types/node': 18.16.9 esbuild: 0.17.19 less: 4.1.3 - postcss: 8.4.24 + postcss: 8.4.27 rollup: 3.21.0 sass: 1.55.0 stylus: 0.59.0 @@ -28136,10 +26971,6 @@ packages: xml-name-validator: 4.0.0 dev: true - /walk-up-path@1.0.0: - resolution: {integrity: sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==} - dev: true - /walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} dependencies: @@ -28804,22 +27635,6 @@ packages: /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - /write-file-atomic@2.4.3: - resolution: {integrity: sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==} - dependencies: - graceful-fs: 4.2.11 - imurmurhash: 0.1.4 - signal-exit: 3.0.7 - dev: true - - /write-file-atomic@4.0.1: - resolution: {integrity: sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16} - dependencies: - imurmurhash: 0.1.4 - signal-exit: 3.0.7 - dev: true - /write-file-atomic@4.0.2: resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -28828,35 +27643,6 @@ packages: signal-exit: 3.0.7 dev: true - /write-file-atomic@5.0.1: - resolution: {integrity: sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - imurmurhash: 0.1.4 - signal-exit: 4.0.1 - dev: true - - /write-json-file@3.2.0: - resolution: {integrity: sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==} - engines: {node: '>=6'} - dependencies: - detect-indent: 5.0.0 - graceful-fs: 4.2.11 - make-dir: 2.1.0 - pify: 4.0.1 - sort-keys: 2.0.0 - write-file-atomic: 2.4.3 - dev: true - - /write-pkg@4.0.0: - resolution: {integrity: sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==} - engines: {node: '>=8'} - dependencies: - sort-keys: 2.0.0 - type-fest: 0.4.1 - write-json-file: 3.2.0 - dev: true - /ws@7.5.9: resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} engines: {node: '>=8.3.0'} @@ -28965,11 +27751,6 @@ packages: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - /yargs-parser@20.2.4: - resolution: {integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==} - engines: {node: '>=10'} - dev: true - /yargs-parser@20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} diff --git a/scripts/nx-release.ts b/scripts/nx-release.ts index 6f8ddc4e08959..3329dc80001c0 100755 --- a/scripts/nx-release.ts +++ b/scripts/nx-release.ts @@ -1,29 +1,19 @@ #!/usr/bin/env node -import * as yargs from 'yargs'; -import { execSync } from 'child_process'; -import { existsSync, readFileSync, rmSync, writeFileSync } from 'fs'; +import { createProjectGraphAsync, workspaceRoot } from '@nx/devkit'; +import { execSync } from 'node:child_process'; +import { rmSync, writeFileSync } from 'node:fs'; +import { join } from 'node:path'; import { URL } from 'node:url'; -import { join } from 'path'; - -import { parse } from 'semver'; - -const version = require('lerna/commands/version'); -const publish = require('lerna/commands/publish'); - -const lernaJsonPath = join(__dirname, '../lerna.json'); -const originalLernaJson = readFileSync(lernaJsonPath); +import { isRelativeVersionKeyword } from 'nx/src/command-line/release/utils/semver'; +import { ReleaseType, parse } from 'semver'; +import * as yargs from 'yargs'; -function hideFromGitIndex(uncommittedFiles: string[]) { - execSync(`git update-index --assume-unchanged ${uncommittedFiles.join(' ')}`); - - return () => - execSync( - `git update-index --no-assume-unchanged ${uncommittedFiles.join(' ')}` - ); -} +const LARGE_BUFFER = 1024 * 1000000; (async () => { const options = parseArgs(); + // Perform minimal logging by default + let isVerboseLogging = process.env.NX_VERBOSE_LOGGING === 'true'; if (options.clearLocalRegistry) { rmSync(join(__dirname, '../build/local-registry/storage'), { @@ -32,123 +22,135 @@ function hideFromGitIndex(uncommittedFiles: string[]) { }); } - const currentLatestVersion = execSync('npm view nx version') - .toString() - .trim(); - - const parsedVersion = parse(options.version); - const parsedCurrentLatestVersion = parse(currentLatestVersion); - - const distTag = - parsedVersion?.prerelease.length > 0 - ? 'next' - : parsedVersion?.major < parsedCurrentLatestVersion.major - ? 'previous' - : 'latest'; - const buildCommand = 'pnpm build'; console.log(`> ${buildCommand}`); execSync(buildCommand, { stdio: [0, 1, 2], + maxBuffer: LARGE_BUFFER, }); - if (options.local) { - updateLernaJsonVersion(currentLatestVersion); - } - - if (options.local) { - // Force all projects to be not private - const projects = JSON.parse( - execSync('npx lerna list --json --all').toString() - ); - for (const proj of projects) { - if (proj.private) { - console.log('Publishing private package locally:', proj.name); - const packageJsonPath = join(proj.location, 'package.json'); - const original = JSON.parse(readFileSync(packageJsonPath, 'utf-8')); - writeFileSync( - packageJsonPath, - JSON.stringify({ ...original, private: false }) - ); - } - } - } + // Ensure all the native-packages directories are available at the top level of the build directory, enabling consistent packageRoot structure + execSync(`pnpm nx copy-native-package-directories nx`, { + stdio: isVerboseLogging ? [0, 1, 2] : 'ignore', + maxBuffer: LARGE_BUFFER, + }); + // Expected to run as part of the Github `publish` workflow if (!options.local && process.env.NPM_TOKEN) { // Delete all .node files that were built during the previous steps // Always run before the artifacts step because we still need the .node files for native-packages execSync('find ./build -name "*.node" -delete', { stdio: [0, 1, 2], + maxBuffer: LARGE_BUFFER, }); - execSync('npx nx run-many --target=artifacts', { + execSync('pnpm nx run-many --target=artifacts', { stdio: [0, 1, 2], + maxBuffer: LARGE_BUFFER, }); } - const versionOptions = { - bump: options.version ? options.version : undefined, - conventionalCommits: true, - conventionalPrerelease: options.tag === 'next', - preid: options.preid, - forcePublish: true, - createRelease: 'github', - tagVersionPrefix: '', - exact: true, - gitRemote: options.gitRemote, - gitTagVersion: !process.env.NPM_TOKEN, - message: 'chore(misc): publish %v', - loglevel: options.loglevel ?? 'info', - yes: !!process.env.NPM_TOKEN, + const runNxReleaseVersion = () => { + let versionCommand = `pnpm nx release version${ + options.version ? ` --specifier ${options.version}` : '' + }`; + if (options.dryRun) { + versionCommand += ' --dry-run'; + } + console.log(`> ${versionCommand}`); + execSync(versionCommand, { + stdio: isVerboseLogging ? [0, 1, 2] : 'ignore', + maxBuffer: LARGE_BUFFER, + }); }; - if (options.local) { - versionOptions.conventionalCommits = false; - delete versionOptions.createRelease; - versionOptions.gitTagVersion = false; - versionOptions.loglevel = options.loglevel ?? 'error'; - versionOptions.yes = true; - versionOptions.bump = options.version ? options.version : 'minor'; - } + // Intended for creating a github release which triggers the publishing workflow + if (!options.local && !process.env.NPM_TOKEN) { + // For this important use-case it makes sense to always have full logs + isVerboseLogging = true; - if (options.local) { - /** - * Hide changes from Lerna - */ - const uncommittedFiles = execSync('git diff --name-only --relative HEAD .') - .toString() - .split('\n') - .filter((i) => i.length > 0) - .filter((f) => existsSync(f)); - const unhideFromGitIndex = hideFromGitIndex(uncommittedFiles); + execSync('git status --ahead-behind'); - process.on('exit', unhideFromGitIndex); - process.on('SIGTERM', unhideFromGitIndex); - process.on('SIGINT', unhideFromGitIndex); - } + if (isRelativeVersionKeyword(options.version)) { + throw new Error( + 'When creating actual releases, you must use an exact semver version' + ); + } - const publishOptions: Record = { - gitReset: false, - distTag: distTag, - }; + runNxReleaseVersion(); - if (!options.local && !process.env.NPM_TOKEN) { - execSync('git status --ahead-behind'); + let changelogCommand = `pnpm nx release changelog ${options.version} --tagVersionPrefix="" --interactive`; + if (options.from) { + changelogCommand += ` --from ${options.from}`; + } + if (options.gitRemote) { + changelogCommand += ` --git-remote ${options.gitRemote}`; + } + if (options.dryRun) { + changelogCommand += ' --dry-run'; + } + console.log(`> ${changelogCommand}`); + execSync(changelogCommand, { + stdio: isVerboseLogging ? [0, 1, 2] : 'ignore', + maxBuffer: LARGE_BUFFER, + }); - await version(versionOptions); console.log( 'Check github: https://github.com/nrwl/nx/actions/workflows/publish.yml' ); - } else if (!options.skipPublish) { - await publish({ ...versionOptions, ...publishOptions }); - } else { - await version(versionOptions); - console.warn('Not Publishing because --dryRun was passed'); + process.exit(0); } - if (options.local) { - restoreOriginalLernaJson(); + runNxReleaseVersion(); + + if (options.dryRun) { + console.warn('Not Publishing because --dryRun was passed'); + } else { + // If publishing locally, force all projects to not be private first + if (options.local) { + console.log( + '\nPublishing locally, so setting all resolved packages to not be private' + ); + const projectGraph = await createProjectGraphAsync(); + for (const proj of Object.values(projectGraph.nodes)) { + if (proj.data.targets?.['nx-release-publish']) { + const packageJsonPath = join( + workspaceRoot, + proj.data.targets?.['nx-release-publish']?.options.packageRoot, + 'package.json' + ); + try { + const packageJson = require(packageJsonPath); + if (packageJson.private) { + console.log( + '- Publishing private package locally:', + packageJson.name + ); + writeFileSync( + packageJsonPath, + JSON.stringify({ ...packageJson, private: false }) + ); + } + } catch {} + } + } + } + + const distTag = determineDistTag(options.version); + + // Run with dynamic output-style so that we have more minimal logs by default but still always see errors + let publishCommand = `pnpm nx release publish --registry=${getRegistry()} --tag=${distTag} --output-style=dynamic --parallel=8`; + if (options.dryRun) { + publishCommand += ' --dry-run'; + } + console.log(`\n> ${publishCommand}`); + execSync(publishCommand, { + stdio: [0, 1, 2], + maxBuffer: LARGE_BUFFER, + }); } + + process.exit(0); })(); function parseArgs() { @@ -161,9 +163,9 @@ function parseArgs() { '$0 [version]', 'This script is for publishing Nx both locally and publically' ) - .option('skipPublish', { + .option('dryRun', { type: 'boolean', - description: 'Skips the actual publishing for testing out versioning', + description: 'Dry-run flag to be passed to all `nx release` commands', }) .option('clearLocalRegistry', { type: 'boolean', @@ -182,6 +184,11 @@ function parseArgs() { description: "Don't use this unless you really know what it does", hidden: true, }) + .option('from', { + type: 'string', + description: + 'Git ref to pass to `nx release changelog`. Not applicable for local publishing or e2e tests.', + }) .positional('version', { type: 'string', description: @@ -193,11 +200,6 @@ function parseArgs() { 'Alternate git remote name to publish tags to (useful for testing changelog)', default: 'origin', }) - .option('loglevel', { - type: 'string', - description: 'Log Level', - choices: ['error', 'info', 'debug'], - }) .example( '$0', `By default, this will locally publish a minor version bump as latest. Great for local development. Most developers should only need this.` @@ -222,6 +224,7 @@ function parseArgs() { ['gitRemote', 'force'], 'Real Publishing Options for actually publishing to NPM' ) + .demandOption('version') .check((args) => { const registry = getRegistry(); const registryIsLocalhost = registry.hostname === 'localhost'; @@ -244,23 +247,48 @@ function parseArgs() { }) .parseSync(); - parsedArgs.tag ??= parsedArgs.local ? 'latest' : 'next'; - return parsedArgs; } -function updateLernaJsonVersion(version: string) { - const json = JSON.parse(readFileSync(lernaJsonPath).toString()); +function getRegistry() { + return new URL(execSync('npm config get registry').toString().trim()); +} - json.version = version; +function determineDistTag(newVersion: string): 'latest' | 'next' | 'previous' { + // For a relative version keyword, it cannot be previous + if (isRelativeVersionKeyword(newVersion)) { + const prereleaseKeywords: ReleaseType[] = [ + 'premajor', + 'preminor', + 'prepatch', + 'prerelease', + ]; + return prereleaseKeywords.includes(newVersion) ? 'next' : 'latest'; + } - writeFileSync(lernaJsonPath, JSON.stringify(json)); -} + const parsedGivenVersion = parse(newVersion); + if (!parsedGivenVersion) { + throw new Error( + `Unable to parse the given version: "${newVersion}". Is it valid semver?` + ); + } -function restoreOriginalLernaJson() { - writeFileSync(lernaJsonPath, originalLernaJson); -} + const currentLatestVersion = execSync('npm view nx version') + .toString() + .trim(); + const parsedCurrentLatestVersion = parse(currentLatestVersion); + if (!parsedCurrentLatestVersion) { + throw new Error( + `The current version resolved from the npm registry could not be parsed (resolved "${currentLatestVersion}")` + ); + } -function getRegistry() { - return new URL(execSync('npm config get registry').toString().trim()); + const distTag = + parsedGivenVersion.prerelease.length > 0 + ? 'next' + : parsedGivenVersion.major < parsedCurrentLatestVersion.major + ? 'previous' + : 'latest'; + + return distTag; }