Skip to content

Commit

Permalink
Merge pull request #629 from zowe/bugfix/app-prop-viewer
Browse files Browse the repository at this point in the history
Add app-prop-viewer entryPoint for v3, change build path for v3 to web/v3
  • Loading branch information
1000TurquoisePogs authored Sep 16, 2024
2 parents 2d8f07b + 4c89025 commit ddaac09
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions system-apps/app-prop-viewer/pluginDefinition.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
{
"identifier": "org.zowe.zlux.appmanager.app.propview",
"apiVersion": "2.0.0",
"pluginVersion": "2.0.0",
"pluginVersion": "3.0.0",
"pluginType": "application",
"license": "EPL-2.0",
"author": "Zowe",
"homepage": "https://github.com/zowe/zlux-app-manager",
"isSystemPlugin":true,
"webContent": {
"framework": "angular",
"entryPoint": {
"2.0": "main.js",
"3.0": "v3/main.js"
},
"launchDefinition": {
"pluginShortNameKey": "Zowe Viewer",
"pluginShortNameDefault": "Zowe Viewer",
"imageSrc": "assets/icon.png"
"imageSrc": "assets/v3/icon.png"
},
"descriptionKey": "Zowe Viewer",
"descriptionDefault": "Zowe Viewer",
Expand Down
2 changes: 1 addition & 1 deletion system-apps/app-prop-viewer/webClient/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "org.zowe.zlux.appmanager.app.propview.webclient",
"version": "2.0.0",
"version": "3.0.0",
"scripts": {
"start": "webpack --progress --watch",
"build": "set NODE_OPTIONS=--openssl-legacy-provider && webpack --progress",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Component ,Inject} from '@angular/core';
import { Angular2InjectionTokens } from 'pluginlib/inject-resources';

@Component({
selector: 'app-root',
selector: 'app-prop',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
Expand Down
2 changes: 1 addition & 1 deletion system-apps/app-prop-viewer/webClient/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
<app-root><app-prop></app-prop></app-root>
</body>
</html>

Expand Down
4 changes: 2 additions & 2 deletions system-apps/app-prop-viewer/webClient/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ var config = {
path.resolve(__dirname, './src/plugin.ts')
],
'output': {
'path': path.resolve(__dirname, '../web'),
'path': path.resolve(__dirname, '../web/v3'),
'filename': 'main.js',
},
'plugins': [
new CopyWebpackPlugin({
patterns: [
{
from: path.resolve(__dirname, './src/assets'),
to: path.resolve(__dirname, '../web/assets')
to: path.resolve(__dirname, '../web/v3/assets')
},
],
}),
Expand Down

0 comments on commit ddaac09

Please sign in to comment.