Skip to content

Commit 3af8399

Browse files
Merge pull request #134 from Enterwell/feat/pnpm-instead-of-yarn
Switched to PNPM instead of yarn
2 parents 174932f + 4092317 commit 3af8399

File tree

7 files changed

+2217
-1936
lines changed

7 files changed

+2217
-1936
lines changed

.github/workflows/build.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
- uses: actions/setup-node@v4
2020
with:
2121
node-version: 18
22-
- run: yarn install
23-
- run: yarn build
24-
- run: yarn test
22+
- name: Enable Corepack
23+
run: corepack enable
24+
- run: pnpm install
25+
- run: pnpm build
26+
- run: pnpm test

.github/workflows/npm-publish.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
with:
2020
node-version: 18
2121
registry-url: "https://registry.npmjs.org"
22-
- run: yarn install
23-
- run: yarn build
24-
- run: yarn publish
22+
- name: Enable Corepack
23+
run: corepack enable
24+
- run: pnpm install
25+
- run: pnpm build
26+
- run: pnpm publish
2527
env:
2628
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.gitignore

-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
logs
33
*.log
44
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
75

86
# Runtime data
97
pids
@@ -51,9 +49,6 @@ typings/
5149
# Output of 'npm pack'
5250
*.tgz
5351

54-
# Yarn Integrity file
55-
.yarn-integrity
56-
5752
# dotenv environment variables file
5853
.env
5954

license renamed to LICENSE.txt

File renamed without changes.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"engines": {
1616
"node": ">=18"
1717
},
18+
"packageManager": "[email protected]",
1819
"scripts": {
1920
"build": "vite build",
2021
"test": "cross-env NODE_ENV=test cypress run --component",

0 commit comments

Comments
 (0)