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 CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "create-cartbase",
3
- "version": "0.1.7",
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": ["dist", "template"],
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"
@@ -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. Part one of the library (the
27
- part you build the store with) is yours to compose freely; part two (the
28
- part that takes the money: cart, checkout, payment) is locked and must be
29
- used, never reimplemented.
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.
@@ -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. Part one of the library (the
27
- part you build the store with) is yours to compose freely; part two (the
28
- part that takes the money: cart, checkout, payment) is locked and must be
29
- used, never reimplemented.
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.