1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Update JS dependencies (#12474)

* Update JS dependencies

- Update worker-loader options (currently unused pending #12459)
- Remove @babel/plugin-proposal-object-rest-spread, it's enabled by
  default
- Switch cssnano-webpack-plugin to css-minimizer-webpack-plugin which
  had been renamed

* switch to css-minimizer-webpack-plugin
This commit is contained in:
silverwind 2020-08-12 00:30:47 +02:00 committed by GitHub
parent 74bd9691c6
commit c18b0529ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 400 additions and 289 deletions

651
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,18 +5,17 @@
"node": ">= 10.13.0"
},
"dependencies": {
"@babel/core": "7.10.5",
"@babel/plugin-proposal-object-rest-spread": "7.10.4",
"@babel/plugin-transform-runtime": "7.10.5",
"@babel/preset-env": "7.10.4",
"@babel/runtime": "7.10.5",
"@babel/core": "7.11.1",
"@babel/plugin-transform-runtime": "7.11.0",
"@babel/preset-env": "7.11.0",
"@babel/runtime": "7.11.2",
"@claviska/jquery-minicolors": "2.3.5",
"@primer/octicons": "10.0.0",
"babel-loader": "8.1.0",
"clipboard": "2.0.6",
"core-js": "3.6.5",
"css-loader": "4.0.0",
"cssnano-webpack-plugin": "1.0.3",
"css-loader": "4.2.1",
"css-minimizer-webpack-plugin": "1.1.1",
"dropzone": "5.7.2",
"escape-goat": "3.0.0",
"fast-glob": "3.2.4",
@ -27,31 +26,31 @@
"jquery.are-you-sure": "1.9.0",
"less-loader": "6.2.0",
"license-webpack-plugin": "2.3.0",
"mermaid": "8.6.4",
"mini-css-extract-plugin": "0.9.0",
"mermaid": "8.7.0",
"mini-css-extract-plugin": "0.10.0",
"monaco-editor": "0.20.0",
"monaco-editor-webpack-plugin": "1.9.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.7.0",
"raw-loader": "4.0.1",
"swagger-ui": "3.30.2",
"terser-webpack-plugin": "3.0.8",
"swagger-ui": "3.31.1",
"terser-webpack-plugin": "4.1.0",
"tributejs": "5.1.3",
"vue": "2.6.11",
"vue-bar-graph": "1.2.0",
"vue-calendar-heatmap": "0.8.4",
"vue-loader": "15.9.3",
"vue-template-compiler": "2.6.11",
"webpack": "4.44.0",
"webpack": "4.44.1",
"webpack-cli": "3.3.12",
"webpack-fix-style-only-entries": "0.5.1",
"workbox-routing": "5.1.3",
"workbox-strategies": "5.1.3",
"worker-loader": "2.0.0",
"worker-loader": "3.0.1",
"wrap-ansi": "7.0.0"
},
"devDependencies": {
"eslint": "7.5.0",
"eslint": "7.6.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-unicorn": "21.0.0",
"stylelint": "13.6.1",

View file

@ -1,6 +1,6 @@
const fastGlob = require('fast-glob');
const wrapAnsi = require('wrap-ansi');
const CssNanoPlugin = require('cssnano-webpack-plugin');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
const FixStyleOnlyEntriesPlugin = require('webpack-fix-style-only-entries');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
@ -80,9 +80,9 @@ module.exports = {
},
},
}),
new CssNanoPlugin({
new CssMinimizerPlugin({
sourceMap: true,
cssnanoOptions: {
minimizerOptions: {
preset: [
'default',
{
@ -113,9 +113,7 @@ module.exports = {
{
loader: 'worker-loader',
options: {
name: '[name].js',
inline: true,
fallback: false,
inline: 'no-fallback',
},
},
],
@ -151,7 +149,6 @@ module.exports = {
regenerator: true,
}
],
'@babel/plugin-proposal-object-rest-spread',
],
generatorOpts: {
compact: false,