Skip to content

Commit 58f91ae

Browse files
committed
🔧 chore: fix nx config
1 parent a3b2e2a commit 58f91ae

File tree

6 files changed

+20
-10954
lines changed

6 files changed

+20
-10954
lines changed

Diff for: package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,25 @@
4141
"@guanghechen/conventional-changelog": "^6.0.1",
4242
"@guanghechen/eslint-config": "^7.0.10",
4343
"@guanghechen/jest-config": "^6.0.2",
44+
"@guanghechen/monorepo": "^1.0.1",
4445
"@guanghechen/reporter": "^1.0.5",
4546
"@guanghechen/rollup-config": "^6.0.2",
4647
"@guanghechen/script-doc-link": "^6.0.2",
4748
"@types/jest": "29.5.13",
4849
"@types/node": "20.16.10",
49-
"cross-env": "^7.0.3",
50+
"cross-env": "7.0.3",
5051
"eslint": "9.12.0",
5152
"husky": "9.1.6",
5253
"is-ci": "3.0.1",
53-
"jest": "^29.7.0",
54+
"jest": "29.7.0",
5455
"lerna": "8.1.8",
5556
"lint-staged": "15.2.10",
5657
"npm-run-all": "4.1.5",
5758
"nx": "19.8.4",
5859
"pinst": "3.0.0",
5960
"prettier": "3.3.3",
60-
"rimraf": "^6.0.1",
61-
"rollup": "^4.24.0",
61+
"rimraf": "6.0.1",
62+
"rollup": "4.24.0",
6263
"ts-jest": "29.2.5",
6364
"ts-node": "10.9.2",
6465
"typescript": "5.6.2"

Diff for: script/deps.mjs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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)

Diff for: script/gen-project-lib.mjs

-48
This file was deleted.

Diff for: script/nx/project.mjs

-177
This file was deleted.

Diff for: script/projects.mjs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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)

0 commit comments

Comments
 (0)