Skip to content

Commit

Permalink
chore: update TS to version 5.3.2 and adjust config [] (#528)
Browse files Browse the repository at this point in the history
* chore: update TS to version 5.3.2 and adjust config

* chore: update TS to 5.3.2 in all packages

* chore: drop tslib and go back to es5 target in tsconfig

* chore: drop tslib in rich-text-types
  • Loading branch information
Chaoste authored Jan 30, 2024
1 parent 74851be commit d238db5
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"ts-node": "^8.10.2",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^4.4.2",
"typescript": "^5.3.2",
"jest-junit": "15.0.0"
},
"dependencies": {}
Expand Down
2 changes: 1 addition & 1 deletion packages/contentful-slatejs-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"ts-node": "^6.0.0",
"typescript": "^4.4.2"
"typescript": "^5.3.2"
},
"publishConfig": {
"access": "public",
Expand Down
3 changes: 1 addition & 2 deletions packages/rich-text-from-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslib": "^2.3.1",
"tslint": "^6.1.3",
"typescript": "^4.4.2"
"typescript": "^5.3.2"
},
"bugs": {
"url": "https://github.com/contentful/rich-text/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/rich-text-html-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^4.4.2"
"typescript": "^5.3.2"
}
}
2 changes: 1 addition & 1 deletion packages/rich-text-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^4.4.2"
"typescript": "^5.3.2"
}
}
2 changes: 1 addition & 1 deletion packages/rich-text-plain-text-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^4.4.2"
"typescript": "^5.3.2"
}
}
2 changes: 1 addition & 1 deletion packages/rich-text-react-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^4.4.2"
"typescript": "^5.3.2"
}
}
3 changes: 1 addition & 2 deletions packages/rich-text-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.2.1",
"tslib": "^2.3.1",
"tslint": "^6.1.3",
"typescript": "^4.4.2",
"typescript": "^5.3.2",
"typescript-json-schema": "^0.50.1"
}
}
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default (outputFile, overrides = {}) => ({
// Compile TypeScript files
typescript({
useTsconfigDeclarationDir: true,
objectHashIgnoreUnknownHack: true,
}),

// Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
Expand Down
9 changes: 7 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8057,7 +8057,7 @@ tslib@^1.13.0, tslib@^1.8.1:
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.6.2:
tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
Expand Down Expand Up @@ -8190,7 +8190,7 @@ typescript-json-schema@^0.50.1:
typescript "~4.2.3"
yargs "^16.2.0"

"typescript@^3 || ^4", typescript@^4.4.2:
"typescript@^3 || ^4":
version "4.9.3"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz"
integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==
Expand All @@ -8200,6 +8200,11 @@ typescript@^4.6.4:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==

typescript@^5.3.2:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==

typescript@~4.2.3:
version "4.2.4"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz"
Expand Down

0 comments on commit d238db5

Please sign in to comment.