Files
shop/README.md
libretech 0561f7ce94
build / test (pull_request) Successful in 11s
build / build (pull_request) Successful in 1m1s
ci: run the unit tests; build pull requests, publish only release tags
As libreshop/cms adopted: a test job pipes the source into the image's base
(the Dockerfile's first FROM, node:22-slim) and runs npm test there without
network. The image build needs it and runs for pull requests (build only)
and v* tags (published if PUBLISH_ENABLED). main no longer publishes :main
and :sha-* images; mp pins the shop image by version tag.

Refs libretech/mp#71
2026-10-09 02:33:17 +02:00

849 B

libreshop/shop

Vue/Nuxt-style storefront base.

Part of the libreshop toolkit. Image published at git.librete.ch/libreshop/shop on v* tags; pull requests build it without publishing.

Source

This repo was extracted from mp/shop/ on 2026-04-29; mp was the first concrete adapter consuming the toolkit. mp's compose.yml now pulls git.librete.ch/libreshop/shop:<pin> instead of building locally.

Build locally

docker build -t libreshop/shop:dev .

Test

npm test runs the unit tests in tests/unit/ on Node 22.6 or later, without installing dependencies.

Adapter contract

See docker-entrypoint.sh and Dockerfile for the runtime surface. Adapters configure the component via env vars and bind-mounted volumes; do not patch the running container or rely on internal paths.