@zukhruf/nx 0.8.147 → 0.8.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -412,15 +412,15 @@ A `scripts.test` in a `package.json` replaces the inferred target. Nx runs it wi
412
412
  7. Delete the `test:node` tags.
413
413
  8. Compare `nx show projects --withTarget test` before and after. The differences must be the ones in the table.
414
414
 
415
- | Workspace | Today | Changes |
416
- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
417
- | zukhruf | `targetDefaults.test` with filters `tag:test:node` and `tag:test:docker`; `dependsOn` `["build", "^build"]`; `--test-force-exit` for each project | 30 tagged projects; 2 Docker projects (mutex, testing) keep their own global setup; `dependsOn` `["...", "build"]`; no `flags`: since 2026-11-19 only the `test:docker` projects force-exit, as each other suite exits by itself (all 43 measured without the flag); since 03ae010f, `targetDefaults.test` sets `cache: true` and the inputs `["default", "^default", { "runtime": "node --version" }]` |
418
- | factory | 2 targets: `api` with Docker arguments; `foundation` with its tests in `tests/` | delete `apps/factory/api/src/testing/docker-global-setup.ts`; `dependsOn` `["...", "^sdk"]` |
419
- | whatisgoingon | 1 target | 1 |
420
- | deepagents | 11 tagged projects, 3 Docker projects, 4 demo scripts | delete `tools/src/docker-global-setup.ts`; `dependsOn` `["...", "build"]`; module mocks in `flags` or in the `args` of a project; the 4 demo scripts and the Docker context script stay |
421
- | elt | 55 commands in the projects, 8 with the global setup | delete `docker-global-setup.ts`; `dependsOn` `["...", "build"]`; no override, because no test file reads a path from the working directory |
422
- | context-compiler | 17 targets; the `plugin` project has a no-op `test` that depends on `server:test` | 5 connector targets that test nothing go; `dependsOn` `["...", "build"]`; the desktop e2e files stay as an override; if `plugin` owns no test file, the plugin gives it nothing and its own `test` in `project.json` stays; the test target runs in the project root, so 9 test files of `cli`, `desktop` and `server` find the workspace root from `import.meta.dirname` |
423
- | text2sql | about 24 commands in the projects, and 13 projects on the shared default; Nx 23.1.0 | update Nx; delete `packages/adapters/src/testing/docker-global-setup.ts` and `apps/desktop/backend/src/testing/docker-global-setup.ts`; 6 targets that test nothing go; `.agents` and `.claude` get a target; the backends set `--test-timeout=120000` in `args`; the daemon keeps `["image"]` or uses `"..."` |
415
+ | Workspace | Today | Changes |
416
+ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
417
+ | zukhruf | `targetDefaults.test` with filters `tag:test:node` and `tag:test:docker`; `dependsOn` `["build", "^build"]`; `--test-force-exit` for each project | 30 tagged projects; 2 Docker projects (mutex, testing) keep their own global setup; `dependsOn` `["...", "build"]`; no `flags`: since 2026-11-19 only the `test:docker` projects force-exit, as each other suite exits by itself (all 43 measured without the flag); since 03ae010f, `targetDefaults.test` sets `cache: true` and the inputs `["default", "^default", { "runtime": "node --version" }]`, and since 03315e21 also `{ "env": "DOCKER_CONTEXT" }` and `{ "env": "DOCKER_HOST" }`, so a switch of Docker engine misses the cache |
418
+ | factory | 2 targets: `api` with Docker arguments; `foundation` with its tests in `tests/` | delete `apps/factory/api/src/testing/docker-global-setup.ts`; `dependsOn` `["...", "^sdk"]` |
419
+ | whatisgoingon | 1 target | 1 |
420
+ | deepagents | 11 tagged projects, 3 Docker projects, 4 demo scripts | delete `tools/src/docker-global-setup.ts`; `dependsOn` `["...", "build"]`; module mocks in `flags` or in the `args` of a project; the 4 demo scripts and the Docker context script stay |
421
+ | elt | 55 commands in the projects, 8 with the global setup | delete `docker-global-setup.ts`; `dependsOn` `["...", "build"]`; no override, because no test file reads a path from the working directory |
422
+ | context-compiler | 17 targets; the `plugin` project has a no-op `test` that depends on `server:test` | 5 connector targets that test nothing go; `dependsOn` `["...", "build"]`; the desktop e2e files stay as an override; if `plugin` owns no test file, the plugin gives it nothing and its own `test` in `project.json` stays; the test target runs in the project root, so 9 test files of `cli`, `desktop` and `server` find the workspace root from `import.meta.dirname` |
423
+ | text2sql | about 24 commands in the projects, and 13 projects on the shared default; Nx 23.1.0 | update Nx; delete `packages/adapters/src/testing/docker-global-setup.ts` and `apps/desktop/backend/src/testing/docker-global-setup.ts`; 6 targets that test nothing go; `.agents` and `.claude` get a target; the backends set `--test-timeout=120000` in `args`; the daemon keeps `["image"]` or uses `"..."` |
424
424
 
425
425
  ### Who uses the test area
426
426
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zukhruf/nx",
3
- "version": "0.8.147",
3
+ "version": "0.8.149",
4
4
  "description": "The Nx part of the monorepo standard: inference plugins for format, test, lint, opentofu and prisma targets, and generators for the root files (preset, init), apps (node-app, react-app, pair, ui-package), a db package (prisma) and delivery (dokploy).",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -134,7 +134,7 @@
134
134
  "@nx/react": ">=24.0.6 <25.0.0",
135
135
  "@nx/vite": ">=24.0.6 <25.0.0",
136
136
  "@nx/vitest": ">=24.0.6 <25.0.0",
137
- "@zukhruf/testing": "^0.8.147",
137
+ "@zukhruf/testing": "^0.8.149",
138
138
  "nx": ">=24.0.6 <25.0.0",
139
139
  "prettier": "^3.0.0",
140
140
  "typescript": ">=5.8.0 <6.1.0"
@@ -161,10 +161,10 @@
161
161
  },
162
162
  "devDependencies": {
163
163
  "@sdk-it/hono": "0.46.11",
164
- "@zukhruf/eslint": "^0.8.147",
165
- "@zukhruf/fs": "^0.8.147",
166
- "@zukhruf/parameterized-test": "^0.8.147",
167
- "@zukhruf/testing": "^0.8.147",
164
+ "@zukhruf/eslint": "^0.8.149",
165
+ "@zukhruf/fs": "^0.8.149",
166
+ "@zukhruf/parameterized-test": "^0.8.149",
167
+ "@zukhruf/testing": "^0.8.149",
168
168
  "evlog": "2.35.1",
169
169
  "hono": "4.13.20"
170
170
  }