Skip to content

Commit

Permalink
build(*): set "node": ">=20" for engine
Browse files Browse the repository at this point in the history
  • Loading branch information
jjangga0214 committed Nov 3, 2023
1 parent 9a1b874 commit 15c2b32
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 12 deletions.
10 changes: 10 additions & 0 deletions .changeset/engine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@haetae/common': patch
'@haetae/core': patch
'@haetae/git': patch
'@haetae/js': patch
'@haetae/utils': patch
'haetae': patch
---

BREAKING CHANGE: Set `"node": ">=20"` for engine.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.6.0
20
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"private": true,
"engines": {
"node": ">=18.6.0",
"node": ">=20",
"pnpm": ">=8.6.2"
},
"packageManager": "pnpm@8.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ By just a simple config, Haetae can automatically detect the dependency graph an

## Installation

So, let's install Haetae. (<small>Node 16 or higher is required.</small>)<br/>
So, let's install Haetae. (<small>Node 20 or higher is required.</small>)<br/>
It doesn't matter whether your project is new or existing <small>(Haetae can be incrementally adapted)</small>.<br/>
It's good for monorepo as well. <small>(Guided later in other part of docs.)</small><br/>
Literally **any project** is proper.
Expand Down
2 changes: 1 addition & 1 deletion packages/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/haetae/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": false,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion test-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": true,
"type": "module",
"engines": {
"node": ">=16"
"node": ">=20"
},
"packageManager": "yarn@1.22.1",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion test-project/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ There is `engines` restriction in package.json, as `subpath imports` is added fr
// package.json
{
"engines": {
"node": ">=16"
"node": ">=20"
}
}
```
Expand Down

1 comment on commit 15c2b32

@vercel
Copy link

@vercel vercel bot commented on 15c2b32 Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

haetae – ./

haetae-git-main-jjangga0214.vercel.app
haetae-mu.vercel.app
haetae-jjangga0214.vercel.app

Please sign in to comment.