@bagdja/kumpul 1.0.1 → 1.0.3

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 CHANGED
@@ -15,16 +15,18 @@ direction and notes about the prototype's sample data and host-managed pages.
15
15
  ## Contract
16
16
 
17
17
  - Package: `@bagdja/kumpul`
18
- - Version: `1.0.0`
18
+ - Version: `1.0.3`
19
19
  - Template slug: `kumpul`
20
- - `rendererApiVersion`: `1`
21
- - Entry point: `dist/server.cjs`
20
+ - `manifestVersion`: `1`, `rendererApiVersion`: `1`
21
+ - Entry point: `dist/server.cjs` (wajib) dan `dist/client.js` (JavaScript browser), dinyatakan di `manifest.entry`
22
+ - Halaman contoh untuk website baru: `manifest.defaultPages` (Beranda, Katalog Gathering, Cara Kerja, Tentang)
22
23
  - Export: `render(props)`, returning a React element
23
24
  - React: supplied by the Bagdja runtime
24
25
 
25
26
  The package is kept separate from the production renderer. Publishing a package
26
- does not publish or activate a template in the runtime registry; registration,
27
- review, and publication are separate platform steps.
27
+ to npm does not publish or activate it in Bagdja: the platform fetches and
28
+ validates the exact version into staging, then activates it only after the
29
+ separate deep-review approval and release.
28
30
 
29
31
  ## Development
30
32
 
@@ -92,11 +94,21 @@ from it, then replace the renderer and fixtures while preserving the package
92
94
  and manifest contract. The local preview is a development aid, not a substitute
93
95
  for Bagdja Studio/reviewer preview or the isolated production runtime.
94
96
 
95
- The runtime's optional `client_bundle` capability is approval-gated. Review
96
- and approve the exact package version before enabling its browser bundle in
97
- Bagdja; the local fixture preview is not that approval.
97
+ `dist/client.js` dibaca reviewer Bagdja sebelum versi disetujui; setelah
98
+ terbit, JavaScript ini berjalan di semua halaman website seller di dalam iframe
99
+ sandbox. Preview fixture lokal bukan persetujuan tersebut.
98
100
 
99
101
  `npm run build` builds the package; `npm test` checks the renderer, and
100
102
  `npm pack --dry-run` previews the contents to be uploaded to npm without
101
103
  publishing anything. The design reference is documentation material and is
102
104
  intentionally excluded from the published package.
105
+
106
+ After review, publish the exact version declared in `package.json`:
107
+
108
+ ```sh
109
+ npm publish --access public
110
+ ```
111
+
112
+ The generated npm package must contain `manifest.json`, `dist/server.cjs`, and
113
+ optionally `dist/client.js`; the platform retrieves those files from npm, so
114
+ reviewers do not upload bundle files manually.