Skip to content

Commit

Permalink
Restric the number of default shared packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Aug 28, 2023
1 parent f8bb259 commit 42bd4b2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/config-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redhat-cloud-services/frontend-components-config-utilities",
"version": "3.0.0",
"version": "3.0.1",
"description": "Utilities for shared config used in RedHat Cloud Services project.",
"main": "index.js",
"types": "index.d.ts",
Expand Down
8 changes: 0 additions & 8 deletions packages/config-utils/src/federated-modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,13 @@ const defaultPluginMetaDataJSON = {
};

const createIncludes = (eager = false): { [module: string]: WebpackSharedConfig } => ({
'@patternfly/react-core': { eager },
'@patternfly/react-table': { eager },
'@patternfly/react-tokens': {},
'@patternfly/react-icons': {},
'@patternfly/quickstarts': { singleton: true, eager },
'@redhat-cloud-services/chrome': { singleton: true },
'@redhat-cloud-services/frontend-components': {},
'@redhat-cloud-services/frontend-components-utilities': {},
'@redhat-cloud-services/frontend-components-notifications': {},
axios: {},
lodash: {},
'redux-promise-middleware': {},
react: { singleton: true, eager },
'react-dom': { singleton: true, eager },
'react-router-dom': { eager },
});

export type FederatedModulesConfig = {
Expand Down
4 changes: 2 additions & 2 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redhat-cloud-services/frontend-components-config",
"version": "6.0.2",
"version": "6.0.3",
"description": "Config plugins and settings for RedHat Cloud Services project.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.8",
"@redhat-cloud-services/frontend-components-config-utilities": "^3.0.0",
"@redhat-cloud-services/frontend-components-config-utilities": "^3.0.1",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.3",
"@swc/core": "^1.3.76",
"assert": "^2.0.0",
Expand Down

0 comments on commit 42bd4b2

Please sign in to comment.