Native JS import maps + package.json + automatic CLI code generation

JSPM is the beginning of next-generation of developer tooling – try it out!

https://jspm.org/jspm-cli

JSPM - JSPM CLI Relaunch - Import Map Package Management

Relaunching the JSPM CLI as an Import Map Package Manager

@techytacos Ooh this looks like it will solve the question of microfrontends for us. Using a headless CMS define a container and use settings to load the apps that will appear.

@techytacos gave this a spin in a side project and despite really wanting it to work found some of the workflows a bit frustrating still.

I find myself breaking the mental model between npm and jspm quite often because I still ultimately want intellisense to work while developing.

I’m not sure what the answer looks like here but kind of want jspm to put some files on disk perhaps for a directory of my choosing so I kind kind of relive that 90s feeling of ‘./assets/js/third_party/lit.js”

I’d love to ditch NPM entirely, I feel like so many problems would cease to exist, at least in theory?

Sidenote: Also found things that I kind of expected to work just by way of being modern and professionally developed like @material/web didn’t actually work using importmaps which also added a bunch of friction where I felt like again I had to make a decision about where the center of the universe was again regarding 3rd party code.