diff --git a/CHANGELOG.md b/CHANGELOG.md index 7920c31..82c98b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to the sample react app will be documented in this file. +## 2.0.1 + +- Bugfix: Schema file was not included, preventing installation as a component +- Bugfix: Manifest build content template was never resolved, so it has been removed. + + ## 2.0.0 - Breaking change: The app was enhanced to work with Zowe v2. It is not guaranteed to work with the v1 desktop. diff --git a/manifest.yaml b/manifest.yaml index e79c2d3..8b981ce 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -2,7 +2,7 @@ name: react-sample id: org.zowe.zlux.sample.react # Without the v -version: 2.0.0 +version: 2.0.1 # Human readable component name title: React Sample # Human readable component description @@ -19,10 +19,7 @@ repository: type: git url: https://github.com/zowe/sample-react-app.git # we do not specify encoding here because its already tagged ascii -build: - branch: "{{build.branch}}" - number: "{{build.number}}" - commitHash: "{{build.commitHash}}" - timestamp: "{{build.timestamp}}" appfwPlugins: - path: . +schemas: + configs: schemas/trivial-schema.json diff --git a/pluginDefinition.json b/pluginDefinition.json index 0da692b..b16b882 100644 --- a/pluginDefinition.json +++ b/pluginDefinition.json @@ -1,7 +1,7 @@ { "identifier": "org.zowe.zlux.sample.react", "apiVersion": "2.0.0", - "pluginVersion": "2.0.0", + "pluginVersion": "2.0.1", "pluginType": "application", "license": "EPL-2.0", "author": "Zowe", diff --git a/schemas/trivial-schema.json b/schemas/trivial-schema.json new file mode 100644 index 0000000..584a6ec --- /dev/null +++ b/schemas/trivial-schema.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://json-schema.org/draft/2019-09/schema", + "$id": "https://abcdef.com/schemas/v2/sample-react", + "allOf": [ + { "$ref": "https://zowe.org/schemas/v2/server-base" }, + { + "type": "object", + "properties": { + "components": { + "type": "object", + "additionalProperties": true, + "properties": { + "sample-react": { + "$ref": "https://zowe.org/schemas/v2/server-base#zoweComponent" + } + } + } + } + } + ] +}