@notionhq/custom-blocks-dev-shell 0.1.18 → 0.1.20

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
@@ -3,7 +3,8 @@
3
3
  A local dev shell for Notion custom block workers. It builds your worker,
4
4
  reads the manifest declared by your `worker.customBlock(...)` calls, serves each
5
5
  block with your project's own Vite, and renders them in a mock Notion host with
6
- sample data sources you can bind against.
6
+ sample data sources you can bind against. Use it to exercise a block locally
7
+ before `ntn workers deploy`.
7
8
 
8
9
  ## Usage
9
10
 
@@ -15,6 +16,10 @@ ntn customblocks dev
15
16
 
16
17
  Then open http://localhost:9873.
17
18
 
19
+ Add this package to the worker's `devDependencies` to pin its version and make
20
+ the reference docs below readable from the worker's `node_modules`; without an
21
+ install, the CLI fetches the latest release on each run instead.
22
+
18
23
  Options:
19
24
 
20
25
  - `[path]` — point at a worker directory explicitly instead of detecting one