sv 0.6.6 → 0.6.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 +4 -4
- package/dist/bin.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{install-ClR4mYH4.js → install-BNk1yMP2.js} +170 -119
- package/dist/install-BNk1yMP2.js.map +1 -0
- package/dist/templates/demo/package.json +1 -0
- package/dist/templates/minimal/package.json +1 -0
- package/package.json +2 -2
- package/dist/install-ClR4mYH4.js.map +0 -1
package/dist/bin.js
CHANGED
|
@@ -4,7 +4,7 @@ import require$$1, { execSync } from 'node:child_process';
|
|
|
4
4
|
import path$2 from 'node:path';
|
|
5
5
|
import fs$3 from 'node:fs';
|
|
6
6
|
import process$1$1 from 'node:process';
|
|
7
|
-
import { u as up$1, d as dedent, p as parseJson, a as parseScript, b as imports, c as common, e as exports$1, o as object$1, v as variables, _ as _function, f as parseSvelte, g as array$1, w as walk$1, k as kit, h as addFromString, E as Element, j as index, l as parseHtml, m as parseHtml$1, A as AtRule2, n as parseCss, q as pc, r as intro, s as outro, t as log$1, x as cancel, y as box, z as multiselect, B as isCancel, C as confirm, D as createWorkspace, F as setupAddons, G as note, H as select, I as text, J as packageManagerPrompt, K as applyAddons, L as installDependencies, M as formatFiles, N as spinner, O as getHighlighter, P as detectSync, Q as getUserAgent, R as group, S as resolveCommand, T as from$1 } from './install-
|
|
7
|
+
import { u as up$1, d as dedent, p as parseJson, a as parseScript, b as imports, c as common, e as exports$1, o as object$1, v as variables, _ as _function, f as parseSvelte, g as array$1, w as walk$1, k as kit, h as addFromString, E as Element, j as index, l as parseHtml, m as parseHtml$1, A as AtRule2, n as parseCss, q as pc, r as intro, s as outro, t as log$1, x as cancel, y as box, z as multiselect, B as isCancel, C as confirm, D as createWorkspace, F as setupAddons, G as note, H as select, I as text, J as packageManagerPrompt, K as applyAddons, L as installDependencies, M as formatFiles, N as spinner, O as getHighlighter, P as detectSync, Q as getUserAgent, R as group, S as resolveCommand, T as from$1 } from './install-BNk1yMP2.js';
|
|
8
8
|
import 'node:readline';
|
|
9
9
|
import 'node:tty';
|
|
10
10
|
import { createGunzip } from 'node:zlib';
|
|
@@ -24,7 +24,7 @@ import 'stream';
|
|
|
24
24
|
import 'readline';
|
|
25
25
|
|
|
26
26
|
var name = "sv";
|
|
27
|
-
var version = "0.6.
|
|
27
|
+
var version = "0.6.7";
|
|
28
28
|
var type = "module";
|
|
29
29
|
var description = "A CLI for creating and updating SvelteKit projects";
|
|
30
30
|
var license = "MIT";
|
|
@@ -64,7 +64,7 @@ var devDependencies = {
|
|
|
64
64
|
commander: "^12.1.0",
|
|
65
65
|
degit: "^2.8.4",
|
|
66
66
|
empathic: "^1.0.0",
|
|
67
|
-
"package-manager-detector": "^0.2.
|
|
67
|
+
"package-manager-detector": "^0.2.7",
|
|
68
68
|
picocolors: "^1.1.0",
|
|
69
69
|
"ps-tree": "^1.2.0",
|
|
70
70
|
"tar-fs": "^3.0.6",
|
|
@@ -7528,7 +7528,7 @@ ${paraglideOutDir}`;
|
|
|
7528
7528
|
scriptCode.append("\n\n");
|
|
7529
7529
|
scriptCode.append(dedent`
|
|
7530
7530
|
${ts("", "/**")}
|
|
7531
|
-
${ts("", '* @param import("$lib/paraglide/runtime").AvailableLanguageTag newLanguage')}
|
|
7531
|
+
${ts("", '* @param {import("$lib/paraglide/runtime").AvailableLanguageTag} newLanguage')}
|
|
7532
7532
|
${ts("", "*/")}
|
|
7533
7533
|
function switchToLanguage(newLanguage${ts(": AvailableLanguageTag")}) {
|
|
7534
7534
|
const canonicalPath = i18n.route($page.url.pathname);
|