chore(repo): update nx to 17.0.0-beta.5 (#19574)
This commit is contained in:
parent
d293d34009
commit
bc067a20bb
@ -34,3 +34,5 @@ graph/client/src/assets/generated-task-graphs
|
||||
/dist
|
||||
/.env
|
||||
CODEOWNERS
|
||||
|
||||
/.nx/cache
|
||||
75
nx.json
75
nx.json
@ -3,33 +3,6 @@
|
||||
"affected": {
|
||||
"defaultBase": "master"
|
||||
},
|
||||
"tasksRunnerOptions": {
|
||||
"default": {
|
||||
"runner": "nx-cloud",
|
||||
"options": {
|
||||
"accessToken": "YmZiOWQyNzctOThiZC00MjYwLWI3YTAtZDA3MDg4YWY1YTExfHJlYWQ=",
|
||||
"cacheableOperations": [
|
||||
"build",
|
||||
"lint",
|
||||
"lint-base",
|
||||
"build-ng",
|
||||
"build-base",
|
||||
"build-native",
|
||||
"build-client",
|
||||
"e2e",
|
||||
"e2e-macos",
|
||||
"test",
|
||||
"test-native",
|
||||
"sitemap",
|
||||
"build-storybook",
|
||||
"copy-docs"
|
||||
],
|
||||
"cacheDirectory": "/tmp/nx-cache",
|
||||
"parallel": 1,
|
||||
"url": "https://staging.nx.app"
|
||||
}
|
||||
}
|
||||
},
|
||||
"workspaceLayout": {
|
||||
"projectNameAndRootFormat": "as-provided"
|
||||
},
|
||||
@ -86,10 +59,12 @@
|
||||
{
|
||||
"dependentTasksOutputFiles": "**/*.node"
|
||||
}
|
||||
]
|
||||
],
|
||||
"cache": true
|
||||
},
|
||||
"build-native": {
|
||||
"inputs": ["native"]
|
||||
"inputs": ["native"],
|
||||
"cache": true
|
||||
},
|
||||
"build-base": {
|
||||
"dependsOn": ["^build-base", "build-native"],
|
||||
@ -100,12 +75,14 @@
|
||||
"tsConfig": "{projectRoot}/tsconfig.lib.json",
|
||||
"main": "{projectRoot}/index.ts"
|
||||
},
|
||||
"outputs": ["{options.outputPath}"]
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"cache": true
|
||||
},
|
||||
"test-native": {
|
||||
"inputs": ["native"],
|
||||
"executor": "@monodon/rust:test",
|
||||
"options": {}
|
||||
"options": {},
|
||||
"cache": true
|
||||
},
|
||||
"test": {
|
||||
"dependsOn": ["test-native", "build-native", "^build-native"],
|
||||
@ -115,7 +92,8 @@
|
||||
"jestConfig": "{projectRoot}/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"]
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"cache": true
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["build-native", "^build-native"],
|
||||
@ -137,7 +115,8 @@
|
||||
"{projectRoot}/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
"outputs": ["{options.outputFile}"],
|
||||
"cache": true
|
||||
},
|
||||
"e2e": {
|
||||
"inputs": [
|
||||
@ -164,7 +143,8 @@
|
||||
"passWithNoTests": true,
|
||||
"runInBand": true
|
||||
},
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"]
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"cache": true
|
||||
},
|
||||
"e2e-macos": {
|
||||
"inputs": [
|
||||
@ -188,7 +168,8 @@
|
||||
"passWithNoTests": true,
|
||||
"runInBand": true
|
||||
},
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"]
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"cache": true
|
||||
},
|
||||
"e2e-base": {
|
||||
"inputs": ["default", "^production"]
|
||||
@ -200,8 +181,28 @@
|
||||
"{workspaceRoot}/.storybook/**/*",
|
||||
"{projectRoot}/.storybook/**/*",
|
||||
"{projectRoot}/tsconfig.storybook.json"
|
||||
]
|
||||
],
|
||||
"cache": true
|
||||
},
|
||||
"lint-base": {
|
||||
"cache": true
|
||||
},
|
||||
"build-ng": {
|
||||
"cache": true
|
||||
},
|
||||
"build-client": {
|
||||
"cache": true
|
||||
},
|
||||
"sitemap": {
|
||||
"cache": true
|
||||
},
|
||||
"copy-docs": {
|
||||
"cache": true
|
||||
}
|
||||
},
|
||||
"plugins": ["@monodon/rust"]
|
||||
"plugins": ["@monodon/rust"],
|
||||
"nxCloudAccessToken": "YmZiOWQyNzctOThiZC00MjYwLWI3YTAtZDA3MDg4YWY1YTExfHJlYWQ=",
|
||||
"nxCloudUrl": "https://staging.nx.app",
|
||||
"parallel": 1,
|
||||
"cacheDirectory": "/tmp/nx-cache"
|
||||
}
|
||||
|
||||
35
package.json
35
package.json
@ -66,20 +66,20 @@
|
||||
"@nguniversal/builders": "~16.2.0",
|
||||
"@nuxt/kit": "^3.7.4",
|
||||
"@nuxt/schema": "^3.7.4",
|
||||
"@nx/angular": "16.10.0-beta.1",
|
||||
"@nx/cypress": "16.10.0-beta.1",
|
||||
"@nx/devkit": "16.10.0-beta.1",
|
||||
"@nx/esbuild": "16.10.0-beta.1",
|
||||
"@nx/eslint-plugin": "16.10.0-beta.1",
|
||||
"@nx/jest": "16.10.0-beta.1",
|
||||
"@nx/js": "16.10.0-beta.1",
|
||||
"@nx/linter": "16.10.0-beta.1",
|
||||
"@nx/next": "16.10.0-beta.1",
|
||||
"@nx/playwright": "16.10.0-beta.1",
|
||||
"@nx/react": "16.10.0-beta.1",
|
||||
"@nx/storybook": "16.10.0-beta.1",
|
||||
"@nx/web": "16.10.0-beta.1",
|
||||
"@nx/webpack": "16.10.0-beta.1",
|
||||
"@nx/angular": "17.0.0-beta.6",
|
||||
"@nx/cypress": "17.0.0-beta.6",
|
||||
"@nx/devkit": "17.0.0-beta.6",
|
||||
"@nx/esbuild": "17.0.0-beta.6",
|
||||
"@nx/eslint-plugin": "17.0.0-beta.6",
|
||||
"@nx/jest": "17.0.0-beta.6",
|
||||
"@nx/js": "17.0.0-beta.6",
|
||||
"@nx/linter": "17.0.0-beta.6",
|
||||
"@nx/next": "17.0.0-beta.6",
|
||||
"@nx/playwright": "17.0.0-beta.6",
|
||||
"@nx/react": "17.0.0-beta.6",
|
||||
"@nx/storybook": "17.0.0-beta.6",
|
||||
"@nx/web": "17.0.0-beta.6",
|
||||
"@nx/webpack": "17.0.0-beta.6",
|
||||
"@parcel/watcher": "2.0.4",
|
||||
"@phenomnomnominal/tsquery": "~5.0.1",
|
||||
"@playwright/test": "^1.36.1",
|
||||
@ -123,8 +123,8 @@
|
||||
"@types/node": "18.16.9",
|
||||
"@types/npm-package-arg": "6.1.1",
|
||||
"@types/prettier": "^2.6.2",
|
||||
"@types/react": "18.2.14",
|
||||
"@types/react-dom": "18.2.6",
|
||||
"@types/react": "18.2.24",
|
||||
"@types/react-dom": "18.2.9",
|
||||
"@types/semver": "^7.5.2",
|
||||
"@types/tar-stream": "^2.2.2",
|
||||
"@types/tmp": "^0.2.0",
|
||||
@ -231,8 +231,7 @@
|
||||
"ng-packagr": "~16.2.0",
|
||||
"node-fetch": "^2.6.7",
|
||||
"npm-package-arg": "11.0.1",
|
||||
"nx": "16.10.0-beta.1",
|
||||
"nx-cloud": "16.5.1",
|
||||
"nx": "17.0.0-beta.6",
|
||||
"octokit": "^2.0.14",
|
||||
"open": "^8.4.0",
|
||||
"openai": "~4.3.1",
|
||||
|
||||
@ -2,6 +2,7 @@ import { TasksRunner } from './tasks-runner';
|
||||
import { getRunner } from './run-command';
|
||||
import { NxJsonConfiguration } from '../config/nx-json';
|
||||
import { join } from 'path';
|
||||
import { nxCloudTasksRunnerShell } from '../nx-cloud/nx-cloud-tasks-runner-shell';
|
||||
|
||||
describe('getRunner', () => {
|
||||
let nxJson: NxJsonConfiguration;
|
||||
@ -84,8 +85,6 @@ describe('getRunner', () => {
|
||||
});
|
||||
|
||||
it('uses nx-cloud when no tasksRunnerOptions are present and accessToken is specified', () => {
|
||||
jest.mock('nx-cloud', () => mockRunner);
|
||||
|
||||
const { tasksRunner, runnerOptions } = getRunner(
|
||||
{},
|
||||
{
|
||||
@ -94,7 +93,7 @@ describe('getRunner', () => {
|
||||
}
|
||||
);
|
||||
|
||||
expect(tasksRunner).toEqual(mockRunner);
|
||||
expect(tasksRunner).toEqual(nxCloudTasksRunnerShell);
|
||||
expect(runnerOptions).toMatchInlineSnapshot(`
|
||||
{
|
||||
"accessToken": "XXXX-XXX-XXXX",
|
||||
|
||||
937
pnpm-lock.yaml
generated
937
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user