From 28ddcfc71505a5b9c849107fbf6358410d529b09 Mon Sep 17 00:00:00 2001 From: Jack Westbrook Date: Tue, 13 Feb 2024 09:49:43 +0100 Subject: [PATCH] build(nx): make grafana an nx project, bump lerna and nx --- nx.json | 11 +-- package.json | 51 +++---------- project.json | 35 +++++++++ yarn.lock | 212 +++++++++++++++++++++++++-------------------------- 4 files changed, 150 insertions(+), 159 deletions(-) create mode 100644 project.json diff --git a/nx.json b/nx.json index 78e94803b31..6e521df58c4 100644 --- a/nx.json +++ b/nx.json @@ -3,7 +3,7 @@ "default": { "runner": "nx/tasks-runners/default", "options": { - "cacheableOperations": ["build", "themes:generate"] + "cacheableOperations": ["build"] } } }, @@ -12,15 +12,6 @@ "outputs": ["{projectRoot}/dist"] } }, - "targets": { - "theme-generate": { - "outputs": [ - "public/sass/_variables.generated.scss", - "public/sass/_variables.dark.generated.scss", - "public/sass/_variables.light.generated.scss" - ] - } - }, "affected": { "defaultBase": "main" } diff --git a/package.json b/package.json index 1edcb59104f..13261a29864 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "version": "10.4.0-pre", "repository": "github:grafana/grafana", "scripts": { - "build": "NODE_ENV=production nx exec -- webpack --config scripts/webpack/webpack.prod.js", - "build:nominify": "yarn run build --env noMinify=1", + "build": "NODE_ENV=production nx exec --verbose -- webpack --config scripts/webpack/webpack.prod.js", + "build:nominify": "yarn run build -- --env noMinify=1", "dev": "NODE_ENV=dev nx exec -- webpack --config scripts/webpack/webpack.dev.js", "e2e": "./e2e/start-and-run-suite", "e2e:debug": "./e2e/start-and-run-suite debug", @@ -25,21 +25,21 @@ "lint:sass": "yarn stylelint '{public/sass,packages}/**/*.scss' --cache", "test:ci": "mkdir -p reports/junit && JEST_JUNIT_OUTPUT_DIR=reports/junit jest --ci --reporters=default --reporters=jest-junit -w ${TEST_MAX_WORKERS:-100%}", "lint:fix": "yarn lint:ts --fix", - "packages:build": "lerna run build --ignore '@grafana-plugins/*'", + "packages:build": "nx run-many -t build --projects='@grafana/*'", "packages:clean": "rimraf ./npm-artifacts && lerna run clean --parallel", "packages:prepare": "lerna version --no-push --no-git-tag-version --force-publish --exact", "packages:pack": "mkdir -p ./npm-artifacts && lerna exec --no-private -- yarn pack --out \"../../npm-artifacts/%s-%v.tgz\"", - "packages:typecheck": "lerna run typecheck", + "packages:typecheck": "nx run-many -t typecheck --projects='@grafana/*'", "prettier:check": "prettier --check --list-different=false --log-level=warn \"**/*.{ts,tsx,scss,md,mdx,json}\"", "prettier:checkDocs": "prettier --check --list-different=false --log-level=warn \"docs/**/*.md\" \"*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx,json}\"", "prettier:write": "prettier --list-different \"**/*.{js,ts,tsx,scss,md,mdx,json}\" --write", "start": "NODE_ENV=dev nx exec -- webpack --config scripts/webpack/webpack.dev.js --watch", - "start:noTsCheck": "yarn start --env noTsCheck=1", - "start:noLint": "yarn start --env noTsCheck=1 --env noLint=1", + "start:noTsCheck": "yarn start -- --env noTsCheck=1", + "start:noLint": "yarn start -- --env noTsCheck=1 --env noLint=1", "stats": "webpack --mode production --config scripts/webpack/webpack.prod.js --profile --json > compilation-stats.json", "storybook": "yarn workspace @grafana/ui storybook --ci", "storybook:build": "yarn workspace @grafana/ui storybook:build", - "themes:generate": "esbuild --target=es6 ./scripts/cli/generateSassVariableFiles.ts --bundle --platform=node --tsconfig=./scripts/cli/tsconfig.json | node", + "themes-generate": "esbuild --target=es6 ./scripts/cli/generateSassVariableFiles.ts --bundle --platform=node --tsconfig=./scripts/cli/tsconfig.json | node", "themes:usage": "eslint . --ext .tsx,.ts --ignore-pattern '*.test.ts*' --ignore-pattern '*.spec.ts*' --cache --rule '{ @grafana/theme-token-usage: \"error\" }'", "typecheck": "tsc --noEmit && yarn run packages:typecheck", "plugins:build-bundled": "find plugins-bundled -name package.json -not -path '*/node_modules/*' -execdir yarn build \\;", @@ -54,36 +54,9 @@ "betterer:stats": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/reportBettererStats.ts", "betterer:issues": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateBettererIssues.ts", "generate-icons-bundle-cache-file": "node ./scripts/generate-icon-bundle.js", - "plugin:build": "lerna run build --ignore=\"@grafana/*\" --ignore=\"@grafana-plugins/input-datasource\"", - "plugin:build:commit": "lerna run build:commit --ignore=\"@grafana/*\" --ignore=\"@grafana-plugins/input-datasource\"", - "plugin:build:dev": "lerna run dev --ignore=\"@grafana/*\" --ignore=\"@grafana-plugins/input-datasource\"" - }, - "nx": { - "targets": { - "start": { - "dependsOn": [ - "grafana:themes:generate", - "@grafana-plugins/grafana-testdata-datasource:build", - "@grafana-plugins/grafana-pyroscope-datasource:build", - "@grafana-plugins/grafana-azure-monitor-datasource:build", - "@grafana-plugins/grafana-cloud-monitoring-datasource:build", - "@grafana-plugins/parca:build", - "@grafana-plugins/tempo:build" - ] - }, - "build": { - "dependsOn": [ - "grafana:themes:generate", - "@grafana-plugins/grafana-testdata-datasource:build", - "@grafana-plugins/grafana-pyroscope-datasource:build", - "@grafana-plugins/grafana-azure-monitor-datasource:build", - "@grafana-plugins/grafana-cloud-monitoring-datasource:build", - "@grafana-plugins/parca:build", - "@grafana-plugins/tempo:build" - ] - } - }, - "parallel": 5 + "plugin:build": "nx run-many -t build --projects='@grafana-plugins/*' --exclude \"@grafana-plugins/input-datasource\"", + "plugin:build:commit": "nx run-many -t build:commit --projects='@grafana-plugins/*' --exclude \"@grafana-plugins/input-datasource\"", + "plugin:build:dev": "nx run-many -t dev --projects='@grafana-plugins/*' --exclude \"@grafana-plugins/input-datasource\"" }, "grafana": { "whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v10-3/", @@ -207,13 +180,13 @@ "jest-fail-on-console": "3.1.2", "jest-junit": "16.0.0", "jest-matcher-utils": "29.7.0", - "lerna": "8.0.2", + "lerna": "8.1.2", "mini-css-extract-plugin": "2.8.0", "msw": "1.3.2", "mutationobserver-shim": "0.3.7", "ngtemplate-loader": "2.1.0", "node-notifier": "10.0.1", - "nx": "17.2.8", + "nx": "18.0.4", "postcss": "8.4.35", "postcss-loader": "7.3.4", "postcss-reporter": "7.1.0", diff --git a/project.json b/project.json new file mode 100644 index 00000000000..fe31d5b90dd --- /dev/null +++ b/project.json @@ -0,0 +1,35 @@ +{ + "name": "grafana", + "$schema": "node_modules/nx/schemas/project-schema.json", + "projectType": "application", + "targets": { + "start": { + "dependsOn": [ + "themes-generate", + { + "projects": ["@grafana-plugins/**"], + "target": "build" + } + ] + }, + "build": { + "dependsOn": [ + "themes-generate", + { + "projects": ["@grafana-plugins/**"], + "target": "build" + } + ], + "outputs": ["{workspaceRoot}/public/build"], + "cache": true + }, + "themes-generate": { + "outputs": [ + "{workspaceRoot}/public/sass/_variables.generated.scss", + "{workspaceRoot}/public/sass/_variables.dark.generated.scss", + "{workspaceRoot}/public/sass/_variables.light.generated.scss" + ], + "cache": true + } + } +} diff --git a/yarn.lock b/yarn.lock index c1cab655ed9..bac0f1684ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4795,12 +4795,12 @@ __metadata: languageName: node linkType: hard -"@lerna/create@npm:8.0.2": - version: 8.0.2 - resolution: "@lerna/create@npm:8.0.2" +"@lerna/create@npm:8.1.2": + version: 8.1.2 + resolution: "@lerna/create@npm:8.1.2" dependencies: "@npmcli/run-script": "npm:7.0.2" - "@nx/devkit": "npm:>=17.1.2 < 18" + "@nx/devkit": "npm:>=17.1.2 < 19" "@octokit/plugin-enterprise-rest": "npm:6.0.1" "@octokit/rest": "npm:19.0.11" byte-size: "npm:8.1.1" @@ -4837,7 +4837,7 @@ __metadata: npm-packlist: "npm:5.1.1" npm-registry-fetch: "npm:^14.0.5" npmlog: "npm:^6.0.2" - nx: "npm:>=17.1.2 < 18" + nx: "npm:>=17.1.2 < 19" p-map: "npm:4.0.0" p-map-series: "npm:2.1.0" p-queue: "npm:6.6.2" @@ -4863,7 +4863,7 @@ __metadata: write-pkg: "npm:4.0.0" yargs: "npm:17.7.2" yargs-parser: "npm:21.1.1" - checksum: 10/a36fafa8dce4d5fabfac9de91003e08e86b6d62a2e884619322c8c0f9d13e21348fe99f988ba85e45ff0533a9175512e8cafa1a46f75ce8a94e597da8d0b7924 + checksum: 10/d12b378cec4396d01f05127f9921dba83aae5f9c682d9cc01a15092bcd806625ad97126cd7b0dcc3cbfa851a9886c398d7562106ce9972603e00d02ddf6a6c61 languageName: node linkType: hard @@ -5334,110 +5334,111 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:17.2.8": - version: 17.2.8 - resolution: "@nrwl/devkit@npm:17.2.8" +"@nrwl/devkit@npm:18.0.4": + version: 18.0.4 + resolution: "@nrwl/devkit@npm:18.0.4" dependencies: - "@nx/devkit": "npm:17.2.8" - checksum: 10/9fc4715e52543a7040397e0a67bab2d161ff674c73297449f5a4499dd8c92a93893d2f85e634f2f2687f201ac7dda7a56079d5cb5a882f37df36bb283565ba5f + "@nx/devkit": "npm:18.0.4" + checksum: 10/0ae56acdae6be74de5609fbb873b00e65605bca772ab22d13721b8465dff1926b3473522c836b904552214f79672bdfa19a5e9ce5e8ca30a1f6cf3ee8b15b29d languageName: node linkType: hard -"@nrwl/tao@npm:17.2.8": - version: 17.2.8 - resolution: "@nrwl/tao@npm:17.2.8" +"@nrwl/tao@npm:18.0.4": + version: 18.0.4 + resolution: "@nrwl/tao@npm:18.0.4" dependencies: - nx: "npm:17.2.8" + nx: "npm:18.0.4" tslib: "npm:^2.3.0" bin: tao: index.js - checksum: 10/48550a9d7dcd83e490fa926413140aafaa38c72336f80360ddda259e7f9894c3ec75027d0a3d7d8b0df6bf31ec4600c3683f56faea95875d7ac16eb65abd6a38 + checksum: 10/e4ae950c12388bf3c209486ca724f76c466c39653481ddf5335ef7c38db087c48ec25457ea3b08fefbb66b67c436097cb6fd92d4bd55ef5672b388de692d40e3 languageName: node linkType: hard -"@nx/devkit@npm:17.2.8, @nx/devkit@npm:>=17.1.2 < 18": - version: 17.2.8 - resolution: "@nx/devkit@npm:17.2.8" +"@nx/devkit@npm:18.0.4, @nx/devkit@npm:>=17.1.2 < 19": + version: 18.0.4 + resolution: "@nx/devkit@npm:18.0.4" dependencies: - "@nrwl/devkit": "npm:17.2.8" + "@nrwl/devkit": "npm:18.0.4" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" - semver: "npm:7.5.3" + semver: "npm:^7.5.3" tmp: "npm:~0.2.1" tslib: "npm:^2.3.0" + yargs-parser: "npm:21.1.1" peerDependencies: nx: ">= 16 <= 18" - checksum: 10/490a9d12f780da9463eddfa6a42dc99c852e3f62b7cecd2435cee96afc3a4f30946421269a5114a32fe22e8109d42a04b2ab868fb58481fa5c834c9ba2132dfd + checksum: 10/a3368c2d58e92aa96b0432930b302aa02c6e4b3a73a5f61f58e513f1a8f10606b1973c588277f48a2d37e3a4ede5d27aa837c4a9b4de25ae4c475cafe6c6305d languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-darwin-arm64@npm:17.2.8" +"@nx/nx-darwin-arm64@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-darwin-arm64@npm:18.0.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-darwin-x64@npm:17.2.8" +"@nx/nx-darwin-x64@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-darwin-x64@npm:18.0.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-freebsd-x64@npm:17.2.8" +"@nx/nx-freebsd-x64@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-freebsd-x64@npm:18.0.4" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:17.2.8" +"@nx/nx-linux-arm-gnueabihf@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.0.4" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-linux-arm64-gnu@npm:17.2.8" +"@nx/nx-linux-arm64-gnu@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-linux-arm64-gnu@npm:18.0.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-linux-arm64-musl@npm:17.2.8" +"@nx/nx-linux-arm64-musl@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-linux-arm64-musl@npm:18.0.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-linux-x64-gnu@npm:17.2.8" +"@nx/nx-linux-x64-gnu@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-linux-x64-gnu@npm:18.0.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-linux-x64-musl@npm:17.2.8" +"@nx/nx-linux-x64-musl@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-linux-x64-musl@npm:18.0.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-win32-arm64-msvc@npm:17.2.8" +"@nx/nx-win32-arm64-msvc@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-win32-arm64-msvc@npm:18.0.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:17.2.8": - version: 17.2.8 - resolution: "@nx/nx-win32-x64-msvc@npm:17.2.8" +"@nx/nx-win32-x64-msvc@npm:18.0.4": + version: 18.0.4 + resolution: "@nx/nx-win32-x64-msvc@npm:18.0.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -11806,14 +11807,14 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.5.1": - version: 1.6.5 - resolution: "axios@npm:1.6.5" +"axios@npm:^1.6.0": + version: 1.6.7 + resolution: "axios@npm:1.6.7" dependencies: follow-redirects: "npm:^1.15.4" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 10/465489d9bf8f039b9adbc8103b6299d6a5e26de77b27f0e4173d814d39bca8f4b4659d94e09ee40461aedccd8c2452f1e2b3edace1c9f81220060d2974ff9dc7 + checksum: 10/a1932b089ece759cd261f175d9ebf4d41c8994cf0c0767cda86055c7a19bcfdade8ae3464bf4cec4c8b142f4a657dc664fb77a41855e8376cf38b86d7a86518f languageName: node linkType: hard @@ -18003,20 +18004,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:7.1.4": - version: 7.1.4 - resolution: "glob@npm:7.1.4" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.0.4" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 10/776bcc31371797eb5cf6b58c4618378f8df83d23f00aef8e98af5e7f0e59f5ee8b470c4e95e71cfa7a8682634849e21ea1f1ad38639c1828a2dbc2757bf7a63b - languageName: node - linkType: hard - "glob@npm:7.2.0": version: 7.2.0 resolution: "glob@npm:7.2.0" @@ -18420,7 +18407,7 @@ __metadata: json-source-map: "npm:0.6.1" jsurl: "npm:^0.1.5" kbar: "npm:0.1.0-beta.45" - lerna: "npm:8.0.2" + lerna: "npm:8.1.2" leven: "npm:^4.0.0" lodash: "npm:4.17.21" logfmt: "npm:^1.3.2" @@ -18446,7 +18433,7 @@ __metadata: ngtemplate-loader: "npm:2.1.0" node-forge: "npm:^1.3.1" node-notifier: "npm:10.0.1" - nx: "npm:17.2.8" + nx: "npm:18.0.4" ol: "npm:7.4.0" ol-ext: "npm:4.0.14" papaparse: "npm:5.4.1" @@ -21490,13 +21477,13 @@ __metadata: languageName: node linkType: hard -"lerna@npm:8.0.2": - version: 8.0.2 - resolution: "lerna@npm:8.0.2" +"lerna@npm:8.1.2": + version: 8.1.2 + resolution: "lerna@npm:8.1.2" dependencies: - "@lerna/create": "npm:8.0.2" + "@lerna/create": "npm:8.1.2" "@npmcli/run-script": "npm:7.0.2" - "@nx/devkit": "npm:>=17.1.2 < 18" + "@nx/devkit": "npm:>=17.1.2 < 19" "@octokit/plugin-enterprise-rest": "npm:6.0.1" "@octokit/rest": "npm:19.0.11" byte-size: "npm:8.1.1" @@ -21539,7 +21526,7 @@ __metadata: npm-packlist: "npm:5.1.1" npm-registry-fetch: "npm:^14.0.5" npmlog: "npm:^6.0.2" - nx: "npm:>=17.1.2 < 18" + nx: "npm:>=17.1.2 < 19" p-map: "npm:4.0.0" p-map-series: "npm:2.1.0" p-pipe: "npm:3.1.0" @@ -21570,7 +21557,7 @@ __metadata: yargs-parser: "npm:21.1.1" bin: lerna: dist/cli.js - checksum: 10/e68bf988c47bcadfbde34031d8119f8d5e9a261b448d98d62e83a6c9d3e3c516e6ab8a180398ffe862c438f69f106ac329ce56cf1eb2c5b7c22397f1961dfda2 + checksum: 10/5f4267bb059e00b294985e5cc4e783155e5be58ecd73c1791be0c24ff77561f2699550cdad4faee8a3a5d2866ae18bd6d7c4bba4b0dae1b26056d1187616c8a6 languageName: node linkType: hard @@ -23536,25 +23523,25 @@ __metadata: languageName: node linkType: hard -"nx@npm:17.2.8, nx@npm:>=17.1.2 < 18": - version: 17.2.8 - resolution: "nx@npm:17.2.8" +"nx@npm:18.0.4, nx@npm:>=17.1.2 < 19": + version: 18.0.4 + resolution: "nx@npm:18.0.4" dependencies: - "@nrwl/tao": "npm:17.2.8" - "@nx/nx-darwin-arm64": "npm:17.2.8" - "@nx/nx-darwin-x64": "npm:17.2.8" - "@nx/nx-freebsd-x64": "npm:17.2.8" - "@nx/nx-linux-arm-gnueabihf": "npm:17.2.8" - "@nx/nx-linux-arm64-gnu": "npm:17.2.8" - "@nx/nx-linux-arm64-musl": "npm:17.2.8" - "@nx/nx-linux-x64-gnu": "npm:17.2.8" - "@nx/nx-linux-x64-musl": "npm:17.2.8" - "@nx/nx-win32-arm64-msvc": "npm:17.2.8" - "@nx/nx-win32-x64-msvc": "npm:17.2.8" + "@nrwl/tao": "npm:18.0.4" + "@nx/nx-darwin-arm64": "npm:18.0.4" + "@nx/nx-darwin-x64": "npm:18.0.4" + "@nx/nx-freebsd-x64": "npm:18.0.4" + "@nx/nx-linux-arm-gnueabihf": "npm:18.0.4" + "@nx/nx-linux-arm64-gnu": "npm:18.0.4" + "@nx/nx-linux-arm64-musl": "npm:18.0.4" + "@nx/nx-linux-x64-gnu": "npm:18.0.4" + "@nx/nx-linux-x64-musl": "npm:18.0.4" + "@nx/nx-win32-arm64-msvc": "npm:18.0.4" + "@nx/nx-win32-x64-msvc": "npm:18.0.4" "@yarnpkg/lockfile": "npm:^1.1.0" "@yarnpkg/parsers": "npm:3.0.0-rc.46" "@zkochan/js-yaml": "npm:0.0.6" - axios: "npm:^1.5.1" + axios: "npm:^1.6.0" chalk: "npm:^4.1.0" cli-cursor: "npm:3.1.0" cli-spinners: "npm:2.6.1" @@ -23565,17 +23552,17 @@ __metadata: figures: "npm:3.2.0" flat: "npm:^5.0.2" fs-extra: "npm:^11.1.0" - glob: "npm:7.1.4" ignore: "npm:^5.0.4" jest-diff: "npm:^29.4.1" js-yaml: "npm:4.1.0" jsonc-parser: "npm:3.2.0" lines-and-columns: "npm:~2.0.3" - minimatch: "npm:3.0.5" + minimatch: "npm:9.0.3" node-machine-id: "npm:1.1.12" npm-run-path: "npm:^4.0.1" open: "npm:^8.4.0" - semver: "npm:7.5.3" + ora: "npm:5.3.0" + semver: "npm:^7.5.3" string-width: "npm:^4.2.3" strong-log-transformer: "npm:^2.1.0" tar-stream: "npm:~2.2.0" @@ -23585,7 +23572,7 @@ __metadata: yargs: "npm:^17.6.2" yargs-parser: "npm:21.1.1" peerDependencies: - "@swc-node/register": ^1.6.7 + "@swc-node/register": ^1.8.0 "@swc/core": ^1.3.85 dependenciesMeta: "@nx/nx-darwin-arm64": @@ -23616,7 +23603,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10/174833bf08fdf4043110ce6adf4cf481c2d2c59e52489952d58d5416255b37b614c0f07df03a87ac943fbb47df87b3693ae9e2cc50df92182c1abd32af316810 + checksum: 10/21017002e647b4496267867f0a5c83c78c20beb3a211257b1c852efb715867d28906af5c4d1e5ae58975cf2dde835adbaeb7148cdf29ac015c1515d723b07589 languageName: node linkType: hard @@ -23856,6 +23843,22 @@ __metadata: languageName: node linkType: hard +"ora@npm:5.3.0": + version: 5.3.0 + resolution: "ora@npm:5.3.0" + dependencies: + bl: "npm:^4.0.3" + chalk: "npm:^4.1.0" + cli-cursor: "npm:^3.1.0" + cli-spinners: "npm:^2.5.0" + is-interactive: "npm:^1.0.0" + log-symbols: "npm:^4.0.0" + strip-ansi: "npm:^6.0.0" + wcwidth: "npm:^1.0.1" + checksum: 10/989a075b596c297acfee647010e555709bd657dedd9eee9ff99d923cbc65c68b6189c2c9ea58167675b101433509f87d1674a84047c7b766babab15d9220f1d5 + languageName: node + linkType: hard + "ora@npm:^5.4.1": version: 5.4.1 resolution: "ora@npm:5.4.1" @@ -27823,17 +27826,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.3": - version: 7.5.3 - resolution: "semver@npm:7.5.3" - dependencies: - lru-cache: "npm:^6.0.0" - bin: - semver: bin/semver.js - checksum: 10/80b4b3784abff33bacf200727e012dc66768ed5835441e0a802ba9f3f5dd6b10ee366294711f5e7e13d73b82a6127ea55f11f9884d35e76a6a618dc11bc16ccf - languageName: node - linkType: hard - "semver@npm:7.6.0, semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0": version: 7.6.0 resolution: "semver@npm:7.6.0"