Skip to content

Commit

Permalink
Zowe Suite v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zowe-robot authored Sep 17, 2024
2 parents 221e345 + 583cbc0 commit 6200c93
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 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
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export class Angular2PluginFactory extends PluginFactory {
let pluginDefBase = pluginDefinition.getBasePlugin();
let pluginDefAny:any = (pluginDefBase as any);
let entryPoint = 'main.js';
if (pluginDefAny.getWebEntryPoint) {
entryPoint = pluginDefAny.getWebEntryPoint() || 'main.js';
if (pluginDefAny.getWebEntrypoint) {
entryPoint = pluginDefAny.getWebEntrypoint() || 'main.js';
}
return ZoweZLUX.uriBroker.pluginResourceUri(pluginDefBase, entryPoint);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class ReactPluginFactory extends PluginFactory {
let pluginDefBase = pluginDefinition.getBasePlugin();
let pluginDefAny:any = (pluginDefBase as any);
let entryPoint = 'main.js';
if (pluginDefAny.getWebEntryPoint) {
entryPoint = pluginDefAny.getWebEntryPoint() || 'main.js';
if (pluginDefAny.getWebEntrypoint) {
entryPoint = pluginDefAny.getWebEntrypoint() || 'main.js';
}
return ZoweZLUX.uriBroker.pluginResourceUri(pluginDefBase, entryPoint);
}
Expand Down

0 comments on commit 6200c93

Please sign in to comment.