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

Commit 8966cd3

Browse files
committed
chore - Integrate webpack-defaults
1 parent 5d8f73e commit 8966cd3

15 files changed

+4812
-204
lines changed

.babelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"presets": [
3+
"webpack",
4+
"jest"
5+
]
6+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[.md]
12+
insert_final_newline = false
13+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/dist

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "webpack",
3+
"globals": {
4+
"expect": true
5+
}
6+
}

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
yarn.lock -diff
2+
* text=auto
3+
bin/* eol=lf

.github/ISSUE_TEMPLATE.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
<!-- Before creating an issue please make sure you are using the latest version of file-loader. -->
1+
1. Check the version of package you are using. If it's not the newest version, update and try again (see changelog while updating!).
2+
2. If the issue is still there, write a minimal project showing the problem and expected output.
3+
3. Link to the project and mention Node version and OS in your report.
24

3-
**Do you want to request a *feature* or report a *bug*?**
4-
<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). Questions will be closed. -->
5-
6-
**What is the current behavior?**
7-
8-
**If the current behavior is a bug, please provide the steps to reproduce.**
9-
<!-- A great way to do this is to provide your configuration via a GitHub gist. -->
10-
11-
**What is the expected behavior?**
12-
13-
**If this is a feature request, what is motivation or use case for changing the behavior?**
14-
15-
**Please mention other relevant information such as your webpack version, Node.js version and Operating System.**
5+
**IMPORTANT! You should use [Stack Overflow](https://stackoverflow.com/) for support related questions.**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->
2-
3-
**What kind of change does this PR introduce?**
4-
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->
5-
6-
**Did you add tests for your changes?**
7-
8-
**If relevant, did you update the README?**
9-
10-
**Summary**
11-
12-
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
13-
<!-- Try to link to an open issue for more information. -->
14-
15-
**Does this PR introduce a breaking change?**
16-
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->
17-
18-
**Other information**
1+
<!--
2+
1. [Read and sign the CLA](https://cla.js.foundation/webpack/webpack.js.org). This needs to be done only once. PRs that haven't signed it won't be accepted.
3+
2. Check out the [development guide](https://webpack.js.org/development/) for the API and development guidelines.
4+
3. Read through the PR diff carefully as sometimes this can reveal issues. The work will be reviewed, but this can save some effort.
5+
-->

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
/node_modules
22
/coverage
3+
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
.eslintcache
9+
/dist
10+
/local
11+
/reports
12+
.DS_Store
13+
Thumbs.db
14+
.idea
15+
.vscode
16+
*.sublime-project
17+
*.sublime-workspace

.travis.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,32 @@ branches:
66
matrix:
77
fast_finish: true
88
include:
9-
# - os: linux
10-
# node_js: "7"
11-
# env: WEBPACK_VERSION="2.2.0" JOB_PART=lint
129
- os: linux
13-
node_js: "6"
14-
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
10+
node_js: '7'
11+
env: WEBPACK_VERSION="2.2.0" BITHOUND_CHECK=true JOB_PART=lint
1512
- os: linux
16-
node_js: "4.3"
13+
node_js: '4.3'
1714
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
1815
- os: linux
19-
node_js: "7"
16+
node_js: '6'
2017
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
18+
- os: linux
19+
node_js: '7'
20+
env: WEBPACK_VERSION="2.2.0" JOB_PART=coverage
2121
before_install:
2222
- nvm --version
2323
- node --version
2424
before_script:
25-
- 'if [ "$WEBPACK_VERSION" ]; then npm install webpack@^$WEBPACK_VERSION; fi'
25+
- |-
26+
if [ "$WEBPACK_VERSION" ]; then
27+
yarn add webpack@^$WEBPACK_VERSION
28+
fi
29+
- |-
30+
if [ "$BITHOUND_CHECK" ]; then
31+
yarn global add bithound
32+
bithound check [email protected]:$TRAVIS_REPO_SLUG.git
33+
fi
2634
script:
27-
- npm run travis:$JOB_PART
28-
# after_success:
29-
# - bash <(curl -s https://codecov.io/bash)
35+
- 'yarn run travis:$JOB_PART'
36+
after_success:
37+
- 'bash <(curl -s https://codecov.io/bash)'

index.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)