zappie 0.0.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ # zappie
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1e6f420: Each package now has a README written for people installing it from npm: what it does, how to install and use it, its entry points, and links to docs.zappie.ai. `@zappie/kit` gains its first README.
8
+
9
+ ## 0.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - - `@zappie/tokens`: Publish the semantic storefront token contract, CSS aliases, validation and compilation tools.
14
+ - `@zappie/sdk`: Publish the framework-agnostic storefront client and its React, server, checkout, customer, places, visits and URL entries.
15
+ - `@zappie/foundations`: Publish accessible, unstyled React primitives for storefront catalogue, item, fulfilment and cart experiences.
16
+ - `@zappie/theme-base`: Publish the reusable base storefront theme and its catalogue, item and cart surfaces.
17
+ - `@zappie/kit`: Publish the built component registry consumed by the Zappie CLI.
18
+ - `zappie`: Publish the component CLI with `add`, `list` and `diff`.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Zappie
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # zappie
2
2
 
3
- The Zappie command line for building and shipping storefronts on [Zappie](https://zappie.ai).
3
+ The Zappie command line for building storefronts. Add ready-made components from the kit to your project, keep them up to date, and check your project's setup.
4
4
 
5
- This name is held by Zappie for the CLI, which isn't released yet. The first version will add `zappie init`, `zappie add` and `zappie deploy`. Nothing in this placeholder runs.
5
+ ```sh
6
+ npx zappie list
7
+ npx zappie add cart-drawer
8
+ ```
9
+
10
+ `zappie add` copies a component's source into your project, along with the components it needs, so you can change it like your own code. It also installs any npm packages the component uses, and records what it added in `zappie.json`.
11
+
12
+ ## Commands
13
+
14
+ | Command | What it does |
15
+ | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
16
+ | `zappie add <name...>` | Add components from the registry. `--dry-run` shows the plan, `--overwrite` replaces files you've changed, and `--no-install` skips npm installs. |
17
+ | `zappie list` | Show the components in the registry. `--installed` shows the ones in your project. |
18
+ | `zappie diff [name]` | Compare your components with the registry. `--apply` merges updates into files you've changed. |
19
+ | `zappie doctor` | Check your project, its `zappie.json` and its installed components. |
20
+ | `zappie check [dir]` | Run the storefront checks from `@zappie/check` in your project. |
21
+ | `zappie verify [url]` | Test a storefront through customer journeys with `@zappie/verify`. |
22
+
23
+ Add `--json` to any command for machine-readable output, including errors. Components come from `https://registry.zappie.ai/v1` unless you pass `--registry <url|dir>` or set `registry` in `zappie.json`.
24
+
25
+ `zappie check` and `zappie verify` run `@zappie/check` and `@zappie/verify` from your project. Install whichever you use as a dev dependency. `@zappie/verify` also needs `@playwright/test` and its Chromium browser.
26
+
27
+ Run `zappie --help` for every option.
28
+
29
+ ## Docs
30
+
31
+ - [CLI reference](https://docs.zappie.ai/cli)
32
+ - [Kit components](https://docs.zappie.ai/kit)
33
+ - [Build a storefront](https://docs.zappie.ai/guides/build-a-storefront)
34
+
35
+ ## Status
36
+
37
+ The CLI is at `0.x`. Commands and options can change in a minor release while it settles. Each change is listed in `CHANGELOG.md`.
38
+
39
+ ## License
40
+
41
+ MIT
package/bin/zappie.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import "../dist/cli.js";