@svadmin/create 0.11.5 → 0.12.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svadmin/create",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Scaffolding tool for svadmin projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"picocolors": "^1.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/node": "^25.
|
|
23
|
+
"@types/node": "^25.9.1",
|
|
24
24
|
"@types/prompts": "^2.4.9",
|
|
25
|
-
"typescript": "^6.0.
|
|
25
|
+
"typescript": "^6.0.3"
|
|
26
26
|
},
|
|
27
27
|
"keywords": [
|
|
28
28
|
"svadmin",
|
package/template/src/main.ts
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<!-- Stats -->
|
|
25
25
|
<div class="grid gap-4 sm:grid-cols-3">
|
|
26
|
-
{#each stats as stat}
|
|
26
|
+
{#each stats as stat, _i (_i)}
|
|
27
27
|
<div class="flex items-center gap-4 rounded-xl border border-gray-200 bg-white p-5 shadow-sm">
|
|
28
28
|
<div class="flex h-12 w-12 items-center justify-center rounded-xl {stat.color}">
|
|
29
29
|
<stat.Icon class="h-6 w-6" />
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<a href="#/posts" class="text-sm text-primary hover:underline">View all</a>
|
|
49
49
|
</div>
|
|
50
50
|
<div class="divide-y divide-gray-50">
|
|
51
|
-
{#each $recentPosts.data?.data ?? [] as post}
|
|
51
|
+
{#each $recentPosts.data?.data ?? [] as post, _i (_i)}
|
|
52
52
|
<div class="flex items-center justify-between px-5 py-3">
|
|
53
53
|
<div>
|
|
54
54
|
<p class="text-sm font-medium text-gray-900">{post.title}</p>
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<a href="#/users" class="text-sm text-primary hover:underline">View all</a>
|
|
66
66
|
</div>
|
|
67
67
|
<div class="divide-y divide-gray-50">
|
|
68
|
-
{#each $recentUsers.data?.data ?? [] as user}
|
|
68
|
+
{#each $recentUsers.data?.data ?? [] as user, _i (_i)}
|
|
69
69
|
<div class="flex items-center justify-between px-5 py-3">
|
|
70
70
|
<div>
|
|
71
71
|
<p class="text-sm font-medium text-gray-900">{user.name}</p>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {};
|