You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/packages/console-dynamic-plugin-sdk/README.md
+97-63Lines changed: 97 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,6 @@ released, installed and upgraded independently from each other. To ensure compat
9
9
other plugins, each plugin must declare its dependencies using [semantic version](https://semver.org/)
10
10
ranges.
11
11
12
-
## Related Documentation
13
-
14
-
_[Extension Documentation](./docs/console-extensions.md)_ - Detailed documentation of every available console extension point.
15
-
16
-
_[API Documentation](./docs/api.md)_ - Detailed documentation of hooks, components, and other APIs provided by this package.
17
-
18
-
_[OpenShift Console Dynamic Plugins feature page](https://github.com/openshift/enhancements/blob/master/enhancements/console/dynamic-plugins.md)_ - A high level overview of dynamic plugins in relation to OLM operators and cluster administration.
19
-
20
12
Example project structure:
21
13
22
14
```
@@ -28,18 +20,30 @@ dynamic-demo-plugin/
28
20
└── webpack.config.ts
29
21
```
30
22
31
-
## SDK packages
23
+
## Related Documentation
24
+
25
+
_[Extension Documentation][console-doc-extensions]_ - Detailed documentation of all available Console
|`@openshift-console/plugin-shared`| Provides reusable components and utility functions to build OCP dynamic plugins. Compatible with multiple versions of OpenShift Console. |
39
42
40
43
## OpenShift Console Versions vs SDK Versions
41
44
42
-
Not all NPM packages are fully compatible with all versions of the Console. This table will help align compatible versions of the SDK Packages to versions of the OpenShift Console.
45
+
Not all NPM packages are fully compatible with all versions of the Console. This table will help align
46
+
compatible versions of distributable SDK packages to versions of the OpenShift Console.
43
47
44
48
| Console Version | SDK Package | Last Package Version |
@@ -220,8 +248,6 @@ list of plugin names (disable specific plugins) or an empty string (disable all
220
248
to ensure a single version of React etc. is loaded and used by the application.
221
249
- Enabling a plugin makes all of its extensions available for consumption. Individual extensions cannot
222
250
be enabled or disabled separately.
223
-
- Failure to resolve a code reference (unable to load module, missing module export etc.) will disable
224
-
the plugin.
225
251
226
252
## Publishing SDK packages
227
253
@@ -253,6 +279,14 @@ If the given package doesn't exist in npm registry, add `--access public` to `ya
253
279
254
280
## Future Deprecations in Shared Plugin Dependencies
255
281
256
-
Certain packages are currently in the shared plugin dependencies that will be removed in the future. Plugin authors will need to manually add these items to their configurations or chose other options:
282
+
Console provides certain packages as shared modules to all of its dynamic plugins. Some of these shared
283
+
modules may be removed in the future. Plugin authors will need to manually add these items to their webpack
284
+
configs or choose other options.
285
+
286
+
The list of shared modules planned for deprecation:
0 commit comments