-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUN-2221: Update webpack 4 to 5 #8968
Changes from all commits
eac6ceb
77e601e
f8c714f
00a2e1a
9d46208
97539ca
d9dd325
d2f2a9a
aaeb661
9877dc3
a01ef37
e684bea
b1493f8
44d0cf9
9be061e
756021c
0ba5d15
a80ec9d
1c4c95e
b625369
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
kind: AuthConstants.TYPE_EVENT | ||
)}"/> | ||
|
||
<asset:javascript src="static/css/pages/command.css"/> | ||
<asset:stylesheet src="static/css/pages/command.css"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was causing a 404 as the generated import had the wrong path and extension |
||
<asset:javascript src="static/pages/command.js"/> | ||
<asset:javascript src="executionState.js"/> | ||
<asset:javascript src="executionControl.js"/> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,6 @@ | |
<asset:javascript src="leavePageConfirm.js"/> | ||
<asset:javascript src="framework/editProject.js"/> | ||
<asset:javascript src="static/pages/project-config.js" defer="defer" /> | ||
<asset:stylesheet href="static/css/pages/project-config.css" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file isn't being created, as the respective components do not have any css to be imported. |
||
<g:jsMessages code="page.unsaved.changes"/> | ||
<g:javascript> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,9 +62,6 @@ | |
|
||
<asset:javascript src="menu/home.js"/> | ||
|
||
<!-- VUE CSS MODULES --> | ||
<asset:stylesheet href="static/css/components/version-notification.css"/> | ||
<!-- /VUE CSS MODULES --> | ||
Comment on lines
-65
to
-67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file isn't being created. In fact the components in the folder version-notification do not seem to be used anywhere. |
||
<asset:javascript src="static/pages/login.js"/> | ||
<style type="text/css"> | ||
.project_list_item_link { | ||
|
@@ -462,9 +459,7 @@ | |
</div> | ||
<!-- VUE JS MODULES --> | ||
<asset:stylesheet href="static/css/pages/home.css"/> | ||
<asset:stylesheet href="static/css/components/first-run.css"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file isn't being created, but the import isn't needed as the CSS required by its components is included in the chunk-common.css |
||
<asset:javascript src="static/components/first-run.js"/> | ||
<asset:javascript src="static/components/version-notification.js"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file isn't being created. In fact the components in the folder version-notification do not seem to be used anywhere. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems so, let's do a separate PR to remove that code since it isn't used There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, PR for removal: #9135 |
||
<!-- /VUE JS MODULES --> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,6 @@ | |
<asset:javascript src="menu/home.js"/> | ||
|
||
<!-- VUE CSS MODULES --> | ||
<asset:stylesheet href="static/css/components/version-notification.css"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file isn't being created. In fact the components in the folder version-notification do not seem to be used anywhere. |
||
<!-- /VUE CSS MODULES --> | ||
<asset:javascript src="static/pages/login.js"/> | ||
<style type="text/css"> | ||
|
@@ -80,7 +79,7 @@ | |
<div id="layoutBody"> | ||
<div class="vue-ui-socket"> | ||
<g:set var="createProjectAllowed" | ||
value="${auth.resourceAllowedTest(action: AuthConstants.ACTION_CREATE, type: AuthConstants.TYPE_PROJECT, context: AuthConstants.CTX_APPLICATION)}"/> | ||
value="${auth.resourceAllowedTest(action: [AuthConstants.ACTION_CREATE], type: AuthConstants.TYPE_PROJECT, context: AuthConstants.CTX_APPLICATION, has:true)}"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. home.next is behind a feature flag but noticed that this line wasn't 100% its equivalent in home.gsp |
||
<g:set var="roles" | ||
value="${request.subject?.getPrincipals(com.dtolabs.rundeck.core.authentication.Group.class)?.collect { it.name }}"/> | ||
<g:set var="buildIdent" value="${servletContextAttribute(attribute: 'app.ident')}"/> | ||
|
@@ -104,7 +103,6 @@ | |
</div> | ||
<!-- VUE JS MODULES --> | ||
<asset:stylesheet href="static/css/pages/home.css"/> | ||
<asset:javascript src="static/components/version-notification.js"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file isn't being created. In fact the components in the folder version-notification do not seem to be used anywhere. |
||
<!-- /VUE JS MODULES --> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
VUE_APP_OUTPUT_DIR=../../../grails-app/assets/provided/static | ||
VUE_APP_DEVTOOL=eval-cheap-module-source-map | ||
VUE_APP_DEVTOOL=eval-cheap-source-map | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. eval-cheap-source-map has better performance than eval-cheap-module-source-map. Open to discussion if team would like to try faster modes: |
||
VUE_APP_CSS_EXTRACT=true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
const esModules = ["vue-virtual-scroller", "uuid"].join("|"); | ||
module.exports = { | ||
globals: { | ||
"ts-jest": { | ||
tsconfig: "tsconfig.app.json", | ||
}, | ||
}, | ||
Comment on lines
-3
to
-7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. outdated format |
||
moduleFileExtensions: ["js", "ts", "vue"], | ||
transform: { | ||
"^.+\\.tsx?$": "ts-jest", | ||
"^.+\\.tsx?$": ["ts-jest", { tsconfig: "tsconfig.app.json" }], | ||
"^.+\\.vue$": "@vue/vue3-jest", | ||
"^.+\\.(j|t)s$": "babel-jest", | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file isn't being created, as the respective components do not have any css to be imported.