Skip to content

Commit

Permalink
build: jsii version should follow typescript version
Browse files Browse the repository at this point in the history
* build: jsii version should follow typescript version
  • Loading branch information
gmeligio authored Jan 10, 2024
1 parent f759e60 commit dd12597
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .projen/deps.json

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

7 changes: 6 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const documentationOptions: Pick<TypeScriptProjectOptions, 'sampleCode' | 'readm
},
};

const typescriptVersion = '~5.3.0';

const buildOptions: Pick<
JsiiProjectPatchOptions,
| 'excludeTypescript'
Expand All @@ -49,10 +51,13 @@ const buildOptions: Pick<
| 'pnpmVersion'
| 'projenrcTs'
| 'projenrcTsOptions'
| 'typescriptVersion'
> = {
excludeTypescript: ['src/**/*.test.ts'],
gitignore: [coverageDirectory, reportsDirectory, '.vscode', '.env'],
jsiiVersion: '~5.3.0',
// JSII follows TypeScript versioning schema and should always be the same major/minor as TypeScript
jsiiVersion: typescriptVersion,
typescriptVersion,
minNodeVersion: '18.17.0',
npmignore: [coverageDirectory, reportsDirectory],
npmrcOptions: [
Expand Down
2 changes: 1 addition & 1 deletion package.json

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

2 changes: 1 addition & 1 deletion pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions renovate.json5

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

0 comments on commit dd12597

Please sign in to comment.