Skip to content

Commit 9a73ce5

Browse files
committed
chore: migrate to pkgmgr and ignore non-npm lockfiles
1 parent c5b8836 commit 9a73ce5

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

.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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
},
2727
"type": "module",
2828
"scripts": {
29-
"postinstall": "cd ./epicshop && npm install",
30-
"start": "npx --prefix ./epicshop epicshop start",
31-
"dev": "npx --prefix ./epicshop epicshop start",
29+
"postinstall": "cd ./epicshop && pkgmgr install",
30+
"start": "pkgmgrx --prefix ./epicshop epicshop start",
31+
"dev": "pkgmgrx --prefix ./epicshop epicshop start",
3232
"setup": "node ./epicshop/setup.js",
3333
"setup:custom": "node ./epicshop/setup-custom.js",
3434
"lint": "eslint .",
@@ -40,7 +40,8 @@
4040
"license": "GPL-3.0-only",
4141
"devDependencies": {
4242
"eslint": "^8.57.0",
43-
"prettier": "^3.2.5"
43+
"prettier": "^3.2.5",
44+
"pkgmgr": "^1.1.1"
4445
},
4546
"eslintIgnore": [
4647
"**/node_modules/**",

0 commit comments

Comments
 (0)