Skip to content

Commit 42b1c57

Browse files
committed
Bump version to 0.2.2 and require Node.js 20+
Update package version to 0.2.2 in package.json, VERSION, and CITATION.cff. Update GitHub Actions workflow to use Node.js 20.x. Add Node.js >=20.0.0 engine requirement and override webidl-conversions to 6.1.0 in package.json.
1 parent 34ad405 commit 42b1c57

5 files changed

Lines changed: 60 additions & 52 deletions

File tree

.github/workflows/publish_package.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,46 +22,46 @@ jobs:
2222
steps:
2323

2424

25-
-
25+
-
2626
name: Checkout
2727
uses: actions/checkout@v6
2828

29-
-
29+
-
3030
name: Setup Node
3131
uses: actions/setup-node@v6
3232
with:
33-
node-version: 18.x
33+
node-version: 20.x
3434

3535
# - name: Check if version has been updated
3636
# id: check
3737
# uses: EndBug/version-check@v2
3838

39-
-
39+
-
4040
name: NPM Install
4141
# if: steps.check.outputs.changed == 'true'
4242
run: |
4343
npm clean-install
4444
45-
# -
45+
# -
4646
# name: NPM Run Lint
4747
# run: |
4848
# npm run lint --if-present
4949

50-
-
50+
-
5151
name: NPM Run Test
5252
run: |
5353
npm run test --if-present
5454
55-
-
55+
-
5656
name: NPM Run Build
5757
run: |
5858
npm run build --if-present
5959
60-
-
60+
-
6161
name: Zip dist & node_modules
6262
run: zip -9qry "build.zip" "./" -i "node_modules/*" -i "dist/*"
6363

64-
-
64+
-
6565
name: Upload build.zip
6666
uses: actions/upload-artifact@v6
6767
with:
@@ -83,17 +83,17 @@ jobs:
8383

8484
steps:
8585

86-
-
86+
-
8787
name: Checkout
8888
uses: actions/checkout@master
8989

90-
-
90+
-
9191
name: Download build.zip
9292
uses: actions/download-artifact@v6
9393
with:
9494
name: build.zip
9595

96-
-
96+
-
9797
name: Create Release
9898
id: create_release
9999
uses: actions/create-release@v1
@@ -103,7 +103,7 @@ jobs:
103103
tag_name: ${{ github.ref }}
104104
release_name: Release ${{ github.ref }}
105105

106-
-
106+
-
107107
name: Upload Release Asset
108108
uses: actions/upload-release-asset@v1
109109
env:
@@ -129,28 +129,28 @@ jobs:
129129

130130
steps:
131131

132-
-
132+
-
133133
name: Checkout
134134
uses: actions/checkout@v6
135135

136-
-
136+
-
137137
name: Setup Node
138138
uses: actions/setup-node@v6
139139
with:
140-
node-version: 18.x
140+
node-version: 20.x
141141
registry-url: https://registry.npmjs.org/
142142

143-
-
143+
-
144144
name: Download build.zip
145145
uses: actions/download-artifact@v6
146146
with:
147147
name: build.zip
148148

149-
-
149+
-
150150
name: Unzip build.zip
151151
run: unzip -q -o build.zip
152152

153-
-
153+
-
154154
name: Publish NPM
155155
run: |
156156
cd dist
@@ -175,29 +175,29 @@ jobs:
175175

176176
# steps:
177177

178-
# -
178+
# -
179179
# # uses: actions/checkout@v6
180180
# uses: actions/checkout@v6
181181

182-
# -
182+
# -
183183
# uses: actions/setup-node@v6
184184
# with:
185185
# # node-version: 16
186186
# node-version: 18
187187
# registry-url: https://npm.pkg.github.com/
188188
# # scope: '@scape-agency'
189189

190-
# -
190+
# -
191191
# name: Download build.zip
192192
# uses: actions/download-artifact@v6
193193
# with:
194194
# name: build.zip
195195

196-
# -
196+
# -
197197
# name: Unzip build.zip
198198
# run: unzip -q build.zip
199199

200-
# -
200+
# -
201201
# run: npm publish
202202
# env:
203203
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

CITATION.cff

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cff-version: 1.2.0
22
title: unit.gl
3-
version: 0.2.1
3+
version: 0.2.2
44
date-released: 2024-07-01
55
url: "https://github.com/stylescape/unit.gl"
66
repository-code: "https://github.com/stylescape/unit.gl"
@@ -26,3 +26,4 @@ keywords:
2626
- web development
2727
- design toolkit
2828
- fluid typography
29+

VERSION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
0.2.1
1+
0.2.2
2+

package-lock.json

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unit.gl",
33
"description": "Dynamic Layout Engine.",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"config": {
66
"version_short": "0.1"
77
},
@@ -49,6 +49,9 @@
4949
"watch": "npx kist --config ./kist.yml --live",
5050
"dev": "vite"
5151
},
52+
"engines": {
53+
"node": ">=20.0.0"
54+
},
5255
"devDependencies": {
5356
"kist": "^0.1.37",
5457
"micromatch": "^4.0.8",
@@ -58,6 +61,9 @@
5861
"typescript": "^5.8.3",
5962
"vite": "^7.1.7"
6063
},
64+
"overrides": {
65+
"webidl-conversions": "6.1.0"
66+
},
6167
"files": [
6268
"src/**",
6369
"dist/**"

0 commit comments

Comments
 (0)