Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Es6 #184

Merged
merged 4 commits into from
Apr 18, 2017
Merged

Es6 #184

merged 4 commits into from
Apr 18, 2017

Conversation

dennybiasiolli
Copy link
Collaborator

Moving whole package to es6.
Ref. #163

node <= 0.xx doesn't support es6 syntax

ref: http://node.green/
@codecov-io
Copy link

codecov-io commented Apr 18, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@68066e8). Click here to learn what that means.
The diff coverage is 69.46%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #184   +/-   ##
=========================================
  Coverage          ?   69.46%           
=========================================
  Files             ?        2           
  Lines             ?      131           
  Branches          ?       29           
=========================================
  Hits              ?       91           
  Misses            ?       40           
  Partials          ?        0
Impacted Files Coverage Δ
src/angular-pdf.module.js 100% <100%> (ø)
src/angular-pdf.directive.js 69.23% <69.23%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68066e8...fc1d3da. Read the comment docs.

In order to use es6 in the package we need a module bundler (webpack2)
that transpile our code using babel.
To do that we did:
- added bumped to manage releases
- updated travis test
- updated package.json and bower.json in order to work with webpack2
- added a CHANGELOG page
- updated index.html
- added many fix on module
- added eslint and remove jsonhint
- removed bower dependency
- updated documentation
- added automatic gh-pages deploy
- added angularjs and pdfjs as peerDependencies

aside note of duplicated dependencies in package.json:
angularjs and pdfjs are in both list because we need to alert user
if they lack AND for developing/testig purposes

ref: #90
Generate code coverage using Istanbul
@simobasso simobasso merged commit 6e80c08 into master Apr 18, 2017
@simobasso simobasso deleted the es6 branch April 18, 2017 12:09
This was referenced Apr 18, 2017
Closed
@simobasso
Copy link
Collaborator

FYI @boyanin @rhyskoedijk

@simobasso
Copy link
Collaborator

release in a couple of minutes

@boyanio
Copy link

boyanio commented Apr 18, 2017

@simobasso awesome! Thanks a lot! I have totally forgotten this. So many things on my shoulders right now, but will play with it as soon as possible :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants