npm_lcc_frontend_toolkit
v0.258.0
Published
A collection of Sass and JavaScript files to be used by Leeds City Council frontend applications.
Downloads
3
Readme
lcc frontend toolkit
A collection of Sass and JavaScript files to be used by Leeds City Council frontend applications.
The toolkit contains our core SASS files that can be used on any of the LCC websites to give it the LCC-y look and feel. Because we’re using the same CSS, all the sites will look and feel LCC-y from the get go. They’ll have similar font sizes, line heights, headers, and the like. We’ll make a few tweaks per site, but we’re most of the way there. The lcc_frontend_toolkit is packaged into an NPM package and hosted on the NPM registry for it to be imported into any LCC project.
If an update to the lcc_frontend_toolkit NPM package is needed the following steps need to be carried out:
- Update the particular SASS/JS file.
- Bump the version number in the VERSION.txt file – we use semantic versioning. NOTE: If this step is omitted, then when you commit and push your changes it will not generate a new NPM package. Helpful when you are not ready to publish a new package but want to make sure your changes are source controlled.
- Commit changes and push to remote repository.
- Once pushed, a Travis CI build is kicked off that checks to see if the version has been bumped and if so creates a new release on GitHub. If a new release is created then it kicks off another Travis CI build, which removes all development artefacts such as gulpfiles, specs, readmes and then pushes to the lcc_frontend_toolkit_npm repository before publishing a new NPM package.