create-jant 0.3.35 → 0.3.36
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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/template/wrangler.toml +1 -1
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:
|
|
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:
|
|
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.
|
|
12
|
+
var CORE_VERSION = "0.3.36";
|
|
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