create-jant 0.3.35 → 0.3.37

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/README.md CHANGED
@@ -45,7 +45,7 @@ cp .dev.vars.example .dev.vars
45
45
  pnpm dev
46
46
  ```
47
47
 
48
- Visit http://localhost:9019 to see your site.
48
+ Visit http://localhost:9020 to see your site.
49
49
 
50
50
  ## Project Structure
51
51
 
@@ -71,7 +71,7 @@ my-site/
71
71
  ## Scripts
72
72
 
73
73
  ```bash
74
- pnpm dev # Start dev server (http://localhost:9019)
74
+ pnpm dev # Start dev server (http://localhost:9020)
75
75
  pnpm build # Build for production
76
76
  pnpm run deploy # Build + deploy to Cloudflare Workers
77
77
  pnpm typecheck # Run TypeScript checks
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.35";
12
+ var CORE_VERSION = "0.3.37";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jant",
3
- "version": "0.3.35",
3
+ "version": "0.3.37",
4
4
  "description": "Create a new Jant project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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 `/dash` to set up your admin account
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
 
@@ -9,7 +9,7 @@ directory = "./node_modules/@jant/core/dist/client"
9
9
 
10
10
  # @create-jant: @remove-start
11
11
  [dev]
12
- port = 9019
12
+ port = 9020
13
13
  # @create-jant: @remove-end
14
14
 
15
15
  # ============================================
@@ -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 = "demodemo"
52
+ DEMO_PASSWORD = "jantdemodemojant"
53
53
  # @create-jant: @remove-end
54
54
 
55
55
  [[d1_databases]]