mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Move Webpack build to the same Maven module from which it is invoked (#9823)
This commit is contained in:
1 parent
d0d0cc88c7
commit
4d2698f254
147 files changed
+14
-14
No files matched your search
+1
-1
@@ -39,4 +39,4 @@
|
||||
|
||||
# Yarn
|
||||
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
|
||||
/war/.yarn/plugins/** binary
|
||||
/.yarn/plugins/** binary
|
||||
+2
-2
@@ -8,10 +8,10 @@ node/
|
||||
.git
|
||||
|
||||
# libraries / external deps / generated files
|
||||
war/src/main/js/plugin-setup-wizard/bootstrap-detached.js
|
||||
src/main/js/plugin-setup-wizard/bootstrap-detached.js
|
||||
war/src/main/webapp/scripts/yui
|
||||
war/src/main/webapp/jsbundles/
|
||||
war/src/main/scss/_bootstrap.scss
|
||||
src/main/scss/_bootstrap.scss
|
||||
|
||||
# test files that we don't need formatted
|
||||
test/src/test/resources
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
extends: "stylelint-config-standard",
|
||||
customSyntax: "postcss-scss",
|
||||
ignoreFiles: ["war/src/main/scss/_bootstrap.scss"],
|
||||
ignoreFiles: ["src/main/scss/_bootstrap.scss"],
|
||||
rules: {
|
||||
"no-descending-specificity": null,
|
||||
"selector-class-pattern": "[a-z]",
|
||||
|
||||
+3
-3
@@ -18,7 +18,7 @@ module.exports = [
|
||||
// External scripts
|
||||
".pnp.cjs",
|
||||
".pnp.loader.mjs",
|
||||
"war/src/main/js/plugin-setup-wizard/bootstrap-detached.js",
|
||||
"src/main/js/plugin-setup-wizard/bootstrap-detached.js",
|
||||
"war/src/main/webapp/scripts/yui/*",
|
||||
],
|
||||
},
|
||||
@@ -91,8 +91,8 @@ module.exports = [
|
||||
{
|
||||
files: [
|
||||
"eslint.config.cjs",
|
||||
"war/postcss.config.js",
|
||||
"war/webpack.config.js",
|
||||
"postcss.config.js",
|
||||
"webpack.config.js",
|
||||
".stylelintrc.js",
|
||||
],
|
||||
languageOptions: {
|
||||
|
||||
+5
-5
@@ -10,16 +10,16 @@
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "webpack --config war/webpack.config.js",
|
||||
"prod": "webpack --config war/webpack.config.js --mode=production",
|
||||
"dev": "webpack --config webpack.config.js",
|
||||
"prod": "webpack --config webpack.config.js --mode=production",
|
||||
"build": "yarn prod",
|
||||
"start": "yarn dev --watch",
|
||||
"lint:js": "eslint . && prettier --check .",
|
||||
"lint:js-ci": "eslint . -f checkstyle -o target/eslint-warnings.xml && prettier --check .",
|
||||
"lint:css": "stylelint war/src/main/scss",
|
||||
"lint:css-ci": "stylelint war/src/main/scss --custom-formatter stylelint-checkstyle-reporter -o target/stylelint-warnings.xml",
|
||||
"lint:css": "stylelint src/main/scss",
|
||||
"lint:css-ci": "stylelint src/main/scss --custom-formatter stylelint-checkstyle-reporter -o target/stylelint-warnings.xml",
|
||||
"lint:ci": "yarn lint:js-ci && yarn lint:css-ci",
|
||||
"lint:fix": "eslint --fix . && prettier --write . && stylelint war/src/main/scss --fix",
|
||||
"lint:fix": "eslint --fix . && prettier --write . && stylelint src/main/scss --fix",
|
||||
"lint": "yarn lint:js && yarn lint:css"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 147 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user