create-astrale-domain 0.1.3 → 0.1.4
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 +5 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -819,6 +819,10 @@ async function scaffold(opts) {
|
|
|
819
819
|
});
|
|
820
820
|
await stampOrigin(opts.dir, opts.origin);
|
|
821
821
|
await rewritePackageJson(opts.dir, opts.name, opts.link);
|
|
822
|
+
await writeFile(
|
|
823
|
+
join(opts.dir, ".env.dev"),
|
|
824
|
+
"# Dev secrets \u2014 the ENTIRE file is injected into the local runtime by `pnpm dev`.\n# Gitignored. See .env.example.\n"
|
|
825
|
+
);
|
|
822
826
|
if (opts.template === "blank") await blankOut(opts.dir, opts.origin);
|
|
823
827
|
}
|
|
824
828
|
function assertSafeToDelete(dir) {
|
|
@@ -1006,7 +1010,7 @@ async function main() {
|
|
|
1006
1010
|
let pm = flags.pm;
|
|
1007
1011
|
if (!pm) {
|
|
1008
1012
|
const detected = detectPm();
|
|
1009
|
-
if (headless) pm =
|
|
1013
|
+
if (headless) pm = "pnpm";
|
|
1010
1014
|
else {
|
|
1011
1015
|
const answer = await ve({
|
|
1012
1016
|
message: "Package manager",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-astrale-domain",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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.7"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@astrale-os/ox": ">=0.1.0 <1.0.0",
|