bump dependencies
This commit is contained in:
parent
57ff821635
commit
7e3c867d74
4 changed files with 2097 additions and 2735 deletions
|
|
@ -3,7 +3,6 @@
|
|||
"bracketSpacing": true,
|
||||
"htmlWhitespaceSensitivity": "css",
|
||||
"insertPragma": false,
|
||||
"jsxBracketSameLine": false,
|
||||
"jsxSingleQuote": false,
|
||||
"printWidth": 120,
|
||||
"proseWrap": "always",
|
||||
|
|
|
|||
75
package.json
75
package.json
|
|
@ -85,61 +85,59 @@
|
|||
"hogan.js": "3.0.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"highlight.js": "11.2.0"
|
||||
"highlight.js": "11.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/copy-webpack-plugin": "8.0.1",
|
||||
"@types/diff": "5.0.1",
|
||||
"@types/diff": "5.0.2",
|
||||
"@types/hogan.js": "3.0.1",
|
||||
"@types/jest": "27.0.2",
|
||||
"@types/mini-css-extract-plugin": "^2.3.0",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/mkdirp": "1.0.2",
|
||||
"@types/node": "16.11.0",
|
||||
"@types/node": "17.0.24",
|
||||
"@types/nopt": "3.0.29",
|
||||
"@typescript-eslint/eslint-plugin": "5.0.0",
|
||||
"@typescript-eslint/parser": "5.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.19.0",
|
||||
"@typescript-eslint/parser": "5.19.0",
|
||||
"all-contributors-cli": "^6.20.0",
|
||||
"autoprefixer": "10.3.7",
|
||||
"autoprefixer": "10.4.4",
|
||||
"bulma": "^0.9.2",
|
||||
"clipboard": "2.0.8",
|
||||
"copy-webpack-plugin": "9.0.1",
|
||||
"css-loader": "6.4.0",
|
||||
"cssnano": "5.0.8",
|
||||
"eslint": "8.0.1",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-import": "2.25.2",
|
||||
"eslint-plugin-jest": "25.2.1",
|
||||
"clipboard": "2.0.10",
|
||||
"copy-webpack-plugin": "10.2.4",
|
||||
"css-loader": "6.7.1",
|
||||
"cssnano": "5.1.7",
|
||||
"eslint": "8.13.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-jest": "26.1.4",
|
||||
"eslint-plugin-json": "3.1.0",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-optimize-regex": "1.2.1",
|
||||
"eslint-plugin-promise": "5.1.0",
|
||||
"eslint-plugin-sonarjs": "0.10.0",
|
||||
"eslint-plugin-promise": "6.0.0",
|
||||
"eslint-plugin-sonarjs": "0.13.0",
|
||||
"file-loader": "6.2.0",
|
||||
"handlebars": "4.7.7",
|
||||
"handlebars-loader": "1.7.1",
|
||||
"html-webpack-plugin": "5.4.0",
|
||||
"html-webpack-plugin": "5.5.0",
|
||||
"husky": "^7.0.2",
|
||||
"image-webpack-loader": "8.0.1",
|
||||
"image-webpack-loader": "8.1.0",
|
||||
"is-ci-cli": "2.2.0",
|
||||
"jest": "27.2.5",
|
||||
"lint-staged": "11.2.3",
|
||||
"jest": "27.5.1",
|
||||
"lint-staged": "12.3.8",
|
||||
"markdown-toc": "^1.2.0",
|
||||
"mini-css-extract-plugin": "2.4.2",
|
||||
"mini-css-extract-plugin": "2.6.0",
|
||||
"mkdirp": "1.0.4",
|
||||
"nopt": "5.0.0",
|
||||
"postcss": "8.3.9",
|
||||
"postcss-cli": "9.0.1",
|
||||
"postcss-import": "14.0.2",
|
||||
"postcss-loader": "6.2.0",
|
||||
"postcss-preset-env": "6.7.0",
|
||||
"prettier": "2.4.1",
|
||||
"ts-jest": "27.0.6",
|
||||
"ts-loader": "9.2.6",
|
||||
"ts-node": "10.3.0",
|
||||
"typescript": "4.4.4",
|
||||
"postcss": "8.4.12",
|
||||
"postcss-cli": "9.1.0",
|
||||
"postcss-import": "14.1.0",
|
||||
"postcss-loader": "6.2.1",
|
||||
"postcss-preset-env": "7.4.3",
|
||||
"prettier": "2.6.2",
|
||||
"ts-jest": "27.1.4",
|
||||
"ts-loader": "9.2.8",
|
||||
"ts-node": "10.7.0",
|
||||
"typescript": "4.6.3",
|
||||
"url-loader": "4.1.1",
|
||||
"webpack": "5.58.2",
|
||||
"webpack-cli": "4.9.0",
|
||||
"webpack": "5.72.0",
|
||||
"webpack-cli": "4.9.2",
|
||||
"whatwg-fetch": "3.6.2"
|
||||
},
|
||||
"resolutions": {
|
||||
|
|
@ -149,7 +147,10 @@
|
|||
"autolinker": ">=3.14.1",
|
||||
"bl": ">=2.2.1",
|
||||
"decompress": ">=4.2.1",
|
||||
"node-forge": ">=0.10.0"
|
||||
"node-forge": ">=0.10.0",
|
||||
"trim-newlines": ">=3.0.1",
|
||||
"semver-regex": ">=3.1.3",
|
||||
"async": ">=2.6.4"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ import path from 'path';
|
|||
import webpack from 'webpack';
|
||||
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
||||
import CopyWebpackPlugin from 'copy-webpack-plugin';
|
||||
// eslint-disable-next-line import/default
|
||||
import CopyPlugin from 'copy-webpack-plugin';
|
||||
|
||||
const pages = ['index', 'demo'];
|
||||
|
||||
|
|
@ -11,8 +12,6 @@ type Plugin = ((this: webpack.Compiler, compiler: webpack.Compiler) => void) | w
|
|||
|
||||
function plugins(page: string): Plugin[] {
|
||||
return [
|
||||
//eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
//@ts-ignore
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].css',
|
||||
chunkFilename: '[id].css',
|
||||
|
|
@ -39,9 +38,7 @@ function plugins(page: string): Plugin[] {
|
|||
minifyURLs: true,
|
||||
},
|
||||
}),
|
||||
//eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
//@ts-ignore
|
||||
new CopyWebpackPlugin({
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{ from: 'website/favicon.ico', to: 'favicon.ico' },
|
||||
{ from: 'website/robots.txt', to: 'robots.txt' },
|
||||
|
|
|
|||
Loading…
Reference in a new issue