Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
checkout
Package checkout implements the `shoplazza checkout-extension` command group (alias `checkout`): the build/dev toolchain plus the extension lifecycle.
|
Package checkout implements the `shoplazza checkout-extension` command group (alias `checkout`): the build/dev toolchain plus the extension lifecycle. |
|
profile
Package profile implements "shoplazza profile" — managing named store execution contexts (account + store domain + scopes) on top of the v2 multi-tenant config.
|
Package profile implements "shoplazza profile" — managing named store execution contexts (account + store domain + scopes) on top of the v2 multi-tenant config. |
|
theme_extension
Package theme_extension implements the top-level `theme-extension` command group (alias `te`): a Go port of v1's theme-extension module.
|
Package theme_extension implements the top-level `theme-extension` command group (alias `te`): a Go port of v1's theme-extension module. |
|
internal
|
|
|
app/project
Package project models an app project: its root, multi-toml configs, and the project-level .shoplazza/app-state.json that records the active config.
|
Package project models an app project: its root, multi-toml configs, and the project-level .shoplazza/app-state.json that records the active config. |
|
app/scaffold
Package scaffold rewrites an already-cloned extension template into a finished extension.
|
Package scaffold rewrites an already-cloned extension template into a finished extension. |
|
binmgr
Package binmgr downloads and caches external binaries (cloudflared, javy), keyed by name+version under the user cache dir.
|
Package binmgr downloads and caches external binaries (cloudflared, javy), keyed by name+version under the user cache dir. |
|
checkout/scaffold
Package scaffold writes new checkout extension projects from an embedded template.
|
Package scaffold writes new checkout extension projects from an embedded template. |
|
devserver
Package devserver is a thin, stdlib-level dev server core: port allocation from a base port, http.Server lifecycle, and graceful shutdown.
|
Package devserver is a thin, stdlib-level dev server core: port allocation from a base port, http.Server lifecycle, and graceful shutdown. |
|
extbuild/javy
Package javy wraps the javy CLI to compile a function extension's JS entry to WASM: `javy build <entry> -o <out>`, output named <name>.<md5(entry)>.wasm, with non-empty stderr treated as failure.
|
Package javy wraps the javy CLI to compile a function extension's JS entry to WASM: `javy build <entry> -o <out>`, output named <name>.<md5(entry)>.wasm, with non-empty stderr treated as failure. |
|
fsx
Package fsx holds small filesystem helpers shared across the CLI.
|
Package fsx holds small filesystem helpers shared across the CLI. |
|
jsbuild
Package jsbuild locates and drives the Node/Vite toolchain shipped inside the shoplazza-cli npm package (scripts/jsbuild/ + node_modules/).
|
Package jsbuild locates and drives the Node/Vite toolchain shipped inside the shoplazza-cli npm package (scripts/jsbuild/ + node_modules/). |
|
keychain
Package keychain provides secure storage for CLI secrets (access tokens, UAT tokens).
|
Package keychain provides secure storage for CLI secrets (access tokens, UAT tokens). |
|
lockfile
Package lockfile wraps gofrs/flock with a TryLock+timeout loop.
|
Package lockfile wraps gofrs/flock with a TryLock+timeout loop. |
|
migrate
Package migrate performs the one-time v1 → v2 config/credential migration.
|
Package migrate performs the one-time v1 → v2 config/credential migration. |
|
ossupload
Package ossupload uploads a file to a store's Aliyun OSS bucket via a presigned POST and returns its public URL.
|
Package ossupload uploads a file to a store's Aliyun OSS bucket via a presigned POST and returns its public URL. |
|
testenv
Package testenv holds shared helpers for isolating per-test process state.
|
Package testenv holds shared helpers for isolating per-test process state. |
|
theme
Package theme provides error-classification helpers shared by the theme subpackages and the cmd/themes/* shortcut layer.
|
Package theme provides error-classification helpers shared by the theme subpackages and the cmd/themes/* shortcut layer. |
|
theme/devstate
Package devstate persists the per-directory development-theme registry used by `themes serve` when --theme-id is omitted: a map of store host → dev theme id, stored in <theme-dir>/.shoplazza/theme-state.json.
|
Package devstate persists the per-directory development-theme registry used by `themes serve` when --theme-id is omitted: a map of store host → dev theme id, stored in <theme-dir>/.shoplazza/theme-state.json. |
|
theme_extension
Package te holds the te (theme-extension) leg's business logic: project config (the extension_id truth source), store-openapi calls, and the theme-app/-wrapped scaffold.
|
Package te holds the te (theme-extension) leg's business logic: project config (the extension_id truth source), store-openapi calls, and the theme-app/-wrapped scaffold. |
|
tunnel
Package tunnel exposes a local dev port over a public HTTPS URL for `app dev`.
|
Package tunnel exposes a local dev port over a public HTTPS URL for `app dev`. |
|
themes
Package themes provides shortcut workflow commands for the themes resource.
|
Package themes provides shortcut workflow commands for the themes resource. |
Click to show internal directories.
Click to hide internal directories.