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

nx.json

77 lines1.8 KB

1{
2 "$schema": "./node_modules/nx/schemas/nx-schema.json",
3 "defaultBase": "main",
4 "nxCloudId": "65d1330edb0c1e7def5cb068",
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 },
27 "targetDefaults": {
28 "test:docs": {
29 "cache": true,
30 "inputs": ["{workspaceRoot}/docs/**/*"]
31 },
32 "test:knip": {
33 "cache": true,
34 "inputs": ["{workspaceRoot}/**/*"]
35 },
36 "test:sherif": {
37 "cache": true,
38 "inputs": ["{workspaceRoot}/**/package.json"]
39 },
40 "test:eslint": {
41 "cache": true,
42 "dependsOn": ["^build"],
43 "inputs": ["default", "^production", "{workspaceRoot}/eslint.config.js"]
44 },
45 "test:lib": {
46 "cache": true,
47 "dependsOn": ["^build"],
48 "inputs": ["default", "^production"],
49 "outputs": ["{projectRoot}/coverage"]
50 },
51 "test:types": {
52 "cache": true,
53 "dependsOn": ["^build"],
54 "inputs": ["default", "^production"]
55 },
56 "test:e2e": {
57 "cache": true,
58 "dependsOn": ["^build"],
59 "inputs": ["default", "^production"],
60 "outputs": [
61 "{projectRoot}/playwright-report",
62 "{projectRoot}/test-results"
63 ]
64 },
65 "build": {
66 "cache": true,
67 "dependsOn": ["^build"],
68 "inputs": ["production", "^production"],
69 "outputs": ["{projectRoot}/build", "{projectRoot}/dist"]
70 },
71 "test:build": {
72 "cache": true,
73 "dependsOn": ["build"],
74 "inputs": ["production"]
75 }
76 }