Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit d11ff27

Browse files
authoredJun 5, 2019
chore(deps): update (#81)
BREAKING CHANGE: minimum required nodejs version is `8.9.0`
1 parent 35762bd commit d11ff27

20 files changed

+1962
-1995
lines changed
 

‎.circleci/config.yml

-145
This file was deleted.

‎.eslintignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
/node_modules
1+
/coverage
22
/dist
3+
/node_modules
4+
/test/fixtures

‎.eslintrc.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
module.exports = {
22
root: true,
3-
plugins: ['prettier'],
4-
extends: ['@webpack-contrib/eslint-config-webpack'],
5-
rules: {
6-
'prettier/prettier': ['error'],
7-
},
8-
};
3+
extends: ['@webpack-contrib/eslint-config-webpack', 'prettier'],
4+
};

‎.github/CONTRIBUTING.md

+70-42
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
## Contributing in @webpack-contrib
1+
# Contributing in @webpack-contrib
22

3-
We'd always love contributions to further improve the webpack / webpack-contrib ecosystem!
3+
We'd always love contributions to further improve the webpack / webpack-contrib ecosystem!
44
Here are the guidelines we'd like you to follow:
55

6-
* [Questions and Problems](#question)
7-
* [Issues and Bugs](#issue)
8-
* [Feature Requests](#feature)
9-
* [Pull Request Submission Guidelines](#submit-pr)
10-
* [Commit Message Conventions](#commit)
6+
- [Questions and Problems](#question)
7+
- [Issues and Bugs](#issue)
8+
- [Feature Requests](#feature)
9+
- [Pull Request Submission Guidelines](#submit-pr)
10+
- [Commit Message Conventions](#commit)
1111

12-
### <a name="question"></a> Got a Question or Problem?
12+
## <a name="question"></a> Got a Question or Problem?
1313

14-
Please submit support requests and questions to StackOverflow using the tag [[webpack]](http://stackoverflow.com/tags/webpack).
15-
StackOverflow is better suited for this kind of support though you may also inquire in [Webpack Gitter](https://gitter.im/webpack/webpack).
14+
Please submit support requests and questions to StackOverflow using the tag [[webpack]](http://stackoverflow.com/tags/webpack).
15+
StackOverflow is better suited for this kind of support though you may also inquire in [Webpack Gitter](https://gitter.im/webpack/webpack).
1616
The issue tracker is for bug reports and feature discussions.
1717

18-
### <a name="issue"></a> Found an Issue or Bug?
18+
## <a name="issue"></a> Found an Issue or Bug?
1919

2020
Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available.
2121

@@ -31,13 +31,13 @@ We will be insisting on a minimal reproduce scenario in order to save maintainer
3131

3232
Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.
3333

34-
### <a name="feature"></a> Feature Requests?
34+
## <a name="feature"></a> Feature Requests?
3535

36-
You can *request* a new feature by creating an issue on Github.
36+
You can _request_ a new feature by creating an issue on Github.
3737

38-
If you would like to *implement* a new feature, please submit an issue with a proposal for your work `first`, to be sure that particular makes sense for the project.
38+
If you would like to _implement_ a new feature, please submit an issue with a proposal for your work `first`, to be sure that particular makes sense for the project.
3939

40-
### <a name="submit-pr"></a> Pull Request Submission Guidelines
40+
## <a name="submit-pr"></a> Pull Request Submission Guidelines
4141

4242
Before you submit your Pull Request (PR) consider the following guidelines:
4343

@@ -46,9 +46,9 @@ Before you submit your Pull Request (PR) consider the following guidelines:
4646
- Fill out our `Pull Request Template`. Your pull request will not be considered if it is ignored.
4747
- Please sign the `Contributor License Agreement (CLA)` when a pull request is opened. We cannot accept your pull request without this. Make sure you sign with the primary email address associated with your local / github account.
4848

49-
### <a name="commit"></a> Webpack Contrib Commit Conventions
49+
## <a name="commit"></a> Webpack Contrib Commit Conventions
5050

51-
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
51+
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
5252
format that includes a **type**, a **scope** and a **subject**:
5353

5454
```
@@ -66,48 +66,56 @@ to read on GitHub as well as in various git tools.
6666

6767
The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.
6868

69-
Examples:
69+
Examples:
70+
7071
```
7172
docs(readme): update install instructions
7273
```
74+
7375
```
7476
fix: refer to the `entrypoint` instead of the first `module`
7577
```
7678

77-
#### Revert
78-
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
79+
### Revert
80+
81+
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit.
7982
In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
8083

81-
#### Type
84+
### Type
85+
8286
Must be one of the following:
8387

84-
* **build**: Changes that affect the build system or external dependencies (example scopes: babel, npm)
85-
* **chore**: Changes that fall outside of build / docs that do not effect source code (example scopes: package, defaults)
86-
* **ci**: Changes to our CI configuration files and scripts (example scopes: circleci, travis)
87-
* **docs**: Documentation only changes (example scopes: readme, changelog)
88-
* **feat**: A new feature
89-
* **fix**: A bug fix
90-
* **perf**: A code change that improves performance
91-
* **refactor**: A code change that neither fixes a bug nor adds a feature
92-
* **revert**: Used when reverting a committed change
93-
* **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons)
94-
* **test**: Addition of or updates to Jest tests
95-
96-
#### Scope
88+
- **build**: Changes that affect the build system or external dependencies (example scopes: babel, npm)
89+
- **chore**: Changes that fall outside of build / docs that do not effect source code (example scopes: package, defaults)
90+
- **ci**: Changes to our CI configuration files and scripts (example scopes: circleci, travis)
91+
- **docs**: Documentation only changes (example scopes: readme, changelog)
92+
- **feat**: A new feature
93+
- **fix**: A bug fix
94+
- **perf**: A code change that improves performance
95+
- **refactor**: A code change that neither fixes a bug nor adds a feature
96+
- **revert**: Used when reverting a committed change
97+
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons)
98+
- **test**: Addition of or updates to Jest tests
99+
100+
### Scope
101+
97102
The scope is subjective & depends on the `type` see above. A good example would be a change to a particular class / module.
98103

99-
#### Subject
104+
### Subject
105+
100106
The subject contains a succinct description of the change:
101107

102-
* use the imperative, present tense: "change" not "changed" nor "changes"
103-
* don't capitalize the first letter
104-
* no dot (.) at the end
108+
- use the imperative, present tense: "change" not "changed" nor "changes"
109+
- don't capitalize the first letter
110+
- no dot (.) at the end
111+
112+
### Body
105113

106-
#### Body
107114
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
108115
The body should include the motivation for the change and contrast this with previous behavior.
109116

110-
#### Footer
117+
### Footer
118+
111119
The footer should contain any information about **Breaking Changes** and is also the place to
112120
reference GitHub issues that this commit **Closes**.
113121

@@ -116,9 +124,29 @@ reference GitHub issues that this commit **Closes**.
116124
Example
117125

118126
```
119-
BREAKING CHANGE: Updates to `Chunk.mapModules`.
127+
BREAKING CHANGE: Updates to `Chunk.mapModules`.
120128
121129
This release is not backwards compatible with `Webpack 2.x` due to breaking changes in webpack/webpack#4764
122130
Migration: see webpack/webpack#5225
123131
124-
```
132+
```
133+
134+
## Testing Your Pull Request
135+
136+
You may have the need to test your changes in a real-world project or dependent
137+
module. Thankfully, Github provides a means to do this. Add a dependency to the
138+
`package.json` for such a project as follows:
139+
140+
```json
141+
{
142+
"devDependencies": {
143+
"raw-loader": "webpack-contrib/raw-loader#{id}/head"
144+
}
145+
}
146+
```
147+
148+
Where `{id}` is the # ID of your Pull Request.
149+
150+
## Thanks
151+
152+
For your interest, time, understanding, and for following this simple guide.

‎.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
open_collective: webpack

‎.github/ISSUE_TEMPLATE/BUG.md

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: 🐛 Bug Report
33
about: Something went awry and you'd like to tell us about it.
4-
54
---
65

76
<!--
@@ -15,11 +14,11 @@ about: Something went awry and you'd like to tell us about it.
1514
Head to StackOverflow or https://gitter.im/webpack/webpack.
1615
-->
1716

18-
* Operating System:
19-
* Node Version:
20-
* NPM Version:
21-
* webpack Version:
22-
* raw-loader Version:
17+
- Operating System:
18+
- Node Version:
19+
- NPM Version:
20+
- webpack Version:
21+
- raw-loader Version:
2322

2423
### Expected Behavior
2524

@@ -32,13 +31,13 @@ about: Something went awry and you'd like to tell us about it.
3231
### Code
3332

3433
```js
35-
// webpack.config.js
36-
// If your bitchin' code blocks are over 20 lines, please paste a link to a gist
37-
// (https://gist.github.com).
34+
// webpack.config.js
35+
// If your code blocks are over 20 lines, please paste a link to a gist
36+
// (https://gist.github.com).
3837
```
3938

4039
```js
41-
// additional code, HEY YO remove this block if you don't need it
40+
// additional code, HEY YO remove this block if you don't need it
4241
```
4342

4443
### How Do We Reproduce?
@@ -48,4 +47,4 @@ about: Something went awry and you'd like to tell us about it.
4847
4948
If your webpack config is over 50 lines long, please provide a URL to a repo
5049
for your beefy 🍖 app that we can use to reproduce.
51-
-->
50+
-->

‎.github/ISSUE_TEMPLATE/DOCS.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: 📚 Documentation
33
about: Are the docs lacking or missing something? Do they need some new 🔥 hotness? Tell us here.
4-
54
---
65

76
<!--
@@ -26,5 +25,4 @@ Documentation Is:
2625

2726
### Please Explain in Detail...
2827

29-
30-
### Your Proposal for Changes
28+
### Your Proposal for Changes

‎.github/ISSUE_TEMPLATE/FEATURE.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: ✨ Feature Request
33
about: Suggest an idea for this project
4-
54
---
65

76
<!--
@@ -15,14 +14,12 @@ about: Suggest an idea for this project
1514
Head to StackOverflow or https://gitter.im/webpack/webpack.
1615
-->
1716

18-
* Operating System:
19-
* Node Version:
20-
* NPM Version:
21-
* webpack Version:
22-
* raw-loader Version:
17+
- Operating System:
18+
- Node Version:
19+
- NPM Version:
20+
- webpack Version:
21+
- raw-loader Version:
2322

2423
### Feature Proposal
2524

26-
27-
28-
### Feature Use Case
25+
### Feature Use Case
+6-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: 🔧 Modification Request
33
about: Would you like something work differently? Have an alternative approach? This is the template for you.
4-
54
---
65

76
<!--
@@ -15,19 +14,14 @@ about: Would you like something work differently? Have an alternative approach?
1514
Head to StackOverflow or https://gitter.im/webpack/webpack.
1615
-->
1716

18-
* Operating System:
19-
* Node Version:
20-
* NPM Version:
21-
* webpack Version:
22-
* raw-loader Version:
23-
17+
- Operating System:
18+
- Node Version:
19+
- NPM Version:
20+
- webpack Version:
21+
- raw-loader Version:
2422

2523
### Expected Behavior / Situation
2624

27-
28-
2925
### Actual Behavior / Situation
3026

31-
32-
33-
### Modification Proposal
27+
### Modification Proposal

‎.github/ISSUE_TEMPLATE/SUPPORT.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
name: 🆘 Support, Help, and Advice
33
about: 👉🏽 Need support, help, or advice? Don't open an issue! Head to StackOverflow or https://gitter.im/webpack/webpack.
4-
54
---
65

76
Hey there! If you need support, help, or advice then this is not the place to ask.
87
Please visit [StackOverflow](https://stackoverflow.com/questions/tagged/webpack)
9-
or [the Webpack Gitter](https://gitter.im/webpack/webpack) instead.
8+
or [the Webpack Gitter](https://gitter.im/webpack/webpack) instead.

‎.prettierignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/coverage
2+
/dist
3+
/node_modules
4+
/test/fixtures
5+
CHANGELOG.md

‎.prettierrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
singleQuote: true,
3+
trailingComma: 'es5',
4+
arrowParens: 'always',
5+
};

‎appveyor.yml

-45
This file was deleted.

‎azure-pipelines.yml

+192
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
trigger:
2+
- master
3+
- next
4+
5+
jobs:
6+
- job: Lint
7+
pool:
8+
vmImage: ubuntu-16.04
9+
steps:
10+
- task: NodeTool@0
11+
inputs:
12+
versionSpec: ^10.13.0
13+
displayName: 'Install Node.js'
14+
- task: Npm@1
15+
inputs:
16+
command: custom
17+
customCommand: i -g npm@latest
18+
displayName: 'Install latest NPM'
19+
- script: |
20+
node -v
21+
npm -v
22+
displayName: 'Print versions'
23+
- task: Npm@1
24+
inputs:
25+
command: custom
26+
customCommand: ci
27+
displayName: 'Install dependencies'
28+
- script: npm run lint
29+
displayName: 'Run lint'
30+
- script: npm run security
31+
displayName: 'Run NPM audit'
32+
- script: ./node_modules/.bin/commitlint-azure-pipelines
33+
displayName: 'Run lint commit message'
34+
35+
- job: Linux
36+
pool:
37+
vmImage: ubuntu-16.04
38+
strategy:
39+
maxParallel: 4
40+
matrix:
41+
node-12:
42+
node_version: ^12.0.0
43+
webpack_version: latest
44+
node-10:
45+
node_version: ^10.13.0
46+
webpack_version: latest
47+
node-8:
48+
node_version: ^8.9.0
49+
webpack_version: latest
50+
node-8-canary:
51+
node_version: ^8.9.0
52+
webpack_version: next
53+
continue_on_error: true
54+
steps:
55+
- task: NodeTool@0
56+
inputs:
57+
versionSpec: $(node_version)
58+
displayName: 'Install Node.js $(node_version)'
59+
- task: Npm@1
60+
inputs:
61+
command: custom
62+
customCommand: i -g npm@latest
63+
displayName: 'Install latest NPM'
64+
- script: |
65+
node -v
66+
npm -v
67+
displayName: 'Print versions'
68+
- task: Npm@1
69+
inputs:
70+
command: custom
71+
customCommand: ci
72+
displayName: 'Install dependencies'
73+
- script: npm i webpack@$(webpack_version)
74+
displayName: 'Install "webpack@$(webpack_version)"'
75+
- script: npm run test:coverage -- --ci --reporters="default" --reporters="jest-junit" || $(continue_on_error)
76+
displayName: 'Run tests with coverage'
77+
- task: PublishTestResults@2
78+
inputs:
79+
testRunTitle: 'Linux with Node.js $(node_version)'
80+
testResultsFiles: '**/junit.xml'
81+
condition: succeededOrFailed()
82+
displayName: 'Publish test results'
83+
- script: curl -s https://codecov.io/bash | bash -s -- -t $(CODECOV_TOKEN)
84+
condition: succeededOrFailed()
85+
displayName: 'Submit coverage data to codecov'
86+
87+
- job: macOS
88+
pool:
89+
vmImage: macOS-10.14
90+
strategy:
91+
maxParallel: 4
92+
matrix:
93+
node-12:
94+
node_version: ^12.0.0
95+
webpack_version: latest
96+
node-10:
97+
node_version: ^10.13.0
98+
webpack_version: latest
99+
node-8:
100+
node_version: ^8.9.0
101+
webpack_version: latest
102+
node-8-canary:
103+
node_version: ^8.9.0
104+
webpack_version: next
105+
continue_on_error: true
106+
steps:
107+
- task: NodeTool@0
108+
inputs:
109+
versionSpec: $(node_version)
110+
displayName: 'Install Node.js $(node_version)'
111+
- task: Npm@1
112+
inputs:
113+
command: custom
114+
customCommand: i -g npm@latest
115+
displayName: 'Install latest NPM'
116+
- script: |
117+
node -v
118+
npm -v
119+
displayName: 'Print versions'
120+
- task: Npm@1
121+
inputs:
122+
command: custom
123+
customCommand: ci
124+
displayName: 'Install dependencies'
125+
- script: npm i webpack@$(webpack_version)
126+
displayName: 'Install "webpack@$(webpack_version)"'
127+
- script: npm run test:coverage -- --ci --reporters="default" --reporters="jest-junit" || $(continue_on_error)
128+
displayName: 'Run tests with coverage'
129+
- task: PublishTestResults@2
130+
inputs:
131+
testRunTitle: 'Linux with Node.js $(node_version)'
132+
testResultsFiles: '**/junit.xml'
133+
condition: succeededOrFailed()
134+
displayName: 'Publish test results'
135+
- script: curl -s https://codecov.io/bash | bash -s -- -t $(CODECOV_TOKEN)
136+
condition: succeededOrFailed()
137+
displayName: 'Submit coverage data to codecov'
138+
139+
- job: Windows
140+
pool:
141+
vmImage: windows-2019
142+
strategy:
143+
maxParallel: 4
144+
matrix:
145+
node-12:
146+
node_version: ^12.0.0
147+
webpack_version: latest
148+
node-10:
149+
node_version: ^10.13.0
150+
webpack_version: latest
151+
node-8:
152+
node_version: ^8.9.0
153+
webpack_version: latest
154+
node-8-canary:
155+
node_version: ^8.9.0
156+
webpack_version: next
157+
continue_on_error: true
158+
steps:
159+
- script: 'git config --global core.autocrlf input'
160+
displayName: 'Config git core.autocrlf'
161+
- checkout: self
162+
- task: NodeTool@0
163+
inputs:
164+
versionSpec: $(node_version)
165+
displayName: 'Install Node.js $(node_version)'
166+
- task: Npm@1
167+
inputs:
168+
command: custom
169+
customCommand: i -g npm@latest
170+
displayName: 'Install latest NPM'
171+
- script: |
172+
node -v
173+
npm -v
174+
displayName: 'Print versions'
175+
- task: Npm@1
176+
inputs:
177+
command: custom
178+
customCommand: ci
179+
displayName: 'Install dependencies'
180+
- script: npm i webpack@$(webpack_version)
181+
displayName: 'Install "webpack@$(webpack_version)"'
182+
- script: npm run test:coverage -- --ci --reporters="default" --reporters="jest-junit" || $(continue_on_error)
183+
displayName: 'Run tests with coverage'
184+
- task: PublishTestResults@2
185+
inputs:
186+
testRunTitle: 'Linux with Node.js $(node_version)'
187+
testResultsFiles: '**/junit.xml'
188+
condition: succeededOrFailed()
189+
displayName: 'Publish test results'
190+
- script: curl -s https://codecov.io/bash | bash -s -- -t $(CODECOV_TOKEN)
191+
condition: succeededOrFailed()
192+
displayName: 'Submit coverage data to codecov'

‎babel.config.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const MIN_BABEL_VERSION = 7;
2+
3+
module.exports = (api) => {
4+
api.assertVersion(MIN_BABEL_VERSION);
5+
api.cache(true);
6+
7+
return {
8+
presets: [
9+
[
10+
'@babel/preset-env',
11+
{
12+
targets: {
13+
node: '8.9.0',
14+
},
15+
},
16+
],
17+
],
18+
};
19+
};

‎commitlint.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

‎husky.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
hooks: {
3+
'pre-commit': 'lint-staged',
4+
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
5+
},
6+
};

‎lint-staged.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
ignore: ['package-lock.json', 'CHANGELOG.md'],
3+
linters: {
4+
'*.js': ['prettier --write', 'eslint --fix', 'git add'],
5+
'*.{json,md,yml,css}': ['prettier --write', 'git add'],
6+
},
7+
};

‎package-lock.json

+1,604-1,664
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+21-55
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,25 @@
99
"bugs": "https://github.com/webpack-contrib/raw-loader/issues",
1010
"main": "dist/cjs.js",
1111
"engines": {
12-
"node": ">= 6.9.0"
12+
"node": ">= 8.9.0"
1313
},
1414
"scripts": {
1515
"start": "npm run build -- -w",
1616
"prebuild": "npm run clean",
17-
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
17+
"build": "cross-env NODE_ENV=production babel src -d dist --ignore \"src/**/*.test.js\" --copy-files",
1818
"clean": "del-cli dist",
1919
"commitlint": "commitlint --from=master",
20-
"lint": "eslint --cache src test",
21-
"prepublish": "npm run build",
20+
"lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
21+
"lint:js": "eslint --cache src test",
22+
"lint": "npm-run-all -l -p \"lint:**\"",
23+
"prepare": "npm run build",
2224
"release": "standard-version",
2325
"security": "npm audit",
24-
"test:only": "jest",
25-
"test:watch": "jest --watch",
26-
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
26+
"test:only": "cross-env NODE_ENV=test jest",
27+
"test:watch": "cross-env NODE_ENV=test jest --watch",
28+
"test:coverage": "cross-env NODE_ENV=test jest --collectCoverageFrom=\"src/**/*.js\" --coverage",
2729
"pretest": "npm run lint",
28-
"test": "npm run test:only",
29-
"ci:lint": "npm run lint && npm run security",
30-
"ci:test": "npm run test:only -- --runInBand",
31-
"ci:coverage": "npm run test:coverage -- --runInBand",
32-
"ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
30+
"test": "cross-env NODE_ENV=test npm run test:coverage",
3331
"defaults": "webpack-defaults"
3432
},
3533
"files": [
@@ -45,63 +43,31 @@
4543
"devDependencies": {
4644
"@babel/cli": "^7.1.5",
4745
"@babel/core": "^7.1.6",
48-
"@babel/polyfill": "^7.0.0",
4946
"@babel/preset-env": "^7.1.6",
50-
"@commitlint/cli": "^7.1.6",
51-
"@commitlint/config-conventional": "^7.1.2",
52-
"@webpack-contrib/defaults": "^3.1.0",
47+
"@commitlint/cli": "^8.0.0",
48+
"@commitlint/config-conventional": "^8.0.0",
49+
"@webpack-contrib/defaults": "^5.0.0",
5350
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
5451
"babel-jest": "^24.5.0",
52+
"commitlint-azure-pipelines-cli": "^1.0.2",
5553
"cross-env": "^5.2.0",
5654
"del": "^4.0.0",
57-
"del-cli": "^1.1.0",
55+
"del-cli": "^2.0.0",
5856
"eslint": "^5.10.0",
57+
"eslint-config-prettier": "^4.3.0",
5958
"eslint-plugin-import": "^2.14.0",
6059
"eslint-plugin-prettier": "^3.0.0",
61-
"husky": "^1.2.0",
60+
"husky": "^2.3.0",
6261
"jest": "^24.5.0",
62+
"jest-junit": "^6.4.0",
6363
"lint-staged": "^8.1.0",
6464
"memory-fs": "^0.4.1",
65+
"npm-run-all": "^4.1.5",
6566
"prettier": "^1.11.1",
66-
"standard-version": "^5.0.2",
67+
"standard-version": "^6.0.1",
6768
"webpack": "^4.3.0"
6869
},
6970
"keywords": [
7071
"webpack"
71-
],
72-
"babel": {
73-
"presets": [
74-
[
75-
"@babel/preset-env",
76-
{
77-
"targets": {
78-
"node": "6.9.0"
79-
},
80-
"useBuiltIns": "usage"
81-
}
82-
]
83-
]
84-
},
85-
"husky": {
86-
"hooks": {
87-
"pre-commit": "lint-staged",
88-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
89-
}
90-
},
91-
"lint-staged": {
92-
"*.js": [
93-
"eslint --fix",
94-
"git add"
95-
]
96-
},
97-
"commitlint": {
98-
"extends": [
99-
"@commitlint/config-conventional"
100-
]
101-
},
102-
"prettier": {
103-
"singleQuote": true,
104-
"trailingComma": "es5",
105-
"arrowParens": "always"
106-
}
72+
]
10773
}

0 commit comments

Comments
 (0)
This repository has been archived.