nodejs
No long description provided.
Installation
dagger install github.com/RawkodeAcademy/Daggerverse/nodejs@74534f86845f55983581c2ad8aa329b8e2859943
Entrypoint
Return Type
Nodejs
Example
dagger -m github.com/RawkodeAcademy/Daggerverse/nodejs@74534f86845f55983581c2ad8aa329b8e2859943 call \
func (m *myModule) example() *Nodejs {
return dag.
Nodejs()
}
@function
def example() -> dag.Nodejs:
return (
dag.nodejs()
)
@func()
example(): Nodejs {
return dag
.nodejs()
}
Types
Nodejs 🔗
withBun() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
version | String ! | "latest" | No description provided |
Example
dagger -m github.com/RawkodeAcademy/Daggerverse/nodejs@74534f86845f55983581c2ad8aa329b8e2859943 call \
with-bun --directory DIR_PATH --version string
func (m *myModule) example(directory *Directory, version string) *Container {
return dag.
Nodejs().
WithBun(directory, version)
}
@function
def example(directory: dagger.Directory, version: str) -> dagger.Container:
return (
dag.nodejs()
.with_bun(directory, version)
)
@func()
example(directory: Directory, version: string): Container {
return dag
.nodejs()
.withBun(directory, version)
}
withNpm() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
version | String ! | "latest" | No description provided |
Example
dagger -m github.com/RawkodeAcademy/Daggerverse/nodejs@74534f86845f55983581c2ad8aa329b8e2859943 call \
with-npm --directory DIR_PATH --version string
func (m *myModule) example(directory *Directory, version string) *Container {
return dag.
Nodejs().
WithNpm(directory, version)
}
@function
def example(directory: dagger.Directory, version: str) -> dagger.Container:
return (
dag.nodejs()
.with_npm(directory, version)
)
@func()
example(directory: Directory, version: string): Container {
return dag
.nodejs()
.withNpm(directory, version)
}