Skip to content

Commit 989f7f8

Browse files
authored
chore(repo): update nx to 16.6.0-beta.8 (#18356)
1 parent d1d0634 commit 989f7f8

17 files changed

Lines changed: 1185 additions & 744 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ jobs:
211211
NX_DAEMON: 'true'
212212
NX_PERF_LOGGING: 'false'
213213
SELECTED_PM: 'npm' # explicitly define npm for macOS tests
214+
NX_SKIP_NX_CACHE: 'true' # TODO: Figure out what is going on with the cache and renable it
214215
steps:
215216
- run:
216217
name: Set dynamic nx run variable

e2e/utils/create-project-utils.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,19 @@ export function runCreateWorkspace(
202202
command += ` ${extraArgs}`;
203203
}
204204

205+
if (isCI) {
206+
command += ` --verbose`;
207+
}
208+
205209
try {
206210
const create = execSync(`${command}${isVerbose() ? ' --verbose' : ''}`, {
207211
cwd,
208212
stdio: 'pipe',
209-
env: { CI: 'true', ...process.env },
213+
env: {
214+
CI: 'true',
215+
NX_VERBOSE_LOGGING: isCI ? 'true' : 'false',
216+
...process.env,
217+
},
210218
encoding: 'utf-8',
211219
});
212220

nx.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,14 @@
5858
},
5959
"targetDefaults": {
6060
"build": {
61-
"dependsOn": ["build-base"],
62-
"inputs": ["production", "^production"]
61+
"dependsOn": ["build-base", "build-native"],
62+
"inputs": [
63+
"production",
64+
"^production",
65+
{
66+
"dependentTasksOutputFiles": "**/*.node"
67+
}
68+
]
6369
},
6470
"build-native": {
6571
"inputs": ["native"]

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@
6363
"@ngrx/router-store": "~16.0.0",
6464
"@ngrx/store": "~16.0.0",
6565
"@nguniversal/builders": "~16.1.0",
66-
"@nx/cypress": "16.6.0-beta.4",
67-
"@nx/devkit": "16.6.0-beta.4",
68-
"@nx/eslint-plugin": "16.6.0-beta.4",
69-
"@nx/jest": "16.6.0-beta.4",
70-
"@nx/js": "16.6.0-beta.4",
71-
"@nx/linter": "16.6.0-beta.4",
72-
"@nx/next": "16.6.0-beta.4",
73-
"@nx/react": "16.6.0-beta.4",
74-
"@nx/storybook": "16.6.0-beta.4",
75-
"@nx/web": "16.6.0-beta.4",
76-
"@nx/webpack": "16.6.0-beta.4",
66+
"@nx/cypress": "16.6.0-beta.8",
67+
"@nx/devkit": "16.6.0-beta.8",
68+
"@nx/eslint-plugin": "16.6.0-beta.8",
69+
"@nx/jest": "16.6.0-beta.8",
70+
"@nx/js": "16.6.0-beta.8",
71+
"@nx/linter": "16.6.0-beta.8",
72+
"@nx/next": "16.6.0-beta.8",
73+
"@nx/react": "16.6.0-beta.8",
74+
"@nx/storybook": "16.6.0-beta.8",
75+
"@nx/web": "16.6.0-beta.8",
76+
"@nx/webpack": "16.6.0-beta.8",
7777
"@parcel/watcher": "2.0.4",
7878
"@phenomnomnominal/tsquery": "~5.0.1",
7979
"@playwright/test": "^1.36.1",
@@ -88,10 +88,10 @@
8888
"@rollup/plugin-url": "^7.0.0",
8989
"@schematics/angular": "~16.1.0",
9090
"@side/jest-runtime": "^1.1.0",
91-
"@storybook/addon-essentials": "^7.0.24",
92-
"@storybook/core-server": "^7.0.24",
93-
"@storybook/react": "^7.0.24",
94-
"@storybook/react-webpack5": "^7.0.24",
91+
"@storybook/addon-essentials": "7.1.1",
92+
"@storybook/core-server": "7.1.1",
93+
"@storybook/react": "7.1.1",
94+
"@storybook/react-webpack5": "7.1.1",
9595
"@storybook/types": "^7.0.24",
9696
"@supabase/supabase-js": "^2.26.0",
9797
"@svgr/rollup": "^8.0.1",
@@ -214,7 +214,7 @@
214214
"next-sitemap": "^3.1.10",
215215
"ng-packagr": "~16.1.0",
216216
"node-fetch": "^2.6.7",
217-
"nx": "16.6.0-beta.4",
217+
"nx": "16.6.0-beta.8",
218218
"nx-cloud": "16.2.0-beta.0",
219219
"octokit": "^2.0.14",
220220
"open": "^8.4.0",

packages-legacy/angular/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"project": "packages-legacy/angular/ng-package.json",
1212
"tsConfig": "packages-legacy/angular/tsconfig.runtime.json"
1313
},
14-
"outputs": ["build/packages/angular-legacy"]
14+
"outputs": ["{workspaceRoot}/build/packages/angular-legacy"]
1515
},
1616
"build-base": {
1717
"executor": "@nx/js:tsc",

packages/angular/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"project": "packages/angular/ng-package.json",
1313
"tsConfig": "packages/angular/tsconfig.lib.runtime.json"
1414
},
15-
"outputs": ["build/packages/angular"]
15+
"outputs": ["{workspaceRoot}/build/packages/angular"]
1616
},
1717
"build-base": {
1818
"executor": "@nx/js:tsc",

packages/angular/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as log from 'ng-packagr/lib/utils/log';
2020
import { dirname, extname, join } from 'path';
2121
import * as postcssPresetEnv from 'postcss-preset-env';
2222
import * as postcssUrl from 'postcss-url';
23-
import { pathToFileURL } from 'url';
23+
import { pathToFileURL } from 'node:url';
2424
import { getInstalledAngularVersionInfo } from '../../../utilities/angular-version-utils';
2525
import {
2626
getTailwindPostCssPlugins,

packages/angular/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as log from 'ng-packagr/lib/utils/log';
2020
import { dirname, extname, join } from 'path';
2121
import * as postcssPresetEnv from 'postcss-preset-env';
2222
import * as postcssUrl from 'postcss-url';
23-
import { pathToFileURL } from 'url';
23+
import { pathToFileURL } from 'node:url';
2424
import { getInstalledAngularVersionInfo } from '../../../utilities/angular-version-utils';
2525
import {
2626
getTailwindPostCssPlugins,

packages/js/src/executors/node/node-with-require-overrides.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Module = require('module');
2-
const url = require('url');
2+
const url = require('node:url');
33
const originalLoader = Module._load;
44

55
const dynamicImport = new Function('specifier', 'return import(specifier)');

packages/next/src/generators/custom-server/files/server/main.ts__tmpl__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* - Hapi: https://github.com/vercel/next.js/tree/canary/examples/custom-server-hapi
88
*/
99
import { createServer } from 'http';
10-
import { parse } from 'url';
10+
import { parse } from 'node:url';
1111
import * as path from 'path';
1212
import next from 'next';
1313

0 commit comments

Comments
 (0)