@haus-tech/haus-workflow 0.5.0 → 0.6.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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.5.0...v0.6.0) (2026-05-28)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **scanner:** detect mysql, saml2, next-auth (T15-T17) ([13694e1](https://github.com/WeAreHausTech/haus-workflow/commit/13694e12895b2bb470c7a01adc10a3fc91bb3e42))
|
|
8
|
+
|
|
3
9
|
## [0.5.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.4.0...v0.5.0) (2026-05-28)
|
|
4
10
|
|
|
5
11
|
### Features
|
package/dist/cli.js
CHANGED
|
@@ -1507,6 +1507,7 @@ async function detectStacks(root, deps, files, packageManager) {
|
|
|
1507
1507
|
if (deps.includes("jest") || deps.includes("jest-environment-jsdom")) add("testing", "jest");
|
|
1508
1508
|
if (deps.includes("pg")) add("databases", "postgresql");
|
|
1509
1509
|
if (deps.includes("mariadb") || deps.includes("mysql2")) add("databases", "mariadb");
|
|
1510
|
+
if (deps.includes("mysql") || deps.includes("mysql2")) add("databases", "mysql");
|
|
1510
1511
|
if (deps.includes("mssql")) add("databases", "mssql");
|
|
1511
1512
|
if (deps.includes("@elastic/elasticsearch")) add("databases", "elasticsearch");
|
|
1512
1513
|
if (deps.includes("predis/predis") || deps.includes("ioredis") || deps.includes("redis")) {
|
|
@@ -1515,6 +1516,10 @@ async function detectStacks(root, deps, files, packageManager) {
|
|
|
1515
1516
|
if (await hasNeedle(root, files, "openid")) add("auth", "oidc");
|
|
1516
1517
|
if (await hasNeedle(root, files, "AZURE_AD")) add("auth", "azure-ad");
|
|
1517
1518
|
if (await hasNeedle(root, files, "BANKID")) add("auth", "bankid");
|
|
1519
|
+
if (deps.includes("24slides/laravel-saml2") || deps.includes("aacotroneo/laravel-saml2")) {
|
|
1520
|
+
add("auth", "saml2");
|
|
1521
|
+
}
|
|
1522
|
+
if (deps.includes("next-auth") || deps.includes("@auth/core")) add("auth", "next-auth");
|
|
1518
1523
|
if (packageManager === "yarn") add("packageManagers", "yarn4");
|
|
1519
1524
|
if (packageManager === "pnpm") add("packageManagers", "pnpm89");
|
|
1520
1525
|
return out;
|
|
@@ -1111,13 +1111,13 @@
|
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
1113
|
"id": "haus.auth-oidc-azure-bankid-patterns",
|
|
1114
|
-
"version": "1.
|
|
1114
|
+
"version": "1.1.0",
|
|
1115
1115
|
"source": "haus",
|
|
1116
1116
|
"type": "skill",
|
|
1117
1117
|
"path": "skills/auth-oidc-azure-bankid-patterns",
|
|
1118
|
-
"title": "Haus auth patterns",
|
|
1119
|
-
"purpose": "Guide identity-provider auth flow and claim/session lifecycle changes.",
|
|
1120
|
-
"whenToUse": "Use for OIDC/Azure AD/BankID login, callback, token,
|
|
1118
|
+
"title": "Haus enterprise auth patterns (OIDC / Azure AD / BankID / SAML2)",
|
|
1119
|
+
"purpose": "Guide identity-provider auth flow and claim/session lifecycle changes across OIDC, Azure AD, BankID, and SAML2.",
|
|
1120
|
+
"whenToUse": "Use for OIDC/Azure AD/BankID/SAML2 login, callback, token, claim mapping, and SP/IDP metadata updates.",
|
|
1121
1121
|
"whenNotToUse": "Do not use for profile CRUD without auth protocol change.",
|
|
1122
1122
|
"references": [
|
|
1123
1123
|
"references/conventions.md",
|
|
@@ -1128,7 +1128,8 @@
|
|
|
1128
1128
|
"tags": [
|
|
1129
1129
|
"oidc",
|
|
1130
1130
|
"azure-ad",
|
|
1131
|
-
"bankid"
|
|
1131
|
+
"bankid",
|
|
1132
|
+
"saml2"
|
|
1132
1133
|
],
|
|
1133
1134
|
"repoRoles": [],
|
|
1134
1135
|
"requiresAny": [
|
|
@@ -1140,15 +1141,58 @@
|
|
|
1140
1141
|
},
|
|
1141
1142
|
{
|
|
1142
1143
|
"stack": "bankid"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"stack": "saml2"
|
|
1143
1147
|
}
|
|
1144
1148
|
],
|
|
1145
1149
|
"tokenEstimate": 1700,
|
|
1146
1150
|
"installMode": "copy-selected",
|
|
1147
1151
|
"ecosystem": "auth"
|
|
1148
1152
|
},
|
|
1153
|
+
{
|
|
1154
|
+
"id": "haus.nextauth-patterns",
|
|
1155
|
+
"version": "1.0.0",
|
|
1156
|
+
"source": "haus",
|
|
1157
|
+
"type": "skill",
|
|
1158
|
+
"path": "skills/nextauth-patterns",
|
|
1159
|
+
"title": "Haus NextAuth patterns",
|
|
1160
|
+
"purpose": "Guide NextAuth.js / Auth.js provider, session, callback, and middleware changes in Next.js apps.",
|
|
1161
|
+
"whenToUse": "Use for `next-auth` / `@auth/core` provider setup, session strategy, callbacks, JWT, and route protection in Next.js.",
|
|
1162
|
+
"whenNotToUse": "Do not use for Laravel/PHP auth, OIDC outside Next.js, or session-less API tokens.",
|
|
1163
|
+
"references": [
|
|
1164
|
+
"references/conventions.md",
|
|
1165
|
+
"references/scope.md",
|
|
1166
|
+
"references/workflow.md",
|
|
1167
|
+
"https://authjs.dev/"
|
|
1168
|
+
],
|
|
1169
|
+
"tokenBudget": 1200,
|
|
1170
|
+
"tags": [
|
|
1171
|
+
"next-auth",
|
|
1172
|
+
"auth",
|
|
1173
|
+
"nextjs"
|
|
1174
|
+
],
|
|
1175
|
+
"repoRoles": [
|
|
1176
|
+
"next-app"
|
|
1177
|
+
],
|
|
1178
|
+
"requiresAny": [
|
|
1179
|
+
{
|
|
1180
|
+
"stack": "next-auth"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"dependency": "next-auth"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"dependency": "@auth/core"
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1189
|
+
"ecosystem": "auth",
|
|
1190
|
+
"tokenEstimate": 2000,
|
|
1191
|
+
"installMode": "copy-selected"
|
|
1192
|
+
},
|
|
1149
1193
|
{
|
|
1150
1194
|
"id": "haus.database-patterns",
|
|
1151
|
-
"version": "1.
|
|
1195
|
+
"version": "1.2.0",
|
|
1152
1196
|
"source": "haus",
|
|
1153
1197
|
"type": "skill",
|
|
1154
1198
|
"path": "skills/database-patterns",
|
|
@@ -1165,6 +1209,7 @@
|
|
|
1165
1209
|
"tags": [
|
|
1166
1210
|
"postgresql",
|
|
1167
1211
|
"mariadb",
|
|
1212
|
+
"mysql",
|
|
1168
1213
|
"mssql",
|
|
1169
1214
|
"elasticsearch",
|
|
1170
1215
|
"redis"
|
|
@@ -1177,6 +1222,9 @@
|
|
|
1177
1222
|
{
|
|
1178
1223
|
"stack": "mariadb"
|
|
1179
1224
|
},
|
|
1225
|
+
{
|
|
1226
|
+
"stack": "mysql"
|
|
1227
|
+
},
|
|
1180
1228
|
{
|
|
1181
1229
|
"stack": "mssql"
|
|
1182
1230
|
},
|
package/package.json
CHANGED
|
@@ -624,22 +624,45 @@
|
|
|
624
624
|
"source": "haus",
|
|
625
625
|
"type": "skill",
|
|
626
626
|
"path": "skills/auth-oidc-azure-bankid-patterns",
|
|
627
|
-
"title": "Haus auth patterns",
|
|
628
|
-
"purpose": "Guide identity-provider auth flow and claim/session lifecycle changes.",
|
|
629
|
-
"whenToUse": "Use for OIDC/Azure AD/BankID login, callback, token,
|
|
627
|
+
"title": "Haus enterprise auth patterns (OIDC / Azure AD / BankID / SAML2)",
|
|
628
|
+
"purpose": "Guide identity-provider auth flow and claim/session lifecycle changes across OIDC, Azure AD, BankID, and SAML2.",
|
|
629
|
+
"whenToUse": "Use for OIDC/Azure AD/BankID/SAML2 login, callback, token, claim mapping, and SP/IDP metadata updates.",
|
|
630
630
|
"whenNotToUse": "Do not use for profile CRUD without auth protocol change.",
|
|
631
631
|
"references": ["references/scope.md", "references/workflow.md"],
|
|
632
632
|
"tokenBudget": 1200,
|
|
633
|
-
"tags": ["oidc", "azure-ad", "bankid"],
|
|
633
|
+
"tags": ["oidc", "azure-ad", "bankid", "saml2"],
|
|
634
634
|
"repoRoles": [],
|
|
635
635
|
"requiresAny": [
|
|
636
636
|
{ "stack": "oidc" },
|
|
637
637
|
{ "stack": "azure-ad" },
|
|
638
|
-
{ "stack": "bankid" }
|
|
638
|
+
{ "stack": "bankid" },
|
|
639
|
+
{ "stack": "saml2" }
|
|
639
640
|
],
|
|
640
641
|
"tokenEstimate": 1700,
|
|
641
642
|
"installMode": "copy-selected"
|
|
642
643
|
},
|
|
644
|
+
{
|
|
645
|
+
"id": "haus.nextauth-patterns",
|
|
646
|
+
"source": "haus",
|
|
647
|
+
"type": "skill",
|
|
648
|
+
"path": "skills/nextauth-patterns",
|
|
649
|
+
"title": "Haus NextAuth patterns",
|
|
650
|
+
"purpose": "Guide NextAuth.js / Auth.js provider, session, callback, and middleware changes in Next.js apps.",
|
|
651
|
+
"whenToUse": "Use for `next-auth` / `@auth/core` provider setup, session strategy, callbacks, JWT, and route protection in Next.js.",
|
|
652
|
+
"whenNotToUse": "Do not use for Laravel/PHP auth, OIDC outside Next.js, or session-less API tokens.",
|
|
653
|
+
"references": ["references/scope.md", "references/workflow.md", "https://authjs.dev/"],
|
|
654
|
+
"tokenBudget": 1200,
|
|
655
|
+
"tags": ["next-auth", "auth", "nextjs"],
|
|
656
|
+
"repoRoles": ["next-app"],
|
|
657
|
+
"requiresAny": [
|
|
658
|
+
{ "stack": "next-auth" },
|
|
659
|
+
{ "dependency": "next-auth" },
|
|
660
|
+
{ "dependency": "@auth/core" }
|
|
661
|
+
],
|
|
662
|
+
"ecosystem": "auth",
|
|
663
|
+
"tokenEstimate": 2000,
|
|
664
|
+
"installMode": "copy-selected"
|
|
665
|
+
},
|
|
643
666
|
{
|
|
644
667
|
"id": "haus.database-patterns",
|
|
645
668
|
"source": "haus",
|
|
@@ -651,11 +674,12 @@
|
|
|
651
674
|
"whenNotToUse": "Do not use for UI-only changes without persistence/search impact.",
|
|
652
675
|
"references": ["references/scope.md", "references/workflow.md"],
|
|
653
676
|
"tokenBudget": 1200,
|
|
654
|
-
"tags": ["postgresql", "mariadb", "mssql", "elasticsearch", "redis"],
|
|
677
|
+
"tags": ["postgresql", "mariadb", "mysql", "mssql", "elasticsearch", "redis"],
|
|
655
678
|
"repoRoles": [],
|
|
656
679
|
"requiresAny": [
|
|
657
680
|
{ "stack": "postgresql" },
|
|
658
681
|
{ "stack": "mariadb" },
|
|
682
|
+
{ "stack": "mysql" },
|
|
659
683
|
{ "stack": "mssql" },
|
|
660
684
|
{ "stack": "elasticsearch" },
|
|
661
685
|
{ "stack": "redis" }
|