create-cartbase 0.1.7 → 0.1.9
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/package.json +5 -2
- package/template/app/AGENTS.md +10 -4
- package/template/app/CLAUDE.md +10 -4
- package/template/app/docs/components.md +1177 -1134
- package/template/app/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cartbase",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Scaffold a Cartbase storefront: npm create cartbase my-store",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"create-cartbase": "./dist/index.js"
|
|
9
9
|
},
|
|
10
|
-
"files": [
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"template"
|
|
13
|
+
],
|
|
11
14
|
"scripts": {
|
|
12
15
|
"build": "bun scripts/build-template.mjs && tsc -p tsconfig.json",
|
|
13
16
|
"prepack": "bun scripts/build-template.mjs && tsc -p tsconfig.json"
|
package/template/app/AGENTS.md
CHANGED
|
@@ -23,7 +23,13 @@ Everything you need is local:
|
|
|
23
23
|
|
|
24
24
|
House rules: totals and prices are SERVER truth (render them verbatim);
|
|
25
25
|
always pass a pricing context; consent before tracking; the store API is
|
|
26
|
-
proxied same-origin via next.config rewrites.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
proxied same-origin via next.config rewrites.
|
|
27
|
+
|
|
28
|
+
What you may change: **everything except payments.** Payments are the one
|
|
29
|
+
thing that cannot be ejected. The cart and the checkout are yours to
|
|
30
|
+
shape, and you should rarely need to eject them: both are built to be
|
|
31
|
+
restyled through the theme tokens and their slots, which is the intended
|
|
32
|
+
route and keeps you on our updates. Eject when tokens genuinely are not
|
|
33
|
+
enough, and know what it means, because we say so at the moment you do
|
|
34
|
+
it: that file leaves our support, stops receiving our fixes, and its
|
|
35
|
+
safety is yours from then on.
|
package/template/app/CLAUDE.md
CHANGED
|
@@ -23,7 +23,13 @@ Everything you need is local:
|
|
|
23
23
|
|
|
24
24
|
House rules: totals and prices are SERVER truth (render them verbatim);
|
|
25
25
|
always pass a pricing context; consent before tracking; the store API is
|
|
26
|
-
proxied same-origin via next.config rewrites.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
proxied same-origin via next.config rewrites.
|
|
27
|
+
|
|
28
|
+
What you may change: **everything except payments.** Payments are the one
|
|
29
|
+
thing that cannot be ejected. The cart and the checkout are yours to
|
|
30
|
+
shape, and you should rarely need to eject them: both are built to be
|
|
31
|
+
restyled through the theme tokens and their slots, which is the intended
|
|
32
|
+
route and keeps you on our updates. Eject when tokens genuinely are not
|
|
33
|
+
enough, and know what it means, because we say so at the moment you do
|
|
34
|
+
it: that file leaves our support, stops receiving our fixes, and its
|
|
35
|
+
safety is yours from then on.
|