Commit ccda8fd
test(cli-e2e): pack @sanity/cli-core alongside cli and create-sanity (#1040)
Without this, npm install resolves the @sanity/cli-core dependency
of the packed @sanity/cli from the npm registry, so e2e tests run
against the published version of cli-core instead of the local
source. This causes spurious failures whenever @sanity/cli starts
using new exports from cli-core that aren't yet published.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3ee8a17 commit ccda8fd
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments