Skip to content

Commit eb40bcf

Browse files
authored
Merge branch 'main' into mrgrain/chore/toolkit-lib
2 parents 5801b8b + 4d3cdd5 commit eb40bcf

File tree

9 files changed

+24
-6
lines changed

9 files changed

+24
-6
lines changed

.projenrc.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ const cli = configureProject(
637637
],
638638
'camelcase@^6', // Non-ESM
639639
cdkAssets,
640-
'cdk-from-cfn',
640+
// A version that is guaranteed to still work on Node 16
641+
'cdk-from-cfn@0.162.1',
641642
'chalk@^4',
642643
'chokidar@^3',
643644
'decamelize@^5', // Non-ESM
@@ -704,6 +705,13 @@ cli.eslint?.addOverride({
704705
// Do include all .ts files inside init-templates
705706
cli.npmignore?.addPatterns('!lib/init-templates/**/*.ts');
706707

708+
// Exclude other scripts and files from the npm package
709+
cli.npmignore?.addPatterns(
710+
'images/',
711+
'CONTRIBUTING.md',
712+
'generate.sh',
713+
);
714+
707715
cli.gitignore.addPatterns(...ADDITIONAL_CLI_IGNORE_PATTERNS);
708716

709717
// People should not have imported from the `aws-cdk` package, but they have in the past.
@@ -834,7 +842,7 @@ const cliLib = configureProject(
834842
);
835843

836844
// Do include all .ts files inside init-templates
837-
cli.npmignore?.addPatterns('!lib/init-templates/**/*.ts');
845+
cliLib.npmignore?.addPatterns('!lib/init-templates/**/*.ts');
838846

839847
cliLib.gitignore.addPatterns(
840848
...ADDITIONAL_CLI_IGNORE_PATTERNS,

packages/@aws-cdk/cli-lib-alpha/.npmignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/cli-lib-alpha/THIRD_PARTY_LICENSES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23884,7 +23884,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
2388423884

2388523885
----------------
2388623886

23887-
** cdk-from-cfn@0.189.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.189.0 | MIT OR Apache-2.0
23887+
** cdk-from-cfn@0.162.1 - https://www.npmjs.com/package/cdk-from-cfn/v/0.162.1 | MIT OR Apache-2.0
2388823888

2388923889
----------------
2389023890

packages/aws-cdk/.npmignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/aws-cdk/.projen/deps.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/aws-cdk/.projen/tasks.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/aws-cdk/THIRD_PARTY_LICENSES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23677,7 +23677,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
2367723677

2367823678
----------------
2367923679

23680-
** cdk-from-cfn@0.189.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.189.0 | MIT OR Apache-2.0
23680+
** cdk-from-cfn@0.162.1 - https://www.npmjs.com/package/cdk-from-cfn/v/0.162.1 | MIT OR Apache-2.0
2368123681

2368223682
----------------
2368323683

packages/aws-cdk/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)