Skip to content

Commit

Permalink
Revert "CONSOLE-3905: (dynamic-plugin-sdk) share webpack resolution w…
Browse files Browse the repository at this point in the history
…ith main repo"

This reverts commit 0f7beeb.
  • Loading branch information
logonoff committed Dec 5, 2024
1 parent 0f7beeb commit 91b5351
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion frontend/packages/console-dynamic-plugin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ejs": "3.x",
"fs-extra": "9.x",
"ts-json-schema-generator": "0.98.0",
"tsutils": "3.21.0"
"tsutils": "3.21.0",
"webpack": "^5.75.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,14 @@ export const getWebpackPackage: GetPackageDefinition = (
main: 'lib/lib-webpack.js',
...commonManifestFields,
dependencies: {
...parseDeps(sdkPackage, ['@openshift/dynamic-plugin-sdk-webpack'], missingDepCallback),
...parseDeps(
sdkPackage,
['@openshift/dynamic-plugin-sdk-webpack', 'webpack'],
missingDepCallback,
),
...parseDeps(
rootPackage,
['ajv', 'chalk', 'comment-json', 'find-up', 'glob', 'read-pkg', 'semver', 'webpack'],
['ajv', 'chalk', 'comment-json', 'find-up', 'glob', 'read-pkg', 'semver'],
missingDepCallback,
),
...parseDepsAs(rootPackage, { 'lodash-es': 'lodash' }, missingDepCallback),
Expand Down

0 comments on commit 91b5351

Please sign in to comment.