vibe-design-system 2.5.14 → 2.5.16
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/bin/init.js +11 -7
- package/package.json +1 -1
package/bin/init.js
CHANGED
|
@@ -165,6 +165,9 @@ function needsStorybook(projectRoot) {
|
|
|
165
165
|
return !(dev.storybook && dev["@storybook/react-vite"] && dev["@tailwindcss/vite"]);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
// Storybook 8.6.x — aynı minor sürümde tutarak addon uyumluluk uyarısını önler
|
|
169
|
+
const STORYBOOK_VERSION = "8.6.17";
|
|
170
|
+
|
|
168
171
|
function installStorybook(projectRoot) {
|
|
169
172
|
console.log("📚 Storybook v8 ve @tailwindcss/vite kuruluyor...");
|
|
170
173
|
const r = spawnSync(
|
|
@@ -172,14 +175,14 @@ function installStorybook(projectRoot) {
|
|
|
172
175
|
[
|
|
173
176
|
"install",
|
|
174
177
|
"--save-dev",
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
`storybook@${STORYBOOK_VERSION}`,
|
|
179
|
+
`@storybook/react-vite@${STORYBOOK_VERSION}`,
|
|
180
|
+
`@storybook/react@${STORYBOOK_VERSION}`,
|
|
181
|
+
`@storybook/addon-essentials@${STORYBOOK_VERSION}`,
|
|
182
|
+
`@storybook/blocks@${STORYBOOK_VERSION}`,
|
|
180
183
|
"@tailwindcss/vite",
|
|
181
184
|
],
|
|
182
|
-
{ cwd: projectRoot, stdio: "inherit" }
|
|
185
|
+
{ cwd: projectRoot, stdio: "inherit", shell: false }
|
|
183
186
|
);
|
|
184
187
|
if (r.status !== 0) {
|
|
185
188
|
console.warn("⚠️ npm install storybook tamamlanamadı.");
|
|
@@ -374,4 +377,5 @@ runStoryGenerator(projectRoot);
|
|
|
374
377
|
// ADIM 8
|
|
375
378
|
console.log("\n✅ VDS kuruldu!");
|
|
376
379
|
console.log("→ npm run storybook ile design system'ını aç");
|
|
377
|
-
console.log("→ npm run vds:watch ile otomatik güncellemeyi başlat
|
|
380
|
+
console.log("→ npm run vds:watch ile otomatik güncellemeyi başlat");
|
|
381
|
+
console.log("\nNot: Storybook başlarken (Node 24+) DEP0190 uyarısı çıkarsa Storybook kaynaklıdır, güvenle yok sayabilirsiniz.\n");
|