Skip to content

Commit

Permalink
2.0.0 beta (#253)
Browse files Browse the repository at this point in the history
* added hooks api & rewrote with typescript

* removed lib from repo

* added test

* added test

* added test

* updated changelog

* updated travis yml

* updated scripts

* added codecove config

* added coverage
  • Loading branch information
kidjp85 committed Mar 13, 2019
1 parent 1ff2bd1 commit 049d6a0
Show file tree
Hide file tree
Showing 33 changed files with 1,913 additions and 21,350 deletions.
24 changes: 11 additions & 13 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
"@babel/plugin-proposal-class-properties"
],
"env": {
"test": {
"plugins": ["@babel/plugin-transform-modules-commonjs"]
},
"production": {
"plugins": ["transform-react-remove-prop-types"]
}
}
}
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"forceAllTransforms": true,
"useBuiltIns": "entry"
}
]
]
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
coverage
*.log
/lib
/coverage
.vscode
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js

node_js:
- 10
- 8
- 6

scripts:
- npm install codecov -g
after_success:
- codecov

notifications:
email:
recipients:
- phucnguyenhoang1985@gmail.com
on_success: change
on_failure: always
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log for React-id-swiper

## [*v2.0.0-beta*](https://github.com/kidjp85/react-id-swiper/compare/2.0.0-beta...1.6.9) - Released on Mar 13th, 2019
* Rewrite completely new package with Typescript + React Hooks Apis
* Use `swiper` as peer-dependencies
* Add new prop `getSwiper` function that returns `Swiper` instance.
* Drop custom build for lightweight version
* Drop `swiper` from standalone umd build
* Add swiper@4.5.0 stylesheet files

## [v1.6.9](https://github.com/kidjp85/react-id-swiper/compare/1.6.9...1.6.8) - Released on Feb 24th, 2019
* Upgrade swiper@4.4.6
* Update babel 7
Expand Down Expand Up @@ -67,7 +75,7 @@
## [v1.6.1](https://github.com/kidjp85/react-id-swiper/compare/1.6.1...1.5.8) - Released on February 17th, 2018
* Upgrade swiper@4.1.6
* Add unit test

## [v1.5.8](https://github.com/kidjp85/react-id-swiper/compare/1.5.8...1.5.7) - Released on January 24th, 2018
* Upgrade swiper@4.1.0
* Fix bug for UMD build
Expand Down
Loading

0 comments on commit 049d6a0

Please sign in to comment.