Skip to content

Commit

Permalink
update build config, removing need for tslib dependency (#3968)
Browse files Browse the repository at this point in the history
* fix need for tslib in compilation outputs

* update changelog
  • Loading branch information
zxbodya authored Nov 20, 2023
1 parent e7fa2de commit 4121305
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
should change the heading of the (upcoming) version to include a major version bump.
-->
# 5.14.3

## Dev
- update tsconfigs:
- `"importHelpers": false` to remove need for tslib dependency [#3958](https://github.com/rjsf-team/react-jsonschema-form/issues/3958)
- increase compilation target level from es6 to es2018 (so there are no need for transpiling object spread/rest feature)
- add missing typescript project reference for `snapshot-tests` in a root tsconfig, update it to also use es modules

# 5.14.2

## @rjsf/antd
Expand Down
1 change: 0 additions & 1 deletion packages/snapshot-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"module": "CommonJS",
"baseUrl": "./",
"rootDir": "./src",
"outDir": "./lib",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"composite": true,
"target": "es6",
"target": "ES2018",
"module": "esnext",
"lib": ["dom", "esnext"],
"importHelpers": true,
"importHelpers": false,
"declaration": true,
"sourceMap": true,
"strict": true,
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
},
{
"path": "./packages/validator-ajv8"
},
{
"path": "./packages/snapshot-tests"
}
]
}

0 comments on commit 4121305

Please sign in to comment.