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
- Create a Merge Request in GitLab.
- A link to create an MR will show up in the output of
git push
.
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>
git push --tags
- Follow the build result in GitLab.
Optoon 2 - via GUI
- Create a tag in GitLab
- Follow the build result in GitLab.
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.