Skip to content

Commit

Permalink
chore(repo): update nx to 18.0.2 (#21562)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7409125)
  • Loading branch information
FrozenPandaz committed Feb 7, 2024
1 parent 3b4ac84 commit 5315052
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 325 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,21 @@
"@ngrx/store": "17.0.1",
"@nuxt/kit": "^3.10.0",
"@nuxt/schema": "^3.10.0",
"@nx/angular": "17.3.0-rc.1",
"@nx/cypress": "17.3.0-rc.1",
"@nx/devkit": "17.3.0-rc.1",
"@nx/esbuild": "17.3.0-rc.1",
"@nx/eslint": "17.3.0-rc.1",
"@nx/eslint-plugin": "17.3.0-rc.1",
"@nx/jest": "17.3.0-rc.1",
"@nx/js": "17.3.0-rc.1",
"@nx/next": "17.3.0-rc.1",
"@nx/playwright": "17.3.0-rc.1",
"@nx/react": "17.3.0-rc.1",
"@nx/storybook": "17.3.0-rc.1",
"@nx/vite": "17.3.0-rc.1",
"@nx/web": "17.3.0-rc.1",
"@nx/webpack": "17.3.0-rc.1",
"@nx/angular": "18.0.2",
"@nx/cypress": "18.0.2",
"@nx/devkit": "18.0.2",
"@nx/esbuild": "18.0.2",
"@nx/eslint": "18.0.2",
"@nx/eslint-plugin": "18.0.2",
"@nx/jest": "18.0.2",
"@nx/js": "18.0.2",
"@nx/next": "18.0.2",
"@nx/playwright": "18.0.2",
"@nx/react": "18.0.2",
"@nx/storybook": "18.0.2",
"@nx/vite": "18.0.2",
"@nx/web": "18.0.2",
"@nx/webpack": "18.0.2",
"@phenomnomnominal/tsquery": "~5.0.1",
"@playwright/test": "^1.36.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
Expand Down Expand Up @@ -232,7 +232,7 @@
"node-fetch": "^2.6.7",
"npm-package-arg": "11.0.1",
"nuxt": "^3.10.0",
"nx": "17.3.0-rc.1",
"nx": "18.0.2",
"octokit": "^2.0.14",
"open": "^8.4.0",
"openai": "~4.3.1",
Expand Down
16 changes: 16 additions & 0 deletions packages/nx/src/utils/command-line-utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ import { withEnvironmentVariables as withEnvironment } from '../internal-testing
jest.mock('../project-graph/file-utils');

describe('splitArgs', () => {
let originalBase: string;
let originalHead: string;

beforeEach(() => {
originalBase = process.env.NX_BASE;
originalHead = process.env.NX_HEAD;

delete process.env.NX_BASE;
delete process.env.NX_HEAD;
});

afterEach(() => {
process.env.NX_BASE = originalBase;
process.env.NX_HEAD = originalHead;
});

it('should split nx specific arguments into nxArgs', () => {
expect(
splitArgsIntoNxArgsAndOverrides(
Expand Down
Loading

0 comments on commit 5315052

Please sign in to comment.