Skip to content

Commit 4b931ce

Browse files
Merge pull request #15 from plentymarkets/refactor/use_npm_package_manager
refactor: move from pnpm to npm package management
2 parents 9833692 + 4dabc1b commit 4b931ce

File tree

11 files changed

+17569
-10667
lines changed

11 files changed

+17569
-10667
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,32 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v6
17-
- uses: pnpm/action-setup@v3
1817
- uses: actions/setup-node@v6
1918
with:
20-
node-version: 20
21-
cache: pnpm
22-
- run: pnpm install
23-
- run: pnpm run go
19+
node-version-file: .nvmrc
20+
cache: npm
21+
- run: npm install
22+
- run: npm run go
2423
lint:
2524
runs-on: ubuntu-latest
2625
steps:
2726
- uses: actions/checkout@v6
28-
- uses: pnpm/action-setup@v3
2927
- uses: actions/setup-node@v6
3028
with:
31-
node-version: 20
32-
cache: pnpm
33-
- run: pnpm install
34-
- run: pnpm run dev:prepare
35-
- run: pnpm run lint
29+
node-version-file: .nvmrc
30+
cache: npm
31+
- run: npm install
32+
- run: npm run dev:prepare
33+
- run: npm run lint
3634

3735
typecheck:
3836
runs-on: ubuntu-latest
3937
steps:
4038
- uses: actions/checkout@v6
41-
- uses: pnpm/action-setup@v3
4239
- uses: actions/setup-node@v6
4340
with:
44-
node-version: 20
45-
cache: pnpm
46-
- run: pnpm install
47-
- run: pnpm run dev:prepare
48-
- run: pnpm run test:types
41+
node-version-file: .nvmrc
42+
cache: npm
43+
- run: npm install
44+
- run: npm run dev:prepare
45+
- run: npm run test:types

.github/workflows/npm-release.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,14 @@ jobs:
1616
- uses: actions/checkout@v6
1717
- uses: actions/setup-node@v6
1818
with:
19-
node-version: 20
19+
node-version-file: .nvmrc
2020
registry-url: https://registry.npmjs.org/
21-
- uses: pnpm/action-setup@v4
22-
with:
23-
version: 9.15.4
21+
cache: npm
2422
- name: Install dependencies
25-
run: pnpm install
26-
- name: prepare
27-
run: pnpm run dev:prepare
23+
run: npm ci
24+
- name: build
25+
run: npm run go
2826
- name: ci
29-
run: pnpm run lint
30-
- name: prepack
31-
run: pnpm run prepack
27+
run: npm run lint
3228
- name: publish
3329
run: npm publish

.github/workflows/release.yml

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

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Change log: `@plentymarkets/pwa-module-gtag`
22

3+
### 1.2.0
4+
### Minor Changes
5+
6+
- Migrate from pnpm to npm
7+
38
### 1.1.4
49
### Patch Changes
10+
511
- Updated dependencies
612
- Fix shop-core installation
713

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
## License
1414

15-
[MIT](./LICENSE)
15+
[BSD 3-Clause](./LICENSE)

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build]
22
publish = "playground/dist"
3-
command = "pnpm run dev:build"
3+
command = "npm run dev:build"
44

55
[functions]
66
directory = "playground/.netlify/functions-internal"

0 commit comments

Comments
 (0)