-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update app to Angular version 18, with package and angular.json (CLI support) changes #71
Conversation
Signed-off-by: Satish Wadkar <swadkar@rocketsoftware.com>
Signed-off-by: Satish Wadkar <swadkar@rocketsoftware.com>
Signed-off-by: Satish Wadkar <swadkar@rocketsoftware.com>
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.
You are missing "entryPoint" zowe/zlux-app-server#308
Please do
"entryPoint": {
"2.0": "main.js",
"3.0": "v3/main.js"
}
Our build automation is already setup to handle this. It builds v2 content into the web folder alongside v3 content, so they should be separated in that way.
@@ -1,7 +1,7 @@ | |||
{ | |||
"identifier": "org.zowe.terminal.vt", | |||
"apiVersion": "2.0.0", | |||
"pluginVersion": "2.14.0", | |||
"pluginVersion": "2.18.0", |
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.
that is not semver.
you have made breaking changes. it is v3.0.0
'path': path.resolve(__dirname, '../web'), | ||
'filename': 'main.js', | ||
output: { | ||
path: path.resolve(__dirname, '../web'), |
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.
web/v3
to isolate it from the v2 content that the build system will populate into the web folder.
}, | ||
'plugins': [ | ||
plugins: [ |
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.
CopyWebPackPlugin's "to" needs to be "../web/v3/assets"
Signed-off-by: Satish Wadkar <swadkar@rocketsoftware.com>
clean: true | ||
}, | ||
resolve: { | ||
alias: { |
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.
likely needs resolve.extensions = ['.ts', '.js']
@@ -49,7 +74,7 @@ function deepMerge(base, extension) { | |||
if (!base[key]) base[key] = {}; | |||
deepMerge(base[key], extension[key]); | |||
} else { | |||
Object.assign(base, {[key]: extension[key]}); | |||
Object.assign(base, { [key]: extension[key] }); | |||
} | |||
} | |||
} |
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.
export config to module.exports
Proposed changes
This PR addresses Issue: [Link to Github issue within https://github.com/zowe/zlux/issues if any]
This PR depends upon the following PRs:
Type of change
Please delete options that are not relevant.
PR Checklist
Please delete options that are not relevant.
Testing
Further comments