alva
alva copied to clipboard
WIP: Allow aot analysis of libraries
Proposed Changes
This change enables Alva to read analysis files created via @meetalva/analyzer-cli
when looking into pattern libraries. Library authors can trigger this behavior by adding the analysis
field to the alva
object in package.json
:
{
"alva": {
"analysis": "./alva.json"
}
}
The relevant analysis file can be created via
alva-analyze --in package.json --out alva.json --format json
Checklist
- [x] Implement shortcut for local libraries
- [x] Implement shortcut for remote libraries (test via
@meetalva/alva-design@next
) - [x] Publish
@meetalva/analyzer-cli
to NPM - [ ] Update meetalva/alva-design
- [x] Update meetalva/material-design
- [ ] Update meetalva/video-player
- [ ] Update meetalva/music-player
- [ ] Update meetalva/feather-icons
- [ ] Update meetalva/unsplash
- [x] Update meetalva/maps
Later
- Refactor builtin library to use an ordinary AOT analysis
- Enable shortcut installs on browser-hosted instances
Deployed at: https://alva-issues-800.surge.sh
Deployed at: https://alva-site-issues-800.surge.sh