create-jant 0.3.36 → 0.3.38
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 +1 -1
- package/package.json +1 -1
- package/template/README.md +1 -1
- package/template/wrangler.toml +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import path from "path";
|
|
|
9
9
|
import { fileURLToPath } from "url";
|
|
10
10
|
var __filename = fileURLToPath(import.meta.url);
|
|
11
11
|
var __dirname = path.dirname(__filename);
|
|
12
|
-
var CORE_VERSION = "0.3.
|
|
12
|
+
var CORE_VERSION = "0.3.38";
|
|
13
13
|
var TEMPLATE_DIR = fs.existsSync(path.resolve(__dirname, "../template")) ? path.resolve(__dirname, "../template") : path.resolve(__dirname, "../../../sites/demo");
|
|
14
14
|
function isValidProjectName(name) {
|
|
15
15
|
return /^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/.test(name);
|
package/package.json
CHANGED
package/template/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Deploy to Cloudflare instantly — no local setup required:
|
|
|
22
22
|
### After deploy
|
|
23
23
|
|
|
24
24
|
1. Visit your site at the URL shown in the Cloudflare dashboard (e.g. `https://<project>.<account>.workers.dev`)
|
|
25
|
-
2. Go to `/
|
|
25
|
+
2. Go to `/setup` to set up your admin account
|
|
26
26
|
3. If you set `SITE_URL` to a custom domain, add it in: Cloudflare dashboard → Workers & Pages → your worker → Settings → Domains & Routes → Add Custom Domain
|
|
27
27
|
4. If you left `SITE_URL` empty, set it to your `*.workers.dev` URL: Cloudflare dashboard → Workers & Pages → your worker → Settings → Variables and Secrets
|
|
28
28
|
|
package/template/wrangler.toml
CHANGED
|
@@ -49,7 +49,7 @@ IMAGE_TRANSFORM_URL = "https://demo-media.jant.me/cdn-cgi/image" # @create-jant:
|
|
|
49
49
|
|
|
50
50
|
# @create-jant: @remove-start
|
|
51
51
|
DEMO_EMAIL = "demo@jant.me"
|
|
52
|
-
DEMO_PASSWORD = "
|
|
52
|
+
DEMO_PASSWORD = "jantdemodemojant"
|
|
53
53
|
# @create-jant: @remove-end
|
|
54
54
|
|
|
55
55
|
[[d1_databases]]
|