Skip to content

Commit f46e6a6

Browse files
committed
docs(readme): update
1 parent 21734b5 commit f46e6a6

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,14 @@ await renderPlanInBrowser(pinnedPlan, {
308308
});
309309
```
310310

311+
Auto-pin-latest workflow (`renderPlanInBrowser` default):
312+
313+
1. Write bare imports for DX, for example `import { format } from "date-fns/format"`.
314+
2. On first run, Renderify resolves the bare specifier via JSPM latest metadata.
315+
3. Renderify immediately pins and injects the exact resolved URL/version into `moduleManifest`, then executes with pinned resolution.
316+
317+
Use `manifest-only` in production (`autoPinLatestModuleManifest: false`) when you want fully pre-pinned, reviewable dependency mappings.
318+
311319
## Package Topology
312320

313321
| Package | Responsibility |

packages/renderify/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ await renderPlanInBrowser(pinnedPlan, {
118118
});
119119
```
120120

121+
Auto-pin-latest workflow (`renderPlanInBrowser` default):
122+
123+
1. Write bare imports for DX, for example `import { format } from "date-fns/format"`.
124+
2. On first run, Renderify resolves the bare specifier via JSPM latest metadata.
125+
3. Renderify immediately pins and injects the exact resolved URL/version into `moduleManifest`, then executes with pinned resolution.
126+
127+
Use `manifest-only` in production (`autoPinLatestModuleManifest: false`) when you want fully pre-pinned, reviewable dependency mappings.
128+
121129
## One-shot Prompt Rendering
122130

123131
```ts

0 commit comments

Comments
 (0)