Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Expand supported node versions to v14 and above (#20)
Browse files Browse the repository at this point in the history
The kaizen-design-system is (at time of writing) still using node v14. This change updates the compiler config to support node v14 and above.
  • Loading branch information
zioroboco authored Mar 31, 2022
1 parent c4fc7be commit 6bb75c7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-peas-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cultureamp/rich-text-toolkit": minor
---

Expand supported node versions to v14 and above
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"registry": "https://npm.pkg.github.com"
},
"engines": {
"node": ">=16"
"node": ">=14"
},
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@changesets/cli": "^2.21.0",
"@cultureamp/changelog-github": "^0.1.0",
"@testing-library/react": "^12.1.3",
"@tsconfig/node16": "^1.0.2",
"@tsconfig/node14": "^1.0.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/prosemirror-commands": "^1.0.4",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node14/tsconfig.json",
"compilerOptions": {
"jsx": "react",
"declaration": true,
"declarationMap": true,
"lib": ["dom", "es2021"],
"lib": ["dom", "es2020"],
"module": "es2020",
"moduleResolution": "node",
"outDir": "dist",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -826,10 +826,10 @@
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==

"@tsconfig/node16@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e"
integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==
"@tsconfig/node14@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.1.tgz#95f2d167ffb9b8d2068b0b235302fafd4df711f2"
integrity sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==

"@types/aria-query@^4.2.0":
version "4.2.2"
Expand Down

0 comments on commit 6bb75c7

Please sign in to comment.