sv 0.16.0 → 0.16.1
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.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as name, a as detectPackageManager, d as Command, g as helpConfig, h as forwardExitCode, l as from, n as add, r as create, u as program, v as version } from "./engine-
|
|
2
|
+
import { _ as name, a as detectPackageManager, d as Command, g as helpConfig, h as forwardExitCode, l as from, n as add, r as create, u as program, v as version } from "./engine-b8_m6QgA.mjs";
|
|
3
3
|
import { color, resolveCommandArray } from "@sveltejs/sv-utils";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import { execSync } from "node:child_process";
|
|
@@ -1354,7 +1354,7 @@ ${i ? styleText("cyan", x$1) : ""}
|
|
|
1354
1354
|
//#endregion
|
|
1355
1355
|
//#region package.json
|
|
1356
1356
|
var name = "sv";
|
|
1357
|
-
var version = "0.16.
|
|
1357
|
+
var version = "0.16.1";
|
|
1358
1358
|
//#endregion
|
|
1359
1359
|
//#region src/core/errors.ts
|
|
1360
1360
|
var UnsupportedError = class extends Error {
|
|
@@ -11158,7 +11158,7 @@ const OptionsSchema$1 = /* @__PURE__ */ strictObject({
|
|
|
11158
11158
|
types: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ picklist(langs), /* @__PURE__ */ boolean()])), /* @__PURE__ */ transform((lang) => langMap[String(lang)])),
|
|
11159
11159
|
addOns: /* @__PURE__ */ boolean(),
|
|
11160
11160
|
add: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
11161
|
-
install: /* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ picklist(AGENT_NAMES)]),
|
|
11161
|
+
install: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ picklist(AGENT_NAMES)]), true),
|
|
11162
11162
|
template: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(templateChoices)),
|
|
11163
11163
|
fromPlayground: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
11164
11164
|
dirCheck: /* @__PURE__ */ boolean(),
|
|
@@ -11450,7 +11450,7 @@ const officialAddons = Object.values(officialAddons$1);
|
|
|
11450
11450
|
const addonOptions = getAddonOptionFlags();
|
|
11451
11451
|
const OptionsSchema = /* @__PURE__ */ strictObject({
|
|
11452
11452
|
cwd: /* @__PURE__ */ string(),
|
|
11453
|
-
install: /* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ picklist(AGENT_NAMES)]),
|
|
11453
|
+
install: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ picklist(AGENT_NAMES)]), true),
|
|
11454
11454
|
gitCheck: /* @__PURE__ */ boolean(),
|
|
11455
11455
|
downloadCheck: /* @__PURE__ */ boolean(),
|
|
11456
11456
|
addons: /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())))
|
package/dist/src/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as defineAddonOptions, m as create$1, o as officialAddons, s as defineAddon, t as add, y as svDeprecated } from "../engine-
|
|
1
|
+
import { c as defineAddonOptions, m as create$1, o as officialAddons, s as defineAddon, t as add, y as svDeprecated } from "../engine-b8_m6QgA.mjs";
|
|
2
2
|
//#region src/index.ts
|
|
3
3
|
function create(cwdOrOptions, legacyOptions) {
|
|
4
4
|
if (typeof cwdOrOptions === "string") {
|
package/dist/src/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as __toESM, b as __commonJSMin, f as R, i as addPnpmAllowBuilds, m as create, p as z, t as add, x as __require } from "../engine-
|
|
1
|
+
import { S as __toESM, b as __commonJSMin, f as R, i as addPnpmAllowBuilds, m as create, p as z, t as add, x as __require } from "../engine-b8_m6QgA.mjs";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import process$1 from "node:process";
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"sv": "^0.16.
|
|
25
|
+
"sv": "^0.16.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"sv": "^0.16.
|
|
28
|
+
"sv": "^0.16.1",
|
|
29
29
|
"@sveltejs/sv-utils": "^0.3.0",
|
|
30
30
|
"@playwright/test": "^1.60.0",
|
|
31
31
|
"@types/node": "^25.9.1",
|