Skip to content

Commit

Permalink
HAC-1808: Update release numbers in dynamic plugin sdk doc generation…
Browse files Browse the repository at this point in the history
… script and README compatibility table (#11794)
  • Loading branch information
TheRealJon committed Jul 29, 2022
1 parent 6f329fa commit 4b44e42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Expand Up @@ -65,6 +65,7 @@
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
"generate": "yarn generate-graphql && yarn build-plugin-sdk && yarn build-console-plugin-shared",
"generate-graphql": "graphql-codegen --config graphql-codegen.yml",
"generate-plugin-sdk-docs": "yarn --cwd packages/console-dynamic-plugin-sdk generate-doc",
"build-plugin-sdk": "yarn --cwd packages/console-dynamic-plugin-sdk build",
"build-console-plugin-shared": "yarn --cwd packages/console-plugin-shared build",
"i18n-to-po": "node ./i18n-scripts/i18n-to-po.js",
Expand Down
4 changes: 3 additions & 1 deletion frontend/packages/console-dynamic-plugin-sdk/README.md
Expand Up @@ -43,8 +43,10 @@ Not all NPM packages are fully compatible with all versions of the Console. This

| Console Version | SDK Package | Last Package Version |
| --- | --- | --- |
| 4.11.x | `@openshift-console/dynamic-plugin-sdk` | Latest |
| 4.12.x | `@openshift-console/dynamic-plugin-sdk` | Latest |
| | `@openshift-console/dynamic-plugin-sdk-webpack` | Latest |
| 4.11.x | `@openshift-console/dynamic-plugin-sdk` | 0.0.12 |
| | `@openshift-console/dynamic-plugin-sdk-webpack` | 0.0.7 |
| 4.10.x **[Tech]** | `@openshift-console/dynamic-plugin-sdk` | 0.0.3 |
| | `@openshift-console/dynamic-plugin-sdk-webpack` | 0.0.6 |
| 4.9.x **[Dev]** | `@openshift-console/dynamic-plugin-sdk` | 0.0.0-alpha18 |
Expand Down
Expand Up @@ -12,7 +12,7 @@ import { getProgramFromFile, printJSDocComments } from './utils/typescript';

const EXAMPLE = '@example';
const DYNAMIC_PKG_PATH = '@console/dynamic-plugin-sdk/';
const GITHUB_URL = 'https://github.com/openshift/console/tree/release-4.11/frontend';
const GITHUB_URL = 'https://github.com/openshift/console/tree/release-4.12/frontend';

const getConsoleExtensions = () => {
const program = getProgramFromFile(resolvePath('src/schema/console-extensions.ts'));
Expand Down

0 comments on commit 4b44e42

Please sign in to comment.