Skip to content

Commit b638797

Browse files
committed
chore: bump node and migrate to pnpm
- upgraded to latest node versions 22, 24 and 26 - replaced yarn with the latest pnpm version
1 parent eb3ca17 commit b638797

4 files changed

Lines changed: 2208 additions & 1174 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,30 @@ jobs:
1212
steps:
1313
# https://github.com/actions/checkout/releases/tag/v6.0.3
1414
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
15+
# https://github.com/pnpm/action-setup/releases/tag/v6.0.8
16+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
1517
# https://github.com/actions/setup-node/releases/tag/v6.4.0
1618
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1719
with:
18-
node-version: 24
19-
- run: yarn install --frozen-lockfile
20-
- run: yarn lint
20+
node-version: 26
21+
cache: pnpm
22+
- run: pnpm install --frozen-lockfile
23+
- run: pnpm lint
2124

2225
test:
2326
runs-on: ubuntu-latest
2427
strategy:
2528
matrix:
26-
node-version: [8, 10, 12, 24]
29+
node-version: [22, 24, 26]
2730
steps:
2831
# https://github.com/actions/checkout/releases/tag/v6.0.3
2932
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
33+
# https://github.com/pnpm/action-setup/releases/tag/v6.0.8
34+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
3035
# https://github.com/actions/setup-node/releases/tag/v6.4.0
3136
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
3237
with:
3338
node-version: ${{ matrix.node-version }}
34-
- run: yarn install --frozen-lockfile
35-
- run: yarn test
39+
cache: pnpm
40+
- run: pnpm install --frozen-lockfile
41+
- run: pnpm test

package.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,45 @@
22
"name": "postcss-value-parser",
33
"version": "4.2.0",
44
"description": "Transforms css values and at-rule params into the tree",
5+
"author": "Bogdan Chadkin <trysound@yandex.ru>",
6+
"license": "MIT",
7+
"homepage": "https://github.com/TrySound/postcss-value-parser",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/TrySound/postcss-value-parser.git"
11+
},
12+
"keywords": [
13+
"postcss",
14+
"value",
15+
"parser"
16+
],
17+
"bugs": {
18+
"url": "https://github.com/TrySound/postcss-value-parser/issues"
19+
},
20+
"engines": {
21+
"node": ">= 22"
22+
},
23+
"packageManager": "pnpm@11.5.2",
524
"main": "lib/index.js",
625
"files": [
726
"lib"
827
],
9-
"devDependencies": {
10-
"eslint": "^5.16.0",
11-
"prettier": "^1.17.1",
12-
"tap-spec": "^5.0.0",
13-
"tape": "^4.10.2"
14-
},
1528
"scripts": {
1629
"format": "prettier --write \"**/*.{js,ts}\"",
1730
"lint": "eslint .",
1831
"test": "tape test/*.js | tap-spec"
1932
},
20-
"engines": {
21-
"node": ">= 8"
22-
},
2333
"eslintConfig": {
2434
"env": {
2535
"es6": true,
2636
"node": true
2737
},
2838
"extends": "eslint:recommended"
2939
},
30-
"author": "Bogdan Chadkin <trysound@yandex.ru>",
31-
"license": "MIT",
32-
"homepage": "https://github.com/TrySound/postcss-value-parser",
33-
"repository": {
34-
"type": "git",
35-
"url": "https://github.com/TrySound/postcss-value-parser.git"
36-
},
37-
"keywords": [
38-
"postcss",
39-
"value",
40-
"parser"
41-
],
42-
"bugs": {
43-
"url": "https://github.com/TrySound/postcss-value-parser/issues"
40+
"devDependencies": {
41+
"eslint": "^5.16.0",
42+
"prettier": "^1.17.1",
43+
"tap-spec": "^5.0.0",
44+
"tape": "^4.10.2"
4445
}
4546
}

0 commit comments

Comments
 (0)