Repository navigation
Commit 938d42b
authored
fix: publish packages with Yarn (#168)
## Summary
I tried to download the v4.7.0 in kibana and I received this error
```javascript
error Couldn't find package "@elastic/pretty-printer@workspace:^" required by "@elastic/[email protected]" on the "npm" registry.
```
I found this issue to be similar
changesets/changesets#1454
so internally changeset use npm (probabily also pnpn) but not yarn and
you can't resolve the workspace
I change the way to publish the package using yarn.
Note about` --topology`
`@elastic/esq`l depends on `@elastic/pretty-printer`, so it publishes
@elastic/pretty-printer first, then `@elastic/esql`.
I did a test with a local registry (Verdaccio)1 parent c16958d commit 938d42b
3 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments