Package com.diffplug.spotless.maven.npm
Class AbstractNpmFormatterStepFactory
java.lang.Object
com.diffplug.spotless.maven.npm.AbstractNpmFormatterStepFactory
- All Implemented Interfaces:
FormatterStepFactory
- Direct Known Subclasses:
AbstractEslint,Prettier,Tsfmt
public abstract class AbstractNpmFormatterStepFactory
extends Object
implements FormatterStepFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FilebaseDir(FormatterStepConfig stepConfig) protected FilebuildDir(FormatterStepConfig stepConfig) protected FilecacheDir(FormatterStepConfig stepConfig) protected booleanmoreThanOneNonNull(Object... objects) protected Filenode(FormatterStepConfig stepConfig) protected Filenpm(FormatterStepConfig stepConfig) protected com.diffplug.spotless.npm.NpmPathResolvernpmPathResolver(FormatterStepConfig stepConfig) protected Filenpmrc(FormatterStepConfig stepConfig) propertiesAsMap(Properties devDependencyProperties) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.diffplug.spotless.maven.FormatterStepFactory
init, newFormatterStep
-
Field Details
-
SPOTLESS_NPM_INSTALL_CACHE_DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
AbstractNpmFormatterStepFactory
public AbstractNpmFormatterStepFactory()
-
-
Method Details
-
npm
-
node
-
npmrc
-
buildDir
-
cacheDir
-
baseDir
-
npmPathResolver
-
moreThanOneNonNull
-
propertiesAsMap
-