@ghl-ai/aw 0.1.27 → 0.1.29-beta.1
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/commands/init.mjs +2 -2
- package/package.json +1 -1
package/commands/init.mjs
CHANGED
|
@@ -131,7 +131,7 @@ function printPullSummary(pattern, actions) {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
const ALLOWED_NAMESPACES = ['revex', 'mobile', 'commerce', 'leadgen', 'crm', 'marketplace', 'ai'];
|
|
134
|
+
const ALLOWED_NAMESPACES = ['revex', 'mobile', 'commerce', 'leadgen', 'crm', 'marketplace', 'ai', 'platform'];
|
|
135
135
|
|
|
136
136
|
export async function initCommand(args) {
|
|
137
137
|
const namespace = args['--namespace'] || null;
|
|
@@ -182,7 +182,7 @@ export async function initCommand(args) {
|
|
|
182
182
|
].join('\n'));
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
const SLUG_RE = /^[a-z][a-z0-9-]{
|
|
185
|
+
const SLUG_RE = /^[a-z][a-z0-9-]{0,38}[a-z0-9]$/;
|
|
186
186
|
if (team && !SLUG_RE.test(team)) {
|
|
187
187
|
fmt.cancel(`Invalid team '${team}' — must match: ${SLUG_RE}`);
|
|
188
188
|
}
|