Skip to content

Commit e5ddecf

Browse files
committed
chore: migrate to pkgmgr and ignore non-npm lockfiles
1 parent 6affb05 commit e5ddecf

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
@@ -32,9 +32,9 @@
3232
"#*": "./*"
3333
},
3434
"scripts": {
35-
"postinstall": "cd ./epicshop && npm install",
36-
"start": "npx --prefix ./epicshop epicshop start",
37-
"dev": "npx --prefix ./epicshop epicshop start",
35+
"postinstall": "cd ./epicshop && pkgmgr install",
36+
"start": "pkgmgrx --prefix ./epicshop epicshop start",
37+
"dev": "pkgmgrx --prefix ./epicshop epicshop start",
3838
"setup": "node ./epicshop/setup.js",
3939
"setup:custom": "node ./epicshop/setup-custom.js",
4040
"build": "cd ./playground && npm run build",
@@ -63,7 +63,8 @@
6363
"eslint": "^9.34.0",
6464
"npm-run-all": "^4.1.5",
6565
"prettier": "^3.6.2",
66-
"typescript": "^5.9.2"
66+
"typescript": "^5.9.2",
67+
"pkgmgr": "^1.1.1"
6768
},
6869
"workspaces": [
6970
"./exercises/**/*"

0 commit comments

Comments
 (0)