Skip to content

Commit e5c8139

Browse files
authored
Merge pull request #432 from rtfpessoa/bump-deps
bump dependencies
2 parents 57ff821 + 4b9114a commit e5c8139

File tree

5 files changed

+2115
-2762
lines changed

5 files changed

+2115
-2762
lines changed

.circleci/config.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,19 @@ jobs:
9292
paths:
9393
- '*'
9494

95-
build-node-12:
96-
<<: *build-common
95+
build-node-16:
96+
<<: *build-stable
9797
docker:
98-
- image: node:12
98+
- image: node:16
9999

100-
build-node-15:
100+
build-node-17:
101101
<<: *build-common
102102
docker:
103-
- image: node:15
104-
105-
build-node-14:
106-
<<: *build-stable
107-
docker:
108-
- image: node:14
103+
- image: node:17
109104

110105
tag_version:
111106
docker:
112-
- image: node:14
107+
- image: node:16
113108
working_directory: ~/workdir
114109
steps:
115110
- attach_workspace:
@@ -127,7 +122,7 @@ jobs:
127122
128123
publish_library:
129124
docker:
130-
- image: node:14
125+
- image: node:16
131126
working_directory: ~/workdir
132127
steps:
133128
- attach_workspace:
@@ -198,21 +193,17 @@ workflows:
198193
validate-and-publish:
199194
jobs:
200195
- checkout-and-version
201-
- build-node-12:
202-
requires:
203-
- checkout-and-version
204-
- build-node-14:
196+
- build-node-16:
205197
requires:
206198
- checkout-and-version
207-
- build-node-15:
199+
- build-node-17:
208200
requires:
209201
- checkout-and-version
210202
- publish_approval:
211203
type: approval
212204
requires:
213-
- build-node-12
214-
- build-node-14
215-
- build-node-15
205+
- build-node-16
206+
- build-node-17
216207
- tag_version:
217208
requires:
218209
- publish_approval

.prettierrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"bracketSpacing": true,
44
"htmlWhitespaceSensitivity": "css",
55
"insertPragma": false,
6-
"jsxBracketSameLine": false,
76
"jsxSingleQuote": false,
87
"printWidth": 120,
98
"proseWrap": "always",

package.json

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -85,61 +85,59 @@
8585
"hogan.js": "3.0.2"
8686
},
8787
"optionalDependencies": {
88-
"highlight.js": "11.2.0"
88+
"highlight.js": "11.5.1"
8989
},
9090
"devDependencies": {
91-
"@types/copy-webpack-plugin": "8.0.1",
92-
"@types/diff": "5.0.1",
91+
"@types/diff": "5.0.2",
9392
"@types/hogan.js": "3.0.1",
94-
"@types/jest": "27.0.2",
95-
"@types/mini-css-extract-plugin": "^2.3.0",
93+
"@types/jest": "27.4.1",
9694
"@types/mkdirp": "1.0.2",
97-
"@types/node": "16.11.0",
95+
"@types/node": "17.0.24",
9896
"@types/nopt": "3.0.29",
99-
"@typescript-eslint/eslint-plugin": "5.0.0",
100-
"@typescript-eslint/parser": "5.0.0",
97+
"@typescript-eslint/eslint-plugin": "5.19.0",
98+
"@typescript-eslint/parser": "5.19.0",
10199
"all-contributors-cli": "^6.20.0",
102-
"autoprefixer": "10.3.7",
100+
"autoprefixer": "10.4.4",
103101
"bulma": "^0.9.2",
104-
"clipboard": "2.0.8",
105-
"copy-webpack-plugin": "9.0.1",
106-
"css-loader": "6.4.0",
107-
"cssnano": "5.0.8",
108-
"eslint": "8.0.1",
109-
"eslint-config-prettier": "8.3.0",
110-
"eslint-plugin-import": "2.25.2",
111-
"eslint-plugin-jest": "25.2.1",
102+
"clipboard": "2.0.10",
103+
"copy-webpack-plugin": "10.2.4",
104+
"css-loader": "6.7.1",
105+
"cssnano": "5.1.7",
106+
"eslint": "8.13.0",
107+
"eslint-config-prettier": "8.5.0",
108+
"eslint-plugin-import": "2.26.0",
109+
"eslint-plugin-jest": "26.1.4",
112110
"eslint-plugin-json": "3.1.0",
113111
"eslint-plugin-node": "11.1.0",
114112
"eslint-plugin-optimize-regex": "1.2.1",
115-
"eslint-plugin-promise": "5.1.0",
116-
"eslint-plugin-sonarjs": "0.10.0",
113+
"eslint-plugin-promise": "6.0.0",
114+
"eslint-plugin-sonarjs": "0.13.0",
117115
"file-loader": "6.2.0",
118116
"handlebars": "4.7.7",
119117
"handlebars-loader": "1.7.1",
120-
"html-webpack-plugin": "5.4.0",
118+
"html-webpack-plugin": "5.5.0",
121119
"husky": "^7.0.2",
122-
"image-webpack-loader": "8.0.1",
120+
"image-webpack-loader": "8.1.0",
123121
"is-ci-cli": "2.2.0",
124-
"jest": "27.2.5",
125-
"lint-staged": "11.2.3",
122+
"jest": "27.5.1",
123+
"lint-staged": "12.3.8",
126124
"markdown-toc": "^1.2.0",
127-
"mini-css-extract-plugin": "2.4.2",
125+
"mini-css-extract-plugin": "2.6.0",
128126
"mkdirp": "1.0.4",
129127
"nopt": "5.0.0",
130-
"postcss": "8.3.9",
131-
"postcss-cli": "9.0.1",
132-
"postcss-import": "14.0.2",
133-
"postcss-loader": "6.2.0",
134-
"postcss-preset-env": "6.7.0",
135-
"prettier": "2.4.1",
136-
"ts-jest": "27.0.6",
137-
"ts-loader": "9.2.6",
138-
"ts-node": "10.3.0",
139-
"typescript": "4.4.4",
128+
"postcss": "8.4.12",
129+
"postcss-cli": "9.1.0",
130+
"postcss-import": "14.1.0",
131+
"postcss-loader": "6.2.1",
132+
"postcss-preset-env": "7.4.3",
133+
"prettier": "2.6.2",
134+
"ts-jest": "27.1.4",
135+
"ts-loader": "9.2.8",
136+
"ts-node": "10.7.0",
137+
"typescript": "4.6.3",
140138
"url-loader": "4.1.1",
141-
"webpack": "5.58.2",
142-
"webpack-cli": "4.9.0",
139+
"webpack": "5.72.0",
140+
"webpack-cli": "4.9.2",
143141
"whatwg-fetch": "3.6.2"
144142
},
145143
"resolutions": {
@@ -149,7 +147,10 @@
149147
"autolinker": ">=3.14.1",
150148
"bl": ">=2.2.1",
151149
"decompress": ">=4.2.1",
152-
"node-forge": ">=0.10.0"
150+
"node-forge": ">=0.10.0",
151+
"trim-newlines": ">=3.0.1",
152+
"semver-regex": ">=3.1.3",
153+
"async": ">=2.6.4"
153154
},
154155
"license": "MIT",
155156
"files": [

webpack.website.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ import path from 'path';
33
import webpack from 'webpack';
44
import HtmlWebpackPlugin from 'html-webpack-plugin';
55
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
6-
import CopyWebpackPlugin from 'copy-webpack-plugin';
6+
// eslint-disable-next-line import/default
7+
import CopyPlugin from 'copy-webpack-plugin';
78

89
const pages = ['index', 'demo'];
910

1011
type Plugin = ((this: webpack.Compiler, compiler: webpack.Compiler) => void) | webpack.WebpackPluginInstance;
1112

1213
function plugins(page: string): Plugin[] {
1314
return [
14-
//eslint-disable-next-line @typescript-eslint/ban-ts-comment
15-
//@ts-ignore
1615
new MiniCssExtractPlugin({
1716
filename: '[name].css',
1817
chunkFilename: '[id].css',
@@ -39,9 +38,7 @@ function plugins(page: string): Plugin[] {
3938
minifyURLs: true,
4039
},
4140
}),
42-
//eslint-disable-next-line @typescript-eslint/ban-ts-comment
43-
//@ts-ignore
44-
new CopyWebpackPlugin({
41+
new CopyPlugin({
4542
patterns: [
4643
{ from: 'website/favicon.ico', to: 'favicon.ico' },
4744
{ from: 'website/robots.txt', to: 'robots.txt' },

0 commit comments

Comments
 (0)