Skip to content

Commit 989e135

Browse files
committed
fix
1 parent fe9458f commit 989e135

File tree

3 files changed

+19
-62
lines changed

3 files changed

+19
-62
lines changed

nx.json

Lines changed: 15 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,79 +4,42 @@
44
"useInferencePlugins": false,
55
"parallel": 5,
66
"namedInputs": {
7-
"sharedGlobals": [
8-
"{workspaceRoot}/package.json",
9-
"{workspaceRoot}/tsconfig.json",
10-
"{workspaceRoot}/biome.json"
11-
],
12-
"default": [
13-
"sharedGlobals",
14-
"{projectRoot}/**/*",
15-
"!{projectRoot}/**/*.md"
16-
],
17-
"production": [
18-
"default",
19-
"!{projectRoot}/tests/**/*"
20-
]
7+
"sharedGlobals": ["{workspaceRoot}/package.json", "{workspaceRoot}/tsconfig.json", "{workspaceRoot}/biome.json"],
8+
"default": ["sharedGlobals", "{projectRoot}/**/*", "!{projectRoot}/**/*.md"],
9+
"production": ["default", "!{projectRoot}/tests/**/*"]
2110
},
2211
"targetDefaults": {
2312
"check": {
2413
"cache": false
2514
},
2615
"test:unit": {
2716
"cache": true,
28-
"dependsOn": [
29-
"^build"
30-
],
31-
"inputs": [
32-
"default",
33-
"^production"
34-
]
17+
"dependsOn": ["^build"],
18+
"inputs": ["default", "^production"]
3519
},
3620
"test:types": {
3721
"cache": true,
38-
"dependsOn": [
39-
"^build"
40-
],
41-
"inputs": [
42-
"default",
43-
"^production"
44-
]
22+
"dependsOn": ["^build"],
23+
"inputs": ["default", "^production"]
4524
},
4625
"test:publint": {
4726
"cache": true,
48-
"dependsOn": [
49-
"build"
50-
],
51-
"inputs": [
52-
"production"
53-
]
27+
"dependsOn": ["build"],
28+
"inputs": ["production"]
5429
},
5530
"build": {
5631
"cache": true,
57-
"dependsOn": [
58-
"^build"
59-
],
60-
"inputs": [
61-
"production",
62-
"^production"
63-
],
64-
"outputs": [
65-
"{projectRoot}/build",
66-
"{projectRoot}/dist"
67-
]
32+
"dependsOn": ["^build"],
33+
"inputs": ["production", "^production"],
34+
"outputs": ["{projectRoot}/build", "{projectRoot}/dist"]
6835
},
6936
"test:unused": {
7037
"cache": true,
71-
"inputs": [
72-
"{workspaceRoot}/**/*"
73-
]
38+
"inputs": ["{workspaceRoot}/**/*"]
7439
},
7540
"test:deps": {
7641
"cache": true,
77-
"inputs": [
78-
"{workspaceRoot}/**/package.json"
79-
]
42+
"inputs": ["{workspaceRoot}/**/package.json"]
8043
}
8144
}
82-
}
45+
}

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,10 @@
5050
"node": ">=20.0.0"
5151
},
5252
"nx": {
53-
"includedScripts": [
54-
"test:unused",
55-
"test:deps",
56-
"check"
57-
]
53+
"includedScripts": ["test:unused", "test:deps", "check"]
5854
},
5955
"overrides": {
6056
"open-source-stack": "workspace:*"
6157
},
6258
"private": true
63-
}
59+
}

packages/open-source-stack/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
"bugs": {
4040
"url": "https://github.com/forge-42/open-source-stack/issues"
4141
},
42-
"files": [
43-
"dist"
44-
],
42+
"files": ["dist"],
4543
"homepage": "https://github.com/forge-42/open-source-stack#readme",
4644
"publishConfig": {
4745
"provenance": true
@@ -56,4 +54,4 @@
5654
"typescript": "^5.8.3",
5755
"vitest": "^3.1.1"
5856
}
59-
}
57+
}

0 commit comments

Comments
 (0)