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

refactor: apply webpack-defaults#55

Open
joshwiens wants to merge 7 commits into
masterfrom
d3viant0ne-WebpackDefaults
Open

refactor: apply webpack-defaults#55
joshwiens wants to merge 7 commits into
masterfrom
d3viant0ne-WebpackDefaults

Conversation

@joshwiens

@joshwiens joshwiens commented Apr 8, 2017

Copy link
Copy Markdown
Member

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

codecov Bot commented Apr 8, 2017

Copy link
Copy Markdown

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.

Comment thread package.json
},
"repository": {
"type": "git",
"url": "git@github.com:sairion/svg-inline-loader.git"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sairion => webpack-contrib

Comment thread package.json
"url": "git@github.com:sairion/svg-inline-loader.git"
},
"bugs": {
"url": "https://github.com/sairion/svg-inline-loader/issues"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sairion => webpack-contrib

Comment thread package.json
"bugs": {
"url": "https://github.com/sairion/svg-inline-loader/issues"
},
"homepage": "https://github.com/sairion/svg-inline-loader",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sairion => webpack-contrib

Comment thread package.json
"lodash": "^4.6.1",
"mocha": "^2.5.3",
"node-libs-browser": "^1.0.0",
"nodemon": "^1.11.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can be removed

Comment thread package.json
"babel-preset-env": "^1.6.0",
"cross-env": "^5.0.1",
"del-cli": "^1.1.0",
"eslint": "^3.18.0",

Copy link
Copy Markdown
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

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can be removed

Comment thread .eslintrc
@@ -0,0 +1,18 @@
{
"extends": "webpack",
"rules": {

Copy link
Copy Markdown
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 ?

Comment thread src/index.js
}

function SVGInlineLoader(content) {
this.cacheable && this.cacheable(); // eslint-disable-line no-unused-expressions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can be removed

Comment thread src/index.js

function SVGInlineLoader(content) {
this.cacheable && this.cacheable(); // eslint-disable-line no-unused-expressions
this.value = content;

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@codecov

codecov Bot commented Sep 18, 2018

Copy link
Copy Markdown

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