-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#140): Hoist nested sub-sub-modules back to sub-modules
* Removes nested kubernetes-api workspace in favour of making its sub-modules first-class citizens of main root workspace. * Only reason for nesting was to "hide" the k8-api testing app. However, given time this can be converted into one of the full testing apps for hawtio-online so hiding it is unnecessary. Fixes #140 (4)
- Loading branch information
1 parent
73b6647
commit 1a0df1e
Showing
54 changed files
with
242 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
output = { | ||
path: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app/build', | ||
pathinfo: false, | ||
filename: 'static/js/[name].[contenthash:8].js', | ||
chunkFilename: 'static/js/[name].[contenthash:8].chunk.js', | ||
assetModuleFilename: 'static/media/[name].[hash][ext]', | ||
publicPath: 'auto', | ||
devtoolModuleFilenameTemplate: [Function (anonymous)] | ||
} | ||
|
||
plugins = [ | ||
Dotenv { | ||
config: { | ||
path: './.env', | ||
prefix: 'process.env.', | ||
safe: true, | ||
allowEmptyValues: true, | ||
defaults: true, | ||
systemvars: true, | ||
ignoreStub: true | ||
} | ||
}, | ||
ModuleFederationPlugin { | ||
_options: { | ||
name: 'app', | ||
filename: 'remoteEntry.js', | ||
exposes: {}, | ||
shared: [Object] | ||
} | ||
}, | ||
HtmlWebpackPlugin { | ||
userOptions: { | ||
inject: true, | ||
template: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app/public/index.html', | ||
minify: [Object] | ||
}, | ||
version: 5 | ||
}, | ||
InlineChunkHtmlPlugin { | ||
htmlWebpackPlugin: [class HtmlWebpackPlugin] { | ||
version: 5, | ||
getHooks: [Function: getHtmlWebpackPluginHooks], | ||
createHtmlTagObject: [Function: createHtmlTagObject] | ||
}, | ||
tests: [ /runtime-.+[.]js/ ] | ||
}, | ||
InterpolateHtmlPlugin { | ||
htmlWebpackPlugin: [class HtmlWebpackPlugin] { | ||
version: 5, | ||
getHooks: [Function: getHtmlWebpackPluginHooks], | ||
createHtmlTagObject: [Function: createHtmlTagObject] | ||
}, | ||
replacements: { | ||
NODE_ENV: 'production', | ||
PUBLIC_URL: '', | ||
WDS_SOCKET_HOST: undefined, | ||
WDS_SOCKET_PATH: undefined, | ||
WDS_SOCKET_PORT: undefined, | ||
FAST_REFRESH: true, | ||
REACT_APP_KUBERNETES_MASTER: 'pgr' | ||
} | ||
}, | ||
ModuleNotFoundPlugin { | ||
appPath: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app', | ||
yarnLockFile: undefined, | ||
useYarnCommand: [Function: bound useYarnCommand], | ||
getRelativePath: [Function: bound getRelativePath], | ||
prettierError: [Function: bound prettierError] | ||
}, | ||
DefinePlugin { definitions: { 'process.env': [Object] } }, | ||
MiniCssExtractPlugin { | ||
_sortedModulesCache: WeakMap { <items unknown> }, | ||
options: { | ||
filename: 'static/css/[name].[contenthash:8].css', | ||
ignoreOrder: true, | ||
experimentalUseImportModule: undefined, | ||
runtime: true, | ||
chunkFilename: 'static/css/[name].[contenthash:8].chunk.css' | ||
}, | ||
runtimeOptions: { insert: undefined, linkType: 'text/css', attributes: undefined } | ||
}, | ||
WebpackManifestPlugin { | ||
options: { | ||
assetHookStage: Infinity, | ||
basePath: '', | ||
fileName: 'asset-manifest.json', | ||
filter: null, | ||
generate: [Function: generate], | ||
map: null, | ||
publicPath: '/', | ||
removeKeyHash: /([a-f0-9]{16,32}\.?)/gi, | ||
seed: undefined, | ||
serialize: [Function: serialize], | ||
sort: null, | ||
transformExtensions: /^(gz|map)$/i, | ||
useEntryKeys: false, | ||
useLegacyEmit: false, | ||
writeToFileEmit: false | ||
} | ||
}, | ||
IgnorePlugin { | ||
options: { resourceRegExp: /^\.\/locale$/, contextRegExp: /moment$/ }, | ||
checkIgnore: [Function: bound checkIgnore] | ||
}, | ||
ForkTsCheckerWebpackPlugin { | ||
options: { | ||
async: false, | ||
typescript: [Object], | ||
issue: [Object], | ||
logger: [Object] | ||
} | ||
}, | ||
ESLintWebpackPlugin { | ||
key: 'ESLintWebpackPlugin', | ||
options: { | ||
extensions: [Array], | ||
emitError: true, | ||
emitWarning: true, | ||
failOnError: true, | ||
resourceQueryExclude: [], | ||
formatter: '/home/phantomjinx/programming/openshift/hawtio-online/node_modules/react-dev-utils/eslintFormatter.js', | ||
eslintPath: '/home/phantomjinx/programming/openshift/hawtio-online/node_modules/react-scripts/node_modules/eslint/lib/api.js', | ||
context: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app/src', | ||
cache: true, | ||
cacheLocation: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app/node_modules/.cache/.eslintcache', | ||
cwd: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app', | ||
resolvePluginsRelativeTo: '/home/phantomjinx/programming/openshift/hawtio-online/node_modules/react-scripts/config', | ||
baseConfig: [Object], | ||
ignore: true | ||
}, | ||
run: [Function: bound run] AsyncFunction | ||
} | ||
] | ||
|
||
resolve = { | ||
modules: [ | ||
'/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app/node_modules', | ||
'/home/phantomjinx/programming/openshift/hawtio-online/node_modules' | ||
], | ||
extensions: [ | ||
'.web.mjs', '.mjs', | ||
'.web.js', '.js', | ||
'.web.ts', '.ts', | ||
'.web.tsx', '.tsx', | ||
'.json', '.web.jsx', | ||
'.jsx' | ||
], | ||
alias: { | ||
'react-native': 'react-native-web', | ||
src: '/home/phantomjinx/programming/openshift/hawtio-online/packages/kubernetes-api-app/src' | ||
}, | ||
plugins: [ | ||
ModuleScopePlugin { | ||
appSrcs: [Array], | ||
allowedFiles: [Set], | ||
allowedPaths: [Array] | ||
} | ||
], | ||
fallback: { | ||
path: '/home/phantomjinx/programming/openshift/hawtio-online/node_modules/path-browserify/index.js', | ||
os: '/home/phantomjinx/programming/openshift/hawtio-online/node_modules/os-browserify/main.js' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.