Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

nx.json

60 lines1.4 KB

1{
2 "$schema": "./node_modules/nx/schemas/nx-schema.json",
3 "defaultBase": "main",
4 "useInferencePlugins": false,
5 "parallel": 5,
6 "namedInputs": {
7 "sharedGlobals": [
8 "{workspaceRoot}/.nvmrc",
9 "{workspaceRoot}/package.json",
10 "{workspaceRoot}/tsconfig.json"
11 ],
12 "default": [
13 "sharedGlobals",
14 "{projectRoot}/**/*",
15 "!{projectRoot}/**/*.md"
16 ],
17 "production": [
18 "default",
19 "!{projectRoot}/tests/**/*",
20 "!{projectRoot}/eslint.config.js"
21 ]
22 },
23 "targetDefaults": {
24 "test:lib": {
25 "cache": true,
26 "dependsOn": ["^build"],
27 "inputs": ["default", "^production"],
28 "outputs": ["{projectRoot}/coverage"]
29 },
30 "test:eslint": {
31 "cache": true,
32 "dependsOn": ["^build"],
33 "inputs": ["default", "^production", "{workspaceRoot}/eslint.config.js"]
34 },
35 "test:types": {
36 "cache": true,
37 "dependsOn": ["^build"],
38 "inputs": ["default", "^production"]
39 },
40 "test:build": {
41 "cache": true,
42 "dependsOn": ["build"],
43 "inputs": ["production"]
44 },
45 "build": {
46 "cache": true,
47 "dependsOn": ["^build"],
48 "inputs": ["production", "^production"],
49 "outputs": ["{projectRoot}/build", "{projectRoot}/dist"]
50 },
51 "test:knip": {
52 "cache": true,
53 "inputs": ["{workspaceRoot}/**/*"]
54 },
55 "test:sherif": {
56 "cache": true,
57 "inputs": ["{workspaceRoot}/**/package.json"]
58 }
59 }