Commit 0c46eda
authored
fix(web-basic): make documented dev command work from clean install (#39)
- Fix root dev:web-basic script to use pnpm --dir instead of
wrong package filter (@intent/web-basic does not exist;
the actual package name is web-basic)
- Add Vite resolve aliases for @intent/core, @intent/dom,
@intent/router so Vite resolves workspace packages from
source during development, eliminating the need for
pnpm build before pnpm dev:web-basic
- Update docs/Demo.md to mention the root command as an
alternative to the cd-based path
Validation (from clean dist):
pnpm test: 310 tests passed (127 core + 72 router + 21 testing + 4 server + 86 dom)
pnpm typecheck: passes
pnpm build: passes (all packages + vite build)
pnpm dev:web-basic: Vite starts cleanly in <150ms with no resolution errors1 parent b0782df commit 0c46eda
3 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments