@haus-tech/haus-workflow 0.6.0 → 0.7.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.7.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.6.0...v0.7.0) (2026-05-28)
4
+
5
+ ### Features
6
+
7
+ * **scanner:** detect expo + react-native (T18) ([290a5ba](https://github.com/WeAreHausTech/haus-workflow/commit/290a5bac13faa8ec515d8dd9363caa2c00ce74cc))
8
+
3
9
  ## [0.6.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.5.0...v0.6.0) (2026-05-28)
4
10
 
5
11
  ### Features
package/dist/cli.js CHANGED
@@ -1421,6 +1421,7 @@ function detectRoles(deps, files) {
1421
1421
  if (deps.includes("react-router") && deps.includes("@react-router/node")) roles.add("react-router-app");
1422
1422
  if (deps.includes("sanity")) roles.add("sanity-studio");
1423
1423
  if (deps.includes("@strapi/strapi") || deps.some((d) => d.startsWith("@strapi/"))) roles.add("strapi-app");
1424
+ if (deps.includes("expo")) roles.add("expo-app");
1424
1425
  if (deps.includes("@vendure/core")) roles.add("vendure-app");
1425
1426
  if (deps.some((d) => d.startsWith("@haus/vendure-")) || files.some((f) => f.includes("vendure-config")))
1426
1427
  roles.add("vendure-plugin");
@@ -1479,6 +1480,8 @@ async function detectStacks(root, deps, files, packageManager) {
1479
1480
  add("backend", "strapi");
1480
1481
  }
1481
1482
  if (deps.includes("prisma") || deps.includes("@prisma/client")) add("backend", "prisma");
1483
+ if (deps.includes("expo")) add("frontend", "expo");
1484
+ if (deps.includes("react-native")) add("frontend", "react-native");
1482
1485
  if (deps.includes("@vendure/core")) add("backend", "vendure3");
1483
1486
  if (deps.includes("@nestjs/core")) add("backend", "nestjs");
1484
1487
  if (await hasNeedle(root, files, "NestFactory")) add("backend", "nestjs");
@@ -80,6 +80,9 @@
80
80
  "mysql",
81
81
  "saml2",
82
82
  "next-auth",
83
- "auth"
83
+ "auth",
84
+ "expo",
85
+ "react-native",
86
+ "mobile"
84
87
  ]
85
88
  }
@@ -232,6 +232,53 @@
232
232
  "tokenEstimate": 2000,
233
233
  "installMode": "copy-selected"
234
234
  },
235
+ {
236
+ "id": "haus.expo-react-native-patterns",
237
+ "version": "1.0.0",
238
+ "source": "haus",
239
+ "type": "skill",
240
+ "path": "skills/expo-react-native-patterns",
241
+ "title": "Haus Expo / React Native patterns",
242
+ "purpose": "Guide Expo Router, React Native component, native module, and EAS build changes.",
243
+ "whenToUse": "Use for Expo Router routes, RN components, native modules, expo config plugins, and EAS build/submit.",
244
+ "whenNotToUse": "Do not use for web-only React apps or unrelated mobile native projects (Swift/Kotlin without Expo).",
245
+ "references": [
246
+ "references/conventions.md",
247
+ "references/scope.md",
248
+ "references/workflow.md",
249
+ "https://docs.expo.dev/"
250
+ ],
251
+ "tokenBudget": 1200,
252
+ "tags": [
253
+ "expo",
254
+ "react-native",
255
+ "mobile",
256
+ "react"
257
+ ],
258
+ "repoRoles": [
259
+ "expo-app"
260
+ ],
261
+ "requiresAny": [
262
+ {
263
+ "stack": "expo"
264
+ },
265
+ {
266
+ "stack": "react-native"
267
+ },
268
+ {
269
+ "role": "expo-app"
270
+ },
271
+ {
272
+ "dependency": "expo"
273
+ },
274
+ {
275
+ "dependency": "react-native"
276
+ }
277
+ ],
278
+ "ecosystem": "mobile",
279
+ "tokenEstimate": 2200,
280
+ "installMode": "copy-selected"
281
+ },
235
282
  {
236
283
  "id": "haus.sanity-patterns",
237
284
  "version": "1.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haus-tech/haus-workflow",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Haus AI workflow CLI for Claude Code.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -128,6 +128,30 @@
128
128
  "tokenEstimate": 2000,
129
129
  "installMode": "copy-selected"
130
130
  },
131
+ {
132
+ "id": "haus.expo-react-native-patterns",
133
+ "source": "haus",
134
+ "type": "skill",
135
+ "path": "skills/expo-react-native-patterns",
136
+ "title": "Haus Expo / React Native patterns",
137
+ "purpose": "Guide Expo Router, React Native component, native module, and EAS build changes.",
138
+ "whenToUse": "Use for Expo Router routes, RN components, native modules, expo config plugins, and EAS build/submit.",
139
+ "whenNotToUse": "Do not use for web-only React apps or unrelated mobile native projects (Swift/Kotlin without Expo).",
140
+ "references": ["references/scope.md", "references/workflow.md", "https://docs.expo.dev/"],
141
+ "tokenBudget": 1200,
142
+ "tags": ["expo", "react-native", "mobile", "react"],
143
+ "repoRoles": ["expo-app"],
144
+ "requiresAny": [
145
+ { "stack": "expo" },
146
+ { "stack": "react-native" },
147
+ { "role": "expo-app" },
148
+ { "dependency": "expo" },
149
+ { "dependency": "react-native" }
150
+ ],
151
+ "ecosystem": "mobile",
152
+ "tokenEstimate": 2200,
153
+ "installMode": "copy-selected"
154
+ },
131
155
  {
132
156
  "id": "haus.sanity-patterns",
133
157
  "source": "haus",
@@ -0,0 +1,9 @@
1
+ <!-- Fixture stub — minimal valid SKILL.md for CLI tests. -->
2
+
3
+ ## Use when
4
+
5
+ Use this skill when working with the relevant technology.
6
+
7
+ ## Do not use when
8
+
9
+ Do not use for unrelated tasks.