This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update to latest webpack-defaults (#50)
- Loading branch information
1 parent
83f6541
commit 4d649f4
Showing
18 changed files
with
13,158 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
unit_tests: &unit_tests | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Run unit tests. | ||
command: npm run ci:test | ||
canary_tests: &canary_tests | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Install Webpack Canary | ||
command: npm i --no-save webpack@next | ||
- run: | ||
name: Run unit tests. | ||
command: npm run ci:test | ||
|
||
version: 2 | ||
jobs: | ||
dependency_cache: | ||
docker: | ||
- image: webpackcontrib/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Install Dependencies | ||
command: npm install | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
paths: | ||
- ./node_modules | ||
|
||
node8-latest: | ||
docker: | ||
- image: webpackcontrib/circleci-node8:latest | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Run unit tests. | ||
command: npm run ci:coverage | ||
- run: | ||
name: Submit coverage data to codecov. | ||
command: bash <(curl -s https://codecov.io/bash) | ||
when: on_success | ||
node6-latest: | ||
docker: | ||
- image: webpackcontrib/circleci-node6:latest | ||
<<: *unit_tests | ||
node9-latest: | ||
docker: | ||
- image: webpackcontrib/circleci-node9:latest | ||
<<: *unit_tests | ||
node8-canary: | ||
docker: | ||
- image: webpackcontrib/circleci-node8:latest | ||
<<: *canary_tests | ||
analysis: | ||
docker: | ||
- image: webpackcontrib/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Run linting. | ||
command: npm run lint | ||
- run: | ||
name: Run NSP Security Check. | ||
command: npm run security | ||
- run: | ||
name: Validate Commit Messages | ||
command: npm run ci:lint:commits | ||
publish: | ||
docker: | ||
- image: webpackcontrib/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Validate Commit Messages | ||
command: npm run release:validate | ||
- run: | ||
name: Publish to NPM | ||
command: printf "noop running conventional-github-releaser" | ||
|
||
version: 2.0 | ||
workflows: | ||
version: 2 | ||
validate-publish: | ||
jobs: | ||
- dependency_cache | ||
- node6-latest: | ||
requires: | ||
- dependency_cache | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- analysis: | ||
requires: | ||
- dependency_cache | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node8-latest: | ||
requires: | ||
- analysis | ||
- node6-latest | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node9-latest: | ||
requires: | ||
- analysis | ||
- node6-latest | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node8-canary: | ||
requires: | ||
- analysis | ||
- node6-latest | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- publish: | ||
requires: | ||
- node8-latest | ||
- node9-latest | ||
filters: | ||
branches: | ||
only: | ||
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/node_modules | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
root: true, | ||
plugins: ['prettier'], | ||
extends: ['@webpack-contrib/eslint-config-webpack'], | ||
rules: { | ||
'prettier/prettier': [ | ||
'error', | ||
{ singleQuote: true, trailingComma: 'es5', arrowParens: 'always' }, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package-lock.json -diff | ||
* text=auto | ||
bin/* eol=lf |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# These are the default owners for everything in | ||
# webpack-contrib | ||
@webpack-contrib/org-maintainers | ||
|
||
# Add repository specific users / groups | ||
# below here for libs that are not maintained by the org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!-- | ||
Issues are so 🔥 | ||
If you remove or skip this template, you'll make the 🐼 sad and the mighty god | ||
of Github will appear and pile-drive the close button from a great height | ||
while making animal noises. | ||
👉🏽 Need support, advice, or help? Don't open an issue! | ||
Head to StackOverflow or https://gitter.im/webpack/webpack. | ||
--> | ||
|
||
* Operating System: | ||
* Node Version: | ||
* NPM Version: | ||
* webpack Version: | ||
* webpack-serve Version: | ||
|
||
<!-- Please place an x (no spaces!) in all [ ] that apply --> | ||
|
||
This issue is for a: | ||
|
||
- [ ] **bug** | ||
- [ ] **feature** request | ||
- [ ] **modification** request | ||
|
||
### Code | ||
|
||
##### CLI Command | ||
|
||
```bash | ||
# paste the CLI command you're using. if this isn't applicable, it's safe to remove. | ||
$ {the command} | ||
``` | ||
|
||
##### webpack.config.js | ||
|
||
```js | ||
// If your bitchin' code blocks are over 20 lines, please paste a link to a gist | ||
// (https://gist.github.com). | ||
``` | ||
|
||
```js | ||
// additional code, HEY YO remove this block if you don't need it | ||
``` | ||
|
||
### Expected Behavior | ||
|
||
<!-- Remove this section if not reporting a bug or modification request. --> | ||
|
||
### Actual Behavior | ||
|
||
<!-- Remove this section if not reporting a bug or modification request. --> | ||
|
||
### How Do We Reproduce? | ||
|
||
<!-- | ||
Remove this section if not reporting a bug. | ||
If your webpack config is over 50 lines long, please provide a URL to a repo | ||
for your beefy 🍖 app that we can use to reproduce. | ||
--> | ||
|
||
### New Feature Use Case | ||
|
||
<!-- Remove this section if not requesting a feature --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- | ||
HOLY CRAP a Pull Request. We ❤️ those! | ||
If you remove or skip this template, you'll make the 🐼 sad and the mighty god | ||
of Github will appear and pile-drive the close button from a great height | ||
while making animal noises. | ||
Please place an x (no spaces!) in all [ ] that apply | ||
--> | ||
|
||
This PR contains a: | ||
|
||
- [ ] **bugfix** | ||
- [ ] new **feature** | ||
- [ ] **code refactor** | ||
- [ ] **test update** <!-- if bug or feature is checked, this should be too --> | ||
- [ ] **typo fix** | ||
- [ ] **metadata update** | ||
|
||
### Motivation / Use-Case | ||
|
||
<!-- | ||
Please explain the motivation or use-case for your change. | ||
What existing problem does the PR solve? | ||
If this PR addresses an issue, please link to the issue. | ||
--> | ||
|
||
### Breaking Changes | ||
|
||
<!-- | ||
If this PR introduces a breaking change, please describe the impact and a | ||
migration path for existing applications. | ||
--> | ||
|
||
### Additional Info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
logs | ||
*.log | ||
npm-debug.log* | ||
.eslintcache | ||
/coverage | ||
/dist | ||
/local | ||
/reports | ||
/node_modules | ||
.DS_Store | ||
Thumbs.db | ||
.idea | ||
.vscode | ||
*.sublime-project | ||
*.sublime-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"arrowParens": "always" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Change Log | ||
|
||
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. |
Oops, something went wrong.