This PR includes minimal changes to get the package ready for publishing on npm.
Changes include:
Added @guardian namespace to package name.
Moved publish-ignored files from bower.json/ignore to .npmignore
Updated install instructions in README.md to refer to npm instead of bower,
Removed bower.json
How to test
Update the package from npm: npm i @guardian/fence and ensure it correctly installs.
Additional step: Update an existing repository that uses fence to fetch the dependency from npm, instead of directly from github/bower.
What does this change?
This PR includes minimal changes to get the package ready for publishing on npm.
Changes include:
@guardian
namespace to package name.bower.json/ignore
to.npmignore
README.md
to refer to npm instead of bower,bower.json
How to test
Update the package from npm:
npm i @guardian/fence
and ensure it correctly installs. Additional step: Update an existing repository that uses fence to fetch the dependency from npm, instead of directly from github/bower.How can we measure success?
The dependencies provided by https://github.com/guardian/mobile-apps-article-templates/blob/master/package.json in https://github.com/guardian/android-news-app should start being available again in the TeamCity builds.
Have we considered potential risks?
Images
Accessibility