Skip to content

Commit 06d62d8

Browse files
committed
Replace Yarn with pnpm
1 parent 2eb6c18 commit 06d62d8

File tree

10 files changed

+3235
-7242
lines changed

10 files changed

+3235
-7242
lines changed

.gitattributes

-6
This file was deleted.

.github/workflows/test.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ on: [push, pull_request]
22

33
jobs:
44
test:
5-
runs-on: ubuntu-latest
5+
runs-on: ubuntu-24.04
66
steps:
7-
- uses: actions/checkout@v2
8-
- id: yarn-cache
9-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
10-
- uses: actions/cache@v2
7+
- uses: actions/checkout@v4
8+
- uses: pnpm/action-setup@v4
9+
- uses: actions/setup-node@v4
1110
with:
12-
path: ${{ steps.yarn-cache.outputs.dir }}
13-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
14-
restore-keys: |
15-
${{ runner.os }}-yarn-:
16-
- run: yarn install --immutable
17-
- run: yarn build
18-
- run: yarn test
11+
node-version: 22
12+
cache: pnpm
13+
- run: pnpm install
14+
- run: pnpm build
15+
- run: pnpm test

.gitignore

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
# Yarn 2
2-
/.yarn/*
3-
!/.yarn/releases
4-
!/.yarn/plugins
5-
!/.yarn/sdks
6-
!/.yarn/versions
7-
/.pnp.*
1+
/node_modules
82

93
# Parcel 2
10-
/.parcel-cache/
114
/dist/
5+
/.parcel-cache/

.prettierignore

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# Yarn 2
2-
/.yarnrc.yml
3-
/.yarn/
4-
/.pnp.*
5-
/.vim/
1+
/pnpm-lock.yaml
62

73
# Markdowns
84
*.md

.yarn/releases/yarn-3.0.2.cjs

-631
This file was deleted.

.yarnrc.yml

-1
This file was deleted.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ My WebGL Practice
22
========
33

44
```bash
5-
yarn
5+
pnpm i
66

7-
yarn build
8-
yarn dev
7+
pnpm build
8+
pnpm dev
99
```
1010

1111
![Screenshot]

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"fmt": "prettier --write ."
77
},
88
"devDependencies": {
9-
"@babel/core": "^7.15.8",
10-
"parcel": "^2.0.0",
11-
"prettier": "^2.4.1"
9+
"@babel/core": "^7.26.10",
10+
"parcel": "^2.13.3",
11+
"prettier": "^2.8.8"
1212
},
1313
"browser": {
1414
"sylvester": "./lib/sylvester.js",
@@ -17,5 +17,6 @@
1717
"prettier": {
1818
"semi": false,
1919
"singleQuote": true
20-
}
20+
},
21+
"packageManager": "[email protected]"
2122
}

0 commit comments

Comments
 (0)