Skip to content

Commit

Permalink
chore(repo): update nx to 16.6.0-beta.8 (nrwl#18356)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Jul 29, 2023
1 parent d1d0634 commit 989f7f8
Show file tree
Hide file tree
Showing 17 changed files with 1,185 additions and 744 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ jobs:
NX_DAEMON: 'true'
NX_PERF_LOGGING: 'false'
SELECTED_PM: 'npm' # explicitly define npm for macOS tests
NX_SKIP_NX_CACHE: 'true' # TODO: Figure out what is going on with the cache and renable it
steps:
- run:
name: Set dynamic nx run variable
Expand Down
10 changes: 9 additions & 1 deletion e2e/utils/create-project-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,19 @@ export function runCreateWorkspace(
command += ` ${extraArgs}`;
}

if (isCI) {
command += ` --verbose`;
}

try {
const create = execSync(`${command}${isVerbose() ? ' --verbose' : ''}`, {
cwd,
stdio: 'pipe',
env: { CI: 'true', ...process.env },
env: {
CI: 'true',
NX_VERBOSE_LOGGING: isCI ? 'true' : 'false',
...process.env,
},
encoding: 'utf-8',
});

Expand Down
10 changes: 8 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@
},
"targetDefaults": {
"build": {
"dependsOn": ["build-base"],
"inputs": ["production", "^production"]
"dependsOn": ["build-base", "build-native"],
"inputs": [
"production",
"^production",
{
"dependentTasksOutputFiles": "**/*.node"
}
]
},
"build-native": {
"inputs": ["native"]
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@
"@ngrx/router-store": "~16.0.0",
"@ngrx/store": "~16.0.0",
"@nguniversal/builders": "~16.1.0",
"@nx/cypress": "16.6.0-beta.4",
"@nx/devkit": "16.6.0-beta.4",
"@nx/eslint-plugin": "16.6.0-beta.4",
"@nx/jest": "16.6.0-beta.4",
"@nx/js": "16.6.0-beta.4",
"@nx/linter": "16.6.0-beta.4",
"@nx/next": "16.6.0-beta.4",
"@nx/react": "16.6.0-beta.4",
"@nx/storybook": "16.6.0-beta.4",
"@nx/web": "16.6.0-beta.4",
"@nx/webpack": "16.6.0-beta.4",
"@nx/cypress": "16.6.0-beta.8",
"@nx/devkit": "16.6.0-beta.8",
"@nx/eslint-plugin": "16.6.0-beta.8",
"@nx/jest": "16.6.0-beta.8",
"@nx/js": "16.6.0-beta.8",
"@nx/linter": "16.6.0-beta.8",
"@nx/next": "16.6.0-beta.8",
"@nx/react": "16.6.0-beta.8",
"@nx/storybook": "16.6.0-beta.8",
"@nx/web": "16.6.0-beta.8",
"@nx/webpack": "16.6.0-beta.8",
"@parcel/watcher": "2.0.4",
"@phenomnomnominal/tsquery": "~5.0.1",
"@playwright/test": "^1.36.1",
Expand All @@ -88,10 +88,10 @@
"@rollup/plugin-url": "^7.0.0",
"@schematics/angular": "~16.1.0",
"@side/jest-runtime": "^1.1.0",
"@storybook/addon-essentials": "^7.0.24",
"@storybook/core-server": "^7.0.24",
"@storybook/react": "^7.0.24",
"@storybook/react-webpack5": "^7.0.24",
"@storybook/addon-essentials": "7.1.1",
"@storybook/core-server": "7.1.1",
"@storybook/react": "7.1.1",
"@storybook/react-webpack5": "7.1.1",
"@storybook/types": "^7.0.24",
"@supabase/supabase-js": "^2.26.0",
"@svgr/rollup": "^8.0.1",
Expand Down Expand Up @@ -214,7 +214,7 @@
"next-sitemap": "^3.1.10",
"ng-packagr": "~16.1.0",
"node-fetch": "^2.6.7",
"nx": "16.6.0-beta.4",
"nx": "16.6.0-beta.8",
"nx-cloud": "16.2.0-beta.0",
"octokit": "^2.0.14",
"open": "^8.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages-legacy/angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"project": "packages-legacy/angular/ng-package.json",
"tsConfig": "packages-legacy/angular/tsconfig.runtime.json"
},
"outputs": ["build/packages/angular-legacy"]
"outputs": ["{workspaceRoot}/build/packages/angular-legacy"]
},
"build-base": {
"executor": "@nx/js:tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"project": "packages/angular/ng-package.json",
"tsConfig": "packages/angular/tsconfig.lib.runtime.json"
},
"outputs": ["build/packages/angular"]
"outputs": ["{workspaceRoot}/build/packages/angular"]
},
"build-base": {
"executor": "@nx/js:tsc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as log from 'ng-packagr/lib/utils/log';
import { dirname, extname, join } from 'path';
import * as postcssPresetEnv from 'postcss-preset-env';
import * as postcssUrl from 'postcss-url';
import { pathToFileURL } from 'url';
import { pathToFileURL } from 'node:url';
import { getInstalledAngularVersionInfo } from '../../../utilities/angular-version-utils';
import {
getTailwindPostCssPlugins,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as log from 'ng-packagr/lib/utils/log';
import { dirname, extname, join } from 'path';
import * as postcssPresetEnv from 'postcss-preset-env';
import * as postcssUrl from 'postcss-url';
import { pathToFileURL } from 'url';
import { pathToFileURL } from 'node:url';
import { getInstalledAngularVersionInfo } from '../../../utilities/angular-version-utils';
import {
getTailwindPostCssPlugins,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = require('module');
const url = require('url');
const url = require('node:url');
const originalLoader = Module._load;

const dynamicImport = new Function('specifier', 'return import(specifier)');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* - Hapi: https://github.com/vercel/next.js/tree/canary/examples/custom-server-hapi
*/
import { createServer } from 'http';
import { parse } from 'url';
import { parse } from 'node:url';
import * as path from 'path';
import next from 'next';

Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as http from 'http';
import * as open from 'open';
import { basename, dirname, extname, isAbsolute, join, parse } from 'path';
import { performance } from 'perf_hooks';
import { URL } from 'url';
import { URL } from 'node:url';
import { readNxJson, workspaceLayout } from '../../config/configuration';
import { output } from '../../utils/output';
import { writeJsonFile } from '../../utils/fileutils';
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/migrate/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
satisfies,
valid,
} from 'semver';
import { URL } from 'url';
import { URL } from 'node:url';
import { promisify } from 'util';
import {
MigrationsJson,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ exports[`@nx/storybook:init dependencies for package.json should add angular rel
"@angular/forms": "*",
"@nx/js": "0.0.1",
"@nx/storybook": "0.0.1",
"@storybook/addon-essentials": "7.0.24",
"@storybook/angular": "7.0.24",
"@storybook/core-server": "7.0.24",
"@storybook/addon-essentials": "7.1.1",
"@storybook/angular": "7.1.1",
"@storybook/core-server": "7.1.1",
"existing": "1.0.0",
"prettier": "^2.6.2",
"typescript": "~5.1.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { interpolateName } from 'loader-utils';
import * as path from 'path';
import type { Declaration } from 'postcss';
import * as url from 'url';
import * as url from 'node:url';
import { LoaderContext } from 'webpack';

function wrapUrl(url: string): string {
Expand Down
Loading

0 comments on commit 989f7f8

Please sign in to comment.