Skip to content

Commit 182e4de

Browse files
committed
chore: migrate to pkgmgr and ignore non-npm lockfiles
1 parent 7d31223 commit 182e4de

3 files changed

Lines changed: 36 additions & 8 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
node_modules
22

3+
# non-npm JavaScript lockfiles
4+
yarn.lock
5+
pnpm-lock.yaml
6+
bun.lock
7+
bun.lockb
8+
39
workspace/
410
**/.cache/
511
**/build/

package-lock.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
},
2020
"type": "module",
2121
"scripts": {
22-
"postinstall": "cd ./epicshop && npm install",
23-
"start": "npx --prefix ./epicshop epicshop start",
24-
"dev": "npx --prefix ./epicshop epicshop start",
25-
"test": "npm run test --silent --prefix playground",
26-
"test:e2e": "npm run test:e2e --silent --prefix playground",
27-
"test:e2e:dev": "npm run test:e2e:dev --silent --prefix playground",
28-
"test:e2e:run": "npm run test:e2e:run --silent --prefix playground",
22+
"postinstall": "cd ./epicshop && pkgmgr install",
23+
"start": "pkgmgrx --prefix ./epicshop epicshop start",
24+
"dev": "pkgmgrx --prefix ./epicshop epicshop start",
25+
"test": "pkgmgr run test --silent --prefix playground",
26+
"test:e2e": "pkgmgr run test:e2e --silent --prefix playground",
27+
"test:e2e:dev": "pkgmgr run test:e2e:dev --silent --prefix playground",
28+
"test:e2e:run": "pkgmgr run test:e2e:run --silent --prefix playground",
2929
"setup": "node ./epicshop/setup.js",
3030
"setup:custom": "node ./epicshop/setup-custom.js",
3131
"lint": "eslint . --concurrency=auto",
@@ -49,7 +49,8 @@
4949
"@epic-web/config": "^1.21.3",
5050
"eslint": "^9.39.2",
5151
"prettier": "^3.7.4",
52-
"typescript": "^5.9.3"
52+
"typescript": "^5.9.3",
53+
"pkgmgr": "^1.1.1"
5354
},
5455
"prettier": "@epic-web/config/prettier"
5556
}

0 commit comments

Comments
 (0)