create-mercato-app 0.5.1-develop.3045.b4b3320cc2 → 0.6.0

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.
Files changed (28) hide show
  1. package/agentic/shared/AGENTS.md.template +40 -5
  2. package/agentic/shared/ai/qa/tests/playwright.config.ts +5 -0
  3. package/agentic/shared/ai/skills/auto-continue-pr-loop/SKILL.md +592 -0
  4. package/agentic/shared/ai/skills/auto-create-pr-loop/SKILL.md +749 -0
  5. package/agentic/shared/ai/skills/data-model-design/SKILL.md +91 -3
  6. package/agentic/shared/ai/skills/implement-spec/SKILL.md +9 -5
  7. package/agentic/shared/ai/skills/module-scaffold/SKILL.md +57 -7
  8. package/agentic/shared/ai/skills/spec-writing/SKILL.md +11 -2
  9. package/agentic/shared/ai/skills/spec-writing/references/spec-checklist.md +24 -7
  10. package/dist/agentic/shared/AGENTS.md.template +40 -5
  11. package/dist/agentic/shared/ai/qa/tests/playwright.config.ts +5 -0
  12. package/dist/agentic/shared/ai/skills/auto-continue-pr-loop/SKILL.md +592 -0
  13. package/dist/agentic/shared/ai/skills/auto-create-pr-loop/SKILL.md +749 -0
  14. package/dist/agentic/shared/ai/skills/data-model-design/SKILL.md +91 -3
  15. package/dist/agentic/shared/ai/skills/implement-spec/SKILL.md +9 -5
  16. package/dist/agentic/shared/ai/skills/module-scaffold/SKILL.md +57 -7
  17. package/dist/agentic/shared/ai/skills/spec-writing/SKILL.md +11 -2
  18. package/dist/agentic/shared/ai/skills/spec-writing/references/spec-checklist.md +24 -7
  19. package/dist/index.js +17 -5
  20. package/package.json +2 -3
  21. package/template/AGENTS.md +81 -2
  22. package/template/package.json.template +31 -30
  23. package/template/scripts/dev-reset.mjs +27 -0
  24. package/template/src/app/globals.css +5 -0
  25. package/template/src/i18n/de.json +2 -0
  26. package/template/src/i18n/en.json +2 -0
  27. package/template/src/i18n/es.json +2 -0
  28. package/template/src/i18n/pl.json +2 -0
@@ -12,6 +12,7 @@
12
12
  "dev": "node ./scripts/dev.mjs",
13
13
  "dev:classic": "node ./scripts/dev.mjs --classic",
14
14
  "dev:verbose": "node ./scripts/dev.mjs --verbose",
15
+ "dev:reset": "node ./scripts/dev-reset.mjs",
15
16
  "build": "yarn generate && next build",
16
17
  "start": "mercato server start",
17
18
  "lint": "next lint",
@@ -32,11 +33,11 @@
32
33
  "@ai-sdk/anthropic": "^3.0.12",
33
34
  "@ai-sdk/cohere": "^3.0.4",
34
35
  "@ai-sdk/google": "^2.0.0",
35
- "@ai-sdk/openai": "^3.0.5",
36
- "@mikro-orm/core": "^7.0.10",
37
- "@mikro-orm/decorators": "^7.0.10",
38
- "@mikro-orm/migrations": "^7.0.10",
39
- "@mikro-orm/postgresql": "^7.0.10",
36
+ "@ai-sdk/openai": "^3.0.53",
37
+ "@mikro-orm/core": "^7.0.13",
38
+ "@mikro-orm/decorators": "^7.0.13",
39
+ "@mikro-orm/migrations": "^7.0.13",
40
+ "@mikro-orm/postgresql": "^7.0.13",
40
41
  "@modelcontextprotocol/sdk": "^1.26.0",
41
42
  "@open-mercato/ai-assistant": "{{PACKAGE_VERSION}}",
42
43
  "@open-mercato/cache": "{{PACKAGE_VERSION}}",
@@ -61,12 +62,12 @@
61
62
  "@radix-ui/react-label": "^2.1.8",
62
63
  "@radix-ui/react-slot": "^1.2.4",
63
64
  "@radix-ui/react-tooltip": "^1.2.8",
64
- "@react-email/components": "^1.0.1",
65
+ "@react-email/components": "^1.0.12",
65
66
  "@simplewebauthn/browser": "^11.0.0",
66
67
  "@simplewebauthn/server": "^11.0.0",
67
68
  "@simplewebauthn/types": "^11.0.0",
68
69
  "@napi-rs/canvas": "^0.1.78",
69
- "@tanstack/react-query": "^5.90.12",
70
+ "@tanstack/react-query": "^5.99.2",
70
71
  "@tanstack/react-table": "^8.20.5",
71
72
  "@tanstack/react-virtual": "^3.13.23",
72
73
  "@types/better-sqlite3": "^7.6.13",
@@ -74,32 +75,32 @@
74
75
  "@types/qrcode": "^1.5.5",
75
76
  "@types/sanitize-html": "^2.16.1",
76
77
  "@types/semver": "^7.7.1",
77
- "@uiw/react-markdown-preview": "^5.1.5",
78
- "@uiw/react-md-editor": "^4.0.11",
78
+ "@uiw/react-markdown-preview": "^5.2.0",
79
+ "@uiw/react-md-editor": "^4.1.0",
79
80
  "@xyflow/react": "^12.6.0",
80
81
  "ai": "^6.0.168",
81
82
  "awilix": "^12.0.5",
82
83
  "bcryptjs": "^3.0.3",
83
84
  "class-variance-authority": "^0.7.1",
84
85
  "clsx": "^2.1.1",
85
- "dotenv": "^17.2.3",
86
- "lucide-react": "^0.556.0",
86
+ "dotenv": "^17.4.2",
87
+ "lucide-react": "^1.8.0",
87
88
  "mammoth": "^1.9.0",
88
- "newrelic": "^13.7.0",
89
+ "newrelic": "^13.19.1",
89
90
  "next": "16.2.4",
90
91
  "pg": "8.20.0",
91
92
  "pdfjs-dist": "^5.4.149",
92
- "react": "19.2.1",
93
+ "react": "19.2.5",
93
94
  "react-big-calendar": "^1.19.4",
94
- "react-dom": "19.2.1",
95
- "react-email": "^5.0.6",
95
+ "react-dom": "19.2.5",
96
+ "react-email": "^6.0.0",
96
97
  "reflect-metadata": "^0.2.2",
97
98
  "remark-gfm": "^4.0.1",
98
- "resend": "^6.5.2",
99
+ "resend": "^6.12.0",
99
100
  "sanitize-html": "^2.17.2",
100
- "semver": "^7.7.3",
101
- "tailwind-merge": "^3.4.0",
102
- "zod": "^4.1.13",
101
+ "semver": "^7.7.4",
102
+ "tailwind-merge": "^3.5.0",
103
+ "zod": "4.3.6",
103
104
  "@stripe/react-stripe-js": "^6.2.0",
104
105
  "@stripe/stripe-js": "^9.3.1",
105
106
  "@open-mercato/gateway-stripe": "{{PACKAGE_VERSION}}",
@@ -107,29 +108,29 @@
107
108
  },
108
109
  "devDependencies": {
109
110
  "@playwright/test": "^1.58.2",
110
- "@tailwindcss/postcss": "^4.1.17",
111
+ "@tailwindcss/postcss": "^4.2.2",
111
112
  "@testing-library/dom": "^10.4.0",
112
113
  "@testing-library/jest-dom": "^6.9.1",
113
114
  "@testing-library/react": "^16.2.0",
114
115
  "@types/jest": "^30.0.0",
115
- "@types/node": "^24.10.1",
116
- "@types/react": "^19.2.7",
116
+ "@types/node": "^25.6.0",
117
+ "@types/react": "^19.2.14",
117
118
  "@types/react-dom": "^19.2.3",
118
- "eslint": "^9.0.0",
119
- "eslint-config-next": "16.0.7",
120
- "jest": "^30.2.0",
119
+ "eslint": "^10.2.1",
120
+ "eslint-config-next": "16.2.4",
121
+ "jest": "^30.3.0",
121
122
  "cross-spawn": "^7.0.6",
122
- "tailwindcss": "^4.1.17",
123
+ "tailwindcss": "^4.2.2",
123
124
  "ts-morph": "^25.0.0",
124
- "ts-jest": "^29.4.6",
125
+ "ts-jest": "^29.4.9",
125
126
  "tsx": "^4.7.0",
126
127
  "tw-animate-css": "^1.4.0",
127
128
  "typescript": "^5.9.3"
128
129
  },
129
130
  "optionalDependencies": {
130
- "better-sqlite3": "^12.5.0",
131
- "bullmq": "^5.34.8",
132
- "ioredis": "^5.8.2"
131
+ "better-sqlite3": "^12.9.0",
132
+ "bullmq": "^5.75.2",
133
+ "ioredis": "^5.10.1"
133
134
  },
134
135
  "resolutions": {
135
136
  "lodash": "4.18.1",
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env node
2
+ import { fileURLToPath } from 'node:url'
3
+ import path from 'node:path'
4
+ import fs from 'node:fs'
5
+
6
+ const here = path.dirname(fileURLToPath(import.meta.url))
7
+ const appDir = path.resolve(here, '..')
8
+ const targets = [
9
+ path.join(appDir, '.next', 'cache', 'turbopack'),
10
+ path.join(appDir, '.next', 'cache', 'webpack'),
11
+ ]
12
+
13
+ let removed = 0
14
+ for (const target of targets) {
15
+ if (!fs.existsSync(target)) continue
16
+ fs.rmSync(target, { recursive: true, force: true })
17
+ console.log(`🧹 [dev:reset] removed ${path.relative(appDir, target)}`)
18
+ removed += 1
19
+ }
20
+
21
+ if (removed === 0) {
22
+ console.log('🧹 [dev:reset] nothing to clean — .next/cache subdirectories already absent')
23
+ }
24
+
25
+ console.log('')
26
+ console.log('✅ Turbopack/webpack cache cleared.')
27
+ console.log(' Stop any running `yarn dev` and start it again to pick up fresh module output.')
@@ -18,6 +18,10 @@ TODO: Fix that latter to have reference by the package names
18
18
 
19
19
  @custom-variant dark (&:is(.dark *));
20
20
 
21
+ @utility z-popover {
22
+ z-index: var(--z-index-popover);
23
+ }
24
+
21
25
  @theme inline {
22
26
  --color-background: var(--background);
23
27
  --color-foreground: var(--foreground);
@@ -116,6 +120,7 @@ TODO: Fix that latter to have reference by the package names
116
120
  --z-index-dropdown: 20;
117
121
  --z-index-overlay: 30;
118
122
  --z-index-modal: 40;
123
+ --z-index-popover: 45;
119
124
  --z-index-toast: 50;
120
125
  --z-index-tooltip: 60;
121
126
  --z-index-banner: 70;
@@ -848,6 +848,8 @@
848
848
  "ui.perspectives.untitled": "Unbenannte Perspektive",
849
849
  "ui.perspectives.updated": "Aktualisiert {date}",
850
850
  "ui.rowActions.openActions": "Aktionen öffnen",
851
+ "ui.sidebar.chevron.scrollBottom": "Nach unten scrollen",
852
+ "ui.sidebar.chevron.scrollTop": "Nach oben scrollen",
851
853
  "ui.spinner.ariaLabel": "Wird geladen",
852
854
  "ui.spinner.srOnly": "Wird geladen...",
853
855
  "ui.timePicker.clearButton": "Löschen",
@@ -848,6 +848,8 @@
848
848
  "ui.perspectives.untitled": "Untitled view",
849
849
  "ui.perspectives.updated": "Updated {date}",
850
850
  "ui.rowActions.openActions": "Open actions",
851
+ "ui.sidebar.chevron.scrollBottom": "Scroll to bottom",
852
+ "ui.sidebar.chevron.scrollTop": "Scroll to top",
851
853
  "ui.spinner.ariaLabel": "Loading",
852
854
  "ui.spinner.srOnly": "Loading...",
853
855
  "ui.timePicker.clearButton": "Clear",
@@ -848,6 +848,8 @@
848
848
  "ui.perspectives.untitled": "Perspectiva sin título",
849
849
  "ui.perspectives.updated": "Actualizado {date}",
850
850
  "ui.rowActions.openActions": "Abrir acciones",
851
+ "ui.sidebar.chevron.scrollBottom": "Desplazar hacia abajo",
852
+ "ui.sidebar.chevron.scrollTop": "Desplazar hacia arriba",
851
853
  "ui.spinner.ariaLabel": "Cargando",
852
854
  "ui.spinner.srOnly": "Cargando...",
853
855
  "ui.timePicker.clearButton": "Limpiar",
@@ -848,6 +848,8 @@
848
848
  "ui.perspectives.untitled": "Perspektywa bez tytułu",
849
849
  "ui.perspectives.updated": "Zaktualizowano {date}",
850
850
  "ui.rowActions.openActions": "Otwórz akcje",
851
+ "ui.sidebar.chevron.scrollBottom": "Przewiń do dołu",
852
+ "ui.sidebar.chevron.scrollTop": "Przewiń do góry",
851
853
  "ui.spinner.ariaLabel": "Ładowanie",
852
854
  "ui.spinner.srOnly": "Ładowanie...",
853
855
  "ui.timePicker.clearButton": "Wyczyść",