@zappie/kit 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 +27 -0
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @zappie/kit
|
|
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
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# @zappie/kit
|
|
2
|
+
|
|
3
|
+
Ready-made, styled storefront components that you copy into your project and own: item cards, the cart drawer, checkout and sign-in buttons, address and schedule pickers, search, order status, store headers and footers, and whole page blocks. They're built on `@zappie/foundations`, `@zappie/sdk` and `@zappie/tokens`, so they follow your theme's `--z-*` tokens.
|
|
4
|
+
|
|
5
|
+
You don't install this package directly. Add components with the Zappie CLI:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npx zappie list
|
|
9
|
+
npx zappie add cart-drawer
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
`zappie add` copies the component and the components it needs into your project, then installs the npm packages they use. Use `zappie diff` to see and merge later updates.
|
|
13
|
+
|
|
14
|
+
This package holds the registry the CLI reads: one JSON file per component, with its source, version and dependencies. The same files are served at `https://registry.zappie.ai/v1`.
|
|
15
|
+
|
|
16
|
+
## Docs
|
|
17
|
+
|
|
18
|
+
- [Kit components](https://docs.zappie.ai/kit)
|
|
19
|
+
- [CLI reference](https://docs.zappie.ai/cli)
|
|
20
|
+
|
|
21
|
+
## Status
|
|
22
|
+
|
|
23
|
+
The kit is at `0.x`. Components carry their own versions, and `zappie diff` shows what changed. Each release is listed in `CHANGELOG.md`.
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zappie/kit",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "The registry of copy-in Zappie storefront components, installed with the zappie CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"provenance": false
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
|
-
"dist"
|
|
24
|
+
"dist",
|
|
25
|
+
"CHANGELOG.md"
|
|
25
26
|
],
|
|
26
27
|
"exports": {
|
|
27
28
|
"./registry/v1/*": "./dist/registry/v1/*"
|