@salifbiaye/create-boutique 0.7.2 → 0.7.3
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 +4 -2
- package/templates/storefront/src/lib/boutique/schema.ts +3 -0
- package/templates/storefront/themes/black-friday/preview.jpg +0 -0
- package/templates/storefront/themes/black-friday/theme.json +2 -0
- package/templates/storefront/themes/black-friday-2/preview.jpg +0 -0
- package/templates/storefront/themes/black-friday-2/theme.json +2 -0
- package/templates/storefront/themes/cyber-monday/preview.jpg +0 -0
- package/templates/storefront/themes/cyber-monday/theme.json +2 -0
- package/templates/storefront/themes/cyber-monday-2/preview.jpg +0 -0
- package/templates/storefront/themes/cyber-monday-2/theme.json +2 -0
- package/templates/storefront/themes/halloween/preview.jpg +0 -0
- package/templates/storefront/themes/halloween/theme.json +2 -0
- package/templates/storefront/themes/halloween-2/preview.jpg +0 -0
- package/templates/storefront/themes/halloween-2/theme.json +2 -0
- package/templates/storefront/themes/jeux/preview.jpg +0 -0
- package/templates/storefront/themes/jeux/theme.json +2 -0
- package/templates/storefront/themes/jeux-2/preview.jpg +0 -0
- package/templates/storefront/themes/jeux-2/theme.json +2 -0
- package/templates/storefront/themes/mubarak/preview.jpg +0 -0
- package/templates/storefront/themes/mubarak/theme.json +2 -0
- package/templates/storefront/themes/mubarak-2/preview.jpg +0 -0
- package/templates/storefront/themes/mubarak-2/theme.json +2 -0
- package/templates/storefront/themes/noel/preview.jpg +0 -0
- package/templates/storefront/themes/noel/theme.json +2 -0
- package/templates/storefront/themes/noel-2/preview.jpg +0 -0
- package/templates/storefront/themes/noel-2/theme.json +2 -0
- package/templates/storefront/themes/nouvel-an/preview.jpg +0 -0
- package/templates/storefront/themes/nouvel-an/theme.json +2 -0
- package/templates/storefront/themes/nouvel-an-2/preview.jpg +0 -0
- package/templates/storefront/themes/nouvel-an-2/theme.json +2 -0
- package/templates/storefront/themes/sport/preview.jpg +0 -0
- package/templates/storefront/themes/sport/theme.json +2 -0
- package/templates/storefront/themes/sport-2/preview.jpg +0 -0
- package/templates/storefront/themes/sport-2/theme.json +2 -0
- package/templates/storefront/themes/summer/preview.jpg +0 -0
- package/templates/storefront/themes/summer/theme.json +2 -0
- package/templates/storefront/themes/summer-2/preview.jpg +0 -0
- package/templates/storefront/themes/summer-2/theme.json +2 -0
- package/templates/storefront/themes/thanksgiving/preview.jpg +0 -0
- package/templates/storefront/themes/thanksgiving/theme.json +2 -0
- package/templates/storefront/themes/thanksgiving-2/preview.jpg +0 -0
- package/templates/storefront/themes/thanksgiving-2/theme.json +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salifbiaye/create-boutique",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Usine à Boutiques : génère un projet complet (backend Medusa + une boutique Next.js par campagne) prêt pour docker compose",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
"build": "tsc -p cli",
|
|
36
36
|
"dev": "tsc -p cli --watch",
|
|
37
37
|
"typecheck": "tsc -p cli --noEmit",
|
|
38
|
-
"prepare": "tsc -p cli"
|
|
38
|
+
"prepare": "tsc -p cli",
|
|
39
|
+
"theme-previews": "node scripts/theme-previews.mjs",
|
|
40
|
+
"check-themes": "node scripts/check-themes.mjs"
|
|
39
41
|
},
|
|
40
42
|
"publishConfig": {
|
|
41
43
|
"access": "public"
|
|
@@ -70,6 +70,9 @@ export type Project = z.infer<typeof projectSchema>
|
|
|
70
70
|
export const themeSchema = z.object({
|
|
71
71
|
id: z.string().regex(SLUG),
|
|
72
72
|
name: z.string().min(1),
|
|
73
|
+
/** Événement (regroupement dans la plateforme) : id et libellé, ex. « halloween » / « Halloween » */
|
|
74
|
+
event: z.string().regex(SLUG).optional(),
|
|
75
|
+
eventLabel: z.string().optional(),
|
|
73
76
|
reference: z.string().optional(),
|
|
74
77
|
/** Variante : reprend la mise en page (règles CSS) de ce thème, avec la palette de styles/ub/variants.css. */
|
|
75
78
|
layout: z.string().regex(SLUG).optional(),
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|