Skip to content

Commit c0ca612

Browse files
chore: Migrate from pnpm to npm, updating lockfile, CI/CD workflows, and documentation.
1 parent 4c7f48a commit c0ca612

6 files changed

Lines changed: 6883 additions & 4099 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,19 @@ jobs:
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: '20'
21-
22-
- name: Setup pnpm
23-
uses: pnpm/action-setup@v4
24-
with:
25-
version: 9
21+
cache: 'npm'
2622

2723
- name: Install dependencies
28-
run: pnpm install
24+
run: npm ci
2925

3026
- name: Type check
31-
run: pnpm exec tsc --noEmit
27+
run: npx tsc --noEmit
3228

3329
- name: Build Chrome extension
34-
run: pnpm build
30+
run: npm run build
3531

3632
- name: Build Firefox extension
37-
run: pnpm build:firefox
33+
run: npm run build:firefox
3834

3935
- name: Upload Chrome build artifact
4036
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,16 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: '20'
26-
27-
- name: Setup pnpm
28-
uses: pnpm/action-setup@v4
29-
with:
30-
version: 9
26+
cache: 'npm'
3127

3228
- name: Install dependencies
33-
run: pnpm install
29+
run: npm ci
3430

3531
- name: Build Chrome extension
36-
run: pnpm build
32+
run: npm run build
3733

3834
- name: Build Firefox extension
39-
run: pnpm build:firefox
35+
run: npm run build:firefox
4036

4137
- name: Create Chrome zip
4238
run: |

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ In January 2025, [LanguageTool announced](https://languagetool.org/de/webextensi
7070

7171
2. Install dependencies:
7272
```bash
73-
pnpm install
73+
npm install
7474
```
7575

7676
3. Build the extension:
7777
```bash
78-
pnpm build
78+
npm run build
7979
```
8080

8181
4. Load the extension in Chrome:
@@ -99,16 +99,16 @@ In January 2025, [LanguageTool announced](https://languagetool.org/de/webextensi
9999

100100
```bash
101101
# Start development server with hot reload
102-
pnpm dev
102+
npm run dev
103103

104104
# Build for production
105-
pnpm build
105+
npm run build
106106

107107
# Build for Firefox
108-
pnpm build:firefox
108+
npm run build:firefox
109109

110110
# Create distribution zip
111-
pnpm zip
111+
npm run zip
112112
```
113113

114114
## Tech Stack

0 commit comments

Comments
 (0)