create-brainerce-store 1.28.21 → 1.29.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/dist/index.js +5 -4
- package/messages/en.json +7 -0
- package/messages/he.json +7 -0
- package/package.json +3 -3
- package/templates/nextjs/base/src/app/products/[slug]/product-client-section.tsx +566 -529
- package/templates/nextjs/base/src/components/products/customization-fields.tsx +478 -0
- package/templates/nextjs/base/tsconfig.tsbuildinfo +0 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var require_package = __commonJS({
|
|
|
31
31
|
"package.json"(exports2, module2) {
|
|
32
32
|
module2.exports = {
|
|
33
33
|
name: "create-brainerce-store",
|
|
34
|
-
version: "1.
|
|
34
|
+
version: "1.29.1",
|
|
35
35
|
description: "Scaffold a production-ready e-commerce storefront connected to Brainerce",
|
|
36
36
|
bin: {
|
|
37
37
|
"create-brainerce-store": "dist/index.js"
|
|
@@ -45,10 +45,10 @@ var require_package = __commonJS({
|
|
|
45
45
|
build: "tsup",
|
|
46
46
|
dev: "tsup --watch",
|
|
47
47
|
clean: "rimraf dist",
|
|
48
|
-
|
|
48
|
+
release: "pnpm build && node ../../scripts/publish-workspace-package.js .",
|
|
49
|
+
prepublishOnly: "node ../../scripts/check-publishable.js ./package.json"
|
|
49
50
|
},
|
|
50
51
|
dependencies: {
|
|
51
|
-
"@brainerce/cli-shared": "workspace:*",
|
|
52
52
|
chalk: "^4.1.2",
|
|
53
53
|
commander: "^12.1.0",
|
|
54
54
|
ejs: "^3.1.10",
|
|
@@ -57,6 +57,7 @@ var require_package = __commonJS({
|
|
|
57
57
|
prompts: "^2.4.2"
|
|
58
58
|
},
|
|
59
59
|
devDependencies: {
|
|
60
|
+
"@brainerce/cli-shared": "workspace:*",
|
|
60
61
|
"@types/ejs": "^3.1.5",
|
|
61
62
|
"@types/fs-extra": "^11.0.4",
|
|
62
63
|
"@types/prompts": "^2.4.9",
|
|
@@ -152,7 +153,7 @@ var ALLOWED_PACKAGE_MANAGERS = [
|
|
|
152
153
|
"bun"
|
|
153
154
|
];
|
|
154
155
|
var BRAINERCE_RUNTIME_DEPS = Object.freeze({
|
|
155
|
-
brainerce: "^1.
|
|
156
|
+
brainerce: "^1.18.0",
|
|
156
157
|
"isomorphic-dompurify": "^3.8.0"
|
|
157
158
|
});
|
|
158
159
|
|
package/messages/en.json
CHANGED
|
@@ -97,6 +97,13 @@
|
|
|
97
97
|
"addingAll": "Adding...",
|
|
98
98
|
"by": "By"
|
|
99
99
|
},
|
|
100
|
+
"customization": {
|
|
101
|
+
"title": "Personalize this product",
|
|
102
|
+
"selectPlaceholder": "Choose an option",
|
|
103
|
+
"uploading": "Uploading...",
|
|
104
|
+
"uploadFailed": "Upload failed. Try again.",
|
|
105
|
+
"removeImage": "Remove image"
|
|
106
|
+
},
|
|
100
107
|
"cart": {
|
|
101
108
|
"pageTitle": "Shopping Cart",
|
|
102
109
|
"title": "Shopping Cart",
|
package/messages/he.json
CHANGED
|
@@ -97,6 +97,13 @@
|
|
|
97
97
|
"addingAll": "מוסיף...",
|
|
98
98
|
"by": "מאת"
|
|
99
99
|
},
|
|
100
|
+
"customization": {
|
|
101
|
+
"title": "התאמה אישית של המוצר",
|
|
102
|
+
"selectPlaceholder": "בחר אפשרות",
|
|
103
|
+
"uploading": "מעלה...",
|
|
104
|
+
"uploadFailed": "ההעלאה נכשלה. נסה שוב.",
|
|
105
|
+
"removeImage": "הסר תמונה"
|
|
106
|
+
},
|
|
100
107
|
"cart": {
|
|
101
108
|
"pageTitle": "עגלת קניות",
|
|
102
109
|
"title": "עגלת קניות",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-brainerce-store",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"description": "Scaffold a production-ready e-commerce storefront connected to Brainerce",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-brainerce-store": "dist/index.js"
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"build": "tsup",
|
|
15
15
|
"dev": "tsup --watch",
|
|
16
16
|
"clean": "rimraf dist",
|
|
17
|
-
"
|
|
17
|
+
"release": "pnpm build && node ../../scripts/publish-workspace-package.js .",
|
|
18
|
+
"prepublishOnly": "node ../../scripts/check-publishable.js ./package.json"
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
|
-
"@brainerce/cli-shared": "workspace:*",
|
|
21
21
|
"chalk": "^4.1.2",
|
|
22
22
|
"commander": "^12.1.0",
|
|
23
23
|
"ejs": "^3.1.10",
|