Skip to content

Commit 9dd4bf2

Browse files
committed
chore(monorepo): 🔧 refine workspace task and dependency configuration
1 parent 9fdbf67 commit 9dd4bf2

6 files changed

Lines changed: 33 additions & 49 deletions

File tree

‎.github/workflows/analyze-code.yml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ jobs:
3737
env:
3838
NX_PARALLEL: 3
3939
NX_VERBOSE_LOGGING: ${{ inputs.verbose || false }}
40-
run: >
41-
pnpm exec nx affected
42-
--target=analyze-code
43-
--configuration=check
44-
--parallel=${NX_PARALLEL}
45-
--outputStyle=static
40+
run: pnpm exec nx affected --target=analyze-code
4641

4742
- name: 📊 Upload Type Coverage
4843
if: always()

‎applications/lexico-ingestion/package.json‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
22
"dependencies": {
3-
"@golevelup/ts-vitest": "^4.0.0",
43
"@monorepo/lexico-entities": "workspace:*",
54
"@nestjs/common": "^11.1.26",
65
"@nestjs/config": "^4.0.4",
76
"@nestjs/core": "^11.1.26",
8-
"@nestjs/testing": "^11.1.26",
97
"@nestjs/typeorm": "^11.0.0",
108
"@types/mdast": "^4.0.4",
119
"cheerio": "^1.0.0",
@@ -23,11 +21,11 @@
2321
"remark-frontmatter": "^5.0.0",
2422
"remark-gfm": "^4.0.1",
2523
"typeorm": "^1.0.0",
26-
"vitest": "^4.1.7",
2724
"yaml": "^2.9.0",
2825
"zod": "^4.4.3"
2926
},
3027
"devDependencies": {
28+
"@golevelup/ts-vitest": "^4.0.0",
3129
"@nestjs/testing": "^11.1.26",
3230
"@nx/eslint-plugin": "^23.0.0",
3331
"@swc-node/register": "^1.11.1",

‎applications/lexico-ingestion/project.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
"command": "echo 'lexico-ingestion is a development tool and does not require building'"
1818
},
1919
"clean": {},
20+
"clear": {
21+
"description": "Clear ingested data from the database",
22+
"executor": "nx:run-commands",
23+
"options": {
24+
"command": "node --import @swc-node/register/esm-register src/main.ts clear",
25+
"cwd": "applications/lexico-ingestion"
26+
}
27+
},
2028
"code-analysis": {
2129
"cache": true,
2230
"description": "Run code analysis checks through the aggregate analyze-code target",
@@ -27,14 +35,6 @@
2735
"cwd": "{workspaceRoot}"
2836
}
2937
},
30-
"clear": {
31-
"description": "Clear ingested data from the database",
32-
"executor": "nx:run-commands",
33-
"options": {
34-
"command": "node --import @swc-node/register/esm-register src/main.ts clear",
35-
"cwd": "applications/lexico-ingestion"
36-
}
37-
},
3838
"corpus-scriptorum-ecclesiasticorum-latinorum": {
3939
"description": "Download CSEL XML files locally",
4040
"executor": "nx:run-commands",

‎packages/lexico-entities/package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"@nestjs/config": "^4.0.4",
55
"@nestjs/graphql": "^12.2.2",
66
"@nestjs/typeorm": "^11.0.0",
7-
"@testcontainers/postgresql": "^12.0.3",
8-
"lodash": "^4.18.1",
97
"pg": "^8.21.0",
108
"pluralize": "^8.0.0",
119
"reflect-metadata": "^0.2.2",
1210
"typeorm": "^1.0.0",
13-
"typeorm-naming-strategies": "^4.1.0",
14-
"vitest": "^4.1.7"
11+
"typeorm-naming-strategies": "^4.1.0"
1512
},
1613
"devDependencies": {
1714
"@nestjs/testing": "^11.1.26",
1815
"@nx/vite": "^23.0.0",
16+
"@testcontainers/postgresql": "^12.0.3",
1917
"@types/node": "^25.9.1",
2018
"@types/pluralize": "^0.0.33",
19+
"lodash": "^4.18.1",
2120
"typescript": "^6.0.3",
2221
"vite": "^8.0.14",
23-
"vite-tsconfig-paths": "^6.1.1"
22+
"vite-tsconfig-paths": "^6.1.1",
23+
"vitest": "^4.1.7"
2424
},
2525
"exports": {
2626
".": {

‎pnpm-lock.yaml‎

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎project.json‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,6 @@
8787
"cwd": "{workspaceRoot}"
8888
}
8989
},
90-
"cache-status": {
91-
"cache": false,
92-
"description": "Display current local Nx cache size.",
93-
"executor": "nx:run-commands",
94-
"options": {
95-
"command": "du -sh .nx/cache",
96-
"cwd": "{workspaceRoot}"
97-
}
98-
},
9990
"clean": {
10091
"cache": true,
10192
"configurations": {

0 commit comments

Comments
 (0)