Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,29 @@
"e2e": {
"dependsOn": ["^build"]
},
"nxv-pkg-install": {
"parallelism": false
"unit-test": {
"cache": true,
"inputs": ["default", "^production", "production", "test-setup"],
"executor": "@nx/vite:test",
"options": {
"configFile": "{projectRoot}/vitest.unit.config.ts",
"passWithNoTests": true,
"watch": false
}
},
"@nx/vite:test": {
"int-test": {
"cache": true,
"inputs": ["default", "^production"],
"inputs": ["default", "^production", "test-setup"],
"executor": "@nx/vite:test",
"options": {
"configFile": "{projectRoot}/vitest.int.config.ts",
"passWithNoTests": true,
"watch": false
}
},
"nxv-pkg-install": {
"parallelism": false
},
"nx-release-publish": {
"dependsOn": ["build"],
"executor": "@nx/js:release-publish",
Expand All @@ -53,6 +65,7 @@
"!{projectRoot}/code-pushup.config.?(m)[jt]s",
"!{projectRoot}/zod2md.config.ts"
],
"test-setup": ["{workspaceRoot}/testing/test-setup/src/**/*"],
"sharedGlobals": []
},
"workspaceLayout": {
Expand Down
14 changes: 2 additions & 12 deletions packages/ci/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,8 @@
"lint": {
"executor": "@nx/eslint:lint"
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/ci/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/ci/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:tooling", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/cli/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/cli/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/cli/vitest.int.config.ts"
}
},
"unit-test": {},
"int-test": {},
"run-help": {
"command": "npx dist/packages/cli --help",
"dependsOn": ["build"]
Expand Down
14 changes: 2 additions & 12 deletions packages/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/core/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/core/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:core", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/create-cli/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/create-cli/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/create-cli/vitest.int.config.ts"
}
},
"unit-test": {},
"int-test": {},
"exec-node": {
"dependsOn": ["build"],
"command": "node ./dist/packages/create-cli/src/index.js",
Expand Down
14 changes: 2 additions & 12 deletions packages/models/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/models/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/models/vitest.int.config.ts"
}
},
"unit-test": {},
"int-test": {},
"generate-docs": {
"command": "npx zod2md --config packages/models/zod2md.config.ts",
"cache": true,
Expand Down
14 changes: 2 additions & 12 deletions packages/nx-plugin/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/nx-plugin/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/nx-plugin/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:tooling", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/plugin-coverage/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-coverage/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-coverage/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:plugin", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/plugin-eslint/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-eslint/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-eslint/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:plugin", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/plugin-js-packages/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-js-packages/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-js-packages/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:plugin", "type:feature", "publishable"],
"description": "A plugin for JavaScript packages."
Expand Down
14 changes: 2 additions & 12 deletions packages/plugin-jsdocs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,7 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-jsdocs/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-jsdocs/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
}
}
14 changes: 2 additions & 12 deletions packages/plugin-lighthouse/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-lighthouse/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-lighthouse/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:plugin", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/plugin-typescript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,8 @@
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-typescript/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-typescript/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:plugin", "type:feature", "publishable"]
}
14 changes: 2 additions & 12 deletions packages/utils/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,8 @@
"cwd": "./packages/utils/perf"
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/utils/vitest.unit.config.ts"
}
},
"int-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/utils/vitest.int.config.ts"
}
}
"unit-test": {},
"int-test": {}
},
"tags": ["scope:shared", "type:util", "publishable"]
}
7 changes: 1 addition & 6 deletions testing/test-setup/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
"assets": ["testing/test-setup/*.md"]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "testing/test-setup/vitest.unit.config.ts"
}
},
"unit-test": {},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
Loading