Skip to content

Commit a90296f

Browse files
authored
fix: root package, init before build packages (#21)
1 parent 6e25dc9 commit a90296f

File tree

2 files changed

+37
-33
lines changed

2 files changed

+37
-33
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ Follow the documentation at [jwc.js.org](https://jwc.js.org)!
2929
Made with ❤️ by Wibus and AkaraChen
3030

3131
Copyright © 2022-PRESENT Jwc.js
32+

package.json

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
11
{
2-
"name": "@jwcjs/monorepo",
3-
"author": "wibus-wee <[email protected]>",
4-
"version": "0.1.0-alpha.0",
5-
"license": "MIT",
6-
"scripts": {
7-
"lint": "eslint ./packages",
8-
"build:core": "cd packages/core && pnpm run build",
9-
"bump": "bump-monorepo"
10-
},
11-
"devDependencies": {
12-
"@types/node": "^18.11.17",
13-
"@typescript-eslint/eslint-plugin": "^5.46.1",
14-
"@typescript-eslint/parser": "^5.46.1",
15-
"@wibus/bump-monorepo": "1.0.0-alpha.2",
16-
"eslint": "^8.29.0",
17-
"eslint-config-prettier": "^8.5.0",
18-
"eslint-plugin-prettier": "^4.2.1",
19-
"husky": "^8.0.2",
20-
"lint-staged": "^13.1.0",
21-
"pnpm": "^7.18.2",
22-
"prettier": "^2.8.1",
23-
"rimraf": "^3.0.2",
24-
"tslib": "^2.4.1",
25-
"typescript": "^4.9.4"
26-
},
27-
"bump": {
28-
"activePackages": [
29-
"core"
30-
],
31-
"publish": true,
32-
"message": "release: %s"
33-
}
34-
}
2+
"name": "@jwcjs/monorepo",
3+
"author": "wibus-wee <[email protected]>",
4+
"version": "0.1.0-alpha.0",
5+
"license": "MIT",
6+
"private": true,
7+
"scripts": {
8+
"lint": "eslint ./packages",
9+
"build:core": "pnpm -C packages/core run build",
10+
"build-packages": "npm run build:core",
11+
"bump": "bump-monorepo",
12+
"prepare": "npm run build-packages"
13+
},
14+
"devDependencies": {
15+
"@types/node": "^18.11.17",
16+
"@typescript-eslint/eslint-plugin": "^5.46.1",
17+
"@typescript-eslint/parser": "^5.46.1",
18+
"@wibus/bump-monorepo": "1.0.0-alpha.2",
19+
"eslint": "^8.29.0",
20+
"eslint-config-prettier": "^8.5.0",
21+
"eslint-plugin-prettier": "^4.2.1",
22+
"husky": "^8.0.2",
23+
"lint-staged": "^13.1.0",
24+
"pnpm": "^7.18.2",
25+
"prettier": "^2.8.1",
26+
"rimraf": "^3.0.2",
27+
"tslib": "^2.4.1",
28+
"typescript": "^4.9.4"
29+
},
30+
"bump": {
31+
"activePackages": [
32+
"core"
33+
],
34+
"publish": true,
35+
"message": "release: %s"
36+
}
37+
}

0 commit comments

Comments
 (0)