Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

refactor: apply webpack-defaults #55

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

joshwiens
Copy link
Member

@joshwiens joshwiens commented Apr 8, 2017

Intended to be merged as a part of 1.0.0 on a beta dist-tag once this has been finished and properly tested.

Further refactoring and test fixes are required to align with the defaults.

BREAKING CHANGE:

Enforces NodeJS > 4.3 via engines

Closes #56

@joshwiens joshwiens self-assigned this Apr 8, 2017
@codecov
Copy link

codecov bot commented Apr 8, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #55   +/-   ##
=========================================
  Coverage          ?   45.13%           
=========================================
  Files             ?        4           
  Lines             ?      144           
  Branches          ?       44           
=========================================
  Hits              ?       65           
  Misses            ?       66           
  Partials          ?       13
Impacted Files Coverage Δ
src/cjs.js 0% <0%> (ø)
src/lib/transformer.js 36.36% <36.36%> (ø)
src/lib/conditions.js 55.55% <55.55%> (ø)
src/index.js 73.07% <73.07%> (ø)

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 d2c7218...92b0dc7. Read the comment docs.

package.json Outdated
},
"repository": {
"type": "git",
"url": "git@github.com:sairion/svg-inline-loader.git"
Copy link
Member

Choose a reason for hiding this comment

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

sairion => webpack-contrib

package.json Outdated
"url": "git@github.com:sairion/svg-inline-loader.git"
},
"bugs": {
"url": "https://github.com/sairion/svg-inline-loader/issues"
Copy link
Member

Choose a reason for hiding this comment

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

sairion => webpack-contrib

package.json Outdated
"bugs": {
"url": "https://github.com/sairion/svg-inline-loader/issues"
},
"homepage": "https://github.com/sairion/svg-inline-loader",
Copy link
Member

Choose a reason for hiding this comment

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

sairion => webpack-contrib

"node-libs-browser": "^1.0.0",
"nodemon": "^1.11.0",
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

"babel-preset-env": "^1.6.0",
"cross-env": "^5.0.1",
"del-cli": "^1.1.0",
"eslint": "^3.18.0",
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 bumped to >= v4.x

"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

@@ -0,0 +1,18 @@
{
"extends": "webpack",
"rules": {
Copy link
Member

Choose a reason for hiding this comment

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

Intentional or left over ?

}

function SVGInlineLoader(content) {
this.cacheable && this.cacheable(); // eslint-disable-line no-unused-expressions
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


function SVGInlineLoader(content) {
this.cacheable && this.cacheable(); // eslint-disable-line no-unused-expressions
this.value = content;
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

@joshwiens
Copy link
Member Author

This shouldn't have had the review label on it yet, sorry

@codecov
Copy link

codecov bot commented Sep 18, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@d2c7218). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #55   +/-   ##
=========================================
  Coverage          ?   45.13%           
=========================================
  Files             ?        4           
  Lines             ?      144           
  Branches          ?       44           
=========================================
  Hits              ?       65           
  Misses            ?       66           
  Partials          ?       13           

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 d2c7218...92b0dc7. Read the comment docs.

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

Successfully merging this pull request may close these issues.

webpack-defaults upgrade
2 participants