-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cdk init): fix 'lib' init template
The init template used 'QueueArn' but that no long exists. Add integ test. Fixes #1214.
- Loading branch information
Showing
4 changed files
with
49 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
packages/aws-cdk/lib/init-templates/lib/typescript/package.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"name": "%name%", | ||
"version": "0.1.0", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"scripts": { | ||
"prepare": "tsc", | ||
"watch": "tsc -w", | ||
"test": "nodeunit test/test.*.js" | ||
}, | ||
"devDependencies": { | ||
"@types/nodeunit": "^0.0.30", | ||
"nodeunit": "^0.11.2", | ||
"typescript": "^3.1.2" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^%cdk-version%" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-sns": "^%cdk-version%", | ||
"@aws-cdk/aws-sqs": "^%cdk-version%", | ||
"@aws-cdk/cdk": "^%cdk-version%" | ||
} | ||
"name": "%name%", | ||
"version": "0.1.0", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"scripts": { | ||
"build": "tsc", | ||
"watch": "tsc -w", | ||
"test": "nodeunit test/test.*.js" | ||
}, | ||
"devDependencies": { | ||
"@types/nodeunit": "^0.0.30", | ||
"nodeunit": "^0.11.2", | ||
"typescript": "^3.1.2" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^%cdk-version%" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-sns": "^%cdk-version%", | ||
"@aws-cdk/aws-sqs": "^%cdk-version%", | ||
"@aws-cdk/cdk": "^%cdk-version%" | ||
} | ||
} |
38 changes: 19 additions & 19 deletions
38
packages/aws-cdk/lib/init-templates/lib/typescript/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{ | ||
"compilerOptions": { | ||
"target":"ES2018", | ||
"module": "commonjs", | ||
"lib": ["es2016", "es2017.object", "es2017.string"], | ||
"declaration": true, | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"noImplicitThis": true, | ||
"alwaysStrict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": false, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"experimentalDecorators": true, | ||
"strictPropertyInitialization":false | ||
} | ||
"compilerOptions": { | ||
"target":"ES2018", | ||
"module": "commonjs", | ||
"lib": ["es2016", "es2017.object", "es2017.string"], | ||
"declaration": true, | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"noImplicitThis": true, | ||
"alwaysStrict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": false, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"experimentalDecorators": true, | ||
"strictPropertyInitialization":false | ||
} | ||
} | ||
|