Skip to content

Commit

Permalink
chore(repo): setup negative config for several targets (nrwl#14080)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Jan 4, 2023
1 parent d9efb98 commit 7992ec6
Show file tree
Hide file tree
Showing 90 changed files with 400 additions and 2,227 deletions.
28 changes: 2 additions & 26 deletions e2e/add-nx-to-monorepo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/add-nx-to-monorepo",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-add-nx-to-monorepo"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/add-nx-to-monorepo/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/add-nx-to-monorepo"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["workspace"]
}
28 changes: 2 additions & 26 deletions e2e/angular-core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/angular-core",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-angular-core"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/angular-core/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/angular-core"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["angular"]
}
28 changes: 2 additions & 26 deletions e2e/angular-extensions/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/angular-extensions",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-angular-extensions"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/angular-extensions/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/angular-extensions"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["angular"]
}
28 changes: 2 additions & 26 deletions e2e/cra-to-nx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/cra-to-nx",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-cra-to-nx"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/cra-to-nx/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/cra-to-nx"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["cra-to-nx"]
}
28 changes: 2 additions & 26 deletions e2e/cypress/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/cypress",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-cypress"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/cypress/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/cypress"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["cypress", "react"]
}
28 changes: 2 additions & 26 deletions e2e/detox/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/detox",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-detox"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/detox/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/detox"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["detox"]
}
28 changes: 2 additions & 26 deletions e2e/esbuild/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/esbuild",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-esbuild"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/esbuild/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/esbuild"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["esbuild"]
}
28 changes: 2 additions & 26 deletions e2e/expo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/expo",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-expo"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/expo/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/expo"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["expo"]
}
28 changes: 2 additions & 26 deletions e2e/jest/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/jest",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-jest"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/jest/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/jest"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["jest"]
}
28 changes: 2 additions & 26 deletions e2e/js/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,8 @@
"sourceRoot": "e2e/js",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-js"
}
],
"parallel": false
}
},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "e2e/js/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/e2e/js"]
}
"e2e": {},
"run-e2e-tests": {}
},
"implicitDependencies": ["jest"]
}
18 changes: 1 addition & 17 deletions e2e/linter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,7 @@
"sourceRoot": "e2e/linter",
"projectType": "application",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests e2e-linter"
}
],
"parallel": false
}
},
"e2e": {},
"run-e2e-tests": {
"executor": "@nrwl/jest:jest",
"options": {
Expand Down
Loading

0 comments on commit 7992ec6

Please sign in to comment.