create-astrale-domain 0.1.1 → 0.1.3
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 +9 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -850,12 +850,17 @@ async function rewritePackageJson(dir, name, link) {
|
|
|
850
850
|
...pkg.pnpm,
|
|
851
851
|
overrides: {
|
|
852
852
|
...pkg.pnpm?.overrides,
|
|
853
|
-
zod:
|
|
853
|
+
zod: sdkZodVersion()
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
857
|
await writeFile(path, JSON.stringify(pkg, null, 2) + "\n");
|
|
858
858
|
}
|
|
859
|
+
function sdkZodVersion() {
|
|
860
|
+
const sdkRequire = createRequire(join(WORKSPACE_ROOT, "sdk", "package.json"));
|
|
861
|
+
const pkg = sdkRequire("zod/package.json");
|
|
862
|
+
return pkg.version;
|
|
863
|
+
}
|
|
859
864
|
async function blankOut(dir, origin) {
|
|
860
865
|
await writeFile(
|
|
861
866
|
join(dir, "schema", "note.ts"),
|
|
@@ -1053,6 +1058,9 @@ async function main() {
|
|
|
1053
1058
|
[`cd ${cdTarget}`, `${pm} install`, devStep(pm), installStep(pm), prodStep(pm)].join("\n"),
|
|
1054
1059
|
"Next"
|
|
1055
1060
|
);
|
|
1061
|
+
M2.info(
|
|
1062
|
+
"AI agent on this project? The full authoring guide ships at .agents/skills/astrale-domain/SKILL.md"
|
|
1063
|
+
);
|
|
1056
1064
|
Se(`\u2713 ${slug} ready`);
|
|
1057
1065
|
return 0;
|
|
1058
1066
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-astrale-domain",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Scaffold a standalone Astrale domain — npm create astrale-domain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"type": "module",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@clack/prompts": "^0.11.0",
|
|
22
|
-
"@astrale-os/adapter-cloudflare": "^0.1.
|
|
22
|
+
"@astrale-os/adapter-cloudflare": "^0.1.6"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@astrale-os/ox": ">=0.1.0 <1.0.0",
|