javascript.Package
import type { javascript } from "https://garn.io/ts/v0.0.14/package.ts";
const { Package } = javascript;
Package
s are instructions to garn
about how to build a set of files.
For example for a go backend a package would define how to compile it into executables. For an npm project it may define how the project can be bundled into a set of files that can be served by a webserver.
You can build Package
s with garn build
.
type Package = {
tag: "package";
nixExpression: NixExpression;
description?: string;
};§Type
§
{
[src]tag: "package";
nixExpression: NixExpression;
description?: string;
}