Skip to content

Commit 998beef

Browse files
committed
chore: migrate to pkgmgr and ignore non-npm lockfiles
1 parent ceb01fb commit 998beef

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
@@ -20,13 +20,13 @@
2020
},
2121
"type": "module",
2222
"scripts": {
23-
"postinstall": "cd ./epicshop && npm install",
24-
"start": "npx --prefix ./epicshop epicshop start",
25-
"dev": "npx --prefix ./epicshop epicshop start",
26-
"test": "npm run test --silent --prefix playground",
27-
"test:e2e": "npm run test:e2e --silent --prefix playground",
28-
"test:e2e:dev": "npm run test:e2e:dev --silent --prefix playground",
29-
"test:e2e:run": "npm run test:e2e:run --silent --prefix playground",
23+
"postinstall": "cd ./epicshop && pkgmgr install",
24+
"start": "pkgmgrx --prefix ./epicshop epicshop start",
25+
"dev": "pkgmgrx --prefix ./epicshop epicshop start",
26+
"test": "pkgmgr run test --silent --prefix playground",
27+
"test:e2e": "pkgmgr run test:e2e --silent --prefix playground",
28+
"test:e2e:dev": "pkgmgr run test:e2e:dev --silent --prefix playground",
29+
"test:e2e:run": "pkgmgr run test:e2e:run --silent --prefix playground",
3030
"setup": "node ./epicshop/setup.js",
3131
"setup:custom": "node ./epicshop/setup-custom.js",
3232
"lint": "eslint .",
@@ -62,7 +62,8 @@
6262
"eslint": "^9.31.0",
6363
"eslint-plugin-react-hooks": "^5.2.0",
6464
"prettier": "^3.6.2",
65-
"typescript": "^5.8.3"
65+
"typescript": "^5.8.3",
66+
"pkgmgr": "^1.1.1"
6667
},
6768
"prettier": "@epic-web/config/prettier"
6869
}

0 commit comments

Comments
 (0)