Package com.diffplug.spotless.npm
Class TsFmtFormatterStep.State
java.lang.Object
com.diffplug.spotless.npm.TsFmtFormatterStep.State
- All Implemented Interfaces:
Serializable
- Enclosing class:
TsFmtFormatterStep
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.diffplug.spotless.npm.NpmFormatterStepLocations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
prepareNodeServerLayout
(com.diffplug.spotless.npm.NodeServerLayout layout) protected static String
replaceDevDependencies
(String template, Map<String, String> devDependencies) com.diffplug.spotless.npm.NpmFormatterStepStateBase.Runtime
-
Field Details
-
locations
public final com.diffplug.spotless.npm.NpmFormatterStepLocations locations
-
-
Constructor Details
-
State
public State(String stepName, Map<String, String> versions, File projectDir, File buildDir, File cacheDir, NpmPathResolver npmPathResolver, @Nullable TypedTsFmtConfigFile configFile, @Nullable Map<String, throws IOExceptionObject> inlineTsFmtSettings) - Throws:
IOException
-
-
Method Details
-
createFormatterFunc
-
toRuntime
public com.diffplug.spotless.npm.NpmFormatterStepStateBase.Runtime toRuntime() -
prepareNodeServerLayout
protected void prepareNodeServerLayout(com.diffplug.spotless.npm.NodeServerLayout layout) throws IOException - Throws:
IOException
-
replaceDevDependencies
-