create-grist-widget 0.2.25 → 0.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-grist-widget",
3
- "version": "0.2.25",
3
+ "version": "0.3.2",
4
4
  "description": "Scaffold a new Grist custom widget from the grist-widget-sdk Vite template",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1 @@
1
+ # grist-widget-template-vite
@@ -34,29 +34,21 @@ This is the **source** template. It is consumed two ways:
34
34
  standalone `pnpm install` (pnpm 11) exits cleanly; inside the monorepo it's
35
35
  ignored (the root workspace governs).
36
36
 
37
- ### Live preview inside the monorepo (this template's own showcase)
38
-
39
- This repo also deploys this template's own **unmodified** source to its own
40
- GitHub Pages — a live showcase of exactly what `npm create grist-widget`
41
- scaffolds, at `https://arthurblanchon.github.io/grist-widget-sdk/template/`.
42
- Same workflow every widget already uses:
43
-
44
- - Push template changes to the persistent `dev/template-showcase` branch —
45
- every push auto-deploys a live preview at `.../template/dev/` that
46
- self-reloads a few seconds later, same as a scaffolded widget's own `dev`
47
- channel. Kept around permanently (not deleted after each round), so
48
- `.../template/dev/` is always live to preview whatever's currently being
49
- iterated on here.
50
- - Ready to release? **Bump `packages/create-grist-widget/package.json`'s
51
- version**, open a PR from your feature branch into `main`, and merge —
52
- merging is what actually publishes `.../template/v<version>/` +
53
- `.../template/latest/` (and a real `create-grist-widget` npm release,
54
- since that package embeds this template verbatim — see
55
- `scripts/build-template.mjs`). Merging without a version bump publishes
56
- nothing (same idempotent-skip rule as every other deploy pipeline here).
57
-
58
- See `scripts/deploy/template-showcase.mjs` + `.github/workflows/
59
- deploy-template-showcase.yml` (monorepo root) for the pipeline itself.
37
+ ### Live preview
38
+
39
+ This template has no live-preview deploy of its own inside this monorepo —
40
+ that used to exist (a `/template/` showcase on this repo's own GitHub
41
+ Pages) but has been retired. The only live preview of this template's
42
+ current source is external: `template-canary.yml` scaffolds it via the
43
+ *published* `create-grist-widget` package and pushes to the `dev` and
44
+ `canary/latest` branches of
45
+ [`grist-widget-template`](https://github.com/ArthurBlanchon/grist-widget-template)
46
+ after every release — see `apps/docs/files/releasing.md` for the full
47
+ mechanism. There is no live preview of *unreleased* changes to this
48
+ template; to try one locally, scaffold from your working tree with
49
+ `pnpm --filter create-grist-widget build` (embeds this template verbatim —
50
+ see `scripts/build-template.mjs`) and run the packed CLI against a scratch
51
+ directory, same as `scripts/smoke/create-widget.sh` does.
60
52
 
61
53
  ## Deployment
62
54
 
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@fontsource-variable/geist": "^5.2.8",
16
- "grist-widget-sdk": "^0.2.15",
16
+ "grist-widget-sdk": "^0.3.0",
17
17
  "@tailwindcss/vite": "^4.2.1",
18
18
  "class-variance-authority": "^0.7.1",
19
19
  "clsx": "^2.1.1",