Skip to content

Commit

Permalink
chore: nx migrate 17.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
trungvose committed Mar 29, 2024
1 parent fcb2296 commit 1fae09a
Show file tree
Hide file tree
Showing 83 changed files with 2,378 additions and 3,224 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
/coverage

.angular

/.nx/cache
19 changes: 6 additions & 13 deletions apps/angular-spotify/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,36 +82,29 @@
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular-spotify:build",
"hmr": true
"hmr": true,
"buildTarget": "angular-spotify:build"
},
"configurations": {
"production": {
"browserTarget": "angular-spotify:build:production"
"buildTarget": "angular-spotify:build:production"
}
}
},
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-spotify:build"
"buildTarget": "angular-spotify:build"
}
},
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/angular-spotify/src/**/*.ts",
"apps/angular-spotify/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/apps/angular-spotify"],
"options": {
"jestConfig": "apps/angular-spotify/jest.config.js",
"passWithNoTests": true
"jestConfig": "apps/angular-spotify/jest.config.js"
}
}
},
Expand Down
8 changes: 2 additions & 6 deletions libs/web/album/data-access/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
"projectType": "library",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": ["libs/web/album/data-access/**/*.ts"]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/album/data-access"],
"options": {
"jestConfig": "libs/web/album/data-access/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/album/data-access/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/album/feature/detail/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/album/feature/detail/src/**/*.ts",
"libs/web/album/feature/detail/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/album/feature/detail"],
"options": {
"jestConfig": "libs/web/album/feature/detail/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/album/feature/detail/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/album/feature/list/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/album/feature/list/src/**/*.ts",
"libs/web/album/feature/list/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/album/feature/list"],
"options": {
"jestConfig": "libs/web/album/feature/list/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/album/feature/list/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/album/feature/shell/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/album/feature/shell/src/**/*.ts",
"libs/web/album/feature/shell/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/album/feature/shell"],
"options": {
"jestConfig": "libs/web/album/feature/shell/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/album/feature/shell/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/album/ui/album-track/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/album/ui/album-track/src/**/*.ts",
"libs/web/album/ui/album-track/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/album/ui/album-track"],
"options": {
"jestConfig": "libs/web/album/ui/album-track/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/album/ui/album-track/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/artist/data-access/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/artist/data-access/src/**/*.ts",
"libs/web/artist/data-access/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/artist/data-access"],
"options": {
"jestConfig": "libs/web/artist/data-access/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/artist/data-access/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/artist/feature/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/artist/feature/src/**/*.ts",
"libs/web/artist/feature/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/artist/feature"],
"options": {
"jestConfig": "libs/web/artist/feature/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/artist/feature/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/artist/ui/artist-top-track/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/artist/ui/artist-top-track/src/**/*.ts",
"libs/web/artist/ui/artist-top-track/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/artist/ui/artist-top-track"],
"options": {
"jestConfig": "libs/web/artist/ui/artist-top-track/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/artist/ui/artist-top-track/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/artist/ui/artist-top-tracks/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/artist/ui/artist-top-tracks/src/**/*.ts",
"libs/web/artist/ui/artist-top-tracks/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/artist/ui/artist-top-tracks"],
"options": {
"jestConfig": "libs/web/artist/ui/artist-top-tracks/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/artist/ui/artist-top-tracks/jest.config.js"
}
}
},
Expand Down
8 changes: 2 additions & 6 deletions libs/web/auth/data-access/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
"projectType": "library",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": ["libs/web/auth/data-access/**/*.ts"]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/auth/data-access"],
"options": {
"jestConfig": "libs/web/auth/data-access/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/auth/data-access/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/auth/ui/unauthorized-modal/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/auth/ui/unauthorized-modal/src/**/*.ts",
"libs/web/auth/ui/unauthorized-modal/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/auth/ui/unauthorized-modal"],
"options": {
"jestConfig": "libs/web/auth/ui/unauthorized-modal/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/auth/ui/unauthorized-modal/jest.config.js"
}
}
},
Expand Down
8 changes: 2 additions & 6 deletions libs/web/auth/util/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
"projectType": "library",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": ["libs/web/auth/util/**/*.ts"]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/auth/util"],
"options": {
"jestConfig": "libs/web/auth/util/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/auth/util/jest.config.js"
}
}
},
Expand Down
8 changes: 2 additions & 6 deletions libs/web/browse/data-access/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
"projectType": "library",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": ["libs/web/browse/data-access/**/*.ts"]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/browse/data-access"],
"options": {
"jestConfig": "libs/web/browse/data-access/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/browse/data-access/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/browse/feature/categories/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/browse/feature/categories/src/**/*.ts",
"libs/web/browse/feature/categories/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/browse/feature/categories"],
"options": {
"jestConfig": "libs/web/browse/feature/categories/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/browse/feature/categories/jest.config.js"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions libs/web/browse/feature/category/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
"prefix": "as",
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/web/browse/feature/category/src/**/*.ts",
"libs/web/browse/feature/category/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/web/browse/feature/category"],
"options": {
"jestConfig": "libs/web/browse/feature/category/jest.config.js",
"passWithNoTests": true
"jestConfig": "libs/web/browse/feature/category/jest.config.js"
}
}
},
Expand Down
Loading

0 comments on commit 1fae09a

Please sign in to comment.