alva icon indicating copy to clipboard operation
alva copied to clipboard

WIP: Allow aot analysis of libraries

Open marionebl opened this issue 5 years ago • 2 comments

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

marionebl avatar May 23 '19 13:05 marionebl

Deployed at: https://alva-issues-800.surge.sh

marionebl avatar May 23 '19 13:05 marionebl

Deployed at: https://alva-site-issues-800.surge.sh

marionebl avatar May 23 '19 14:05 marionebl