Commit bb8c7c0
committed
Implement support for registry packages.
This commit implements support for referencing packages from a registry.
A new `wac-resolver` crate was added and the resolvers implementation was
refactored into it; package resolution now occurs before document resolution.
A `registry` feature was added to the CLI tool; when enabled, a `--registry`
CLI option is accepted to point at the registry to use.
The CLI also supports Warg client configuration files (default or local).
A simple `indicatif` progress bar was added to display the number of packages
that need to be downloaded from the registry.
A new integration test that uses packages from a registry was also implemented.1 parent 9cbdc47 commit bb8c7c0
21 files changed
Lines changed: 4093 additions & 566 deletions
File tree
- .github/workflows
- crates
- wac-parser
- src
- resolution
- tests
- wac-resolver
- src
- tests
- support
- src
- commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
28 | 52 | | |
29 | 53 | | |
30 | 54 | | |
| |||
0 commit comments