File tree 6 files changed +20
-10954
lines changed
6 files changed +20
-10954
lines changed Original file line number Diff line number Diff line change 41
41
"@guanghechen/conventional-changelog" : " ^6.0.1" ,
42
42
"@guanghechen/eslint-config" : " ^7.0.10" ,
43
43
"@guanghechen/jest-config" : " ^6.0.2" ,
44
+ "@guanghechen/monorepo" : " ^1.0.1" ,
44
45
"@guanghechen/reporter" : " ^1.0.5" ,
45
46
"@guanghechen/rollup-config" : " ^6.0.2" ,
46
47
"@guanghechen/script-doc-link" : " ^6.0.2" ,
47
48
"@types/jest" : " 29.5.13" ,
48
49
"@types/node" : " 20.16.10" ,
49
- "cross-env" : " ^ 7.0.3" ,
50
+ "cross-env" : " 7.0.3" ,
50
51
"eslint" : " 9.12.0" ,
51
52
"husky" : " 9.1.6" ,
52
53
"is-ci" : " 3.0.1" ,
53
- "jest" : " ^ 29.7.0" ,
54
+ "jest" : " 29.7.0" ,
54
55
"lerna" : " 8.1.8" ,
55
56
"lint-staged" : " 15.2.10" ,
56
57
"npm-run-all" : " 4.1.5" ,
57
58
"nx" : " 19.8.4" ,
58
59
"pinst" : " 3.0.0" ,
59
60
"prettier" : " 3.3.3" ,
60
- "rimraf" : " ^ 6.0.1" ,
61
- "rollup" : " ^ 4.24.0" ,
61
+ "rimraf" : " 6.0.1" ,
62
+ "rollup" : " 4.24.0" ,
62
63
"ts-jest" : " 29.2.5" ,
63
64
"ts-node" : " 10.9.2" ,
64
65
"typescript" : " 5.6.2"
Original file line number Diff line number Diff line change
1
+ import { checkDepsInfo } from '@guanghechen/monorepo'
2
+ import path from 'node:path'
3
+ import url from 'node:url'
4
+
5
+ const WORKSPACE_ROOT = path . resolve ( path . dirname ( url . fileURLToPath ( import . meta. url ) ) , '..' )
6
+ const workspaceNames = [ 'packages' ]
7
+ const deps = await checkDepsInfo ( WORKSPACE_ROOT , workspaceNames )
8
+ console . log ( deps )
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import { genProjects } from '@guanghechen/monorepo'
2
+ import path from 'node:path'
3
+ import url from 'node:url'
4
+
5
+ const WORKSPACE_ROOT = path . resolve ( path . dirname ( url . fileURLToPath ( import . meta. url ) ) , '..' )
6
+ const workspaceNames = [ 'packages' ]
7
+ await genProjects ( WORKSPACE_ROOT , workspaceNames )
You can’t perform that action at this time.
0 commit comments