deno

package
v0.0.0-...-c693443 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRuntimeForProject

func IsRuntimeForProject(ctx context.Context, fs afero.Fs, dirPath string, sdkConfig hooks.SDKCLIConfig) bool

IsRuntimeForProject returns true if dirPath is a Deno project

Types

type Deno

type Deno struct {
	// contains filtered or unexported fields
}

Deno runtime type

func New

func New() *Deno

New creates a new Deno runtime

func (*Deno) HooksJSONTemplate

func (d *Deno) HooksJSONTemplate() []byte

HooksJSONTemplate returns the default hooks.json template

func (*Deno) IgnoreDirectories

func (d *Deno) IgnoreDirectories() []string

IgnoreDirectories is a list of directories to ignore when packaging the runtime for deployment.

func (*Deno) InstallProjectDependencies

func (d *Deno) InstallProjectDependencies(
	ctx context.Context,
	dirPath string,
	hookExecutor hooks.HookExecutor,
	ios iostreams.IOStreamer,
	fs afero.Fs,
	os types.Os,
) (
	string,
	error,
)

InstallProjectDependencies for the Deno project

func (*Deno) Name

func (d *Deno) Name() string

Name prints the name of the runtime

func (*Deno) PreparePackage

func (d *Deno) PreparePackage(ctx context.Context, sdkConfig hooks.SDKCLIConfig, hookExecutor hooks.HookExecutor, opts types.PreparePackageOpts) error

PreparePackage will prepare and copy the app in srcDirPath to dstDirPath as a release-ready bundle.

func (*Deno) SetVersion

func (d *Deno) SetVersion(version string)

SetVersion sets the Version value

func (*Deno) Version

func (d *Deno) Version() string

Version is the runtime version used by the hosted app deployment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL