Skip to content

Commit 9b05855

Browse files
committed
DO-1802: Fix JSON syntax errors in project.json files
- Fixed malformed JSON structure in all project.json files - Removed merge-gitignore dependencies from build tasks - Added .d.ts files to ESLint ignore patterns to prevent linting errors - Corrected comma placement and closing braces in target definitions - All builds and linting now pass successfully
1 parent 8e92c7f commit 9b05855

File tree

15 files changed

+32
-110
lines changed

15 files changed

+32
-110
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"root": true,
3-
"ignorePatterns": ["**/node_modules/**", "**/dist/**", "**/build/**", "**/*.js.map"],
3+
"ignorePatterns": ["**/node_modules/**", "**/dist/**", "**/build/**", "**/*.js.map", "**/*.d.ts"],
44
"plugins": ["@nx"],
55
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
66
"overrides": [

packages/basic-auth/project.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/basic-auth"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,12 +30,6 @@
3130
"cwd": "packages/basic-auth"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs basic-auth"
39-
}
4033
}
4134
},
4235
"tags": []

packages/basic-auth/tsconfig.app.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"module": "commonjs",
77
"types": ["node"]
88
},
9-
"exclude": ["./jest.config.ts", "lib/handlers", "**/*.test.ts", "**/*.spec.ts"],
9+
"exclude": [
10+
"./jest.config.ts",
11+
"lib/handlers",
12+
"**/*.test.ts",
13+
"**/*.spec.ts"
14+
],
1015
"include": ["lib/**/*.ts", "index.ts"]
1116
}

packages/cloudfront-security-headers/project.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/cloudfront-security-headers"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,13 +30,7 @@
3130
"cwd": "packages/cloudfront-security-headers"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs cloudfront-security-headers"
39-
}
4033
}
4134
},
4235
"tags": []
43-
}
36+
}

packages/esbuild/project.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/esbuild"
12+
}
1213
},
1314
"lint": {
1415
"executor": "@nx/eslint:lint",
@@ -29,13 +30,7 @@
2930
"cwd": "packages/esbuild"
3031
},
3132
"dependsOn": ["build"]
32-
},
33-
"merge-gitignore": {
34-
"executor": "nx:run-commands",
35-
"options": {
36-
"command": "node tools/scripts/merge-gitignore.mjs esbuild"
37-
}
3833
}
3934
},
4035
"tags": []
41-
}
36+
}

packages/feature-env-handlers/project.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/feature-env-handlers"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,13 +30,7 @@
3130
"cwd": "packages/feature-env-handlers"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs feature-env-handlers"
39-
}
4033
}
4134
},
4235
"tags": []
43-
}
36+
}

packages/geoip-redirect/project.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/geoip-redirect"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,13 +30,7 @@
3130
"cwd": "packages/geoip-redirect"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs geoip-redirect"
39-
}
4033
}
4134
},
4235
"tags": []
43-
}
36+
}

packages/graphql-mesh-server/project.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/graphql-mesh-server"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,13 +30,7 @@
3130
"cwd": "packages/graphql-mesh-server"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs graphql-mesh-server"
39-
}
4033
}
4134
},
4235
"tags": []
43-
}
36+
}

packages/header-change-detection/project.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/header-change-detection"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,13 +30,7 @@
3130
"cwd": "packages/header-change-detection"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs header-change-detection"
39-
}
4033
}
4134
},
4235
"tags": []
43-
}
36+
}

packages/prerender-fargate/project.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"options": {
1010
"command": "tsc --project tsconfig.app.json",
1111
"cwd": "packages/prerender-fargate"
12-
},
13-
"dependsOn": ["merge-gitignore"]
12+
}
1413
},
1514
"lint": {
1615
"executor": "@nx/eslint:lint",
@@ -31,13 +30,7 @@
3130
"cwd": "packages/prerender-fargate"
3231
},
3332
"dependsOn": ["build"]
34-
},
35-
"merge-gitignore": {
36-
"executor": "nx:run-commands",
37-
"options": {
38-
"command": "node tools/scripts/merge-gitignore.mjs prerender-fargate"
39-
}
4033
}
4134
},
4235
"tags": []
43-
}
36+
}

0 commit comments

Comments
 (0)