Skip to content

Commit ca83f17

Browse files
committed
chore: migrate to pkgmgr and ignore non-npm lockfiles
1 parent c91f7bf commit ca83f17

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
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: 23 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: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
"type": "module",
2828
"scripts": {
2929
"postinstall": "patch-package --patch-dir epicshop/patches && cd ./epicshop && npm install",
30-
"start": "npx --prefix ./epicshop epicshop start",
31-
"dev": "npx --prefix ./epicshop epicshop start",
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",
34-
"build": "npm run build --if-present --workspaces",
35-
"test": "npm run test --silent --prefix playground",
36-
"test:e2e": "npm run test:e2e --silent --prefix playground",
37-
"test:e2e:dev": "npm run test:e2e:dev --silent --prefix playground",
38-
"test:e2e:run": "npm run test:e2e:run --silent --prefix playground",
34+
"build": "pkgmgr run build --if-present --workspaces",
35+
"test": "pkgmgr run test --silent --prefix playground",
36+
"test:e2e": "pkgmgr run test:e2e --silent --prefix playground",
37+
"test:e2e:dev": "pkgmgr run test:e2e:dev --silent --prefix playground",
38+
"test:e2e:run": "pkgmgr run test:e2e:run --silent --prefix playground",
3939
"pretest:all": "npm run build",
4040
"test:all": "node ./scripts/test.js",
4141
"lint": "eslint .",
@@ -121,5 +121,8 @@
121121
".env",
122122
"**/package-lock.json",
123123
"**/playwright-report/**"
124-
]
124+
],
125+
"devDependencies": {
126+
"pkgmgr": "^1.1.1"
127+
}
125128
}

0 commit comments

Comments
 (0)