siteplane 0.1.45 → 0.1.47
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 -0
- package/dist/bin/siteplane.js +1094 -813
- package/dist/index.js +1018 -787
- package/dist/next.d.ts +25 -0
- package/dist/next.js +1138 -794
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# siteplane
|
|
2
2
|
|
|
3
|
+
**Unreleased image-policy preparation:** When the scan includes image fields, `withSiteplane` prepares
|
|
4
|
+
Next Image and existing Next-config CSP headers for Siteplane's image route and your website's
|
|
5
|
+
`/siteplane-assets/` path. Existing image sources stay in place. Local builds require the same public HTTPS
|
|
6
|
+
`SITEPLANE_SITE_ORIGIN` supplied by `setup deploy`. Custom loaders and explicit redirect settings need
|
|
7
|
+
reconciliation; preflight also flags CSP in middleware, proxy or app source for inspection. Keep existing
|
|
8
|
+
policies and check real rendered images after the change. This preparation does not authorize hosting.
|
|
9
|
+
|
|
3
10
|
Public Siteplane CLI for connected-site setup, field synchronization, Analytics
|
|
4
11
|
instrumentation and Booking integration.
|
|
5
12
|
|
|
@@ -32,6 +39,11 @@ activation, import, reporting, booking or publishing rights. Standalone bootstra
|
|
|
32
39
|
`setup prepare` installs the task's exact packages and creates the narrow official runtime integration.
|
|
33
40
|
The agent chooses and instruments content, then persists a separate, bounded summary:
|
|
34
41
|
|
|
42
|
+
For a direct field ID, put `siteplane.attrs(fieldId, { routeKey })` on the visible
|
|
43
|
+
element using the same canonical route pattern as its value call. The value call
|
|
44
|
+
does not attach DOM metadata. Missing or mismatched DOM routes block apply and
|
|
45
|
+
the Next build; dynamic pages use their pattern, such as `/services/[slug]`.
|
|
46
|
+
|
|
35
47
|
```bash
|
|
36
48
|
siteplane setup apply --definition editor-definition.json --selection-summary-file selection.txt
|
|
37
49
|
siteplane setup deploy --wait
|