@haus-tech/haus-workflow 0.8.0 → 0.9.0
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.
- package/CHANGELOG.md +6 -0
- package/dist/cli.js +7 -0
- package/library/catalog/allowed-stacks.json +5 -1
- package/library/catalog/manifest.json +121 -0
- package/package.json +1 -1
- package/tests/fixtures/catalog/manifest.json +65 -0
- package/tests/fixtures/catalog/skills/qliro-patterns/SKILL.md +9 -0
- package/tests/fixtures/catalog/skills/stripe-patterns/SKILL.md +9 -0
- package/tests/fixtures/catalog/skills/supabase-patterns/SKILL.md +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.8.0...v0.9.0) (2026-05-28)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **scanner:** detect stripe, qliro, supabase (T26-T28) ([b2585b0](https://github.com/WeAreHausTech/haus-workflow/commit/b2585b027621be1442533d12255523f8361d967b))
|
|
8
|
+
|
|
3
9
|
## [0.8.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.7.0...v0.8.0) (2026-05-28)
|
|
4
10
|
|
|
5
11
|
### Features
|
package/dist/cli.js
CHANGED
|
@@ -1490,6 +1490,13 @@ async function detectStacks(root, deps, files, packageManager) {
|
|
|
1490
1490
|
if (deps.includes("deployer/deployer")) add("tooling", "deployer-php");
|
|
1491
1491
|
if (!deps.includes("prettier")) add("tooling", "missing-prettier");
|
|
1492
1492
|
if (!deps.includes("eslint")) add("tooling", "missing-eslint");
|
|
1493
|
+
if (deps.includes("@stripe/stripe-js") || deps.includes("@stripe/react-stripe-js")) {
|
|
1494
|
+
add("tooling", "stripe");
|
|
1495
|
+
}
|
|
1496
|
+
if (deps.includes("@haus-tech/qliro-plugin")) add("tooling", "qliro");
|
|
1497
|
+
if (deps.includes("@supabase/supabase-js") || deps.some((d) => d.startsWith("@supabase/"))) {
|
|
1498
|
+
add("databases", "supabase");
|
|
1499
|
+
}
|
|
1493
1500
|
if (deps.includes("@vendure/core")) add("backend", "vendure3");
|
|
1494
1501
|
if (deps.includes("@nestjs/core")) add("backend", "nestjs");
|
|
1495
1502
|
if (await hasNeedle(root, files, "NestFactory")) add("backend", "nestjs");
|
|
@@ -467,6 +467,127 @@
|
|
|
467
467
|
"tokenEstimate": 1000,
|
|
468
468
|
"installMode": "copy-selected"
|
|
469
469
|
},
|
|
470
|
+
{
|
|
471
|
+
"id": "haus.stripe-patterns",
|
|
472
|
+
"version": "1.0.0",
|
|
473
|
+
"source": "haus",
|
|
474
|
+
"type": "skill",
|
|
475
|
+
"path": "skills/stripe-patterns",
|
|
476
|
+
"title": "Haus Stripe patterns",
|
|
477
|
+
"purpose": "Guide Stripe Elements, Checkout, webhook handling, and PCI-safe integration changes.",
|
|
478
|
+
"whenToUse": "Use for `@stripe/stripe-js` / `@stripe/react-stripe-js` integrations, payment intents, webhooks, and Checkout.",
|
|
479
|
+
"whenNotToUse": "Do not use for non-Stripe payment providers (Qliro, Klarna, etc.).",
|
|
480
|
+
"references": [
|
|
481
|
+
"references/conventions.md",
|
|
482
|
+
"references/scope.md",
|
|
483
|
+
"references/workflow.md",
|
|
484
|
+
"https://docs.stripe.com/"
|
|
485
|
+
],
|
|
486
|
+
"tokenBudget": 1200,
|
|
487
|
+
"tags": [
|
|
488
|
+
"stripe",
|
|
489
|
+
"payments",
|
|
490
|
+
"tooling"
|
|
491
|
+
],
|
|
492
|
+
"repoRoles": [
|
|
493
|
+
"next-app",
|
|
494
|
+
"react-app",
|
|
495
|
+
"vendure-plugin"
|
|
496
|
+
],
|
|
497
|
+
"requiresAny": [
|
|
498
|
+
{
|
|
499
|
+
"stack": "stripe"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"dependency": "@stripe/stripe-js"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"dependency": "@stripe/react-stripe-js"
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"ecosystem": "payments",
|
|
509
|
+
"tokenEstimate": 2000,
|
|
510
|
+
"installMode": "copy-selected"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"id": "haus.qliro-patterns",
|
|
514
|
+
"version": "1.0.0",
|
|
515
|
+
"source": "haus",
|
|
516
|
+
"type": "skill",
|
|
517
|
+
"path": "skills/qliro-patterns",
|
|
518
|
+
"title": "Haus Qliro patterns",
|
|
519
|
+
"purpose": "Guide Qliro Checkout integration via @haus-tech/qliro-plugin in Vendure storefronts.",
|
|
520
|
+
"whenToUse": "Use for Qliro Checkout flow, order callbacks, refund handling, and merchant API config.",
|
|
521
|
+
"whenNotToUse": "Do not use for non-Nordic payment providers or Stripe-only flows.",
|
|
522
|
+
"references": [
|
|
523
|
+
"references/conventions.md",
|
|
524
|
+
"references/scope.md",
|
|
525
|
+
"references/workflow.md"
|
|
526
|
+
],
|
|
527
|
+
"tokenBudget": 1200,
|
|
528
|
+
"tags": [
|
|
529
|
+
"qliro",
|
|
530
|
+
"payments",
|
|
531
|
+
"tooling"
|
|
532
|
+
],
|
|
533
|
+
"repoRoles": [
|
|
534
|
+
"vendure-app",
|
|
535
|
+
"vendure-plugin",
|
|
536
|
+
"next-app"
|
|
537
|
+
],
|
|
538
|
+
"requiresAny": [
|
|
539
|
+
{
|
|
540
|
+
"stack": "qliro"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"dependency": "@haus-tech/qliro-plugin"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"ecosystem": "payments",
|
|
547
|
+
"tokenEstimate": 1800,
|
|
548
|
+
"installMode": "copy-selected"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "haus.supabase-patterns",
|
|
552
|
+
"version": "1.0.0",
|
|
553
|
+
"source": "haus",
|
|
554
|
+
"type": "skill",
|
|
555
|
+
"path": "skills/supabase-patterns",
|
|
556
|
+
"title": "Haus Supabase patterns",
|
|
557
|
+
"purpose": "Guide Supabase client wiring, Row-Level Security, edge functions, and auth integration.",
|
|
558
|
+
"whenToUse": "Use for `@supabase/supabase-js` queries, RLS policies, edge functions, and Supabase Auth flows.",
|
|
559
|
+
"whenNotToUse": "Do not use for non-Supabase BaaS (Firebase, AWS Amplify) or self-hosted Postgres without Supabase.",
|
|
560
|
+
"references": [
|
|
561
|
+
"references/conventions.md",
|
|
562
|
+
"references/scope.md",
|
|
563
|
+
"references/workflow.md",
|
|
564
|
+
"https://supabase.com/docs"
|
|
565
|
+
],
|
|
566
|
+
"tokenBudget": 1200,
|
|
567
|
+
"tags": [
|
|
568
|
+
"supabase",
|
|
569
|
+
"database",
|
|
570
|
+
"backend"
|
|
571
|
+
],
|
|
572
|
+
"repoRoles": [
|
|
573
|
+
"next-app",
|
|
574
|
+
"react-app"
|
|
575
|
+
],
|
|
576
|
+
"requiresAny": [
|
|
577
|
+
{
|
|
578
|
+
"stack": "supabase"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"dependency": "@supabase/supabase-js"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"packageNamePattern": "@supabase/*"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"ecosystem": "database",
|
|
588
|
+
"tokenEstimate": 2000,
|
|
589
|
+
"installMode": "copy-selected"
|
|
590
|
+
},
|
|
470
591
|
{
|
|
471
592
|
"id": "haus.sanity-patterns",
|
|
472
593
|
"version": "1.0.0",
|
package/package.json
CHANGED
|
@@ -258,6 +258,71 @@
|
|
|
258
258
|
"tokenEstimate": 1000,
|
|
259
259
|
"installMode": "copy-selected"
|
|
260
260
|
},
|
|
261
|
+
{
|
|
262
|
+
"id": "haus.stripe-patterns",
|
|
263
|
+
"source": "haus",
|
|
264
|
+
"type": "skill",
|
|
265
|
+
"path": "skills/stripe-patterns",
|
|
266
|
+
"title": "Haus Stripe patterns",
|
|
267
|
+
"purpose": "Guide Stripe Elements, Checkout, webhook handling, and PCI-safe integration changes.",
|
|
268
|
+
"whenToUse": "Use for `@stripe/stripe-js` / `@stripe/react-stripe-js` integrations, payment intents, webhooks, and Checkout.",
|
|
269
|
+
"whenNotToUse": "Do not use for non-Stripe payment providers (Qliro, Klarna, etc.).",
|
|
270
|
+
"references": ["references/scope.md", "references/workflow.md", "https://docs.stripe.com/"],
|
|
271
|
+
"tokenBudget": 1200,
|
|
272
|
+
"tags": ["stripe", "payments", "tooling"],
|
|
273
|
+
"repoRoles": ["next-app", "react-app", "vendure-plugin"],
|
|
274
|
+
"requiresAny": [
|
|
275
|
+
{ "stack": "stripe" },
|
|
276
|
+
{ "dependency": "@stripe/stripe-js" },
|
|
277
|
+
{ "dependency": "@stripe/react-stripe-js" }
|
|
278
|
+
],
|
|
279
|
+
"ecosystem": "payments",
|
|
280
|
+
"tokenEstimate": 2000,
|
|
281
|
+
"installMode": "copy-selected"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "haus.qliro-patterns",
|
|
285
|
+
"source": "haus",
|
|
286
|
+
"type": "skill",
|
|
287
|
+
"path": "skills/qliro-patterns",
|
|
288
|
+
"title": "Haus Qliro patterns",
|
|
289
|
+
"purpose": "Guide Qliro Checkout integration via @haus-tech/qliro-plugin in Vendure storefronts.",
|
|
290
|
+
"whenToUse": "Use for Qliro Checkout flow, order callbacks, refund handling, and merchant API config.",
|
|
291
|
+
"whenNotToUse": "Do not use for non-Nordic payment providers or Stripe-only flows.",
|
|
292
|
+
"references": ["references/scope.md", "references/workflow.md"],
|
|
293
|
+
"tokenBudget": 1200,
|
|
294
|
+
"tags": ["qliro", "payments", "tooling"],
|
|
295
|
+
"repoRoles": ["vendure-app", "vendure-plugin", "next-app"],
|
|
296
|
+
"requiresAny": [
|
|
297
|
+
{ "stack": "qliro" },
|
|
298
|
+
{ "dependency": "@haus-tech/qliro-plugin" }
|
|
299
|
+
],
|
|
300
|
+
"ecosystem": "payments",
|
|
301
|
+
"tokenEstimate": 1800,
|
|
302
|
+
"installMode": "copy-selected"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"id": "haus.supabase-patterns",
|
|
306
|
+
"source": "haus",
|
|
307
|
+
"type": "skill",
|
|
308
|
+
"path": "skills/supabase-patterns",
|
|
309
|
+
"title": "Haus Supabase patterns",
|
|
310
|
+
"purpose": "Guide Supabase client wiring, Row-Level Security, edge functions, and auth integration.",
|
|
311
|
+
"whenToUse": "Use for `@supabase/supabase-js` queries, RLS policies, edge functions, and Supabase Auth flows.",
|
|
312
|
+
"whenNotToUse": "Do not use for non-Supabase BaaS (Firebase, AWS Amplify) or self-hosted Postgres without Supabase.",
|
|
313
|
+
"references": ["references/scope.md", "references/workflow.md", "https://supabase.com/docs"],
|
|
314
|
+
"tokenBudget": 1200,
|
|
315
|
+
"tags": ["supabase", "database", "backend"],
|
|
316
|
+
"repoRoles": ["next-app", "react-app"],
|
|
317
|
+
"requiresAny": [
|
|
318
|
+
{ "stack": "supabase" },
|
|
319
|
+
{ "dependency": "@supabase/supabase-js" },
|
|
320
|
+
{ "packageNamePattern": "@supabase/*" }
|
|
321
|
+
],
|
|
322
|
+
"ecosystem": "database",
|
|
323
|
+
"tokenEstimate": 2000,
|
|
324
|
+
"installMode": "copy-selected"
|
|
325
|
+
},
|
|
261
326
|
{
|
|
262
327
|
"id": "haus.sanity-patterns",
|
|
263
328
|
"source": "haus",
|