Skip to content

Commit

Permalink
Merge pull request #3 from c01nd01r/v1.0.0
Browse files Browse the repository at this point in the history
v1.0.0
  • Loading branch information
c01nd01r authored Jan 4, 2018
2 parents 80d668d + ed0c02d commit da5dadc
Show file tree
Hide file tree
Showing 39 changed files with 2,849 additions and 3,896 deletions.
17 changes: 12 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"presets": [
"es2015",
"stage-2"
],
"plugins": ["transform-runtime"]
"env": {
"build": {
"presets": [
["es2015", { "modules": false }],
"stage-2"
],
"plugins": [ "external-helpers"]
},
"test": {
"presets": ["es2015", "stage-2"]
}
}
}
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "airbnb-base",
"env": {
"jest": true
}
}
18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

110 changes: 85 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Created by https://www.gitignore.io/api/node,macos,visualstudiocode
# Created by https://www.gitignore.io/api/node,macos,windows,visualstudiocode,webstorm

### macOS ###
*.DS_Store
Expand All @@ -9,7 +9,6 @@
# Icon must end with two \r
Icon


# Thumbnails
._*

Expand All @@ -22,18 +21,13 @@ Icon
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
Expand All @@ -50,21 +44,12 @@ coverage
# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm
Expand All @@ -87,10 +72,85 @@ jspm_packages

### VisualStudioCode ###
.vscode/*
.history/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history

### WebStorm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

# Mongo Explorer plugin:
.idea/**/mongoSettings.xml


## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Ruby plugin and RubyMine
/.rakeTasks

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### WebStorm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
.idea/sonarlint

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/node,macos,visualstudiocode
# End of https://www.gitignore.io/api/node,macos,windows,visualstudiocode,webstorm
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ cache:
notifications:
email: false
node_js:
- '7'
- '6'
- '4'
before_script:
- npm prune
- '8'
script:
- npm run test
- yarn run build
- yarn run test
branches:
except:
- /^v\d+\.\d+\.\d+$/
45 changes: 45 additions & 0 deletions .yarnclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# test directories
__tests__
test
tests
powered-test

# asset directories
docs
doc
website
images
assets

# examples
example
examples

# code coverage directories
coverage
.nyc_output

# build scripts
Makefile
Gulpfile.js
Gruntfile.js

# configs
appveyor.yml
circle.yml
codeship-services.yml
codeship-steps.yml
wercker.yml
.tern-project
.gitattributes
.editorconfig
.*ignore
.eslintrc
.jshintrc
.flowconfig
.documentup.json
.yarn-metadata.json
.travis.yml

# misc
*.md
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,28 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2017-01-03
### Added
- 'hyphenate' option in settings - hyphenation the resulting class name
- 'methodName' option in settings - name of the method for generating the class name

### Changed
- New build system with Rollup. Now, only two types of distributed files - ES6 module for modern build systems and UMD.
- Reducing build size ( less than 1 KB with minification and gzip )
- Changed the structure of the settings object (more in the [API section](#api))
- Updated README.md. New "[Default settings](#default-settings)" section
- Fixed typos in CHANGELOG.md

### Removed
- CommonJS module build

## [0.1.1] - 2017-01-03

### Added
- This CHANGELOG file

### Removed
- `module` in package.json from `package.json` (#2)
- `module` from `package.json` (#2)

[0.1.1]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.1.0...v0.1.1
[1.0.0]: https://github.com/c01nd01r/vue-bem-cn/compare/v0.1.1...v1.0.0
[0.1.1]: https://github.com/c01nd01r/vue-bem-cn/compare/v0.1.0...v0.1.1
Loading

0 comments on commit da5dadc

Please sign in to comment.