Skip to content

Commit 59ef278

Browse files
committed
fix: solve package name
1 parent 5c6a3ed commit 59ef278

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

scripts/add-workspace.ts

+7-5
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ const PACKAGES = [
6767
},
6868
{
6969
value: "kv",
70-
label: "kv - Redis client and vector database integration using Upstash",
70+
label: "kv - Redis client database integration using Upstash",
7171
},
7272
{
73-
value: "i18n",
74-
label: "i18n - Internationalization utilities",
73+
value: "internationalization",
74+
label:
75+
"internationalization - Internationalization utilities and translation files",
7576
},
7677
{
7778
value: "native-ui",
@@ -94,7 +95,8 @@ const PACKAGES = [
9495
},
9596
{
9697
value: "security",
97-
label: "security - Security utilities and best practices using Arcjet",
98+
label:
99+
"security - Security utilities and best practices using Arcjet and rate-limiting using Upstash",
98100
},
99101
{
100102
value: "storage",
@@ -184,7 +186,7 @@ async function main() {
184186
"--type",
185187
workspaceType,
186188
"--name",
187-
workspaceName,
189+
workspaceType === "app" ? workspaceName : `@init/${workspace}`,
188190
])
189191

190192
log.success(`Added "${workspaceName}" ${workspaceType} to the workspace`)

0 commit comments

Comments
 (0)