trait TypeScriptModule extends BaseClass with Module
- Alphabetic
- By Inheritance
- TypeScriptModule
- Module
- BaseClass
- Cacher
- Cacher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait TypeScriptTests extends BaseClass with TypeScriptModule
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bundle: T[PathRef]
- def bundleExternal: T[Seq[Value]]
- def bundleFlags: T[Map[String, Value]]
- def bundleScriptBuilder: Task[String]
configure esbuild with
@esbuild-plugins/tsconfig-paths
include .d.ts filesconfigure esbuild with
@esbuild-plugins/tsconfig-paths
include .d.ts files- Annotations
- @Scaladoc()
- def cachedTarget[T](t: => T)(implicit c: Enclosing): T
- Attributes
- protected[this]
- Definition Classes
- Cacher → Cacher
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def compile: T[PathRef]
- def compilerOptions: T[Map[String, Value]]
- def compilerOptionsBuilder: Task[Map[String, Value]]
- def compilerOptionsPaths: T[Map[String, String]]
- def computedArgs: T[Seq[String]]
- def createNodeModulesSymlink: Task[Unit]
create a createNodeModulesSymlink for node_modules in compile.dest removes need for node_modules prefix in import statements
node_modules/<some-package>
import * as somepackage from "<some-package>"create a createNodeModulesSymlink for node_modules in compile.dest removes need for node_modules prefix in import statements
node_modules/<some-package>
import * as somepackage from "<some-package>"- Annotations
- @Scaladoc()
- def customTsConfig: T[Boolean]
Mill by default will use local tsconfig if one is provided, This can set to
false
if you would prefer mill to use the generated tsconfig, if you can not for some reason just not delete the local one.Mill by default will use local tsconfig if one is provided, This can set to
false
if you would prefer mill to use the generated tsconfig, if you can not for some reason just not delete the local one.Regardless of the configuration, mill will auto gen a tsconfig if one does not exist in
T.workspace
.- Annotations
- @Scaladoc()
- def declarationDir: T[String]
- def enableEsm: T[Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executionFlags: T[Map[String, String]]
- def forkEnv: T[Map[String, String]]
- def generatedSources: T[Seq[PathRef]]
- def generatedSourcesPathsBuilder: T[Seq[(String, String)]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mainFileName: T[String]
- def mainFilePath: T[Path]
- implicit def millModuleBasePath: BasePath
- Definition Classes
- Module
- def millModuleDirectChildren: Seq[define.Module]
- Definition Classes
- Module
- implicit def millModuleExternal: External
- Definition Classes
- Module
- implicit def millModuleSegments: Segments
- Definition Classes
- Module
- implicit def millModuleShared: Foreign
- Definition Classes
- Module
- def millOuterCtx: Ctx
- Definition Classes
- BaseClass
- def moduleDeps: Seq[TypeScriptModule]
- final def moduleDir: Path
- Definition Classes
- Module
- final def moduleInternal: millInternal
- Definition Classes
- Module
- def moduleName: String
- def modulePaths: T[Seq[(String, String)]]
- final def moduleSegments: Segments
- Definition Classes
- Module
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def npmDeps: T[Seq[String]]
- def npmDevDeps: T[Seq[String]]
- def npmInstall: T[PathRef]
- def options: T[Map[String, Value]]
- def packageJson: T[TypeScriptModule.PackageJson]
- def recModuleDeps: Seq[TypeScriptModule]
- def resources: T[Seq[PathRef]]
- def run(args: define.Args): Command[CommandResult]
- def runTypeCheck: T[Boolean]
Run
ts-node
command if set totrue
.Run
ts-node
command if set totrue
.ts-node
will build declarations and or js output, depending on ts-config.- Annotations
- @Scaladoc()
- def sources: T[Seq[PathRef]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- TypeScriptModule → Module → AnyRef → Any
- def transitiveNpmDeps: T[Seq[String]]
- def transitiveNpmDevDeps: T[Seq[String]]
- def transitiveUnmanagedDeps: T[Seq[PathRef]]
- def tsDeps: T[Seq[String]]
Typescript versioning:
Typescript versioning:
- typescript
- ts-node
- tsconfig-paths
- @types/node
- Annotations
- @Scaladoc()
- def tscAllSources: T[IndexedSeq[String]]
- def tscCopySources: Task[Unit]
- def typeRoots: Task[Value]
- def unmanagedDeps: T[Seq[PathRef]]
- def upstreamPathsBuilder: T[Seq[(String, String)]]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def millSourcePath: Path
- Definition Classes
- Module
- Annotations
- @deprecated
- Deprecated
(Since version Mill 0.12.11) For read-access use moduleDir instead. Calls like
Task.Sources(millSourcePath / "foo")
can be replace withTask.Sources("foo")