@webmaster-droid/cli 0.1.0-alpha.0 → 0.1.0-alpha.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/dist/index.js +3 -2
- package/package.json +13 -2
package/dist/index.js
CHANGED
|
@@ -58,6 +58,7 @@ program.command("init").description("Initialize webmaster-droid config in curren
|
|
|
58
58
|
"NEXT_PUBLIC_AGENT_API_BASE_URL=http://localhost:8787",
|
|
59
59
|
"CMS_S3_BUCKET=",
|
|
60
60
|
"CMS_S3_REGION=",
|
|
61
|
+
"CMS_PUBLIC_BASE_URL=https://your-domain.example",
|
|
61
62
|
"SUPABASE_JWKS_URL=",
|
|
62
63
|
"MODEL_OPENAI_ENABLED=true",
|
|
63
64
|
"MODEL_GEMINI_ENABLED=true",
|
|
@@ -228,7 +229,7 @@ program.command("codemod").description("Apply deterministic JSX codemods to Edit
|
|
|
228
229
|
if (needsEditableTextImport) {
|
|
229
230
|
const body = ast.program.body;
|
|
230
231
|
const hasImport = body.some(
|
|
231
|
-
(node) => t.isImportDeclaration(node) && node.source.value === "@webmaster-droid/
|
|
232
|
+
(node) => t.isImportDeclaration(node) && node.source.value === "@webmaster-droid/web" && node.specifiers.some(
|
|
232
233
|
(specifier) => t.isImportSpecifier(specifier) && t.isIdentifier(specifier.imported) && specifier.imported.name === "EditableText"
|
|
233
234
|
)
|
|
234
235
|
);
|
|
@@ -241,7 +242,7 @@ program.command("codemod").description("Apply deterministic JSX codemods to Edit
|
|
|
241
242
|
t.identifier("EditableText")
|
|
242
243
|
)
|
|
243
244
|
],
|
|
244
|
-
t.stringLiteral("@webmaster-droid/
|
|
245
|
+
t.stringLiteral("@webmaster-droid/web")
|
|
245
246
|
)
|
|
246
247
|
);
|
|
247
248
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webmaster-droid/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"webmaster-droid": "dist/index.js"
|
|
@@ -32,5 +32,16 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
34
34
|
"typecheck": "tsc --noEmit"
|
|
35
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"description": "CLI for project bootstrap, schema, scan/codemod, deploy, and skill install.",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/Slava-AV/webmaster-droid.git",
|
|
41
|
+
"directory": "packages/cli"
|
|
42
|
+
},
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/Slava-AV/webmaster-droid/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/Slava-AV/webmaster-droid#readme"
|
|
36
47
|
}
|