-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: exclude TS files from final tarball (#23)
Partially addresses #18 Verified that tarball (`dist/js/[email protected]`) doesn't include TS files anymore.
- Loading branch information
1 parent
6c60073
commit f43b4f7
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ | |
author: "CDK Monitoring Constructs Team", | ||
authorAddress: "[email protected]", | ||
defaultReleaseBranch: "main", | ||
stability: "experimental", | ||
|
||
cdkVersion: CDK_VERSION, | ||
cdkVersionPinning: true, | ||
|
@@ -91,4 +92,9 @@ project.eslint.addRules({ | |
"prettier/prettier": "error", | ||
}); | ||
|
||
// Don't need to include the TypeScript source files in the tarball; the transpiled JS files and | ||
// typing files are sufficient. | ||
project.addPackageIgnore("*.ts"); | ||
project.addPackageIgnore("!*.d.ts"); | ||
|
||
project.synth(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.