@haus-tech/haus-workflow 0.18.0 → 0.18.2

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 (59) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/cli.js +159 -164
  4. package/library/catalog/manifest.json +2 -2
  5. package/package.json +4 -8
  6. package/tests/README.md +0 -54
  7. package/tests/fixtures/catalog/agents/code-reviewer.md +0 -15
  8. package/tests/fixtures/catalog/agents/docs-researcher.md +0 -15
  9. package/tests/fixtures/catalog/agents/planner.md +0 -15
  10. package/tests/fixtures/catalog/agents/security-reviewer.md +0 -15
  11. package/tests/fixtures/catalog/agents/test-reviewer.md +0 -15
  12. package/tests/fixtures/catalog/manifest.json +0 -1065
  13. package/tests/fixtures/catalog/policy-gates-manifest.json +0 -120
  14. package/tests/fixtures/catalog/skills/auth-oidc-azure-bankid-patterns/SKILL.md +0 -14
  15. package/tests/fixtures/catalog/skills/bullmq-patterns/SKILL.md +0 -14
  16. package/tests/fixtures/catalog/skills/database-patterns/SKILL.md +0 -14
  17. package/tests/fixtures/catalog/skills/dotnet-patterns/SKILL.md +0 -14
  18. package/tests/fixtures/catalog/skills/dotnet-service-patterns/SKILL.md +0 -14
  19. package/tests/fixtures/catalog/skills/eslint-setup/SKILL.md +0 -14
  20. package/tests/fixtures/catalog/skills/expo-react-native-patterns/SKILL.md +0 -14
  21. package/tests/fixtures/catalog/skills/global-engineering-rules/SKILL.md +0 -14
  22. package/tests/fixtures/catalog/skills/i18next-patterns/SKILL.md +0 -14
  23. package/tests/fixtures/catalog/skills/jest-patterns/SKILL.md +0 -14
  24. package/tests/fixtures/catalog/skills/laravel-nova-patterns/SKILL.md +0 -14
  25. package/tests/fixtures/catalog/skills/laravel-patterns/SKILL.md +0 -14
  26. package/tests/fixtures/catalog/skills/nestjs-graphql-patterns/SKILL.md +0 -14
  27. package/tests/fixtures/catalog/skills/nextauth-patterns/SKILL.md +0 -14
  28. package/tests/fixtures/catalog/skills/nextjs-patterns/SKILL.md +0 -14
  29. package/tests/fixtures/catalog/skills/nx21-monorepo-patterns/SKILL.md +0 -14
  30. package/tests/fixtures/catalog/skills/package-manager-yarn4-pnpm89/SKILL.md +0 -14
  31. package/tests/fixtures/catalog/skills/phpunit-patterns/SKILL.md +0 -14
  32. package/tests/fixtures/catalog/skills/playwright-patterns/SKILL.md +0 -14
  33. package/tests/fixtures/catalog/skills/prettier-setup/SKILL.md +0 -14
  34. package/tests/fixtures/catalog/skills/prisma-patterns/SKILL.md +0 -14
  35. package/tests/fixtures/catalog/skills/production-readiness-review/SKILL.md +0 -14
  36. package/tests/fixtures/catalog/skills/qliro-patterns/SKILL.md +0 -14
  37. package/tests/fixtures/catalog/skills/radix-shadcn-patterns/SKILL.md +0 -14
  38. package/tests/fixtures/catalog/skills/react-router-v7-patterns/SKILL.md +0 -14
  39. package/tests/fixtures/catalog/skills/react19-patterns/SKILL.md +0 -14
  40. package/tests/fixtures/catalog/skills/sanity-patterns/SKILL.md +0 -14
  41. package/tests/fixtures/catalog/skills/security-review/SKILL.md +0 -14
  42. package/tests/fixtures/catalog/skills/sentry-patterns/SKILL.md +0 -14
  43. package/tests/fixtures/catalog/skills/storybook-patterns/SKILL.md +0 -14
  44. package/tests/fixtures/catalog/skills/strapi-patterns/SKILL.md +0 -14
  45. package/tests/fixtures/catalog/skills/stripe-patterns/SKILL.md +0 -14
  46. package/tests/fixtures/catalog/skills/supabase-patterns/SKILL.md +0 -14
  47. package/tests/fixtures/catalog/skills/tailwind-scss-patterns/SKILL.md +0 -14
  48. package/tests/fixtures/catalog/skills/tanstack-query-router-patterns/SKILL.md +0 -14
  49. package/tests/fixtures/catalog/skills/testing-library-patterns/SKILL.md +0 -14
  50. package/tests/fixtures/catalog/skills/turbo-monorepo-patterns/SKILL.md +0 -14
  51. package/tests/fixtures/catalog/skills/typescript5-patterns/SKILL.md +0 -14
  52. package/tests/fixtures/catalog/skills/vendure-app-patterns/SKILL.md +0 -14
  53. package/tests/fixtures/catalog/skills/vendure-plugin-patterns/SKILL.md +0 -14
  54. package/tests/fixtures/catalog/skills/vite8-patterns/SKILL.md +0 -14
  55. package/tests/fixtures/catalog/skills/vitest-patterns/SKILL.md +0 -14
  56. package/tests/fixtures/catalog/skills/vue-patterns/SKILL.md +0 -14
  57. package/tests/fixtures/catalog/skills/wordpress-acf-elementor-jetengine-patterns/SKILL.md +0 -14
  58. package/tests/fixtures/catalog/skills/wordpress-bedrock-patterns/SKILL.md +0 -14
  59. package/tests/fixtures/catalog/skills/wordpress-patterns/SKILL.md +0 -14
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.5.0",
2
+ "version": "2.6.2",
3
3
  "items": [
4
4
  {
5
5
  "id": "haus.nextjs-patterns",
@@ -1650,7 +1650,7 @@
1650
1650
  },
1651
1651
  {
1652
1652
  "id": "haus.superpowers-brainstorming",
1653
- "version": "1.0.1",
1653
+ "version": "1.0.2",
1654
1654
  "source": "curated",
1655
1655
  "type": "skill",
1656
1656
  "path": "skills/superpowers/brainstorming",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haus-tech/haus-workflow",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "Haus AI workflow CLI for Claude Code.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,6 @@
16
16
  "scripts/postinstall.mjs",
17
17
  "library/global",
18
18
  "library/catalog",
19
- "tests/fixtures/catalog",
20
19
  "README.md",
21
20
  "CHANGELOG.md"
22
21
  ],
@@ -26,16 +25,15 @@
26
25
  "test": "node --import tsx --test tests/**/*.test.js",
27
26
  "test:coverage": "c8 yarn test",
28
27
  "coverage:check": "c8 --check-coverage yarn test",
29
- "lint": "eslint src scripts",
28
+ "lint": "eslint src",
30
29
  "format:check": "prettier --check .",
31
30
  "format": "prettier --write .",
32
31
  "typecheck": "tsc --noEmit",
33
- "typecheck:scripts": "tsc --noEmit --project tsconfig.scripts.json",
34
32
  "pack:local": "yarn pack",
35
33
  "release": "GITHUB_TOKEN=$(gh auth token) release-it",
36
34
  "release:dry": "GITHUB_TOKEN=$(gh auth token) release-it --dry-run",
37
35
  "prepack": "yarn build",
38
- "verify": "yarn typecheck && yarn typecheck:scripts && yarn lint && yarn build && yarn test",
36
+ "verify": "yarn typecheck && yarn lint && yarn build && yarn test",
39
37
  "verify:full": "yarn verify && yarn coverage:check",
40
38
  "postinstall": "node ./scripts/postinstall.mjs || true",
41
39
  "prepare": "lefthook install || true",
@@ -49,10 +47,8 @@
49
47
  "fast-glob": "3.3.3",
50
48
  "fs-extra": "11.3.5",
51
49
  "ignore": "6.0.2",
52
- "picomatch": "4.0.4",
53
50
  "semver": "7.8.0",
54
- "yaml": "2.8.4",
55
- "zod": "3.25.76"
51
+ "yaml": "2.8.4"
56
52
  },
57
53
  "devDependencies": {
58
54
  "@release-it/conventional-changelog": "11.0.0",
package/tests/README.md DELETED
@@ -1,54 +0,0 @@
1
- # Tests
2
-
3
- Node built-in test runner (`node --test`). No framework. All test files are `.js` (compiled output not required — tests import from `dist/` via `fixture-runner.js`).
4
-
5
- ```bash
6
- yarn test
7
- ```
8
-
9
- ## Structure
10
-
11
- | Path | Contents |
12
- | ----------------- | ----------------------------------- |
13
- | `tests/*.test.js` | Unit and integration tests |
14
- | `tests/helpers/` | Shared test utilities |
15
- | `tests/fixtures/` | Static fixture repos used by tests |
16
-
17
- ## helpers/fixture-runner.js
18
-
19
- Utilities for running the compiled CLI against fixture repos in a temp directory:
20
-
21
- - `cloneFixtureToTemp(fixtureName)` — copies `tests/fixtures/repos/<name>` to a temp dir, returns the path
22
- - `runHaus(cwd, command)` — runs `node dist/cli.js <command>` in `cwd`, returns stdout
23
- - `readHausJson(cwd, fileName)` — reads `.haus-workflow/<fileName>` as parsed JSON
24
-
25
- Tests that use `fixture-runner.js` require a built `dist/` — run `yarn build && yarn test`, or use `yarn verify` which builds before running tests.
26
-
27
- ## fixtures/
28
-
29
- ### fixtures/repos/
30
-
31
- Full fixture repos scanned by integration tests and golden tests. Each subdirectory is a minimal repo skeleton:
32
-
33
- | Fixture | Stack |
34
- | -------------------------------- | ------------------------------------- |
35
- | `laravel-app` | Laravel (PHP, Composer, PHPUnit) |
36
- | `laravel-with-react-frontend` | Laravel + React (pnpm) |
37
- | `nest-graphql-api` | NestJS + GraphQL (Yarn) |
38
- | `nextjs-app` | Next.js (pnpm) |
39
- | `nx-workspace` | Nx monorepo (Yarn) |
40
- | `orphan-graphql-config` | GraphQL config without backend (pnpm) |
41
- | `turbo-monorepo` | Turborepo (Yarn) |
42
- | `vendure-monorepo` | Vendure e-commerce (Yarn) |
43
- | `vendure-with-nextjs-storefront` | Vendure + Next.js storefront (Yarn) |
44
- | `wordpress-bedrock-site` | WordPress Bedrock (Composer) |
45
- | `wordpress-with-node-tooling` | WordPress + Node tooling (pnpm) |
46
-
47
- ### Other fixture dirs
48
-
49
- - `fixtures/dotnet-service/` — unsupported stack (C#/.NET), used to verify unsupported-stack handling
50
- - `fixtures/unsupported-go/` — unsupported stack (Go)
51
- - `fixtures/unsupported-python/` — unsupported stack (Python)
52
- - `fixtures/vendure-plugin/` — minimal Vendure plugin package
53
- - `fixtures/laravel-app/`, `fixtures/next-react-app/`, `fixtures/wordpress-bedrock/` — legacy shallow fixtures; prefer `fixtures/repos/` equivalents for new tests
54
-
@@ -1,15 +0,0 @@
1
- ---
2
- description: Fixture stub agent for CLI tests.
3
- ---
4
-
5
- ## Use when
6
-
7
- Use when working on the relevant task.
8
-
9
- ## Do not use when
10
-
11
- Do not use for unrelated tasks.
12
-
13
- ## Verification
14
-
15
- Check that the output matches expectations.
@@ -1,15 +0,0 @@
1
- ---
2
- description: Fixture stub agent for CLI tests.
3
- ---
4
-
5
- ## Use when
6
-
7
- Use when working on the relevant task.
8
-
9
- ## Do not use when
10
-
11
- Do not use for unrelated tasks.
12
-
13
- ## Verification
14
-
15
- Check that the output matches expectations.
@@ -1,15 +0,0 @@
1
- ---
2
- description: Fixture stub agent for CLI tests.
3
- ---
4
-
5
- ## Use when
6
-
7
- Use when working on the relevant task.
8
-
9
- ## Do not use when
10
-
11
- Do not use for unrelated tasks.
12
-
13
- ## Verification
14
-
15
- Check that the output matches expectations.
@@ -1,15 +0,0 @@
1
- ---
2
- description: Fixture stub agent for CLI tests.
3
- ---
4
-
5
- ## Use when
6
-
7
- Use when working on the relevant task.
8
-
9
- ## Do not use when
10
-
11
- Do not use for unrelated tasks.
12
-
13
- ## Verification
14
-
15
- Check that the output matches expectations.
@@ -1,15 +0,0 @@
1
- ---
2
- description: Fixture stub agent for CLI tests.
3
- ---
4
-
5
- ## Use when
6
-
7
- Use when working on the relevant task.
8
-
9
- ## Do not use when
10
-
11
- Do not use for unrelated tasks.
12
-
13
- ## Verification
14
-
15
- Check that the output matches expectations.