Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack-contrib/webpack-defaults
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.1
Choose a base ref
...
head repository: webpack-contrib/webpack-defaults
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.2
Choose a head ref
  • 4 commits
  • 9 files changed
  • 3 contributors

Commits on Apr 8, 2019

  1. Copy the full SHA
    2d17995 View commit details

Commits on Apr 19, 2019

  1. Copy the full SHA
    cc1525e View commit details
  2. Copy the full SHA
    78f3ad7 View commit details

Commits on Apr 23, 2019

  1. chore(release): 3.1.2

    alexander-akait committed Apr 23, 2019
    Copy the full SHA
    3fe0d9a View commit details
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="3.1.2"></a>
## [3.1.2](https://github.com/webpack-contrib/webpack-defaults/compare/v3.1.1...v3.1.2) (2019-04-23)


### Bug Fixes

* replace prepublish npm script with prepare



<a name="3.1.1"></a>
## [3.1.1](https://github.com/webpack-contrib/webpack-defaults/compare/v3.1.0...v3.1.1) (2019-03-28)

194 changes: 155 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webpack-contrib/defaults",
"version": "3.1.1",
"version": "3.1.2",
"description": "Project configuration and boilerplate defaults for webpack projects",
"license": "MIT",
"repository": "webpack-contrib/webpack-defaults",
2 changes: 1 addition & 1 deletion src/tasks/package.js
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ module.exports = (config) => {
clean: 'del-cli dist',
commitlint: 'commitlint --from=master',
lint: 'eslint --cache src test',
prepublish: 'npm run build',
prepare: 'npm run build',
release: 'standard-version',
security: 'npm audit',
'test:only': 'jest',
2 changes: 1 addition & 1 deletion templates/.github/ISSUE_TEMPLATE/BUG.md
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ about: Something went awry and you'd like to tell us about it.

```js
// webpack.config.js
// If your bitchin' code blocks are over 20 lines, please paste a link to a gist
// If your code blocks are over 20 lines, please paste a link to a gist
// (https://gist.github.com).
```

14 changes: 14 additions & 0 deletions templates/test/__snapshots__/loader.test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`loader should works 1`] = `
"
/**
* Loader API Version: 2
* Is this in \\"webpack mode\\": true
*/
/**
* Original Source From Loader
*/
console.log('foo');
"
`;
14 changes: 14 additions & 0 deletions templates/test/__snapshots__/options.test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`options name true 1`] = `
"
/**
* Loader API Version: 2
* Is this in \\"webpack mode\\": true
*/
/**
* Original Source From Loader
*/
console.log('foo');
"
`;
3 changes: 3 additions & 0 deletions templates/test/__snapshots__/validation.test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`validation 1`] = `Array []`;
2 changes: 1 addition & 1 deletion templates/test/validation.test.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ it('validation', async () => {
const config = {
loader: {
test: /\.js$/,
options: { name: 'fail' },
options: { name: false },
},
};