create-fullstack-scaffold 0.4.21 → 0.4.23

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,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fullstack-scaffold",
3
- "version": "0.4.21",
3
+ "version": "0.4.23",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-fullstack-scaffold": "dist/cli/index.js"
@@ -73,9 +73,11 @@
73
73
  "@hono/node-server": "^1.14.4",
74
74
  "@hono/zod-openapi": "1.2.2",
75
75
  "@hono/zod-validator": "0.7.6",
76
+ "@ant-design/icons": "^5.6.1",
76
77
  "@libsql/client": "^0.17.0",
77
78
  "antd": "^5.24.0",
78
79
  "bcryptjs": "^3.0.3",
80
+ "dayjs": "^1.11.13",
79
81
  "dotenv": "^16.5.0",
80
82
  "drizzle-orm": "^0.45.1",
81
83
  "hono": "4.12.16",
@@ -3,5 +3,8 @@ export { StatsCard } from './StatsCard'
3
3
  export { PageHeader } from './PageHeader'
4
4
  export { UserFormModal } from './UserFormModal'
5
5
  export { ProtectedRoute } from './ProtectedRoute'
6
- export { CaptchaModal } from './CaptchaModal'
7
6
  export { PermissionGuard, PermissionButton, Can, Cannot } from './PermissionGuard'
7
+ // CaptchaModal is excluded by file-filter when captcha module is not in the preset.
8
+ // Re-export it here only if the file exists (it will be present when captcha module is included).
9
+ // The admin-app generator conditionally imports it only when hasCaptcha is true.
10
+ export { CaptchaModal } from './CaptchaModal'
@@ -26,7 +26,7 @@ export const ContentPage: React.FC = () => {
26
26
  form.setFieldsValue({
27
27
  title: topic.title,
28
28
  excerpt: topic.excerpt,
29
- tags: topic.tags.map(t => t.label),
29
+ tags: topic.tags.map((t: { label: string }) => t.label),
30
30
  })
31
31
  setIsModalOpen(true)
32
32
  }
@@ -188,7 +188,7 @@ export const ContentPage: React.FC = () => {
188
188
  <p>{viewingTopic.excerpt}</p>
189
189
  {viewingTopic.tags && viewingTopic.tags.length > 0 && (
190
190
  <div className="mt-4">
191
- {viewingTopic.tags.map((tag, index) => (
191
+ {viewingTopic.tags.map((tag: { label: string }, index: number) => (
192
192
  <Tag key={index}>{tag.label}</Tag>
193
193
  ))}
194
194
  </div>