diff --git a/.github/workflows/ci_checks.yml b/.github/workflows/ci_checks.yml index ac227ee804..65b1a3a802 100644 --- a/.github/workflows/ci_checks.yml +++ b/.github/workflows/ci_checks.yml @@ -7,7 +7,7 @@ on: env: NX_CLOUD_DISTRIBUTED_EXECUTION: true - node_version: 14 + node_version: 16 jobs: checks: @@ -31,6 +31,8 @@ jobs: agent: [1, 2, 3] steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: ./.github/workflows/setup with: node_version: ${{ env.node_version }} @@ -45,6 +47,8 @@ jobs: - name: Set nx run variable run: echo "NX_RUN_GROUP=run-group-e2e-${{ github.run_id}}-${{ github.run_attempt }}" >> $GITHUB_ENV - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: ./.github/workflows/setup with: node_version: ${{ env.node_version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ffad41d2e2..71a73e549d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,7 @@ on: tags: - 'v*.*.*' env: - node_version: 14 + node_version: 16 jobs: publish: diff --git a/.github/workflows/setup/action.yml b/.github/workflows/setup/action.yml index 0a6d25eceb..6ee21b9713 100644 --- a/.github/workflows/setup/action.yml +++ b/.github/workflows/setup/action.yml @@ -17,6 +17,6 @@ runs: - run: yarn install --immutable shell: bash - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@v2 + uses: nrwl/nx-set-shas@v3 with: main-branch-name: 'master' diff --git a/.yarn/cache/@nrwl-angular-npm-14.8.2-19bdebcb2f-c859cf80ee.zip b/.yarn/cache/@nrwl-angular-npm-14.8.6-e7b3bcea86-a87f0b2a94.zip similarity index 88% rename from .yarn/cache/@nrwl-angular-npm-14.8.2-19bdebcb2f-c859cf80ee.zip rename to .yarn/cache/@nrwl-angular-npm-14.8.6-e7b3bcea86-a87f0b2a94.zip index d6e3f9fcff..da872005bf 100644 Binary files a/.yarn/cache/@nrwl-angular-npm-14.8.2-19bdebcb2f-c859cf80ee.zip and b/.yarn/cache/@nrwl-angular-npm-14.8.6-e7b3bcea86-a87f0b2a94.zip differ diff --git a/.yarn/cache/@nrwl-cli-npm-14.8.2-6d5f1e321c-18d698397c.zip b/.yarn/cache/@nrwl-cli-npm-14.8.6-89ca937db1-62d8bcf31e.zip similarity index 54% rename from .yarn/cache/@nrwl-cli-npm-14.8.2-6d5f1e321c-18d698397c.zip rename to .yarn/cache/@nrwl-cli-npm-14.8.6-89ca937db1-62d8bcf31e.zip index bccb23ffb3..5ac6db6f76 100644 Binary files a/.yarn/cache/@nrwl-cli-npm-14.8.2-6d5f1e321c-18d698397c.zip and b/.yarn/cache/@nrwl-cli-npm-14.8.6-89ca937db1-62d8bcf31e.zip differ diff --git a/.yarn/cache/@nrwl-cypress-npm-14.8.2-1adb6f7169-fe89023e1a.zip b/.yarn/cache/@nrwl-cypress-npm-14.8.6-31bcbedafe-e3183cd0e1.zip similarity index 92% rename from .yarn/cache/@nrwl-cypress-npm-14.8.2-1adb6f7169-fe89023e1a.zip rename to .yarn/cache/@nrwl-cypress-npm-14.8.6-31bcbedafe-e3183cd0e1.zip index a763e916ff..3bb229db93 100644 Binary files a/.yarn/cache/@nrwl-cypress-npm-14.8.2-1adb6f7169-fe89023e1a.zip and b/.yarn/cache/@nrwl-cypress-npm-14.8.6-31bcbedafe-e3183cd0e1.zip differ diff --git a/.yarn/cache/@nrwl-devkit-npm-14.8.2-9e3703088c-975e037c6f.zip b/.yarn/cache/@nrwl-devkit-npm-14.8.6-76d75c80a9-17ace6ef45.zip similarity index 97% rename from .yarn/cache/@nrwl-devkit-npm-14.8.2-9e3703088c-975e037c6f.zip rename to .yarn/cache/@nrwl-devkit-npm-14.8.6-76d75c80a9-17ace6ef45.zip index 1a63b667d1..6e4bf2760a 100644 Binary files a/.yarn/cache/@nrwl-devkit-npm-14.8.2-9e3703088c-975e037c6f.zip and b/.yarn/cache/@nrwl-devkit-npm-14.8.6-76d75c80a9-17ace6ef45.zip differ diff --git a/.yarn/cache/@nrwl-eslint-plugin-nx-npm-14.8.2-eb01f2c4be-8cfc52e2c1.zip b/.yarn/cache/@nrwl-eslint-plugin-nx-npm-14.8.6-ebaccfb9ac-ce88848a60.zip similarity index 91% rename from .yarn/cache/@nrwl-eslint-plugin-nx-npm-14.8.2-eb01f2c4be-8cfc52e2c1.zip rename to .yarn/cache/@nrwl-eslint-plugin-nx-npm-14.8.6-ebaccfb9ac-ce88848a60.zip index e7c3ffaec3..cf4c4ad987 100644 Binary files a/.yarn/cache/@nrwl-eslint-plugin-nx-npm-14.8.2-eb01f2c4be-8cfc52e2c1.zip and b/.yarn/cache/@nrwl-eslint-plugin-nx-npm-14.8.6-ebaccfb9ac-ce88848a60.zip differ diff --git a/.yarn/cache/@nrwl-jest-npm-14.8.2-178e0a237f-cef0114b76.zip b/.yarn/cache/@nrwl-jest-npm-14.8.6-048dcf8234-025afe3133.zip similarity index 92% rename from .yarn/cache/@nrwl-jest-npm-14.8.2-178e0a237f-cef0114b76.zip rename to .yarn/cache/@nrwl-jest-npm-14.8.6-048dcf8234-025afe3133.zip index f410cf0f8f..1cbd92f157 100644 Binary files a/.yarn/cache/@nrwl-jest-npm-14.8.2-178e0a237f-cef0114b76.zip and b/.yarn/cache/@nrwl-jest-npm-14.8.6-048dcf8234-025afe3133.zip differ diff --git a/.yarn/cache/@nrwl-js-npm-14.8.2-3967fcc46d-c1253aab2d.zip b/.yarn/cache/@nrwl-js-npm-14.8.6-1b2b9f53bb-0d7ed14ad6.zip similarity index 86% rename from .yarn/cache/@nrwl-js-npm-14.8.2-3967fcc46d-c1253aab2d.zip rename to .yarn/cache/@nrwl-js-npm-14.8.6-1b2b9f53bb-0d7ed14ad6.zip index 14ae4b22c2..48cbe07dc6 100644 Binary files a/.yarn/cache/@nrwl-js-npm-14.8.2-3967fcc46d-c1253aab2d.zip and b/.yarn/cache/@nrwl-js-npm-14.8.6-1b2b9f53bb-0d7ed14ad6.zip differ diff --git a/.yarn/cache/@nrwl-linter-npm-14.8.2-f672679829-6197cc53a4.zip b/.yarn/cache/@nrwl-linter-npm-14.8.6-b2c565e5a4-d48b84456f.zip similarity index 95% rename from .yarn/cache/@nrwl-linter-npm-14.8.2-f672679829-6197cc53a4.zip rename to .yarn/cache/@nrwl-linter-npm-14.8.6-b2c565e5a4-d48b84456f.zip index 999206409b..20fcc2d76c 100644 Binary files a/.yarn/cache/@nrwl-linter-npm-14.8.2-f672679829-6197cc53a4.zip and b/.yarn/cache/@nrwl-linter-npm-14.8.6-b2c565e5a4-d48b84456f.zip differ diff --git a/.yarn/cache/@nrwl-node-npm-14.8.2-310c8fe1c8-3249f48200.zip b/.yarn/cache/@nrwl-node-npm-14.8.6-6ddac5a875-61af6265d1.zip similarity index 84% rename from .yarn/cache/@nrwl-node-npm-14.8.2-310c8fe1c8-3249f48200.zip rename to .yarn/cache/@nrwl-node-npm-14.8.6-6ddac5a875-61af6265d1.zip index e5081317da..3b9c6c0dd4 100644 Binary files a/.yarn/cache/@nrwl-node-npm-14.8.2-310c8fe1c8-3249f48200.zip and b/.yarn/cache/@nrwl-node-npm-14.8.6-6ddac5a875-61af6265d1.zip differ diff --git a/.yarn/cache/@nrwl-nx-cloud-npm-14.7.0-f30671fed8-7d28e14bb1.zip b/.yarn/cache/@nrwl-nx-cloud-npm-15.0.0-96a0f8d7d6-d6230927e5.zip similarity index 68% rename from .yarn/cache/@nrwl-nx-cloud-npm-14.7.0-f30671fed8-7d28e14bb1.zip rename to .yarn/cache/@nrwl-nx-cloud-npm-15.0.0-96a0f8d7d6-d6230927e5.zip index 35491a840e..ed62353bfa 100644 Binary files a/.yarn/cache/@nrwl-nx-cloud-npm-14.7.0-f30671fed8-7d28e14bb1.zip and b/.yarn/cache/@nrwl-nx-cloud-npm-15.0.0-96a0f8d7d6-d6230927e5.zip differ diff --git a/.yarn/cache/@nrwl-storybook-npm-14.8.2-6081b40599-be5c662143.zip b/.yarn/cache/@nrwl-storybook-npm-14.8.6-71f5fe7ad6-aca3c78d3c.zip similarity index 92% rename from .yarn/cache/@nrwl-storybook-npm-14.8.2-6081b40599-be5c662143.zip rename to .yarn/cache/@nrwl-storybook-npm-14.8.6-71f5fe7ad6-aca3c78d3c.zip index 655bb36554..21c73d6ae7 100644 Binary files a/.yarn/cache/@nrwl-storybook-npm-14.8.2-6081b40599-be5c662143.zip and b/.yarn/cache/@nrwl-storybook-npm-14.8.6-71f5fe7ad6-aca3c78d3c.zip differ diff --git a/.yarn/cache/@nrwl-tao-npm-14.8.2-1bb8a5e9d4-78067a5c61.zip b/.yarn/cache/@nrwl-tao-npm-14.8.6-be436a771d-ea9b3fcce8.zip similarity index 73% rename from .yarn/cache/@nrwl-tao-npm-14.8.2-1bb8a5e9d4-78067a5c61.zip rename to .yarn/cache/@nrwl-tao-npm-14.8.6-be436a771d-ea9b3fcce8.zip index 5d471511ef..0a42f74463 100644 Binary files a/.yarn/cache/@nrwl-tao-npm-14.8.2-1bb8a5e9d4-78067a5c61.zip and b/.yarn/cache/@nrwl-tao-npm-14.8.6-be436a771d-ea9b3fcce8.zip differ diff --git a/.yarn/cache/@nrwl-webpack-npm-14.8.2-075352d917-9d26802219.zip b/.yarn/cache/@nrwl-webpack-npm-14.8.6-a831839bfd-e1e1996802.zip similarity index 75% rename from .yarn/cache/@nrwl-webpack-npm-14.8.2-075352d917-9d26802219.zip rename to .yarn/cache/@nrwl-webpack-npm-14.8.6-a831839bfd-e1e1996802.zip index 79e6d81a5d..704850fdf6 100644 Binary files a/.yarn/cache/@nrwl-webpack-npm-14.8.2-075352d917-9d26802219.zip and b/.yarn/cache/@nrwl-webpack-npm-14.8.6-a831839bfd-e1e1996802.zip differ diff --git a/.yarn/cache/@nrwl-workspace-npm-14.8.2-5bd268d6bd-2c50593039.zip b/.yarn/cache/@nrwl-workspace-npm-14.8.6-2bf84c5e8d-acc239d5d6.zip similarity index 92% rename from .yarn/cache/@nrwl-workspace-npm-14.8.2-5bd268d6bd-2c50593039.zip rename to .yarn/cache/@nrwl-workspace-npm-14.8.6-2bf84c5e8d-acc239d5d6.zip index f5a9beee89..2b542dfa20 100644 Binary files a/.yarn/cache/@nrwl-workspace-npm-14.8.2-5bd268d6bd-2c50593039.zip and b/.yarn/cache/@nrwl-workspace-npm-14.8.6-2bf84c5e8d-acc239d5d6.zip differ diff --git a/.yarn/cache/axios-npm-1.1.3-4b63965ac1-cab3b17bf6.zip b/.yarn/cache/axios-npm-1.1.3-4b63965ac1-cab3b17bf6.zip new file mode 100644 index 0000000000..c6edf58016 Binary files /dev/null and b/.yarn/cache/axios-npm-1.1.3-4b63965ac1-cab3b17bf6.zip differ diff --git a/.yarn/cache/nx-npm-14.8.2-ca8b8431f6-b0c0428366.zip b/.yarn/cache/nx-npm-14.8.6-807dcc2c25-cfb6360cec.zip similarity index 58% rename from .yarn/cache/nx-npm-14.8.2-ca8b8431f6-b0c0428366.zip rename to .yarn/cache/nx-npm-14.8.6-807dcc2c25-cfb6360cec.zip index 071b06be43..e498880595 100644 Binary files a/.yarn/cache/nx-npm-14.8.2-ca8b8431f6-b0c0428366.zip and b/.yarn/cache/nx-npm-14.8.6-807dcc2c25-cfb6360cec.zip differ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8f7164b0b..0d4bf9afd0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,33 +15,15 @@ We are trying to keep GitHub issues for bug reports and feature requests. Stack ## Running the Extension locally -In order to start Nx console in development mode, the repo needs to be built. Running `yarn watch` via the CLI or using the command prompt to execute `Tasks: Run Task -> Build and watch Nx Console` will automatically generate build artifacts whenever the code changes.
+In order to start Nx console in development mode, the repo needs to be built. Running `yarn watch` via the terminal or using the command prompt to execute `Tasks: Run Task -> Build and watch Nx Console` will automatically generate build artifacts whenever the code changes.
Use the `F5` key or the debug menu option `Launch Client + Server` to start the Extension Development Host. > :warning: Even though builds will be generated automatically, the Extension Development Host needs to be restarted in order to apply a new set of changes. -### Running Unit Tests - -- Run `nps test` to run unit tests. - -### Running Storybook - -- Run `nps storybook` to launch the storybook instance -- Run `nps storybook-e2e` to run the e2e tests on the storybook instance - ## Submitting a PR Please follow the following guidelines: -Run the following commands to make sure the linting and the tests pass. - -- `nps format.check` -- `nps lint` -- `nps test` -- `nps storybook-e2e` - -If `nps format.check` fails, run `nps format`. - ### Commit Message Guidelines Commit message have to follow the [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) format. A basic example is this: @@ -81,3 +63,16 @@ feat: add links to angular.io to the generate screen The generate screen shows links to docs explaining all command-line options in depth ``` + +### CI Checks + +We have CI checks that runs the tests, builds, lints and e2e on each pull request and commit to the default branch. This uses the `affected` commands so it should be quicker than trying to run everything locally. + +If you would like to run things locally, you can run the following commands: + +- `yarn nx format:check` (if this fails, run `yarn nx format:write`) +- `yarn nx run-many --target=test` +- `yarn nx run-many --target=build` +- `yarn nx run-many --target=e2e` + +And of course, you can use Nx Console itself to run individual tasks for whatever project you changed. diff --git a/README.md b/README.md index b29dcfbb45..26876e6ad3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,10 @@
-![Nx Console Screenshot](https://nx.dev/documentation/shared/nx-console-screenshot.png) + + + Nx Console - The UI for Nx & Lerna + ## Why Nx Console? diff --git a/apps/vscode-e2e/run-headless.ts b/apps/vscode-e2e/run-headless.ts deleted file mode 100644 index 78d47fdbaf..0000000000 --- a/apps/vscode-e2e/run-headless.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { execSync } from 'child_process'; - -// https://github.com/GabrielBB/xvfb-action/blob/master/index.js -function main() { - if (process.platform === 'linux') { - execSync('sudo apt-get install -y xvfb'); - } - console.log('starting xvfb...'); - execSync( - `xvfb-run -a --server-args="-screen 0 1920x1080x24" wdio run ./wdio.conf.ts`, - { - stdio: [0, 1, 2], - } - ); -} - -main(); diff --git a/apps/vscode/src/commands/refresh-workspace.ts b/apps/vscode/src/commands/refresh-workspace.ts index ad1398fb6c..141a557d15 100644 --- a/apps/vscode/src/commands/refresh-workspace.ts +++ b/apps/vscode/src/commands/refresh-workspace.ts @@ -1,8 +1,9 @@ import { NxWorkspaceRefreshNotification } from '@nx-console/language-server/types'; +import { checkIsNxWorkspace } from '@nx-console/shared/utils'; import { sendNotification } from '@nx-console/vscode/lsp-client'; import { getWorkspacePath, outputLogger } from '@nx-console/vscode/utils'; import { debounceTime, Subject } from 'rxjs'; -import { commands } from 'vscode'; +import { commands, window } from 'vscode'; export const REFRESH_WORKSPACE = 'nxConsole.refreshWorkspace'; @@ -10,7 +11,17 @@ const refresh = new Subject(); refresh.pipe(debounceTime(150)).subscribe(async () => { const { nxWorkspace } = await import('@nx-console/shared/workspace'); - await nxWorkspace(getWorkspacePath(), outputLogger, true); + const { daemonEnabled, workspaceType } = await nxWorkspace( + getWorkspacePath(), + outputLogger, + true + ); + if (!daemonEnabled && workspaceType === 'nx') { + window.showErrorMessage( + 'It looks like the Nx daemon is not enabled.\nPlease check your configuration and restart the daemon with `nx reset`.', + 'OK' + ); + } sendNotification(NxWorkspaceRefreshNotification); commands.executeCommand('nxConsole.refreshNxProjectsTree'); commands.executeCommand('nxConsole.refreshRunTargetTree'); diff --git a/apps/vscode/src/main.ts b/apps/vscode/src/main.ts index 5adb11c964..66e796c25b 100644 --- a/apps/vscode/src/main.ts +++ b/apps/vscode/src/main.ts @@ -66,7 +66,10 @@ import { refreshWorkspace, REFRESH_WORKSPACE, } from './commands/refresh-workspace'; -import { WorkspaceCodeLensProvider } from '@nx-console/vscode/nx-workspace'; +import { + stopDaemon, + WorkspaceCodeLensProvider, +} from '@nx-console/vscode/nx-workspace'; let runTargetTreeView: TreeView; let nxProjectTreeView: TreeView; @@ -156,6 +159,7 @@ export async function activate(c: ExtensionContext) { } export async function deactivate() { + await stopDaemon(); getTelemetry().extensionDeactivated(); teardownTelemetry(); } diff --git a/apps/vscode/src/package.json b/apps/vscode/src/package.json index 5f953fa78a..7ce7f6aa14 100644 --- a/apps/vscode/src/package.json +++ b/apps/vscode/src/package.json @@ -31,7 +31,8 @@ "react", "cli", "monorepo", - "nx" + "nx", + "lerna" ], "categories": [ "Other" @@ -749,7 +750,7 @@ }, "nxConsole.enableTaskExecutionDryRunOnChange": { "type": "boolean", - "default": false, + "default": true, "description": "Configures whether to do dry runs on change when using \"Generate\" command" } } diff --git a/libs/shared/workspace/src/lib/get-nx-workspace-config.ts b/libs/shared/workspace/src/lib/get-nx-workspace-config.ts index 8df459ad9d..71e61da7b1 100644 --- a/libs/shared/workspace/src/lib/get-nx-workspace-config.ts +++ b/libs/shared/workspace/src/lib/get-nx-workspace-config.ts @@ -5,6 +5,7 @@ import type { } from '@nrwl/devkit'; import { join } from 'path'; import { + getNxDaemonClient, getNxProjectGraph, getNxWorkspacePackageFileUtils, } from './get-nx-workspace-package'; @@ -15,6 +16,8 @@ import { Logger } from '@nx-console/shared/schema'; export type NxWorkspaceConfiguration = ProjectsConfigurations & NxJsonConfiguration; +let projectGraph: ProjectGraph | null = null; + /** * There's a couple things that we need to handle here. * @@ -32,6 +35,7 @@ export async function getNxWorkspaceConfig( ): Promise<{ workspaceConfiguration: NxWorkspaceConfiguration; configPath: string; + daemonEnabled?: boolean; }> { const version = await nxVersion(workspacePath); @@ -40,11 +44,14 @@ export async function getNxWorkspaceConfig( } try { - const [nxWorkspacePackage, nxProjectGraph] = await Promise.all([ - getNxWorkspacePackageFileUtils(workspacePath, logger), - getNxProjectGraph(workspacePath, logger), - ]); + const [nxWorkspacePackage, nxProjectGraph, nxDaemonClient] = + await Promise.all([ + getNxWorkspacePackageFileUtils(workspacePath, logger), + getNxProjectGraph(workspacePath, logger), + getNxDaemonClient(workspacePath, logger), + ]); const configFile = nxWorkspacePackage.workspaceFileName(); + const isDaemonEnabled = nxDaemonClient.daemonClient.enabled(); let workspaceConfiguration: NxWorkspaceConfiguration; try { @@ -58,7 +65,6 @@ export async function getNxWorkspaceConfig( ).workspaceConfiguration; } - let projectGraph: ProjectGraph | null = null; try { if (!isNxWorkspace) { throw 'No project graph support'; @@ -71,10 +77,14 @@ export async function getNxWorkspaceConfig( if (version.major < 13) { projectGraph = (nxProjectGraph as any).createProjectGraph(); } else { - projectGraph = await nxProjectGraph.createProjectGraphAsync({ - exitOnError: false, - resetDaemonClient: true, - }); + // we always want to try to get the project graph on first load. + // So even if the daemon is disabled, we still want to try to get the project graph + if (isDaemonEnabled || projectGraph === null) { + projectGraph = await nxProjectGraph.createProjectGraphAsync({ + exitOnError: false, + resetDaemonClient: true, + }); + } } } catch { //noop @@ -85,6 +95,7 @@ export async function getNxWorkspaceConfig( return { workspaceConfiguration, configPath: join(workspacePath, configFile), + daemonEnabled: isDaemonEnabled, }; } catch (e) { return readWorkspaceConfigs(format, workspacePath); diff --git a/libs/shared/workspace/src/lib/get-nx-workspace-package.ts b/libs/shared/workspace/src/lib/get-nx-workspace-package.ts index 68667f9efa..56e739f6d8 100644 --- a/libs/shared/workspace/src/lib/get-nx-workspace-package.ts +++ b/libs/shared/workspace/src/lib/get-nx-workspace-package.ts @@ -1,6 +1,7 @@ // import { getOutputChannel } from '@nx-console/utils'; import type * as NxFileUtils from 'nx/src/project-graph/file-utils'; import type * as NxProjectGraph from 'nx/src/project-graph/project-graph'; +import type * as NxDaemonClient from 'nx/src/daemon/client/client'; import { platform } from 'os'; import { join } from 'path'; import { findNxPackagePath } from '@nx-console/shared/npm'; @@ -10,6 +11,28 @@ declare function __non_webpack_require__(importPath: string): any; let RESOLVED_FILEUTILS_IMPORT: typeof NxFileUtils; let RESOLVED_PROJECTGRAPH_IMPORT: typeof NxProjectGraph; +let RESOLVED_DAEMON_CLIENT: typeof NxDaemonClient; + +export async function getNxDaemonClient( + workspacePath: string, + logger: Logger +): Promise { + if (RESOLVED_DAEMON_CLIENT) { + return RESOLVED_DAEMON_CLIENT; + } + + const importPath = await findNxPackagePath( + workspacePath, + join('src', 'daemon', 'client', 'client.js') + ); + const backupPackage = await import('nx/src/daemon/client/client'); + return getNxPackage( + importPath, + backupPackage, + RESOLVED_DAEMON_CLIENT, + logger + ); +} export async function getNxProjectGraph( workspacePath: string, diff --git a/libs/shared/workspace/src/lib/workspace.ts b/libs/shared/workspace/src/lib/workspace.ts index d4ce9d54f3..891f39517b 100644 --- a/libs/shared/workspace/src/lib/workspace.ts +++ b/libs/shared/workspace/src/lib/workspace.ts @@ -26,6 +26,7 @@ export interface NxWorkspace { workspace: NxWorkspaceConfiguration; workspaceType: 'ng' | 'nx'; configurationFilePath: string; + daemonEnabled?: boolean; workspacePath: string; isLerna: boolean; workspaceLayout: { @@ -106,6 +107,7 @@ async function _workspace( workspaceType: isAngularWorkspace ? 'ng' : 'nx', workspace: toWorkspaceFormat(config.workspaceConfiguration), configurationFilePath: config.configPath, + daemonEnabled: config.daemonEnabled, isLerna, workspaceLayout: { appsDir: diff --git a/libs/vscode/nx-workspace/src/index.ts b/libs/vscode/nx-workspace/src/index.ts index 2db41615bf..ae8bca91b8 100644 --- a/libs/vscode/nx-workspace/src/index.ts +++ b/libs/vscode/nx-workspace/src/index.ts @@ -1,3 +1,4 @@ export * from './lib/find-workspace-json-target'; export * from './lib/reveal-workspace-json'; export * from './lib/workspace-codelens-provider'; +export * from './lib/stop-daemon'; diff --git a/libs/vscode/nx-workspace/src/lib/stop-daemon.ts b/libs/vscode/nx-workspace/src/lib/stop-daemon.ts new file mode 100644 index 0000000000..864f872fc2 --- /dev/null +++ b/libs/vscode/nx-workspace/src/lib/stop-daemon.ts @@ -0,0 +1,15 @@ +import { getPackageManagerCommand } from '@nrwl/devkit'; +import { getWorkspacePath } from '@nx-console/vscode/utils'; +import { exec } from 'child_process'; +import { promisify } from 'util'; + +export async function stopDaemon() { + return promisify(exec)( + `${getPackageManagerCommand().exec} nx daemon --stop`, + { + cwd: getWorkspacePath(), + } + ).catch((e) => { + console.log(e); + }); +} diff --git a/package.json b/package.json index 9b1005e3e5..1668f3248e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@monodon/typescript-nx-imports-plugin": "0.2.0", - "@nrwl/devkit": "14.8.2", + "@nrwl/devkit": "14.8.6", "@yarnpkg/fslib": "2.6.1-rc.5", "@yarnpkg/libzip": "2.2.3-rc.5", "fast-glob": "^3.2.11", @@ -49,16 +49,16 @@ "@angular/platform-browser": "14.2.3", "@angular/platform-browser-dynamic": "14.2.3", "@babel/core": "7.5.4", - "@nrwl/angular": "14.8.2", - "@nrwl/cypress": "14.8.2", - "@nrwl/eslint-plugin-nx": "14.8.2", - "@nrwl/jest": "14.8.2", - "@nrwl/js": "14.8.2", - "@nrwl/linter": "14.8.2", - "@nrwl/node": "14.8.2", - "@nrwl/nx-cloud": "14.7.0", - "@nrwl/storybook": "14.8.2", - "@nrwl/workspace": "14.8.2", + "@nrwl/angular": "14.8.6", + "@nrwl/cypress": "14.8.6", + "@nrwl/eslint-plugin-nx": "14.8.6", + "@nrwl/jest": "14.8.6", + "@nrwl/js": "14.8.6", + "@nrwl/linter": "14.8.6", + "@nrwl/node": "14.8.6", + "@nrwl/nx-cloud": "15.0.0", + "@nrwl/storybook": "14.8.6", + "@nrwl/workspace": "14.8.6", "@storybook/addon-essentials": "6.5.9", "@storybook/addon-knobs": "~6.4.0", "@storybook/angular": "6.5.9", @@ -94,7 +94,7 @@ "jest-preset-angular": "12.2.2", "memfs": "^3.4.7", "mocha": "^10.0.0", - "nx": "14.8.2", + "nx": "14.8.6", "ovsx": "^0.3.0", "prettier": "2.7.1", "rimraf": "^3.0.2", diff --git a/static/nx-console-ui-dark.png b/static/nx-console-ui-dark.png new file mode 100644 index 0000000000..b0748da1e4 Binary files /dev/null and b/static/nx-console-ui-dark.png differ diff --git a/static/nx-console-ui-light.png b/static/nx-console-ui-light.png new file mode 100644 index 0000000000..3742bad6d4 Binary files /dev/null and b/static/nx-console-ui-light.png differ diff --git a/yarn.lock b/yarn.lock index 3249567dbf..883e35d545 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3502,18 +3502,18 @@ __metadata: languageName: node linkType: hard -"@nrwl/angular@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/angular@npm:14.8.2" +"@nrwl/angular@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/angular@npm:14.8.6" dependencies: "@angular-devkit/schematics": ~14.2.0 - "@nrwl/cypress": 14.8.2 - "@nrwl/devkit": 14.8.2 - "@nrwl/jest": 14.8.2 - "@nrwl/linter": 14.8.2 - "@nrwl/storybook": 14.8.2 - "@nrwl/webpack": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/cypress": 14.8.6 + "@nrwl/devkit": 14.8.6 + "@nrwl/jest": 14.8.6 + "@nrwl/linter": 14.8.6 + "@nrwl/storybook": 14.8.6 + "@nrwl/webpack": 14.8.6 + "@nrwl/workspace": 14.8.6 "@phenomnomnominal/tsquery": 4.1.1 "@schematics/angular": ~14.2.0 chalk: 4.1.0 @@ -3529,29 +3529,29 @@ __metadata: tslib: ^2.3.0 webpack: ^5.58.1 webpack-merge: 5.7.3 - checksum: c859cf80ee6b89521eee388f82e21ccca3e92b980668859813709bba9b1aa1f02398507b7a509f8d4789523ba18c7a7e51fd958ed3f3a3033a9fe88ce1bd9b40 + checksum: a87f0b2a945bb27eea04d49b62b2ef51ff5b7da3b125549f13aed24398ae6c98be464913a02aa9de6097feedf4030f3567a8093416a5ad278ce3f787bd1eb0aa languageName: node linkType: hard -"@nrwl/cli@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/cli@npm:14.8.2" +"@nrwl/cli@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/cli@npm:14.8.6" dependencies: - nx: 14.8.2 - checksum: 18d698397cd0536109b1a6dbe50e9ec13063dde2793b49ab25d3db3f55ec74931ad20ae32375c5d2a1554d9c91f5b1152e42d6738aaca3ebecca4735bd4916c8 + nx: 14.8.6 + checksum: 62d8bcf31e6156769d5941460c0bdbc848f8d87e64f13241a11bec273eebb691cf5ffc87b4208ee08294f3f20ab4e2701a0be86dcbaef933731381a8119bcbaa languageName: node linkType: hard -"@nrwl/cypress@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/cypress@npm:14.8.2" +"@nrwl/cypress@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/cypress@npm:14.8.6" dependencies: "@babel/core": ^7.0.1 "@babel/preset-env": ^7.0.0 "@cypress/webpack-preprocessor": ^5.12.0 - "@nrwl/devkit": 14.8.2 - "@nrwl/linter": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/linter": 14.8.6 + "@nrwl/workspace": 14.8.6 "@phenomnomnominal/tsquery": 4.1.1 babel-loader: ^8.0.2 chalk: 4.1.0 @@ -3567,7 +3567,7 @@ __metadata: peerDependenciesMeta: cypress: optional: true - checksum: fe89023e1abe2966c1ffc094b81bc6bbf3e7d1b919de7ef7c8221704343aa6457bd61ef0b4d52566aaea8baa556364908e842aeb35a155826a9960a16a956b86 + checksum: e3183cd0e10828ea86afc5b2e3a18225bbb353937b518891cc7d59ee248a35d74e17ba246d759dedb80f3b3b78491ee7bb6f103fe23f6014e339afba8af39538 languageName: node linkType: hard @@ -3586,9 +3586,9 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/devkit@npm:14.8.2" +"@nrwl/devkit@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/devkit@npm:14.8.6" dependencies: "@phenomnomnominal/tsquery": 4.1.1 ejs: ^3.1.7 @@ -3596,16 +3596,16 @@ __metadata: tslib: ^2.3.0 peerDependencies: nx: ">= 13.10 <= 15" - checksum: 975e037c6f53181b1de9dc90a942181f7854a331ff67d78aac644f27185104dcc81a7bf211ae139faa0b25f22b3f499ebd70046f2e60413b65992a53e5697632 + checksum: 17ace6ef45fb0e67036470a651f00098bf8a3739e26f2067cb0f6c448ee54fc0d4f2d347b8028080eebe0aeff9232d833c0ca2e2d6a4ea9d9e5d7ab596b56f21 languageName: node linkType: hard -"@nrwl/eslint-plugin-nx@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/eslint-plugin-nx@npm:14.8.2" +"@nrwl/eslint-plugin-nx@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/eslint-plugin-nx@npm:14.8.6" dependencies: - "@nrwl/devkit": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/workspace": 14.8.6 "@typescript-eslint/utils": ^5.36.1 chalk: 4.1.0 confusing-browser-globals: ^1.0.9 @@ -3616,17 +3616,17 @@ __metadata: peerDependenciesMeta: eslint-config-prettier: optional: true - checksum: 8cfc52e2c143ca2e1ae3a8c19d3ba92190937fc2ce992978339a3d17917018d340336342261ceac927a066fc7684fff3c7f9b9911c28186cdee1852911958c4f + checksum: ce88848a603efbaef6f015c866b0595bb5fdb3dc69a7d12332a71a197721c6dc59b2e5abd734b307b272d35228eb2860471266d222efa37067f0f5fc377a549d languageName: node linkType: hard -"@nrwl/jest@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/jest@npm:14.8.2" +"@nrwl/jest@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/jest@npm:14.8.6" dependencies: "@jest/reporters": 28.1.1 "@jest/test-result": 28.1.1 - "@nrwl/devkit": 14.8.2 + "@nrwl/devkit": 14.8.6 "@phenomnomnominal/tsquery": 4.1.1 chalk: 4.1.0 dotenv: ~10.0.0 @@ -3636,18 +3636,18 @@ __metadata: jest-util: 28.1.1 resolve.exports: 1.1.0 tslib: ^2.3.0 - checksum: cef0114b76928df22fbede7ec658f361808c1bb25a7befa0e893e4e400cc7cf8e2675efc17fe3d937293795e4f22b66732f78428fcc3de02df11f6c43af0b412 + checksum: 025afe3133686c33dd050c6912556cd4809389e1358d6b53737c0ec046fc49d81e55615284871129817a1e81c7c67a764daa4e659eb8cae787927e5658d26b6e languageName: node linkType: hard -"@nrwl/js@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/js@npm:14.8.2" +"@nrwl/js@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/js@npm:14.8.6" dependencies: - "@nrwl/devkit": 14.8.2 - "@nrwl/jest": 14.8.2 - "@nrwl/linter": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/jest": 14.8.6 + "@nrwl/linter": 14.8.6 + "@nrwl/workspace": 14.8.6 "@parcel/watcher": 2.0.4 chalk: 4.1.0 fast-glob: 3.2.7 @@ -3657,18 +3657,18 @@ __metadata: minimatch: 3.0.5 source-map-support: 0.5.19 tree-kill: 1.2.2 - checksum: c1253aab2da1a12ecd91f0c19c5824697ed9a3f8683310d38773a81cd56e42f2980e6d1c89403eb27b5139b87f45189b8eb245d701a5acbd28e357a941f72ba6 + checksum: 0d7ed14ad6ad087834100747325db87950cd80f2fe38a78c6c7b0651ba4d149d1b6c6abb7e1843f4511dec5708ce18c6b5a394100f13ca7f33563d220223ce4f languageName: node linkType: hard -"@nrwl/linter@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/linter@npm:14.8.2" +"@nrwl/linter@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/linter@npm:14.8.6" dependencies: - "@nrwl/devkit": 14.8.2 - "@nrwl/jest": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/jest": 14.8.6 "@phenomnomnominal/tsquery": 4.1.1 - nx: 14.8.2 + nx: 14.8.6 tmp: ~0.2.1 tslib: ^2.3.0 peerDependencies: @@ -3676,31 +3676,31 @@ __metadata: peerDependenciesMeta: eslint: optional: true - checksum: 6197cc53a4858ac093ba483598c04a2d1ed202b5f11d6824493411423ddb971fb42d4b319bccaa6e74a61f718edaa06560434b951b9f07b9f4c1697db73b95db + checksum: d48b84456ff6644716fcfbc274c7a5e49b7c8b722ea20c4a8d1e532561b746e6f5be0737573b39367ec6306004ff819f8ef3fbd4e6afe8e491b36617408870d6 languageName: node linkType: hard -"@nrwl/node@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/node@npm:14.8.2" +"@nrwl/node@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/node@npm:14.8.6" dependencies: - "@nrwl/devkit": 14.8.2 - "@nrwl/jest": 14.8.2 - "@nrwl/js": 14.8.2 - "@nrwl/linter": 14.8.2 - "@nrwl/webpack": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/jest": 14.8.6 + "@nrwl/js": 14.8.6 + "@nrwl/linter": 14.8.6 + "@nrwl/webpack": 14.8.6 + "@nrwl/workspace": 14.8.6 chalk: 4.1.0 tslib: ^2.3.0 - checksum: 3249f48200758248d39cbb5241a5767377ad17d642d9be5feaca7590652006361060595ae868cea493892f83bdb1e3031114522699e6f2aeca62d12f26dcc4b9 + checksum: 61af6265d1deb90e4a2bc5ba3a2a06e2f758732a88e996826001e9c40c66e044a1608e1102ef294349fc24b00500e6a8a61eecdb75dfbd0fb4d0257f2058e658 languageName: node linkType: hard -"@nrwl/nx-cloud@npm:14.7.0": - version: 14.7.0 - resolution: "@nrwl/nx-cloud@npm:14.7.0" +"@nrwl/nx-cloud@npm:15.0.0": + version: 15.0.0 + resolution: "@nrwl/nx-cloud@npm:15.0.0" dependencies: - axios: ^0.21.1 + axios: ^0.21.2 chalk: 4.1.0 dotenv: ~10.0.0 fs-extra: ^10.1.0 @@ -3710,42 +3710,42 @@ __metadata: yargs-parser: ">=21.0.1" bin: nx-cloud: bin/nx-cloud.js - checksum: 7d28e14bb1d9382f5ba7228bb935e5b071695d5c0b0459dfe999ba8c46c390dae70fa6d05a2b69d9867f1368801ee972f9b7585fc3ee433b696dcc2fc6267590 + checksum: d6230927e5d2c807b225d8ceb91f78888f7e9459fc69ffac04ae5bba2a513fdfd73a461940d1916b635437973391e38937efcff754c346a5fe473e2df80bdcda languageName: node linkType: hard -"@nrwl/storybook@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/storybook@npm:14.8.2" +"@nrwl/storybook@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/storybook@npm:14.8.6" dependencies: - "@nrwl/cypress": 14.8.2 - "@nrwl/devkit": 14.8.2 - "@nrwl/linter": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/cypress": 14.8.6 + "@nrwl/devkit": 14.8.6 + "@nrwl/linter": 14.8.6 + "@nrwl/workspace": 14.8.6 dotenv: ~10.0.0 semver: 7.3.4 - checksum: be5c66214309680dd933ebb10465cc609e46eebfacdf047ceda9a080d46afe856eff4ffc1596609f48ac3744e9d43ac0bc744ecf71d35512630bdab07934df76 + checksum: aca3c78d3c034c2d8c65685b03540d61096522a6395a04da539c687788dbc788d0a0b70cc725c236ad6b9f5329c65a05b00e9e0f036f83e641ce11c4c282dfb5 languageName: node linkType: hard -"@nrwl/tao@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/tao@npm:14.8.2" +"@nrwl/tao@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/tao@npm:14.8.6" dependencies: - nx: 14.8.2 + nx: 14.8.6 bin: tao: index.js - checksum: 78067a5c61b88c7cc43b0313dd1a96cc40149b84f349f2c634dd8ee5514b9d71deca28267a03fa081c8c5877d406e3774046c4927f0111c9f5c5571fd617e254 + checksum: ea9b3fcce87679a5b3899b4c9c2675f733bee94f39a925ddf831bc7b80ae4edda0cdccf4a0e5f3ef5b73edba26b71c0991ef4dd6bc0f7dae0d9733d2269ad9aa languageName: node linkType: hard -"@nrwl/webpack@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/webpack@npm:14.8.2" +"@nrwl/webpack@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/webpack@npm:14.8.6" dependencies: - "@nrwl/devkit": 14.8.2 - "@nrwl/js": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/js": 14.8.6 + "@nrwl/workspace": 14.8.6 autoprefixer: ^10.4.9 babel-loader: ^8.2.2 browserslist: ^4.16.6 @@ -3789,17 +3789,17 @@ __metadata: webpack-node-externals: ^3.0.0 webpack-sources: ^3.2.3 webpack-subresource-integrity: ^5.1.0 - checksum: 9d268022197cb6321aad4d8a31aeed1ca7190acc2d036fbdd54695e897eae55070369aa54509dfe3b31d4d87749417f603f27771c3b4f52e18d3f95336304143 + checksum: e1e19968022f9b71c7c74b5bc8ecc8faf8966235a2daa55049fa3886a38e9b00ac44e5c1c30a3c1172f86b14aecec2c984f511f3351048b62190f0f437630753 languageName: node linkType: hard -"@nrwl/workspace@npm:14.8.2": - version: 14.8.2 - resolution: "@nrwl/workspace@npm:14.8.2" +"@nrwl/workspace@npm:14.8.6": + version: 14.8.6 + resolution: "@nrwl/workspace@npm:14.8.6" dependencies: - "@nrwl/devkit": 14.8.2 - "@nrwl/jest": 14.8.2 - "@nrwl/linter": 14.8.2 + "@nrwl/devkit": 14.8.6 + "@nrwl/jest": 14.8.6 + "@nrwl/linter": 14.8.6 "@parcel/watcher": 2.0.4 chalk: 4.1.0 chokidar: ^3.5.1 @@ -3814,7 +3814,7 @@ __metadata: ignore: ^5.0.4 minimatch: 3.0.5 npm-run-path: ^4.0.1 - nx: 14.8.2 + nx: 14.8.6 open: ^8.4.0 rxjs: ^6.5.4 semver: 7.3.4 @@ -3827,7 +3827,7 @@ __metadata: peerDependenciesMeta: prettier: optional: true - checksum: 2c505930394f2eb4a28c4e17df007fdf9dcdb799174e6288f27b435502073785b9f842ea555f51361a906702988779b65b6362f34a540d376c77cc23b14265e2 + checksum: acc239d5d61d3c13be089672439ec62a194cd3333dd722a415383a73a3c6fc161c814ae49eaaa9b7e9ec43e32876d0e8864ac454066138a753017ce71304381c languageName: node linkType: hard @@ -8143,7 +8143,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^0.21.1": +"axios@npm:^0.21.2": version: 0.21.4 resolution: "axios@npm:0.21.4" dependencies: @@ -8152,6 +8152,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.0.0": + version: 1.1.3 + resolution: "axios@npm:1.1.3" + dependencies: + follow-redirects: ^1.15.0 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: cab3b17bf6092c9387f7023d699db093cfa23650b56c4422cd474d124b78b2e3b5a520f932c330664a58ab85b867b1c25a95cace475ef72d236888c852b84e6d + languageName: node + linkType: hard + "axobject-query@npm:3.0.1": version: 3.0.1 resolution: "axobject-query@npm:3.0.1" @@ -13958,7 +13969,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.13.2, follow-redirects@npm:^1.14.0": +"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.13.2, follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.15.0": version: 1.15.2 resolution: "follow-redirects@npm:1.15.2" peerDependenciesMeta: @@ -20309,17 +20320,17 @@ __metadata: "@angular/platform-browser-dynamic": 14.2.3 "@babel/core": 7.5.4 "@monodon/typescript-nx-imports-plugin": 0.2.0 - "@nrwl/angular": 14.8.2 - "@nrwl/cypress": 14.8.2 - "@nrwl/devkit": 14.8.2 - "@nrwl/eslint-plugin-nx": 14.8.2 - "@nrwl/jest": 14.8.2 - "@nrwl/js": 14.8.2 - "@nrwl/linter": 14.8.2 - "@nrwl/node": 14.8.2 - "@nrwl/nx-cloud": 14.7.0 - "@nrwl/storybook": 14.8.2 - "@nrwl/workspace": 14.8.2 + "@nrwl/angular": 14.8.6 + "@nrwl/cypress": 14.8.6 + "@nrwl/devkit": 14.8.6 + "@nrwl/eslint-plugin-nx": 14.8.6 + "@nrwl/jest": 14.8.6 + "@nrwl/js": 14.8.6 + "@nrwl/linter": 14.8.6 + "@nrwl/node": 14.8.6 + "@nrwl/nx-cloud": 15.0.0 + "@nrwl/storybook": 14.8.6 + "@nrwl/workspace": 14.8.6 "@storybook/addon-essentials": 6.5.9 "@storybook/addon-knobs": ~6.4.0 "@storybook/angular": 6.5.9 @@ -20360,7 +20371,7 @@ __metadata: jsonc-parser: ^3.0.0 memfs: ^3.4.7 mocha: ^10.0.0 - nx: 14.8.2 + nx: 14.8.6 ovsx: ^0.3.0 prettier: 2.7.1 request-light: ^0.5.8 @@ -20386,16 +20397,17 @@ __metadata: languageName: unknown linkType: soft -"nx@npm:14.8.2": - version: 14.8.2 - resolution: "nx@npm:14.8.2" +"nx@npm:14.8.6": + version: 14.8.6 + resolution: "nx@npm:14.8.6" dependencies: - "@nrwl/cli": 14.8.2 - "@nrwl/tao": 14.8.2 + "@nrwl/cli": 14.8.6 + "@nrwl/tao": 14.8.6 "@parcel/watcher": 2.0.4 "@yarnpkg/lockfile": ^1.1.0 "@yarnpkg/parsers": ^3.0.0-rc.18 "@zkochan/js-yaml": 0.0.6 + axios: ^1.0.0 chalk: 4.1.0 chokidar: ^3.5.1 cli-cursor: 3.1.0 @@ -20434,7 +20446,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: b0c0428366f867e20d5f89d8e9bf2f8c8b6f9c0a60a7b8bebc3617d652b0e33109bc8bce352b9e7218db69eb181b0bacb3378c3d0f5b063acfd986ed0b35f7df + checksum: cfb6360ceca6ed39367c1f9cccd9f1826068d7ae4714f2c66f4def0e9853d2d62b8fec3469b9209d47bf7fb983d23bbb1e42abc2952a8f07918dc859b74e198e languageName: node linkType: hard @@ -22687,7 +22699,7 @@ __metadata: languageName: node linkType: hard -"proxy-from-env@npm:1.1.0": +"proxy-from-env@npm:1.1.0, proxy-from-env@npm:^1.1.0": version: 1.1.0 resolution: "proxy-from-env@npm:1.1.0" checksum: ed7fcc2ba0a33404958e34d95d18638249a68c430e30fcb6c478497d72739ba64ce9810a24f53a7d921d0c065e5b78e3822759800698167256b04659366ca4d4