webcomponents / webcomponents.org

Home of the web components community
https://www.webcomponents.org
Apache License 2.0
356 stars 95 forks source link

Fix bugs with updating packages #1360

Closed justinfagnani closed 1 year ago

justinfagnani commented 1 year ago

The main test added sets up the local project so that it has a new published version, then performs an import, to test updating a package. This revealed several bugs that are fixed in the commit too.

To support this type of test I updated LocalFsPackageFiles to point to a folder of versioned packaged data, and to take config of which versions are considered publish and what the dist-tags are. That's in the first commit.