[]previous and next page

LocalPack

Use ShadowJS from local tarballs instead of the registry (see ScaffoldOptions.local).

Use ShadowJS from local tarballs instead of the registry (see ScaffoldOptions.local).

Import#

ts
import type { LocalPack } from "create-shadow-app";

Signature#

ts
interface LocalPack {
  /** What `pack:local` wrote. */
  readonly manifest: LocalManifest;
  /**
   * Absolute directory of the project that will be written. Tarballs below it are referenced by a
   * relative `file:` path, others by an absolute one. Omit it to always use absolute paths.
   */
  readonly from?: string | undefined;
}

Members#

Name Type Description
manifest readonly manifest: LocalManifest What pack:local wrote.
from? readonly from?: string | undefined Absolute directory of the project that will be written. Tarballs below it are referenced by a relative file: path, others by an absolute one. Omit it to always use absolute paths.