Skip to content

Commit

Permalink
Merge pull request #1414 from aligent/fix/include-handlers-in-build
Browse files Browse the repository at this point in the history
Fix/include handlers in build
  • Loading branch information
TheOrangePuff authored Dec 9, 2024
2 parents 8fbabd6 + 0e5d029 commit 7b8f77a
Show file tree
Hide file tree
Showing 43 changed files with 187 additions and 400 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ cdk.out
*.tsbuildinfo

*.d.ts
*.js



.nx/cache
.nx/workspace-data
!jest.preset.js

# Used during the publish stage
.npmignore
58 changes: 0 additions & 58 deletions packages/basic-auth/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions packages/basic-auth/.npmignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/basic-auth/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion packages/basic-auth/.nvmrc

This file was deleted.

12 changes: 10 additions & 2 deletions packages/basic-auth/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"options": {
"main": "packages/basic-auth/index.ts",
"outputPath": "dist/basic-auth",
"tsConfig": "packages/basic-auth/tsconfig.app.json"
}
"tsConfig": "packages/basic-auth/tsconfig.app.json",
"assets": ["packages/basic-auth/lib/handlers/**"]
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +29,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs basic-auth {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs basic-auth"
}
}
},
"tags": []
Expand Down
8 changes: 0 additions & 8 deletions packages/cloudfront-security-headers/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions packages/cloudfront-security-headers/.npmignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/cloudfront-security-headers/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion packages/cloudfront-security-headers/.nvmrc

This file was deleted.

12 changes: 10 additions & 2 deletions packages/cloudfront-security-headers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"options": {
"main": "packages/cloudfront-security-headers/index.ts",
"outputPath": "dist/cloudfront-security-headers",
"tsConfig": "packages/cloudfront-security-headers/tsconfig.app.json"
}
"tsConfig": "packages/cloudfront-security-headers/tsconfig.app.json",
"assets": ["packages/cloudfront-security-headers/lib/handlers/**"]
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +29,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs cloudfront-security-headers {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs cloudfront-security-headers"
}
}
},
"tags": []
Expand Down
3 changes: 0 additions & 3 deletions packages/esbuild/.npmignore

This file was deleted.

9 changes: 8 additions & 1 deletion packages/esbuild/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"main": "packages/esbuild/index.ts",
"outputPath": "dist/esbuild",
"tsConfig": "packages/esbuild/tsconfig.app.json"
}
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +28,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs esbuild {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs esbuild"
}
}
},
"tags": []
Expand Down
9 changes: 8 additions & 1 deletion packages/feature-env-handlers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"main": "packages/feature-env-handlers/index.ts",
"outputPath": "dist/feature-env-handlers",
"tsConfig": "packages/feature-env-handlers/tsconfig.app.json"
}
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +28,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs feature-env-handlers {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs feature-env-handlers"
}
}
},
"tags": []
Expand Down
58 changes: 0 additions & 58 deletions packages/geoip-redirect/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions packages/geoip-redirect/.npmignore

This file was deleted.

12 changes: 10 additions & 2 deletions packages/geoip-redirect/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"options": {
"main": "packages/geoip-redirect/index.ts",
"outputPath": "dist/geoip-redirect",
"tsConfig": "packages/geoip-redirect/tsconfig.app.json"
}
"tsConfig": "packages/geoip-redirect/tsconfig.app.json",
"assets": ["packages/geoip-redirect/lib/handlers/**"]
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +29,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs geoip-redirect {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs geoip-redirect"
}
}
},
"tags": []
Expand Down
11 changes: 0 additions & 11 deletions packages/graphql-mesh-server/.npmignore

This file was deleted.

12 changes: 10 additions & 2 deletions packages/graphql-mesh-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"options": {
"main": "packages/graphql-mesh-server/index.ts",
"outputPath": "dist/graphql-mesh-server",
"tsConfig": "packages/graphql-mesh-server/tsconfig.app.json"
}
"tsConfig": "packages/graphql-mesh-server/tsconfig.app.json",
"assets": ["packages/graphql-mesh-server/assets/**"]
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +29,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs graphql-mesh-server {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs graphql-mesh-server"
}
}
},
"tags": []
Expand Down
1 change: 0 additions & 1 deletion packages/prerender-fargate/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions packages/prerender-fargate/.npmignore

This file was deleted.

12 changes: 10 additions & 2 deletions packages/prerender-fargate/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"options": {
"main": "packages/prerender-fargate/index.ts",
"outputPath": "dist/prerender-fargate",
"tsConfig": "packages/prerender-fargate/tsconfig.app.json"
}
"tsConfig": "packages/prerender-fargate/tsconfig.app.json",
"assets": ["packages/prerender-fargate/lib/prerender/**"]
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand All @@ -27,6 +29,12 @@
"publish": {
"command": "node tools/scripts/publish.mjs prerender-fargate {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs prerender-fargate"
}
}
},
"tags": []
Expand Down
Loading

0 comments on commit 7b8f77a

Please sign in to comment.