Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,7 @@ jobs:
uses: nrwl/nx-set-shas@v4
- name: Install dependencies
run: npm ci
- name: Build affected projects
run: npx nx affected:build --parallel=3
- name: Build all projects # affected is not used to be able to test-releae packages
run: npx nx run-many --target=build --parallel=3
- name: Test-release packages
run: npx pkg-pr-new publish "packages/**/dist"
8 changes: 1 addition & 7 deletions e2e/ci-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/ci-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/ci-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/cli-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/cli-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/cli-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/create-cli-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "examples/create-cli-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/create-cli-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/nx-plugin-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/nx-plugin-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/nx-plugin-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/plugin-coverage-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/plugin-coverage-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/plugin-coverage-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/plugin-eslint-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/plugin-eslint-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/plugin-eslint-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/plugin-js-packages-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"sourceRoot": "e2e/plugin-js-packages-e2e/src",
"implicitDependencies": ["cli", "plugin-js-packages"],
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/plugin-eslint-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/plugin-jsdocs-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
"tags": ["scope:plugin", "type:e2e"],
"implicitDependencies": ["cli", "plugin-jsdocs"],
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/plugin-jsdocs-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/plugin-lighthouse-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/plugin-lighthouse-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/plugin-lighthouse-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
8 changes: 1 addition & 7 deletions e2e/plugin-typescript-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "e2e/plugin-typescript-e2e/src",
"projectType": "application",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/plugin-typescript-e2e/**/*.ts"]
}
},
"lint": {},
"e2e": {
"executor": "@nx/vite:test",
"options": {
Expand Down
22 changes: 18 additions & 4 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,28 @@
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"cache": true
"cache": true,
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "{projectRoot}/dist",
"main": "{projectRoot}/src/index.ts",
"tsConfig": "{projectRoot}/tsconfig.lib.json",
"assets": ["{projectRoot}/*.md"]
}
},
"lint": {
"inputs": ["default", "{workspaceRoot}/eslint.config.?(c)js"],
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"cache": true,
"options": {
"maxWarnings": 0
},
"cache": true
"maxWarnings": 0,
"lintFilePatterns": [
"{projectRoot}/**/*.ts",
"{projectRoot}/package.json"
]
}
},
"e2e": {
"dependsOn": ["^build"]
Expand Down
Loading
Loading