Skip to content

Commit a231692

Browse files
committed
chore(modernize): GitHub Actions, rollup, etc..
1 parent e5cc4c5 commit a231692

File tree

15 files changed

+1443
-2416
lines changed

15 files changed

+1443
-2416
lines changed

.babelrc

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

.eslintignore

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

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
module.exports = {
22
root: true,
33
extends: ['airbnb-base', 'prettier'],
4-
parser: 'babel-eslint',
54
parserOptions: {
6-
ecmaVersion: 2018,
5+
ecmaVersion: 2021,
76
sourceType: 'module',
87
},
98
env: {

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: gregberge

.github/workflows/node.js.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [main]
9+
pull_request:
10+
branches: [main]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
node-version: [10.x, 12.x, 14.x, 15.x]
19+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: yarn --frozen-lockfile
28+
- run: yarn build
29+
- run: yarn lint

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
node_modules/
2-
lib/
2+
dist/

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/*
2-
!/lib/**/*.js
2+
!/dist/**/*.js

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10
1+
14

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
lib/
1+
node_modules/
2+
dist/
23
package.json
34
CHANGELOG.md

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# Error Overlay Webpack Plugin
22

3-
[![Build Status][build-badge]][build]
4-
[![version][version-badge]][package]
5-
[![MIT License][license-badge]][license]
3+
![Node.js CI](https://github.com/gregberge/error-overlay-webpack-plugin/workflows/Node.js%20CI/badge.svg)
64

75
Catch errors with style 💥✨
86

97
This plugin will display an error overlay in your application. It is the same error overlay used in [create-react-app](https://github.com/facebook/create-react-app).
108

11-
- 📦 Webpack 4 support
9+
- 📦 Webpack 5 support
1210
- 🥞 Elegant stack trace
1311
- 📝 Click to open error line in editor
1412

15-
<img src="https://raw.githubusercontent.com/smooth-code/error-overlay-webpack-plugin/master/docs/example.png" alt="Error Overlay Webpack Plugin Example">
13+
<img src="https://raw.githubusercontent.com/gregberge/error-overlay-webpack-plugin/master/docs/example.png" alt="Error Overlay Webpack Plugin Example">
1614

1715
```
1816
npm install error-overlay-webpack-plugin --save-dev
@@ -38,10 +36,3 @@ module.exports = {
3836
## License
3937

4038
MIT
41-
42-
[build-badge]: https://img.shields.io/travis/smooth-code/error-overlay-webpack-plugin.svg?style=flat-square
43-
[build]: https://travis-ci.org/smooth-code/error-overlay-webpack-plugin
44-
[version-badge]: https://img.shields.io/npm/v/error-overlay-webpack-plugin.svg?style=flat-square
45-
[package]: https://www.npmjs.com/package/error-overlay-webpack-plugin
46-
[license-badge]: https://img.shields.io/npm/l/error-overlay-webpack-plugin.svg?style=flat-square
47-
[license]: https://github.com/smooth-code/error-overlay-webpack-plugin/blob/master/LICENSE

0 commit comments

Comments
 (0)