Skip to content

Commit ff8074b

Browse files
authored
chore(repo): update to nx 16.0.0-beta.5 (nrwl#16347)
1 parent ec3c642 commit ff8074b

File tree

144 files changed

+1618
-1087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+1618
-1087
lines changed

e2e/linter/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"targets": {
77
"e2e": {},
88
"run-e2e-tests": {
9-
"executor": "@nrwl/jest:jest",
9+
"executor": "@nx/jest:jest",
1010
"options": {
1111
"jestConfig": "e2e/linter/jest.config.ts",
1212
"passWithNoTests": true,

graph/client-e2e/cypress-release-static.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default defineConfig({
1818
...cypressJsonConfig,
1919
setupNodeEvents,
2020
/**
21-
* TODO(@nrwl/cypress): In Cypress v12,the testIsolation option is turned on by default.
21+
* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default.
2222
* This can cause tests to start breaking where not indended.
2323
* You should consider enabling this once you verify tests do not depend on each other
2424
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation

graph/client-e2e/cypress-release.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default defineConfig({
1818
...cypressJsonConfig,
1919
setupNodeEvents,
2020
/**
21-
* TODO(@nrwl/cypress): In Cypress v12,the testIsolation option is turned on by default.
21+
* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default.
2222
* This can cause tests to start breaking where not indended.
2323
* You should consider enabling this once you verify tests do not depend on each other
2424
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation

graph/client-e2e/cypress-watch-mode.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default defineConfig({
1818
...cypressJsonConfig,
1919
setupNodeEvents,
2020
/**
21-
* TODO(@nrwl/cypress): In Cypress v12,the testIsolation option is turned on by default.
21+
* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default.
2222
* This can cause tests to start breaking where not indended.
2323
* You should consider enabling this once you verify tests do not depend on each other
2424
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation

graph/client-e2e/cypress.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default defineConfig({
1818
...cypressJsonConfig,
1919
setupNodeEvents,
2020
/**
21-
* TODO(@nrwl/cypress): In Cypress v12,the testIsolation option is turned on by default.
21+
* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default.
2222
* This can cause tests to start breaking where not indended.
2323
* You should consider enabling this once you verify tests do not depend on each other
2424
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation

graph/client-e2e/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"e2e-base": {
8-
"executor": "@nrwl/cypress:cypress",
8+
"executor": "@nx/cypress:cypress",
99
"options": {
1010
"tsConfig": "graph/client-e2e/tsconfig.e2e.json",
1111
"testingType": "e2e",

graph/client/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic"
77
}

graph/client/.storybook/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
],
77
addons: [
88
'@storybook/addon-essentials',
9-
'@nrwl/react/plugins/storybook',
9+
'@nx/react/plugins/storybook',
1010
'storybook-dark-mode',
1111
],
1212
};

graph/client/.storybook/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"outDir": ""
66
},
77
"files": [
8-
"../../../node_modules/@nrwl/react/typings/styled-jsx.d.ts",
9-
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../../node_modules/@nrwl/react/typings/image.d.ts"
8+
"../../../node_modules/@nx/react/typings/styled-jsx.d.ts",
9+
"../../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212

1313
"exclude": [

graph/client/jest.config.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* eslint-disable */
22
// nx-ignore-next-line
3-
const nxPreset = require('@nrwl/jest/preset').default;
3+
const nxPreset = require('@nx/jest/preset').default;
44

55
export default {
66
...nxPreset,
77
displayName: 'graph-client',
88
transform: {
9-
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
10-
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
9+
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest',
10+
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/next/babel'] }],
1111
},
1212
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
1313
coverageDirectory: '../../coverage/nx-dev/nx-dev',

graph/client/project.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"build-base": {
34-
"executor": "@nrwl/webpack:webpack",
34+
"executor": "@nx/webpack:webpack",
3535
"options": {
3636
"maxWorkers": 8,
3737
"outputPath": "build/apps/graph",
@@ -182,7 +182,7 @@
182182
"outputs": ["{options.outputPath}"]
183183
},
184184
"serve-base": {
185-
"executor": "@nrwl/webpack:dev-server",
185+
"executor": "@nx/webpack:dev-server",
186186
"configurations": {
187187
"dev": {
188188
"buildTarget": "graph-client:build-base:dev",
@@ -243,7 +243,7 @@
243243
"lint": {},
244244
"test": {},
245245
"storybook": {
246-
"executor": "@nrwl/storybook:storybook",
246+
"executor": "@nx/storybook:storybook",
247247
"options": {
248248
"uiFramework": "@storybook/react",
249249
"port": 4400,
@@ -256,7 +256,7 @@
256256
}
257257
},
258258
"build-storybook": {
259-
"executor": "@nrwl/storybook:build",
259+
"executor": "@nx/storybook:build",
260260
"outputs": ["{options.outputDir}"],
261261
"options": {
262262
"uiFramework": "@storybook/react",

graph/client/tailwind.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path');
22

33
// nx-ignore-next-line
4-
const { createGlobPatternsForDependencies } = require('@nrwl/react/tailwind');
4+
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
55

66
module.exports = {
77
content: [

graph/client/tsconfig.app.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"lib": ["DOM", "es2019"]
77
},
88
"files": [
9-
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../node_modules/@nrwl/react/typings/image.d.ts"
9+
"../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212
"exclude": [
1313
"**/*.spec.ts",

graph/client/tsconfig.spec.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"jest.config.ts"
2020
],
2121
"files": [
22-
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
23-
"../../node_modules/@nrwl/react/typings/image.d.ts"
22+
"../../node_modules/@nx/react/typings/cssmodule.d.ts",
23+
"../../node_modules/@nx/react/typings/image.d.ts"
2424
]
2525
}

graph/client/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// nx-ignore-next-line
2-
const { withNx, composePlugins } = require('@nrwl/webpack');
2+
const { withNx, composePlugins } = require('@nx/webpack');
33
// nx-ignore-next-line
4-
const { withReact } = require('@nrwl/react');
4+
const { withReact } = require('@nx/react');
55

66
module.exports = composePlugins(withNx(), withReact(), (config, context) => {
77
return {

graph/ui-components/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic",
77
"useBuiltIns": "usage"

graph/ui-components/.storybook/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ module.exports = {
44
'../src/lib/**/*.stories.mdx',
55
'../src/lib/**/*.stories.@(js|jsx|ts|tsx)',
66
],
7-
addons: ['@storybook/addon-essentials', '@nrwl/react/plugins/storybook'],
7+
addons: ['@storybook/addon-essentials', '@nx/react/plugins/storybook'],
88
};

graph/ui-components/.storybook/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"outDir": ""
66
},
77
"files": [
8-
"../../../node_modules/@nrwl/react/typings/styled-jsx.d.ts",
9-
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../../node_modules/@nrwl/react/typings/image.d.ts"
8+
"../../../node_modules/@nx/react/typings/styled-jsx.d.ts",
9+
"../../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212
"exclude": [
1313
"../**/*.spec.ts",

graph/ui-components/project.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": {},
99
"test": {},
1010
"storybook": {
11-
"executor": "@nrwl/storybook:storybook",
11+
"executor": "@nx/storybook:storybook",
1212
"options": {
1313
"uiFramework": "@storybook/react",
1414
"port": 4400,
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"build-storybook": {
24-
"executor": "@nrwl/storybook:build",
24+
"executor": "@nx/storybook:build",
2525
"outputs": ["{options.outputDir}"],
2626
"options": {
2727
"uiFramework": "@storybook/react",

graph/ui-components/tsconfig.lib.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"lib": ["dom"]
77
},
88
"files": [
9-
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../node_modules/@nrwl/react/typings/image.d.ts"
9+
"../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212
"exclude": [
1313
"jest.config.ts",

graph/ui-graph/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic",
77
"useBuiltIns": "usage"

graph/ui-graph/.storybook/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ module.exports = {
44
'../src/lib/**/*.stories.mdx',
55
'../src/lib/**/*.stories.@(js|jsx|ts|tsx)',
66
],
7-
addons: ['@storybook/addon-essentials', '@nrwl/react/plugins/storybook'],
7+
addons: ['@storybook/addon-essentials', '@nx/react/plugins/storybook'],
88
};

graph/ui-graph/.storybook/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"outDir": ""
66
},
77
"files": [
8-
"../../../node_modules/@nrwl/react/typings/styled-jsx.d.ts",
9-
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../../node_modules/@nrwl/react/typings/image.d.ts"
8+
"../../../node_modules/@nx/react/typings/styled-jsx.d.ts",
9+
"../../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212

1313
"exclude": [

graph/ui-graph/project.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": {},
99
"test": {},
1010
"storybook": {
11-
"executor": "@nrwl/storybook:storybook",
11+
"executor": "@nx/storybook:storybook",
1212
"options": {
1313
"uiFramework": "@storybook/react",
1414
"port": 4400,
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"build-storybook": {
24-
"executor": "@nrwl/storybook:build",
24+
"executor": "@nx/storybook:build",
2525
"outputs": ["{options.outputDir}"],
2626
"options": {
2727
"uiFramework": "@storybook/react",

graph/ui-graph/tsconfig.lib.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"lib": ["DOM", "es2019"]
77
},
88
"files": [
9-
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../node_modules/@nrwl/react/typings/image.d.ts"
9+
"../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212
"exclude": [
1313
"jest.config.ts",

graph/ui-tooltips/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic",
77
"useBuiltIns": "usage"

graph/ui-tooltips/.storybook/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ module.exports = {
44
'../src/lib/**/*.stories.mdx',
55
'../src/lib/**/*.stories.@(js|jsx|ts|tsx)',
66
],
7-
addons: ['@storybook/addon-essentials', '@nrwl/react/plugins/storybook'],
7+
addons: ['@storybook/addon-essentials', '@nx/react/plugins/storybook'],
88
};

graph/ui-tooltips/.storybook/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"outDir": ""
66
},
77
"files": [
8-
"../../../node_modules/@nrwl/react/typings/styled-jsx.d.ts",
9-
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
10-
"../../../node_modules/@nrwl/react/typings/image.d.ts"
8+
"../../../node_modules/@nx/react/typings/styled-jsx.d.ts",
9+
"../../../node_modules/@nx/react/typings/cssmodule.d.ts",
10+
"../../../node_modules/@nx/react/typings/image.d.ts"
1111
],
1212
"exclude": [
1313
"../**/*.spec.ts",

graph/ui-tooltips/project.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": {},
99
"test": {},
1010
"storybook": {
11-
"executor": "@nrwl/storybook:storybook",
11+
"executor": "@nx/storybook:storybook",
1212
"options": {
1313
"uiFramework": "@storybook/react",
1414
"port": 4400,
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"build-storybook": {
24-
"executor": "@nrwl/storybook:build",
24+
"executor": "@nx/storybook:build",
2525
"outputs": ["{options.outputDir}"],
2626
"options": {
2727
"uiFramework": "@storybook/react",

graph/ui-tooltips/tsconfig.lib.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"types": ["node"]
66
},
77
"files": [
8-
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
9-
"../../node_modules/@nrwl/react/typings/image.d.ts"
8+
"../../node_modules/@nx/react/typings/cssmodule.d.ts",
9+
"../../node_modules/@nx/react/typings/image.d.ts"
1010
],
1111
"exclude": [
1212
"jest.config.ts",

jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { getJestProjects } = require('@nrwl/jest');
1+
const { getJestProjects } = require('@nx/jest');
22

33
export default {
44
projects: getJestProjects(),

jest.preset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const nxPreset = require('@nrwl/jest/preset').default;
1+
const nxPreset = require('@nx/jest/preset').default;
22

33
process.env.npm_config_registry = `http://localhost:4872`;
44
process.env.YARN_REGISTRY = `http://localhost:4872`;

nx-dev/data-access-documents/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic",
77
"useBuiltIns": "usage"

nx-dev/data-access-menu/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/js/babel",
4+
"@nx/js/babel",
55
{
66
"useBuiltIns": "usage"
77
}

nx-dev/data-access-packages/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic",
77
"useBuiltIns": "usage"

nx-dev/feature-analytics/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
[
4-
"@nrwl/react/babel",
4+
"@nx/react/babel",
55
{
66
"runtime": "automatic",
77
"useBuiltIns": "usage"

0 commit comments

Comments
 (0)