1
0
Fork 0

Move JS build dependencies to 'dependencies' (#10763)

- move all JS build dependencies to 'dependencies'
- update all JS dependencies

Reason for this is that npm will only install 'dependencies' when under
the effect of NODE_ENV=production which may be present on some build
systems.

Linters currently need to be depdendencies because we run linting as
part of the build step, but I plan to move them to a separate 'lint'
target which means they can move to devDependencies then.

Fixes: https://github.com/go-gitea/gitea/pull/10761
This commit is contained in:
silverwind 2020-03-19 03:45:23 +01:00 committed by GitHub
parent a2809b391d
commit 661289d480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1892 additions and 2422 deletions

4608
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,36 +5,30 @@
"node": ">=10" "node": ">=10"
}, },
"dependencies": { "dependencies": {
"@primer/octicons": "9.6.0",
"clipboard": "2.0.6",
"dropzone": "5.7.0",
"fomantic-ui": "2.8.4",
"highlight.js": "9.18.1",
"jquery": "3.4.1",
"jquery-datetimepicker": "2.5.21",
"jquery-migrate": "3.1.0",
"jquery.are-you-sure": "1.9.0",
"swagger-ui": "3.25.0",
"vue": "2.6.11",
"vue-bar-graph": "1.2.0",
"vue-calendar-heatmap": "0.8.4"
},
"devDependencies": {
"@babel/core": "7.8.7", "@babel/core": "7.8.7",
"@babel/plugin-proposal-object-rest-spread": "7.8.3", "@babel/plugin-proposal-object-rest-spread": "7.8.3",
"@babel/plugin-transform-runtime": "7.8.3", "@babel/plugin-transform-runtime": "7.8.3",
"@babel/preset-env": "7.8.7", "@babel/preset-env": "7.8.7",
"@babel/runtime": "7.8.7", "@babel/runtime": "7.8.7",
"@primer/octicons": "9.6.0",
"babel-loader": "8.0.6", "babel-loader": "8.0.6",
"clipboard": "2.0.6",
"copy-webpack-plugin": "5.1.1", "copy-webpack-plugin": "5.1.1",
"core-js": "3.6.4", "core-js": "3.6.4",
"css-loader": "3.4.2", "css-loader": "3.4.2",
"cssnano": "4.1.10", "cssnano": "4.1.10",
"dropzone": "5.7.0",
"eslint": "6.8.0", "eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0", "eslint-config-airbnb-base": "14.1.0",
"eslint-plugin-import": "2.20.1", "eslint-plugin-import": "2.20.1",
"fast-glob": "3.2.2", "fast-glob": "3.2.2",
"fomantic-ui": "2.8.4",
"highlight.js": "9.18.1",
"imports-loader": "0.8.0", "imports-loader": "0.8.0",
"jquery": "3.4.1",
"jquery-datetimepicker": "2.5.21",
"jquery-migrate": "3.1.0",
"jquery.are-you-sure": "1.9.0",
"less-loader": "5.0.0", "less-loader": "5.0.0",
"mini-css-extract-plugin": "0.9.0", "mini-css-extract-plugin": "0.9.0",
"optimize-css-assets-webpack-plugin": "5.0.3", "optimize-css-assets-webpack-plugin": "5.0.3",
@ -46,14 +40,20 @@
"svg-sprite-loader": "4.2.1", "svg-sprite-loader": "4.2.1",
"svgo": "1.3.2", "svgo": "1.3.2",
"svgo-loader": "2.2.1", "svgo-loader": "2.2.1",
"swagger-ui": "3.25.0",
"terser-webpack-plugin": "2.3.5", "terser-webpack-plugin": "2.3.5",
"updates": "10.2.3", "vue": "2.6.11",
"vue-bar-graph": "1.2.0",
"vue-calendar-heatmap": "0.8.4",
"vue-loader": "15.9.0", "vue-loader": "15.9.0",
"vue-template-compiler": "2.6.11", "vue-template-compiler": "2.6.11",
"webpack": "4.42.0", "webpack": "4.42.0",
"webpack-cli": "3.3.11", "webpack-cli": "3.3.11",
"webpack-fix-style-only-entries": "0.4.0" "webpack-fix-style-only-entries": "0.4.0"
}, },
"devDependencies": {
"updates": "10.2.4"
},
"browserslist": [ "browserslist": [
"defaults" "defaults"
] ]