Skip to content

Commit

Permalink
DO-1530: run formatter and readd build command
Browse files Browse the repository at this point in the history
  • Loading branch information
gowrizrh committed Sep 27, 2023
1 parent ae7f0d6 commit fc7f46a
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 62 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"homepage": "https://github.com/aligent/aws-cdk-constructs#readme",
"scripts": {
"build": "",
"prepublish": "",
"build": "tsc",
"prepublish": "tsc",
"lint": "eslint --ignore-path .eslintignore --ext .ts .",
"lint:check": "npm run lint",
"lint:fix": "npm run lint --fix",
Expand Down
7 changes: 5 additions & 2 deletions packages/prerender-proxy/lib/handlers/prerender.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { CloudFrontRequest, CloudFrontRequestEvent, CloudFrontResponse } from "aws-lambda";
import {
CloudFrontRequest,
CloudFrontRequestEvent,
CloudFrontResponse,
} from "aws-lambda";
import "source-map-support/register";


const PRERENDER_TOKEN = process.env.PRERENDER_TOKEN;
const PATH_PREFIX = process.env.PATH_PREFIX;
const PRERENDER_URL = process.env.PRERENDER_URL;
Expand Down
43 changes: 21 additions & 22 deletions packages/shared-vpc/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{
"name": "@aligent/cdk-shared-vpc",
"version": "2.0.0",
"main": "index.js",
"scripts": {
"build": "tsc",
"prepublish": "tsc"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "20.6.3",
"aws-cdk": "2.97.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.2.2"
},
"dependencies": {
"aws-cdk-lib": "2.97.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
"name": "@aligent/cdk-shared-vpc",
"version": "2.0.0",
"main": "index.js",
"scripts": {
"build": "tsc",
"prepublish": "tsc"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "20.6.3",
"aws-cdk": "2.97.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.2.2"
},
"dependencies": {
"aws-cdk-lib": "2.97.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
}
57 changes: 28 additions & 29 deletions packages/waf/package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
{
"name": "@aligent/cdk-waf",
"version": "2.0.0",
"main": "index.js",
"license": "GPL-3.0-only",
"homepage": "https://github.com/aligent/aws-cdk-waf-stack#readme",
"repository": {
"type": "git",
"url": "https://github.com/aligent/aws-cdk-waf-stack"
},
"types": "index.d.ts",
"scripts": {
"build": "tsc",
"prepublish": "tsc"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "20.6.3",
"aws-cdk": "2.97.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.2.2"
},
"dependencies": {
"aws-cdk-lib": "2.97.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
"name": "@aligent/cdk-waf",
"version": "2.0.0",
"main": "index.js",
"license": "GPL-3.0-only",
"homepage": "https://github.com/aligent/aws-cdk-waf-stack#readme",
"repository": {
"type": "git",
"url": "https://github.com/aligent/aws-cdk-waf-stack"
},
"types": "index.d.ts",
"scripts": {
"build": "tsc",
"prepublish": "tsc"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "20.6.3",
"aws-cdk": "2.97.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.2.2"
},
"dependencies": {
"aws-cdk-lib": "2.97.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
}
14 changes: 7 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"experimentalDecorators": true,
"strictPropertyInitialization": false,
"typeRoots": ["./node_modules/@types"],
"types": ["node", "jest"]
"types": ["node", "jest"],

// https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/826
// Ideally this should only be specified in packages/esbuild/tsconfig.json, however it doesn't seem to be
// loading that config file during build.
"skipLibCheck": true
},
"exclude": [
"**/node_modules",
"cdk.out",
"**/handlers/**",
"packages/geoip-redirect/**"
]
"exclude": ["**/node_modules", "cdk.out", "**/handlers/**"]
}

0 comments on commit fc7f46a

Please sign in to comment.