zappie 0.1.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 +18 -0
- package/README.md +36 -8
- package/package.json +3 -2
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/README.md
CHANGED
|
@@ -1,13 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# zappie
|
|
2
2
|
|
|
3
|
-
|
|
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
5
|
```sh
|
|
6
|
-
zappie
|
|
7
|
-
zappie
|
|
8
|
-
zappie diff
|
|
9
|
-
zappie doctor
|
|
10
|
-
zappie check
|
|
6
|
+
npx zappie list
|
|
7
|
+
npx zappie add cart-drawer
|
|
11
8
|
```
|
|
12
9
|
|
|
13
|
-
`zappie
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zappie",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Install Zappie kit components and check storefront projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin",
|
|
11
|
-
"dist"
|
|
11
|
+
"dist",
|
|
12
|
+
"CHANGELOG.md"
|
|
12
13
|
],
|
|
13
14
|
"engines": {
|
|
14
15
|
"node": ">=20"
|