-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
chore(package): update defaults 1.4.0
support Webpack@3
#208
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
devDependencies
&& peerDependencies
(webpack v2.3.2...3.0.0
)
@@ -7,8 +7,8 @@ matrix: | |||
fast_finish: true |
There was a problem hiding this comment.
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 :)
There was a problem hiding this 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.
@bebraw done (on a side note |
devDependencies
&& peerDependencies
(webpack v2.3.2...3.0.0
)webpack-defaults v1.0.1...1.4.0
&& peerDependencies
(webpack v3.0.0
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattlewis92 Thx
webpack-defaults v1.0.1...1.4.0
&& peerDependencies
(webpack v3.0.0
)webpack-defaults v1.0.1...1.4.0
&& peerDependencies
(webpack v3.0.0
)
@@ -3,29 +3,29 @@ | |||
"version": "4.0.4", | |||
"author": "Johannes Ewald @jhnns", | |||
"description": "Less loader for webpack. Compiles Less to CSS.", | |||
"main": "dist/index.js", | |||
"main": "dist/cjs.js", | |||
"scripts": { | |||
"create-spec": "babel-node test/helpers/createSpec.js", | |||
"pretest": "npm run create-spec", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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! 😄
de843fe
to
544f96f
Compare
Got the appveyor tests passing (had to remove the quote marks added to commands + use npm 5). I also removed the |
For reference, if it touches source code in any way ( to include |
@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 😄 |
👍 waiting for merge :) ⏳ |
package.json
Outdated
"release": "yarn run standard-version", | ||
"prebuild": "npm run clean", | ||
"prepublish": "npm run build", | ||
"release": "standard-version", | ||
"security": "nsp check", | ||
"serve:dev": "nodemon $2 --exec babel-node", |
There was a problem hiding this comment.
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
"lint": "eslint --cache src test", | ||
"webpack-defaults": "webpack-defaults", | ||
"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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1ddf26e
to
56288ae
Compare
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 |
@mattlewis92 - I'll fix the npm version issue upstream. |
webpack-defaults v1.0.1...1.4.0
&& peerDependencies
(webpack v3.0.0
)defaults 1.4.0
support Webpack@3
No description provided.