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

nx.json

88 lines2.2 KB

1{
2 "$schema": "./node_modules/nx/schemas/nx-schema.json",
3 "defaultBase": "main",
4 "nxCloudId": "69c71b9038eed5e74d5da8e4",
5 "useInferencePlugins": false,
6 "parallel": 5,
7 "tui": {
8 "enabled": false
9 },
10 "namedInputs": {
11 "sharedGlobals": [
12 "{workspaceRoot}/.nvmrc",
13 "{workspaceRoot}/package.json",
14 "{workspaceRoot}/tsconfig.json"
15 ],
16 "default": [
17 "sharedGlobals",
18 "{projectRoot}/**/*",
19 "!{projectRoot}/**/*.md"
20 ],
21 "production": [
22 "default",
23 "!{projectRoot}/tests/**/*",
24 "!{projectRoot}/eslint.config.js"
25 ],
26 "intentWorkflows": [
27 "{workspaceRoot}/.github/workflows/check-skills.yml",
28 "{workspaceRoot}/.github/workflows/review-skills.yml",
29 "{workspaceRoot}/.github/workflows/publish-skill-review.yml"
30 ]
31 },
32 "targetDefaults": {
33 "test:lib": {
34 "cache": true,
35 "dependsOn": ["^build"],
36 "inputs": [
37 "default",
38 "^production",
39 "{workspaceRoot}/packages/intent/meta/**/*",
40 "intentWorkflows"
41 ],
42 "outputs": ["{projectRoot}/coverage"]
43 },
44 "test:integration": {
45 "cache": true,
46 "dependsOn": ["build", "^build"],
47 "inputs": [
48 "default",
49 "^production",
50 "{workspaceRoot}/packages/intent/meta/**/*",
51 "intentWorkflows"
52 ]
53 },
54 "test:eslint": {
55 "cache": true,
56 "dependsOn": ["^build"],
57 "inputs": ["default", "^production", "{workspaceRoot}/eslint.config.js"]
58 },
59 "test:types": {
60 "cache": true,
61 "dependsOn": ["^build"],
62 "inputs": ["default", "^production"]
63 },
64 "build": {
65 "cache": true,
66 "dependsOn": ["^build"],
67 "inputs": [
68 "production",
69 "^production",
70 "intentWorkflows",
71 { "runtime": "git -c core.fsmonitor=false rev-parse HEAD" }
72 ],
73 "outputs": ["{projectRoot}/build", "{projectRoot}/dist"]
74 },
75 "test:docs": {
76 "cache": true,
77 "inputs": ["{workspaceRoot}/docs/**/*"]
78 },
79 "test:knip": {
80 "cache": true,
81 "inputs": ["{workspaceRoot}/**/*"]
82 },
83 "test:sherif": {
84 "cache": true,
85 "inputs": ["{workspaceRoot}/**/package.json"]
86 }
87 }