Skip to content

Commit f4b58aa

Browse files
committed
explicit nx, fix lint command, bump deps
repair lockfile
1 parent 3fe3109 commit f4b58aa

File tree

4 files changed

+16978
-5523
lines changed

4 files changed

+16978
-5523
lines changed

eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,4 @@ const baseConfig = tseslint.config(
184184
}
185185
);
186186

187-
// module.exports = baseConfig;
188187
export default baseConfig;

nx.json

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,30 @@
33
"default": {
44
"runner": "nx/tasks-runners/default",
55
"options": {
6-
"cacheableOperations": [
7-
"compile",
8-
"lint",
9-
"version:update"
10-
]
6+
"cacheableOperations": ["compile", "lint", "version:update"]
117
}
128
}
139
},
1410
"targetDefaults": {
1511
"compile": {
16-
"dependsOn": [
17-
"version:update",
18-
"^compile"
19-
],
20-
"inputs": [
21-
"{projectRoot}/src/**/*.ts",
22-
"{projectRoot}/test/**/*.ts"
23-
],
24-
"outputs": [
25-
"{projectRoot}/build"
26-
]
12+
"dependsOn": ["version:update", "^compile"],
13+
"inputs": ["{projectRoot}/src/**/*.ts", "{projectRoot}/test/**/*.ts"],
14+
"outputs": ["{projectRoot}/build"]
2715
},
2816
"watch": {
29-
"dependsOn": [
30-
"compile"
31-
]
32-
},
33-
"lint": {
34-
"inputs": [
35-
"{projectRoot}/src/**/*.ts",
36-
"{projectRoot}/test/**/*.ts"
37-
]
17+
"dependsOn": ["compile"]
3818
},
3919
"version:update": {
40-
"inputs": [
41-
"{projectRoot}/package.json"
42-
],
43-
"outputs": [
44-
"{projectRoot}/src/version.ts"
45-
]
20+
"inputs": ["{projectRoot}/package.json"],
21+
"outputs": ["{projectRoot}/src/version.ts"]
22+
}
23+
},
24+
"plugins": [
25+
{
26+
"plugin": "@nx/eslint/plugin",
27+
"options": {
28+
"targetName": "lint"
29+
}
4630
}
47-
}
31+
]
4832
}

0 commit comments

Comments
 (0)