Skip to content

Conversation

@mattlewis92
Copy link
Member

No description provided.

@jsf-clabot
Copy link

jsf-clabot commented Jun 20, 2017

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jun 20, 2017

Codecov Report

Merging #208 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
- Coverage   97.93%   97.84%   -0.09%     
==========================================
  Files           7        8       +1     
  Lines          97       93       -4     
  Branches        9        9              
==========================================
- Hits           95       91       -4     
  Misses          2        2
Impacted Files Coverage Δ
src/index.js 88.88% <ø> (-3.97%) ⬇️
src/cjs.js 100% <100%> (ø)

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 83837f7...908b8b0. Read the comment docs.

@michael-ciniawsky michael-ciniawsky changed the title feat: allow webpack3 peer dependency chore(package): update devDependencies && peerDependencies (webpack v2.3.2...3.0.0) Jun 20, 2017
only:
- master
matrix:
fast_finish: true
Copy link
Member

Choose a reason for hiding this comment

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

Could you revert the travis.yml changes please, we have a organsation wide upgrade solution for this in place :)

Copy link

@bebraw bebraw left a comment

Choose a reason for hiding this comment

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

It would be better to update webpack-defaults and then npm run webpack-defaults to pull the changes.

@mattlewis92
Copy link
Member Author

@bebraw done (on a side note webpack-defaults is an awesome idea for keeping multiple repos up to date with the same scaffolding! 👍 )

@michael-ciniawsky michael-ciniawsky changed the title chore(package): update devDependencies && peerDependencies (webpack v2.3.2...3.0.0) chore(package): update webpack-defaults v1.0.1...1.4.0&& peerDependencies (webpack v3.0.0) Jun 20, 2017
Copy link
Member

@michael-ciniawsky michael-ciniawsky left a comment

Choose a reason for hiding this comment

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

@michael-ciniawsky michael-ciniawsky changed the title chore(package): update webpack-defaults v1.0.1...1.4.0&& peerDependencies (webpack v3.0.0) chore(package): update webpack-defaults v1.0.1...1.4.0 && peerDependencies (webpack v3.0.0) Jun 20, 2017
"main": "dist/cjs.js",
"scripts": {
"create-spec": "babel-node test/helpers/createSpec.js",
"pretest": "npm run create-spec",
Copy link
Member

Choose a reason for hiding this comment

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

The create-spec (pretest) script doesn't seem to run on the PART=coverage build https://travis-ci.org/webpack-contrib/less-loader/jobs/244975479

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I was wondering why that was failing, should be fixed now! 😄

@mattlewis92 mattlewis92 force-pushed the webpack3 branch 5 times, most recently from de843fe to 544f96f Compare June 20, 2017 20:50
@mattlewis92
Copy link
Member Author

Got the appveyor tests passing (had to remove the quote marks added to commands + use npm 5). I also removed the cjs.js file as this lib doesn't actually use import + export syntax so it would have failed when published as no module.exports.default would have been created. I think this should be good to go now.

@joshwiens
Copy link
Member

For reference, if it touches source code in any way ( to include import ) it is not a chore.

@mattlewis92
Copy link
Member Author

@d3viant0ne I've made the requested changes in appveyor.yml but left off removing the webpack dev dependency for now. I saw the discussion about the module exports babel plugin in webpack-contrib/webpack-defaults#23 so I won't bother making an issue there as I can see it's already been discussed 😄

@halfred888
Copy link

👍 waiting for merge :) ⏳

package.json Outdated
"prepublish": "npm run build",
"release": "standard-version",
"security": "nsp check",
"serve:dev": "nodemon $2 --exec babel-node",
Copy link
Member

Choose a reason for hiding this comment

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

Can be removed :)

package.json Outdated
"start": "yarn run build -- -w",
"start": "npm run build -- -w",
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'",
"clean:dist": "del-cli dist",
Copy link
Member

Choose a reason for hiding this comment

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

@michael-ciniawsky michael-ciniawsky requested a review from jhnns July 1, 2017 00:22
@mattlewis92
Copy link
Member Author

I've updated webpack-defaults to pull in the latest changes from there. There is a bug with npm 5.0.x though that was making the CI fail so I had to force appveyor and travis to use npm 5.1.0, once the next node 8.x is released with npm 5.1.0 included these 2 hacks can be removed (by running npm run webpack-defaults)

@joshwiens
Copy link
Member

@mattlewis92 - I'll fix the npm version issue upstream.

@joshwiens joshwiens changed the title chore(package): update webpack-defaults v1.0.1...1.4.0 && peerDependencies (webpack v3.0.0) chore(package): update defaults 1.4.0 support Webpack@3 Jul 10, 2017
@joshwiens joshwiens merged commit 643c00b into webpack:master Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants