sv 0.15.3 → 0.16.0
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 +1 -1
- package/dist/{engine-DcLtEbd7.d.mts → engine-CtSoxta7.d.mts} +6 -0
- package/dist/{engine-DSL32Woe.mjs → engine-DxLAZI4U.mjs} +4316 -4546
- package/dist/shared.json +5 -49
- package/dist/src/index.d.mts +1 -1
- package/dist/src/index.mjs +1 -1
- package/dist/src/testing.d.mts +12 -7
- package/dist/src/testing.mjs +18 -8
- package/dist/templates/addon/assets/tests/addon.test.js +1 -1
- package/dist/templates/addon/package.json +7 -7
- package/dist/templates/demo/files.types=checkjs.json +1 -1
- package/dist/templates/demo/files.types=none.json +1 -1
- package/dist/templates/demo/files.types=typescript.json +1 -1
- package/dist/templates/demo/package.json +4 -4
- package/dist/templates/library/package.json +7 -7
- package/dist/templates/minimal/package.json +4 -4
- package/package.json +9 -9
package/dist/bin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as name, a as detectPackageManager, d as
|
|
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-DxLAZI4U.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";
|
|
@@ -14,6 +14,7 @@ type OfficialAddons = {
|
|
|
14
14
|
paraglide: Addon<any>;
|
|
15
15
|
storybook: Addon<any>;
|
|
16
16
|
mcp: Addon<any>;
|
|
17
|
+
experimental: Addon<any>;
|
|
17
18
|
};
|
|
18
19
|
declare const officialAddons: OfficialAddons;
|
|
19
20
|
//#endregion
|
|
@@ -82,6 +83,11 @@ type Workspace = {
|
|
|
82
83
|
language: "ts" | "js";
|
|
83
84
|
file: {
|
|
84
85
|
viteConfig: "vite.config.js" | "vite.config.ts";
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated the config no longer necessarily lives in `svelte.config.{js,ts}` (it can be
|
|
88
|
+
* passed to `sveltekit()` in `vite.config.{js,ts}`). Use `svelteConfig` from
|
|
89
|
+
* `@sveltejs/sv-utils` to edit it wherever it lives.
|
|
90
|
+
*/
|
|
85
91
|
svelteConfig: "svelte.config.js" | "svelte.config.ts";
|
|
86
92
|
typeConfig: "jsconfig.json" | "tsconfig.json" | undefined; /** `${directory.routes}/layout.css` or `src/app.css` */
|
|
87
93
|
stylesheet: `${string}/layout.css` | "src/app.css";
|