Skip to content

Commit

Permalink
Some more gitignores
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr committed Jan 30, 2025
1 parent 13a45db commit 419db19
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,11 @@ cdkAssets.addTask('shrinkwrap', {
],
});

cdkAssets.gitignore.addPatterns(
'*.js',
'*.d.ts',
);

// This package happens do something only slightly naughty
cdkAssets.eslint?.addRules({ 'jest/no-export': ['off'] });

Expand Down Expand Up @@ -650,6 +655,13 @@ const cli = configureProject(
}),
);

cli.gitignore.addPatterns(
'db.json.gz',
'.init-version.json',
'index_bg.wasm',
'build-info.json',
);

// People should not have imported from the `aws-cdk` package, but they have in the past.
// We have identified all locations that are currently used, are maintaining a backwards compat
// layer for those. Future imports will be rejected.
Expand Down Expand Up @@ -776,6 +788,14 @@ const cliLib = configureProject(
}),
);

cliLib.gitignore.addPatterns(
'db.json.gz',
'.init-version.json',
'index_bg.wasm',
'cdk.out',
'build-info.json',
);

new JsiiBuild(cliLib, {
jsiiVersion: TYPESCRIPT_VERSION,
publishToNuget: {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 419db19

Please sign in to comment.