Skip to content

Commit

Permalink
chore: add engines field and add node 22 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 29, 2024
1 parent 9cb36a6 commit b12d7a9
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .changeset/large-colts-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@marko/translator-interop-class-tags": patch
"marko": patch
"@marko/runtime-tags": patch
"@marko/compiler": patch
---

Add engines field to package.json
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18, 20]
node: [18, 20, 22]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
Expand Down
12 changes: 12 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
"devDependencies": {
"marko": "^5.37.8"
},
"engines": {
"node": "18 || 20 || >=22"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/runtime-class/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
"self-closing-tags": "^1.0.1",
"warp10": "^2.1.0"
},
"engines": {
"node": "18 || 20 || >=22"
},
"logo": {
"url": "https://raw.githubusercontent.com/marko-js/branding/master/marko-logo-small.png"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/runtime-tags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"csstype": "^3.1.3",
"magic-string": "^0.30.17"
},
"engines": {
"node": "18 || 20 || >=22"
},
"exports:override": {
".": {
"types": "./index.d.ts"
Expand Down
3 changes: 3 additions & 0 deletions packages/translator-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"peerDependencies": {
"@marko/compiler": "^5.23.0"
},
"engines": {
"node": "18 || 20 || >=22"
},
"main:override": "dist/index.js"
}

0 comments on commit b12d7a9

Please sign in to comment.