Skip to content

Commit 1ba13ce

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

3 files changed

Lines changed: 36 additions & 6 deletions

File tree

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
node_modules
2+
3+
# non-npm JavaScript lockfiles
4+
yarn.lock
5+
pnpm-lock.yaml
6+
bun.lock
7+
bun.lockb
8+
19
.DS_Store
210
node_modules/
311

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: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
},
3434
"type": "module",
3535
"scripts": {
36-
"postinstall": "cd ./epicshop && npm install",
37-
"build": "npm run build --if-present --workspaces",
38-
"start": "npx --prefix ./epicshop epicshop start",
39-
"dev": "npx --prefix ./epicshop epicshop start",
40-
"test": "npm run test --silent --prefix playground",
36+
"postinstall": "cd ./epicshop && pkgmgr install",
37+
"build": "pkgmgr run build --if-present --workspaces",
38+
"start": "pkgmgrx --prefix ./epicshop epicshop start",
39+
"dev": "pkgmgrx --prefix ./epicshop epicshop start",
40+
"test": "pkgmgr run test --silent --prefix playground",
4141
"setup": "node ./setup.js",
4242
"setup:custom": "node ./epicshop/setup-custom.js",
4343
"lint": "eslint .",
@@ -73,6 +73,7 @@
7373
"@typescript-eslint/parser": "^7.1.0",
7474
"eslint": "^8.57.0",
7575
"tsx": "^4.7.0",
76-
"typescript": "^5.3.3"
76+
"typescript": "^5.3.3",
77+
"pkgmgr": "^1.1.1"
7778
}
7879
}

0 commit comments

Comments
 (0)