Skip to content

Commit a17fccf

Browse files
authored
chore: use pnpm instead of npm (#100)
1 parent 9b70991 commit a17fccf

File tree

12 files changed

+11475
-18273
lines changed

12 files changed

+11475
-18273
lines changed

.cspell.config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: '0.2'
2+
dictionaries:
3+
- custom-dictionary
4+
useGitignore: true
5+
ignorePaths:
6+
- .git
7+
- _raw_assets
8+
- '*.svg'
9+
- node_modules
10+
- pnpm-lock.yaml
11+
dictionaryDefinitions:
12+
- name: custom-dictionary
13+
path: ./.cspell/custom-dictionary.txt
14+
addWords: true
15+
minRandomLength: 22

.cspell.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20-
- uses: actions/setup-node@v4
21-
with:
22-
node-version: 20
23-
cache: npm
20+
- name: Setup Node, PNPM, and Corepack
21+
uses: streetsidesoftware/actions/public/setup-node-pnpm-corepack@v1
2422

2523
- name: Install dependencies
26-
run: npm i
24+
run: pnpm i
2725
- name: Build website
28-
run: npm run build
26+
run: pnpm run build
2927

3028
- name: Upload Build Artifact
3129
uses: actions/upload-pages-artifact@v3

.github/workflows/lint.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: 20
19-
cache: npm
16+
- name: Setup Node, PNPM, and Corepack
17+
uses: streetsidesoftware/actions/public/setup-node-pnpm-corepack@v1
2018

2119
- name: Install dependencies
22-
run: npm i
20+
run: pnpm i
2321

2422
- name: Lint
25-
run: npm run lint
23+
run: pnpm run lint

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- uses: actions/setup-node@v4
22-
with:
23-
node-version: 20
24-
cache: npm
21+
- name: Setup Node, PNPM, and Corepack
22+
uses: streetsidesoftware/actions/public/setup-node-pnpm-corepack@v1
2523

2624
- name: Install dependencies
27-
run: npm i
28-
- name: Build website
29-
run: npm run build
25+
run: pnpm i
26+
- name: Test
27+
run: pnpm t

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
package-lock.json
55
website/.docusaurus
66
website/build
7+
pnpm-lock.yaml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.streetsidesoftware.com
55
## Run locally
66

77
```sh
8-
npm run start
8+
pnpm run start
99
```
1010

1111
## Resources

0 commit comments

Comments
 (0)