this commit updates the starter template to use the community driven
version of the stencil router instead of the one that is no longer
developed by the stencil team. in doing so, we uninstall the one under
the 'stencil' scope and install the one under the 'stencil-community'
scope.
@stencil/router@1.0.1 and @stencil-community/router@1.0.2 are nearly
identical in terms of contents. @stencil/router@1.0.1 was transferred
to the community model as @stencil-community/router@1.0.1 (and are
entirely identical). however, v1.0.1 was never published under the
@stencil-community scope due to limitations of the router's publishing
infrastructure. @stencil-community/router@1.0.2 was published with
minor changes to the original router necessary to publish the package.
those changes can be viewed at https://github.com/stencil-community/stencil-router/compare/v1.0.1...v1.0.2
Testing
I tested this change by:
Removing any node_modules I had in the past from testing this project out
Running npm i to get the latest dependencies (including the community router)
Ran npm run build to build the project
Ran npm t to run the unit tests
Smoke tested the project by running npm start and verifying that navigation still worked
Overview
this commit updates the starter template to use the community driven version of the stencil router instead of the one that is no longer developed by the stencil team. in doing so, we uninstall the one under the 'stencil' scope and install the one under the 'stencil-community' scope.
@stencil/router@1.0.1
and@stencil-community/router@1.0.2
are nearly identical in terms of contents.@stencil/router@1.0.1
was transferred to the community model as@stencil-community/router@1.0.1
(and are entirely identical). however, v1.0.1 was never published under the@stencil-community
scope due to limitations of the router's publishing infrastructure.@stencil-community/router@1.0.2
was published with minor changes to the original router necessary to publish the package. those changes can be viewed at https://github.com/stencil-community/stencil-router/compare/v1.0.1...v1.0.2Testing
I tested this change by:
npm i
to get the latest dependencies (including the community router)npm run build
to build the projectnpm t
to run the unit testsnpm start
and verifying that navigation still worked