@shipstatic/ship 3.4.0-beta.16 → 3.4.0-beta.17
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/SKILL.md +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -116,7 +116,7 @@ Visitors get an unlock page until they enter the password. Length: 6–128 chara
|
|
|
116
116
|
|
|
117
117
|
### Client-side routing
|
|
118
118
|
|
|
119
|
-
A deployment whose only page is `index.html` serves it for every missing path, so a React, Vue, Svelte or Angular build works on its routes with nothing to configure. An app that ships other HTML files beside its shell declares the route itself: a `ship.json` rewrite from `/(.*)` to `/index.html`, the one the ship.json docs show. Your own rewrites run ahead of either. A root `404.html` of your own turns the automatic route off and is served for a missing path your rewrites do not claim. Every deployment states its default as `fallback`: the page declared for a missing path, or `null` when none is declared, so check it on the deploy response and add the rewrite when an app reads `null`.
|
|
119
|
+
A deployment whose only page is `index.html` serves it for every missing path, so a React, Vue, Svelte or Angular build works on its routes with nothing to configure. An app that ships other HTML files beside its shell declares the route itself: a `ship.json` rewrite from `/(.*)` to `/index.html`, the one the ship.json docs show. One exception needs nothing: a React Router build that prerenders with `ssr: false` leaves its shell at `__spa-fallback.html`, and that file is served for every missing path (do not add a rewrite to `/index.html` there; it would serve the prerendered home page). Your own rewrites run ahead of either. A root `404.html` of your own turns the automatic route off and is served for a missing path your rewrites do not claim. Every deployment states its default as `fallback`: the page declared for a missing path, or `null` when none is declared, so check it on the deploy response and add the rewrite when an app reads `null`.
|
|
120
120
|
|
|
121
121
|
## Authentication
|
|
122
122
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/ship",
|
|
3
|
-
"version": "3.4.0-beta.
|
|
3
|
+
"version": "3.4.0-beta.17",
|
|
4
4
|
"description": "CLI and SDK for ShipStatic. Deploy static websites, landing pages, and prototypes instantly from the terminal or code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|