Commit 83db36f
feat(examples): add
All three example apps (euler-multichain, euler-subgraph, uniswap-portal)
lacked a `clean` script, so a `dev`/`codegen`/`start` run left `.ponder`,
`generated`, and `ponder-env.d.ts` behind with no one-shot reset.
Add an identical `"clean": "rm -rf .ponder generated ponder-env.d.ts"` to
each example's `scripts` block. It removes exactly the regenerable,
already-gitignored artifacts and leaves `git status examples/` clean.
`rm -rf` matches the ponder-example convention and keeps the examples
dependency-free (no rimraf); CI is linux. node_modules and
package-lock.json are intentionally left alone — a fast, non-destructive
reset rather than a deps wipe.
Verified live on euler-subgraph: install -> codegen + dev materialize the
three artifacts -> `npm run clean` removes all three -> git status clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>npm run clean to reset generated artifacts1 parent f643e96 commit 83db36f
3 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments