vela 0.11.4 → 0.11.5
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 +12 -1
- package/dist/bin.js +454 -102
- package/dist/bin.js.map +4 -4
- package/package.json +16 -4
- package/templates/minimal/package.template.json +1 -1
- package/templates/minimal/vite.config.ts +1 -1
- package/templates/server/apply.sh +71 -30
- package/templates/server/lib.sh +16 -5
- package/templates/server/rollback.sh +2 -2
package/README.md
CHANGED
|
@@ -45,6 +45,15 @@ vela provision root@your-server # Caddy, Node, PocketBase
|
|
|
45
45
|
vela deploy --server root@your-server --domain example.com
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
Any SvelteKit project deploys this way, PocketBase or not — `npx sv create my-app`
|
|
49
|
+
straight into `vela deploy` works. The deploy looks at the project rather than at a
|
|
50
|
+
config: a server needs `@sveltejs/adapter-node`, so a project still on `adapter-auto`
|
|
51
|
+
(what `sv create` gives you) is switched to it on the first deploy, the package
|
|
52
|
+
installed, and you are asked to commit the change. A project on `adapter-static` or a
|
|
53
|
+
hosting platform's adapter is left alone and told why. Nothing on the server assumes a
|
|
54
|
+
database: run `vela bless` whenever you want one and deploy again, and the same instance
|
|
55
|
+
gains its PocketBase.
|
|
56
|
+
|
|
48
57
|
That first deploy binds `production` to the server, so nothing after it names a
|
|
49
58
|
machine again. Every command takes the same selector — `-t local`, `-t production`
|
|
50
59
|
(or `prod`), or any name you choose such as `-t staging`:
|
|
@@ -80,7 +89,9 @@ Same thing from CI with [`velastack/action`](https://github.com/velastack/action
|
|
|
80
89
|
vela bless
|
|
81
90
|
```
|
|
82
91
|
|
|
83
|
-
Adds the backend and the rest of the setup to a vanilla SvelteKit project, in place.
|
|
92
|
+
Adds the backend and the rest of the setup to a vanilla SvelteKit project, in place. A
|
|
93
|
+
project that is already deployed keeps deploying to the same instance, now with a
|
|
94
|
+
database.
|
|
84
95
|
|
|
85
96
|
## It stays your code
|
|
86
97
|
|