Skip to content

Commit

Permalink
Update Deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Sep 20, 2024
1 parent 789845e commit c6e38e5
Show file tree
Hide file tree
Showing 16 changed files with 1,035 additions and 874 deletions.
10 changes: 7 additions & 3 deletions apps/fetcher/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,20 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"dependsOn": [
{
"projects": ["secrets"],
"target": "build"
}
],
"options": {
"jestConfig": "apps/fetcher/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
},
"container": {
Expand Down
10 changes: 7 additions & 3 deletions apps/fxc-front/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,14 @@
"dependsOn": ["build"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/fxc-front/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions apps/fxc-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,20 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"dependsOn": [
{
"projects": ["secrets"],
"target": "build"
}
],
"options": {
"jestConfig": "apps/fxc-server/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
11 changes: 8 additions & 3 deletions apps/fxc-tiles/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,21 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": ["{workspaceRoot}/coverage/{projectRoot}", "{workspaceRoot}/coverage/apps/airspaces"],
"dependsOn": [
{
"projects": ["secrets"],
"target": "build"
}
],
"options": {
"jestConfig": "apps/fxc-tiles/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
},
"container": {
Expand Down
10 changes: 7 additions & 3 deletions apps/misc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,20 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"dependsOn": [
{
"projects": ["secrets"],
"target": "build"
}
],
"options": {
"jestConfig": "apps/misc/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions apps/proxy/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,20 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"dependsOn": [
{
"projects": ["secrets"],
"target": "build"
}
],
"options": {
"jestConfig": "apps/proxy/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
},
"container": {
Expand Down
20 changes: 14 additions & 6 deletions apps/run/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,31 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"dependsOn": [
{
"projects": ["secrets"],
"target": "build"
}
],
"options": {
"jestConfig": "apps/run/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
},
"benchmark": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/run/jest-bench.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
},
"container": {
Expand Down
10 changes: 7 additions & 3 deletions libs/common-node/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
"tags": [],
"targets": {
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/common-node/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions libs/common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/common/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
18 changes: 9 additions & 9 deletions libs/optimizer/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/optimizer/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/js:tsc",
Expand All @@ -20,17 +21,16 @@
"assets": ["libs/optimizer/*.md"]
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/optimizer/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
},
"tags": []
}
}
2 changes: 1 addition & 1 deletion libs/secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"dotenv-webpack": "^8.1.0",
"@nx/webpack": "19.7.2"
"@nx/webpack": "19.8.0"
}
}
10 changes: 7 additions & 3 deletions libs/vaadin-dom/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
"tags": [],
"targets": {
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/vaadin-dom/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions libs/windy-sounding/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/windy-sounding/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}
Expand Down
26 changes: 26 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,32 @@
"targetName": "lint",
"extensions": ["ts", "tsx", "js", "jsx", "html", "vue"]
}
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "test"
},
"include": [
"apps/fetcher/**/*",
"apps/fxc-front/**/*",
"apps/fxc-server/**/*",
"apps/fxc-tiles/**/*",
"apps/misc/**/*",
"apps/proxy/**/*",
"libs/common/**/*",
"libs/common-node/**/*",
"libs/optimizer/**/*",
"libs/vaadin-dom/**/*",
"libs/windy-sounding/**/*"
]
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "benchmark"
},
"include": ["apps/run/**/*"]
}
]
}
Loading

0 comments on commit c6e38e5

Please sign in to comment.