-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(index.js): Changed function export name from bc to bulma
The name `bulma` is more semantic and readable than `bc`, which follows this package's Guiding prinicples more closely. In addition, this commit adds nearly 100% code coverage, a Travis CI, Semantic versioning and Standardized Git commit messages with Commitizen BREAKING CHANGE: The function name is now `bulma` instead of `bc` docs(READE.md): Add description for `raw` Also update the path to the made_with_bulma.png logo docs(README.md, .travix.yml): Move logo, update Travis build version Move logo to bottom of README.md for better readability, remove unused .nvm file and add latest node version in .travis.yml file fix(.travis.yml): Remove codecov script Switch to coveralls, now codecov script is no longer needed ci(.travis.yml, package.json): Update Travis build scripts Change to yarn build script to run both tests and linting and update after success step to use semantic-release ci(.travis.yml): Remove deploy config ci(.travis.yml, package.json): Add NPM API key Now package will be published automatically on passing build with semantic-release ci(.travis.yml): Remove deploy: {tags: true} line
- Loading branch information
1 parent
2419768
commit 46a17c9
Showing
13 changed files
with
811 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
jest: true, | ||
}, | ||
extends: ['eslint:recommended', 'plugin:flowtype/recommended'], | ||
parser: 'babel-eslint', | ||
plugins: ['flowtype', 'jest'], | ||
rules: { | ||
indent: ['error', 'tab'], | ||
'linebreak-style': ['error', 'unix'], | ||
quotes: ['error', 'single'], | ||
semi: ['error', 'always'], | ||
'jest/no-disabled-tests': 'warn', | ||
'jest/no-focused-tests': 'error', | ||
'jest/no-identical-title': 'error', | ||
'jest/prefer-to-have-length': 'warn', | ||
'jest/valid-expect': 'error', | ||
}, | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
jest: true, | ||
}, | ||
extends: ['eslint:recommended', 'plugin:flowtype/recommended'], | ||
parser: 'babel-eslint', | ||
plugins: ['flowtype', 'jest'], | ||
rules: { | ||
'linebreak-style': ['error', 'unix'], | ||
quotes: ['warn', 'single'], | ||
semi: ['error', 'always'], | ||
'jest/no-disabled-tests': 'warn', | ||
'jest/no-focused-tests': 'error', | ||
'jest/no-identical-title': 'error', | ||
'jest/prefer-to-have-length': 'warn', | ||
'jest/valid-expect': 'error', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
module.exports = { | ||
bracketSpacing: true, | ||
tabWidth: 2, | ||
semi: true, | ||
printWidth: 80, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
arrowParens: 'always', | ||
parser: 'flow', | ||
useTabs: true, | ||
bracketSpacing: true, | ||
tabWidth: 2, | ||
semi: true, | ||
printWidth: 80, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
arrowParens: 'always', | ||
parser: 'flow', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
language: node_js | ||
node_js: | ||
- node | ||
- lts/* | ||
cache: | ||
directories: | ||
- ~/.npm | ||
- "~/.npm" | ||
notifications: | ||
email: false | ||
node_js: | ||
- '10' | ||
- '9' | ||
- '8' | ||
- '6' | ||
install: yarn install --ignore-engines | ||
jobs: | ||
include: | ||
- stage: Produce Coverage | ||
node_js: node | ||
script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js | ||
&& rm -rf ./coverage | ||
script: | ||
- yarn test:single | ||
- yarn build | ||
after_success: | ||
- yarn travis-deploy-once "yarn semantic-release" | ||
- yarn travis-deploy-once | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
- "/^v\\d+\\.\\d+\\.\\d+$/" | ||
deploy: | ||
provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: 0BzGKWLbgP7vwKu/By4M756WiPc4Fcwoc5S9vBb3mtQ8AnZ8z+gQMT7vJJ/l30J2j7VZvvBEYNW1O3F/fehqwYgTeFGAR/43ZkP7XcqdLCjyuQZPUY7S7azMwihqRAhVucEthJr0QKjFh1XRbZm4TAz0+S3PhwKRRrT8RlSXbME7XhpucRdyA2kjHoOZhxFZ0rEHUjyOaPFPve+3dEd3O+R6anmfFQHVcqoZ6A9lHawZTJNhxgVSL/xFHG0wrpPTNrNGJgDC2qOinl1EYQpaok5CRqnzaA/4nbiAGafAlr4cRqp0wvZehfpTgziR2KAFdlnbBeFg5jfLEMeAD32gOWvdit/9Zh8rRuFI8fEfI6VxboBXycu6ti8Rym82cOfXdqPV5xGJmlyYqslTOb8Bt9xFOG5CgMaZqpe/ep12k04r+rlQCotxGUZ2WVhoUjKcRrV32JwcqUf/ROEpsIXFOK+u5qS/ogPH/3J1O/RgOmorX5tYEDyQTrN1Nr7qkqQVJKlvJeGl1frhoLb3ZyOLen3koFfX5jeja6QVYylgl+QhNPt+m9VuOYszB8lYaOOez9CAxCYeDIbBlcLGmmew0wYlI2F0TRftjTugNYdnqxWvN9YNBlOfbgKRXrpgIvYN8GmAoJ1ISvCNZ6yMqusjJJ1WWRGDuhADHMS9cTaJlp4= | ||
on: | ||
tags: false | ||
repo: seanWLawrence/bulma-classnames |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog | ||
|
||
## v1.0 - BREAKING CHANGE: Update function name to `bulma` from `bc` | ||
|
||
If you still prefer to use the `bc` function name for any reason, simply import it like so: | ||
|
||
```javascript | ||
import bulma as bc from 'bulma-classnames' | ||
``` | ||
|
||
## v 0.0.1 Beta |
Oops, something went wrong.