2.7.2 • Published 7 years ago
@smarthtml/generator-site v2.7.2
Installation
First, install Yeoman and generator-smarthtml using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g lodash
npm install -g @smarthtml/generator-siteThen generate your new project:
yo @smarthtml/site --siteUrl="https://xxxxxxxx.app.smarthtml.io" --username="user@example.com"Then
npm install
npm run login
npm run pullAdd your theme to data\collections directory then
npm run pushGo on website url and enjoy.
Development
Commit's messages have to be compatible with https://conventionalcommits.org/ and angular convention
i.e.
feat: message
fix: message
chore: messageExplanation of the commit message types:
- feat: A new feature
- fix: A bug fix
- chore: others changes not connected with production code
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
- docs: Documentation only changes
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- test: Adding missing tests or correcting existing tests
otherwise http://marionebl.github.io/commitlint/#/ won't allow on commit.
Releasing new version to npm
On master branch run command:
npm run release