Skip to content

Commit

Permalink
fix: schema validation is broken on node 16 (#120)
Browse files Browse the repository at this point in the history
Latest [upgrade](#119) broke schema validation on node 16 because it bumped us to a faulty version of `jsonschema`. 

> See tdegrunt/jsonschema#405
  • Loading branch information
iliapolo authored Jan 8, 2025
1 parent f5ae537 commit 8fd6d6c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 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.

2 changes: 1 addition & 1 deletion .projen/tasks.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 @@ -73,7 +73,12 @@ export const project = new cdk.JsiiProject({
jestVersion: '29',
},
srcdir: 'lib',
bundledDeps: ['jsonschema', 'semver'],
bundledDeps: [
// restricting to minor 4 because of https://github.com/tdegrunt/jsonschema/issues/405
// which breaks our canaries on node 16.
'jsonschema@~1.4.1',
'semver',
],
description: 'Cloud Assembly Schema',
devDeps: ['@types/semver', 'mock-fs', 'typescript-json-schema', 'tsx'],
gitignore: ['.DS_Store', '**/*.d.ts', '**/*.js'],
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.

8 changes: 4 additions & 4 deletions yarn.lock

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

0 comments on commit 8fd6d6c

Please sign in to comment.