Bento: Reorganizing
See original GitHub issueSummary
I believe that over the past few years of development, we’ve developed some alignment/messaging/naming cruft. Here are some items I believe we should update with urgency:
- amp-base-carousel --> amp-carousel, bento-base-carousel --> bento-carousel: (https://github.com/ampproject/amphtml/issues/37380)
- publish packages to
@ampproject/bento-XYZ
instead of@ampproject/amp-XYZ
- Stop publishing the AMP Binary to NPM. It isn’t realistically usable outside of the AMP Cache.
- Direct all consumers to use NPM Caches instead of the AMP Cache for all use cases (unpkg, cdnjs, etc). Do this by updating the bentojs documentation website.
- Decouple Bento’s versioning scheme from AMP versions. Bento can follow a more traditional semver model, whereas AMP can continue with its RTVs. This means removing the file-based versioning scheme.
Notifications
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Bento Organizing on the App Store - Apple
Are you ready to pack the perfect Bento box? In this simulation game you should arrange your bento box using all the ingredients!...
Read more >Bento Organizing - Apps on Google Play
Are you ready to pack the perfect Bento box? In this simulation game you should arrange your bento box using all the ingredients!...
Read more >Bento Boxes Can Hold More Than Your Lunch - Pinterest
Aug 17, 2012 - I'm reading Conscious Style Home by Danny Seo , who says bento boxes "are excellent for storing small office...
Read more >Bento Storage ideas - Pinterest
Oct 18, 2018 - Explore Omai Australia's board "Bento Storage ideas" on Pinterest. ... via Flickr Bento, Flickr, Organization Ideas, Organizing.
Read more >Bento Organizing APK for Android Download - APKPure
Are you ready to pack the perfect Bento box? In this simulation game you should arrange your bento box using all the ingredients!...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Following-up on this after discussion yesterday:
We’re going to continue using AMP’s versioning scheme (using RTVs) for Bento components because using a more traditional semver model would require bumping the major (since our minor is already so high). Bumping the major of all the extensions is disruptive and places additional maintenance burden on preserving the old versions (in source code or a release branch).
When we begin directing consumers to use NPM caches, we’ll also have to remember to direct them to either use importmaps, to remap
@bentoproject/core
(any any other dependencies of a particular component, e.g.mustache
) to the corresponding CDN package [^example], or use a CDN that expands bare import specifiers (e.g unpkg See?module
documentation in Query Parameters section)importmaps example:
Do you mean to declare that a package doesn’t have side effects? The default is to assume that all packages have side effects. Also, AFAIK this entire concept is only important for CJS and barely relevant for ESM.
I don’t think a side-effecting auto-registration vs. allowing them to choose when to register has a bundle size impact (both are equally good as far as bundlers are concerned).