sv 0.10.6 → 0.10.7
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/dist/bin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { $ as et, A as parseSvelte, B as isVersionUnsupportedBelow, C as dist, G as De, J, K as Fe, O as parseJson, Q as We, T as resolveCommand, X as T, Y as Ke, Z as Ue, a as getUserAgent, at as Option, b as detect, c as packageManagerPrompt, d as from, et as ke, f as commonFilePaths, g as getPackageJson, h as getHighlighter, i as addPnpmBuildDependencies, it as Command, k as parseScript, lt as __toESM, m as formatFiles, n as templates, nt as Vu, o as installDependencies, ot as program, q as Ge, r as AGENT_NAMES, rt as require_picocolors, s as installOption, t as create$1, tt as ze, u as up$1, w as getSharedFiles } from "./create-DTIS6AzL.js";
|
|
3
|
-
import { a as communityAddonIds, c as officialAddons, d as create$2, f as overrideProperties, i as createWorkspace, l as createDefault, o as getCommunityAddon, r as setupAddons, s as getAddonDetails, t as applyAddons, u as addDefault } from "./install-
|
|
3
|
+
import { a as communityAddonIds, c as officialAddons, d as create$2, f as overrideProperties, i as createWorkspace, l as createDefault, o as getCommunityAddon, r as setupAddons, s as getAddonDetails, t as applyAddons, u as addDefault } from "./install-BPIL0v3f.js";
|
|
4
4
|
import { exec, execSync } from "node:child_process";
|
|
5
5
|
import path, { dirname, join } from "node:path";
|
|
6
6
|
import fs, { existsSync } from "node:fs";
|
|
@@ -12,7 +12,7 @@ import { pipeline } from "node:stream/promises";
|
|
|
12
12
|
|
|
13
13
|
//#region package.json
|
|
14
14
|
var name = "sv";
|
|
15
|
-
var version = "0.10.
|
|
15
|
+
var version = "0.10.7";
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region ../../node_modules/.pnpm/empathic@1.1.0/node_modules/empathic/package.mjs
|
|
@@ -2501,7 +2501,6 @@ function hasEslint(version) {
|
|
|
2501
2501
|
|
|
2502
2502
|
//#endregion
|
|
2503
2503
|
//#region ../addons/storybook/index.ts
|
|
2504
|
-
const STORYBOOK_VERSION = "10.1.0";
|
|
2505
2504
|
var storybook_default = defineAddon({
|
|
2506
2505
|
id: "storybook",
|
|
2507
2506
|
shortDescription: "frontend workshop",
|
|
@@ -2513,12 +2512,11 @@ var storybook_default = defineAddon({
|
|
|
2513
2512
|
},
|
|
2514
2513
|
run: async ({ sv }) => {
|
|
2515
2514
|
const args = [
|
|
2516
|
-
`create-storybook
|
|
2515
|
+
`create-storybook@latest`,
|
|
2517
2516
|
"--skip-install",
|
|
2518
|
-
"--no-dev"
|
|
2519
|
-
"--no-features"
|
|
2517
|
+
"--no-dev"
|
|
2520
2518
|
];
|
|
2521
|
-
if (process.env.NODE_ENV?.toLowerCase() === "test") args.push("--yes");
|
|
2519
|
+
if (process.env.NODE_ENV?.toLowerCase() === "test") args.push(...["--no-features", "--yes"]);
|
|
2522
2520
|
await sv.execute(args, "inherit");
|
|
2523
2521
|
sv.devDependency(`@types/node`, getNodeTypesVersion());
|
|
2524
2522
|
}
|
package/dist/lib/index.js
CHANGED