create-jant 0.5.3 → 0.6.0

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 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.5.3";
12
+ var CORE_VERSION = "0.6.0";
13
13
  var WRANGLER_VERSION = "^4.76.0";
14
14
  var TEMPLATE_DIR = fs.existsSync(path.resolve(__dirname, "../template")) ? path.resolve(__dirname, "../template") : path.resolve(__dirname, "../../../sites/demo");
15
15
  function isValidProjectName(name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jant",
3
- "version": "0.5.3",
3
+ "version": "0.6.0",
4
4
  "description": "Create a new Jant project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -112,6 +112,18 @@ Open `http://localhost:3000`.
112
112
  | `npm run reset-password` | Generate a password reset token |
113
113
  | `npx jant site export https://your-site.example --output ./jant-site-export.zip` | Export the site as a portable archive |
114
114
 
115
+ ## Upgrade
116
+
117
+ Check the [release notes](https://github.com/jant-me/jant/releases) for breaking changes, then:
118
+
119
+ ```bash
120
+ npm install @jant/core@latest
121
+ npm run dev # verify locally; applies new migrations to your local D1
122
+ npm run deploy # deploy to Cloudflare; applies remote migrations
123
+ ```
124
+
125
+ If you used one-click deploy, you can skip the local steps: commit the updated `package.json` and lockfile and push to `main`. Cloudflare rebuilds and applies remote migrations automatically.
126
+
115
127
  ## Configuration
116
128
 
117
129
  The most common values live in two files: