orbitpush 0.1.1 → 0.2.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/cli.js +47 -47
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ User-visible changes to orbitpush: commands, flags, exit codes, terminal output,
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.2.0 - 2026-11-18
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- `deploy` deletes stale HTML pages, PDFs, images and other files on the deploy that drops them, so a removed page stops being served right away. Only stale `.js`, `.mjs`, `.css`, `.wasm`, `.json`, font and source map files, which open pages of the previous build can still request, stay for 7 days. Without an `index.html` in the output, deploy deletes stale files only after 7 days.
|
|
12
|
+
|
|
7
13
|
## 0.1.1 - 2026-11-10
|
|
8
14
|
|
|
9
15
|
### Changed
|
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ In a terminal, `deploy` without an `orbitpush.json` asks whether to set up a new
|
|
|
39
39
|
2. Compares the output directory with the storage zone using SHA256 checksums and uploads only changed files, HTML files last. A symlinked file is uploaded with the content it points to; a symlinked directory or a broken symlink is skipped with a warning.
|
|
40
40
|
3. Applies the settings: [SPA mode](#spa-mode) or the [404 page](#404-page) from the output directory, and replication regions, delivery regions and domains from `orbitpush.json`.
|
|
41
41
|
4. Turns `redirects` and `headers` into edge rules (see below).
|
|
42
|
-
5. Deletes files from the storage zone that
|
|
42
|
+
5. Deletes files from the storage zone that are no longer in the build. HTML pages, PDFs, images and every other file go on the deploy that drops them. Scripts, styles, data, fonts and source maps (`.js`, `.mjs`, `.css`, `.wasm`, `.json`, `.woff2`, `.woff`, `.ttf`, `.otf`, `.map`) stay for 7 days, so an installed PWA or an open page still running the previous version can load its lazy chunks. Without an `index.html` in the output, which usually means the wrong directory, `deploy` warns and deletes stale files only after 7 days. The date each file left the build is kept in `/.orbitpush/stale.json` in the storage zone, which the pull zone serves publicly like every other file there. It lists only paths the site served before. If you delete it, the next deploy treats every stale file as stale since then. `.orbitpush/` in the storage zone belongs to orbitpush, so `deploy` skips files under `.orbitpush/` in the output directory with a warning.
|
|
43
43
|
6. Purges the pull zone cache.
|
|
44
44
|
|
|
45
45
|
bunny.net applies edge rule changes one by one, a few seconds after `deploy` finishes (2–6 s in our tests).
|