public abstract class NodeUpdater extends Object implements FallibleCommand
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEP_NAME_FLOW_DEPS |
protected FrontendDependencies |
frontDeps
The
FrontendDependencies object representing the application
dependencies. |
protected File |
generatedFolder
Base directory for flow generated files.
|
protected File |
nodeModulesFolder
The path to the
FrontendUtils.NODE_MODULES directory. |
protected File |
npmFolder
Base directory for
Constants.PACKAGE_JSON,
FrontendUtils.WEBPACK_CONFIG, FrontendUtils.NODE_MODULES. |
| Modifier | Constructor and Description |
|---|---|
protected |
NodeUpdater(ClassFinder finder,
FrontendDependencies frontendDependencies,
File npmFolder,
File generatedPath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
resolveResource(String importPath,
boolean isJsModule) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteprotected static final String DEP_NAME_FLOW_DEPS
protected final File npmFolder
Constants.PACKAGE_JSON,
FrontendUtils.WEBPACK_CONFIG, FrontendUtils.NODE_MODULES.protected final File nodeModulesFolder
FrontendUtils.NODE_MODULES directory.protected final File generatedFolder
protected final FrontendDependencies frontDeps
FrontendDependencies object representing the application
dependencies.protected NodeUpdater(ClassFinder finder, FrontendDependencies frontendDependencies, File npmFolder, File generatedPath)
finder - a reusable class finderfrontendDependencies - a reusable frontend dependenciesnpmFolder - folder with the `package.json` filegeneratedPath - folder where flow generated files will be placed.Copyright © 2019. All rights reserved.