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

Issues Fixed: #100, #101, #102 #103

Merged
merged 6 commits into from
Jun 6, 2018
Merged

Conversation

giuseppeangri
Copy link
Contributor

@giuseppeangri giuseppeangri commented Jun 5, 2018

Hi,
I fixed the issues: #100, #101, #102.

If you agree, you can merge in master branch.

Thanks,
Greetings

@codecov-io
Copy link

codecov-io commented Jun 5, 2018

Codecov Report

Merging #103 into master will decrease coverage by 0.15%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
- Coverage   15.27%   15.12%   -0.16%     
==========================================
  Files          95       95              
  Lines         733      734       +1     
  Branches       42       43       +1     
==========================================
- Hits          112      111       -1     
- Misses        594      596       +2     
  Partials       27       27
Impacted Files Coverage Δ
src/services/Commits.js 0% <0%> (ø) ⬆️
src/services/Users.js 0% <0%> (ø) ⬆️
src/services/Projects.js 3.03% <0%> (-0.2%) ⬇️
src/infrastructure/RequestHelper.js 60% <100%> (-1.12%) ⬇️

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 e77dbd0...a7339dd. Read the comment docs.

package.json Outdated
@@ -16,7 +16,8 @@
"test:infrastructure": "jest test/tests/infrastructure",
"test:services": "jest test/tests/services",
"test": "jest && codecov",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should prepublish even be kept if prepare is present

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scratch that, based on what i read, prepare will run on npm install and npm publish, but this doesnt make much sense if the build folder already exists in npm no? When a user of the library does npm install it try and build the solution again. Why should that be done?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you are right.
I added the "prepare" stage only to install the library from my repository, and test it in my project.
If you merge in master, we can also remove this stage, because during the publishing on npm, the build stage will be done.

@giuseppeangri
Copy link
Contributor Author

I've done the changes 👍

@jdalrymple
Copy link
Owner

I'll merge today! Just need to fix up the limiting

@jdalrymple jdalrymple merged commit a7339dd into jdalrymple:master Jun 6, 2018
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.

3 participants