dreamhost-css
v0.5.2
Published
DreamHost's CSS framework
Downloads
453
Readme
DreamHost.css
Development
Make sure you have NPM and Gulp installed and then:
- Use Node >= 8.
npm install -g npm
npm install
gulp
The BrowserSync server will be running at http://localhost:9999
.
Contributing
- Create a feature branch.
git checkout -b my-branch
- Add, commit, and push your code.
git add file.css; git commit; git push
- Please refer to our codestyle guide for CSS and JS in contributing.md.
- Create a Merge Request in GitLab.
- A link to create an MR will show up in the output of
git push
.
- A link to create an MR will show up in the output of
Releasing new version
A new release is automatically built and published every time a tag is created. All automation is run by GitLab CI and defined in .gitlab-ci.yml.
Before picking a new version number, please make sure it's in line with Semantic Versioning guidelines.
Option 1 - via CLI
git checkout master
git tag <version>
- Example:
git tag 1.2.3
- Example:
git push --tags
- Follow the build result in GitLab.
Optoon 2 - via GUI
Updating each app
Some DreamHost apps use the framework either as a dependency, or as a devDependency in their package.json
.
Execute the below to update the package.json
to the newest version of the framework that has been published to NPM:
npm install dreamhost-css@latest --save
if dependencynpm install dreamhost-css@latest --save-dev
if devDependency
Until the framework is stable, once the package has been installed and updated, we need to compile CSS and check the app to see if anything has changed and should be fixed. Once we get to a stable version, we should only need to take this safety precaution on major releases.