chore(repo): update nx to 19.1.0-beta.1 (#24023)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

This repo uses Nx 19.0.0-rc.1

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

This repo uses Nx 19.1.0-beta.1
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
This commit is contained in:
Jason Jean 2024-05-22 10:18:53 -04:00 committed by GitHub
parent 32030435b7
commit 6e6211d072
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 329 additions and 390 deletions

View File

@ -64,21 +64,21 @@
"@ngrx/store": "17.0.1",
"@nuxt/kit": "^3.10.0",
"@nuxt/schema": "^3.10.0",
"@nx/angular": "19.0.0-rc.1",
"@nx/cypress": "19.0.0-rc.1",
"@nx/devkit": "19.0.0-rc.1",
"@nx/esbuild": "19.0.0-rc.1",
"@nx/eslint": "19.0.0-rc.1",
"@nx/eslint-plugin": "19.0.0-rc.1",
"@nx/jest": "19.0.0-rc.1",
"@nx/js": "19.0.0-rc.1",
"@nx/next": "19.0.0-rc.1",
"@nx/playwright": "19.0.0-rc.1",
"@nx/react": "19.0.0-rc.1",
"@nx/storybook": "19.0.0-rc.1",
"@nx/vite": "19.0.0-rc.1",
"@nx/web": "19.0.0-rc.1",
"@nx/webpack": "19.0.0-rc.1",
"@nx/angular": "19.1.0-beta.1",
"@nx/cypress": "19.1.0-beta.1",
"@nx/devkit": "19.1.0-beta.1",
"@nx/esbuild": "19.1.0-beta.1",
"@nx/eslint": "19.1.0-beta.1",
"@nx/eslint-plugin": "19.1.0-beta.1",
"@nx/jest": "19.1.0-beta.1",
"@nx/js": "19.1.0-beta.1",
"@nx/next": "19.1.0-beta.1",
"@nx/playwright": "19.1.0-beta.1",
"@nx/react": "19.1.0-beta.1",
"@nx/storybook": "19.1.0-beta.1",
"@nx/vite": "19.1.0-beta.1",
"@nx/web": "19.1.0-beta.1",
"@nx/webpack": "19.1.0-beta.1",
"@phenomnomnominal/tsquery": "~5.0.1",
"@playwright/test": "^1.36.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
@ -152,7 +152,7 @@
"convert-source-map": "^2.0.0",
"copy-webpack-plugin": "^10.2.4",
"css-minimizer-webpack-plugin": "^5.0.0",
"cypress": "^13.6.6",
"cypress": "13.9.0",
"cytoscape": "^3.18.2",
"cytoscape-dagre": "^2.4.0",
"cytoscape-popper": "^2.0.0",
@ -165,7 +165,7 @@
"enhanced-resolve": "^5.8.3",
"esbuild": "0.19.5",
"eslint": "8.57.0",
"eslint-config-next": "14.0.4",
"eslint-config-next": "14.2.3",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "2.14.0",
"eslint-plugin-import": "2.27.5",
@ -230,7 +230,7 @@
"node-fetch": "^2.6.7",
"npm-package-arg": "11.0.1",
"nuxt": "^3.10.0",
"nx": "19.0.0-rc.1",
"nx": "19.1.0-beta.1",
"octokit": "^2.0.14",
"open": "^8.4.0",
"openai": "~4.3.1",
@ -332,7 +332,7 @@
"json-schema-to-typescript": "^10.1.5",
"jsonpointer": "^5.0.0",
"license-checker": "^25.0.1",
"next": "14.0.4",
"next": "14.2.3",
"next-seo": "^5.13.0",
"node-machine-id": "1.1.12",
"npm-run-path": "^4.0.1",
@ -366,10 +366,5 @@
"documentation"
]
},
"packageManager": "pnpm@8.15.7",
"pnpm": {
"patchedDependencies": {
"@nx/js@19.0.0-rc.1": "patches/@nx__js@19.0.0-rc.1.patch"
}
}
"packageManager": "pnpm@8.15.7"
}

View File

@ -1,37 +0,0 @@
diff --git a/src/plugins/jest/start-local-registry.d.ts b/src/plugins/jest/start-local-registry.d.ts
index 4bd827c50cd20cc103ed42c0d2871d9a09dc2cce..05bfdc4e4ceb0722d0536b0ab29c9348fd436796 100644
--- a/src/plugins/jest/start-local-registry.d.ts
+++ b/src/plugins/jest/start-local-registry.d.ts
@@ -3,10 +3,12 @@
* @param localRegistryTarget the target to run to start the local registry e.g. workspace:local-registry
* @param storage the storage location for the local registry
* @param verbose whether to log verbose output
+ * @param clearStorage whether to clear the verdaccio storage before running the registry
*/
export declare function startLocalRegistry({ localRegistryTarget, storage, verbose, }: {
localRegistryTarget: string;
storage?: string;
verbose?: boolean;
+ clearStorage?: boolean;
}): Promise<() => void>;
export default startLocalRegistry;
diff --git a/src/plugins/jest/start-local-registry.js b/src/plugins/jest/start-local-registry.js
index 907fdc6bf0726c18cb88083a9a49d5dff85ded1f..15ffe0bf50740786d6a0ea205a6752f147f11351 100644
--- a/src/plugins/jest/start-local-registry.js
+++ b/src/plugins/jest/start-local-registry.js
@@ -8,13 +8,13 @@ const child_process_1 = require("child_process");
* @param storage the storage location for the local registry
* @param verbose whether to log verbose output
*/
-function startLocalRegistry({ localRegistryTarget, storage, verbose, }) {
+function startLocalRegistry({ localRegistryTarget, storage, verbose, clearStorage }) {
if (!localRegistryTarget) {
throw new Error(`localRegistryTarget is required`);
}
return new Promise((resolve, reject) => {
const childProcess = (0, child_process_1.fork)(require.resolve('nx'), [
- ...`run ${localRegistryTarget} --location none --clear true`.split(' '),
+ ...`run ${localRegistryTarget} --location none --clear ${clearStorage ?? true}`.split(' '),
...(storage ? [`--storage`, storage] : []),
], { stdio: 'pipe' });
const listener = (data) => {

637
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff