@velastack/patterns 0.12.0 → 0.13.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/README.md +21 -2
- package/dist/chunks/{collections-DzwWwFUQ.js → collections-zEoRuILr.js} +2 -2
- package/dist/chunks/{collections-DzwWwFUQ.js.map → collections-zEoRuILr.js.map} +1 -1
- package/dist/chunks/constants-CUv536Rj.js +87 -0
- package/dist/chunks/constants-CUv536Rj.js.map +1 -0
- package/dist/chunks/{currency.server-CzHS7Svd.js → currency.server-DygAf6a1.js} +2 -2
- package/dist/chunks/{currency.server-CzHS7Svd.js.map → currency.server-DygAf6a1.js.map} +1 -1
- package/dist/chunks/{env-vars-CNH-ItSY.js → env-vars-XvAeH6u5.js} +3 -3
- package/dist/chunks/{env-vars-CNH-ItSY.js.map → env-vars-XvAeH6u5.js.map} +1 -1
- package/dist/chunks/{generate-D21dCU-o.js → generate-BtWZCvuO.js} +3 -3
- package/dist/chunks/{generate-D21dCU-o.js.map → generate-BtWZCvuO.js.map} +1 -1
- package/dist/chunks/{generate-BEc_h7OI.js → generate-Cbg-Z3sA.js} +2 -2
- package/dist/chunks/{generate-BEc_h7OI.js.map → generate-Cbg-Z3sA.js.map} +1 -1
- package/dist/chunks/{generate-DiwvSC9c.js → generate-Crdzw45a.js} +2 -2
- package/dist/chunks/{generate-DiwvSC9c.js.map → generate-Crdzw45a.js.map} +1 -1
- package/dist/chunks/{generate-C3OaUggX.js → generate-DgZhFNjO.js} +22 -22
- package/dist/chunks/generate-DgZhFNjO.js.map +1 -0
- package/dist/chunks/{generate-CtQcmjPM.js → generate-DjuhSibA.js} +84 -84
- package/dist/chunks/generate-DjuhSibA.js.map +1 -0
- package/dist/chunks/{generate.runtime-CaOO0281.js → generate.runtime-2GD2E1NK.js} +6 -6
- package/dist/chunks/{generate.runtime-CaOO0281.js.map → generate.runtime-2GD2E1NK.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CowdMKQs.js → generate.runtime-4TxcYKld.js} +3 -3
- package/dist/chunks/{generate.runtime-CowdMKQs.js.map → generate.runtime-4TxcYKld.js.map} +1 -1
- package/dist/chunks/{generate.runtime-B3yuIjJD.js → generate.runtime-7sU7RzIA.js} +2 -2
- package/dist/chunks/{generate.runtime-B3yuIjJD.js.map → generate.runtime-7sU7RzIA.js.map} +1 -1
- package/dist/chunks/{generate.runtime-BBfiR_Le.js → generate.runtime-B-WOQsda.js} +3 -3
- package/dist/chunks/{generate.runtime-BBfiR_Le.js.map → generate.runtime-B-WOQsda.js.map} +1 -1
- package/dist/chunks/{generate.runtime-kEHEiLBL.js → generate.runtime-B2DI0x05.js} +2 -2
- package/dist/chunks/{generate.runtime-kEHEiLBL.js.map → generate.runtime-B2DI0x05.js.map} +1 -1
- package/dist/chunks/{generate.runtime-BTHuPon9.js → generate.runtime-B8y_l-6N.js} +5 -5
- package/dist/chunks/{generate.runtime-BTHuPon9.js.map → generate.runtime-B8y_l-6N.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DbSRJF-C.js → generate.runtime-BEvi6bml.js} +3 -3
- package/dist/chunks/{generate.runtime-DbSRJF-C.js.map → generate.runtime-BEvi6bml.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CCE-9xQV.js → generate.runtime-BO1KyRcJ.js} +2 -2
- package/dist/chunks/{generate.runtime-CCE-9xQV.js.map → generate.runtime-BO1KyRcJ.js.map} +1 -1
- package/dist/chunks/{generate.runtime-D_HYO-mG.js → generate.runtime-BPVZsAL0.js} +4 -4
- package/dist/chunks/{generate.runtime-D_HYO-mG.js.map → generate.runtime-BPVZsAL0.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DVwha8lZ.js → generate.runtime-BfM3dX_R.js} +2 -2
- package/dist/chunks/{generate.runtime-DVwha8lZ.js.map → generate.runtime-BfM3dX_R.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CtFCayo8.js → generate.runtime-BfQlxsWK.js} +7 -7
- package/dist/chunks/{generate.runtime-CtFCayo8.js.map → generate.runtime-BfQlxsWK.js.map} +1 -1
- package/dist/chunks/{generate.runtime-Drpy9sWO.js → generate.runtime-BsjcGBme.js} +2 -2
- package/dist/chunks/{generate.runtime-Drpy9sWO.js.map → generate.runtime-BsjcGBme.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DOv-bhM6.js → generate.runtime-ByC9kOl2.js} +2 -2
- package/dist/chunks/{generate.runtime-DOv-bhM6.js.map → generate.runtime-ByC9kOl2.js.map} +1 -1
- package/dist/chunks/{generate.runtime-Dy9uuf7M.js → generate.runtime-C2pIioyZ.js} +6 -6
- package/dist/chunks/{generate.runtime-Dy9uuf7M.js.map → generate.runtime-C2pIioyZ.js.map} +1 -1
- package/dist/chunks/{generate.runtime--VeSxyIm.js → generate.runtime-C4hyve9h.js} +3 -3
- package/dist/chunks/{generate.runtime--VeSxyIm.js.map → generate.runtime-C4hyve9h.js.map} +1 -1
- package/dist/chunks/{generate.runtime-r9Ouwr5B.js → generate.runtime-C9yduilW.js} +3 -3
- package/dist/chunks/{generate.runtime-r9Ouwr5B.js.map → generate.runtime-C9yduilW.js.map} +1 -1
- package/dist/chunks/{generate.runtime-HkvT9gm6.js → generate.runtime-CEd3qCtW.js} +4 -4
- package/dist/chunks/{generate.runtime-HkvT9gm6.js.map → generate.runtime-CEd3qCtW.js.map} +1 -1
- package/dist/chunks/{generate.runtime-D34lCyet.js → generate.runtime-CHaE6Mm9.js} +3 -3
- package/dist/chunks/{generate.runtime-D34lCyet.js.map → generate.runtime-CHaE6Mm9.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DbMDlglD.js → generate.runtime-CXGiQWDK.js} +4 -4
- package/dist/chunks/{generate.runtime-DbMDlglD.js.map → generate.runtime-CXGiQWDK.js.map} +1 -1
- package/dist/chunks/{generate.runtime-BK7x32md.js → generate.runtime-CvtSK0E1.js} +3 -3
- package/dist/chunks/{generate.runtime-BK7x32md.js.map → generate.runtime-CvtSK0E1.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CeoqgxiO.js → generate.runtime-DGmpjkRe.js} +4 -4
- package/dist/chunks/{generate.runtime-CeoqgxiO.js.map → generate.runtime-DGmpjkRe.js.map} +1 -1
- package/dist/chunks/{generate.runtime-Brakd35X.js → generate.runtime-DI73x08q.js} +2 -2
- package/dist/chunks/{generate.runtime-Brakd35X.js.map → generate.runtime-DI73x08q.js.map} +1 -1
- package/dist/chunks/{generate.runtime-Bx_CaBZD.js → generate.runtime-DIkM5xIB.js} +2 -2
- package/dist/chunks/{generate.runtime-Bx_CaBZD.js.map → generate.runtime-DIkM5xIB.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DlPeHx19.js → generate.runtime-DRZDjZqw.js} +2 -2
- package/dist/chunks/{generate.runtime-DlPeHx19.js.map → generate.runtime-DRZDjZqw.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DUBOC6AA.js → generate.runtime-DVUj1LJK.js} +3 -3
- package/dist/chunks/{generate.runtime-DUBOC6AA.js.map → generate.runtime-DVUj1LJK.js.map} +1 -1
- package/dist/chunks/{generate.runtime--yCjGZ6-.js → generate.runtime-Deg1Tz9u.js} +3 -3
- package/dist/chunks/{generate.runtime--yCjGZ6-.js.map → generate.runtime-Deg1Tz9u.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DOWDoe6B.js → generate.runtime-DqYYJXAz.js} +2 -2
- package/dist/chunks/{generate.runtime-DOWDoe6B.js.map → generate.runtime-DqYYJXAz.js.map} +1 -1
- package/dist/chunks/{generate.runtime-C8-mjcn8.js → generate.runtime-Du8puIJQ.js} +6 -6
- package/dist/chunks/{generate.runtime-C8-mjcn8.js.map → generate.runtime-Du8puIJQ.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DRuPb-67.js → generate.runtime-DzCVGruq.js} +2 -2
- package/dist/chunks/{generate.runtime-DRuPb-67.js.map → generate.runtime-DzCVGruq.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CAO_SpsA.js → generate.runtime-TKR-qAJM.js} +2 -2
- package/dist/chunks/{generate.runtime-CAO_SpsA.js.map → generate.runtime-TKR-qAJM.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CGJ_4VS_.js → generate.runtime-USnFqTbU.js} +4 -4
- package/dist/chunks/{generate.runtime-CGJ_4VS_.js.map → generate.runtime-USnFqTbU.js.map} +1 -1
- package/dist/chunks/{generate.runtime-sALBNh1T.js → generate.runtime-UrLaWKvN.js} +4 -4
- package/dist/chunks/{generate.runtime-sALBNh1T.js.map → generate.runtime-UrLaWKvN.js.map} +1 -1
- package/dist/chunks/{generate.runtime-Ce2O5uWy.js → generate.runtime-bWGwyz2U.js} +3 -3
- package/dist/chunks/{generate.runtime-Ce2O5uWy.js.map → generate.runtime-bWGwyz2U.js.map} +1 -1
- package/dist/chunks/{generate.runtime-BL62aRng.js → generate.runtime-g6qaIY3k.js} +6 -6
- package/dist/chunks/{generate.runtime-BL62aRng.js.map → generate.runtime-g6qaIY3k.js.map} +1 -1
- package/dist/chunks/{generate.runtime-DroVnvQz.js → generate.runtime-s9ai7PxV.js} +4 -4
- package/dist/chunks/{generate.runtime-DroVnvQz.js.map → generate.runtime-s9ai7PxV.js.map} +1 -1
- package/dist/chunks/{generate.runtime-CPDJolef.js → generate.runtime-taYl9Tg5.js} +4 -4
- package/dist/chunks/{generate.runtime-CPDJolef.js.map → generate.runtime-taYl9Tg5.js.map} +1 -1
- package/dist/chunks/{modify-file-DdXJCMHN.js → modify-file-D9U2LXEa.js} +2 -2
- package/dist/chunks/{modify-file-DdXJCMHN.js.map → modify-file-D9U2LXEa.js.map} +1 -1
- package/dist/chunks/{pocketbase-uOpghyT5.js → pocketbase-BTR3gI8o.js} +2 -2
- package/dist/chunks/{pocketbase-uOpghyT5.js.map → pocketbase-BTR3gI8o.js.map} +1 -1
- package/dist/chunks/{providers-ypCW70Mb.js → providers-CpRRQdMg.js} +2 -2
- package/dist/chunks/{providers-ypCW70Mb.js.map → providers-CpRRQdMg.js.map} +1 -1
- package/dist/chunks/{shared-DIDAkVts.js → shared-CAjLx_8Z.js} +2 -2
- package/dist/chunks/{shared-DIDAkVts.js.map → shared-CAjLx_8Z.js.map} +1 -1
- package/dist/chunks/{site-CVtsbO_S.js → site-D0IuWkAR.js} +2 -2
- package/dist/chunks/{site-CVtsbO_S.js.map → site-D0IuWkAR.js.map} +1 -1
- package/dist/chunks/table-core-BKBoEStB.js +127 -0
- package/dist/chunks/table-core-BKBoEStB.js.map +1 -0
- package/dist/chunks/{test-setup-B37g3TRn.js → test-setup-CbCXmPkE.js} +3 -3
- package/dist/chunks/{test-setup-B37g3TRn.js.map → test-setup-CbCXmPkE.js.map} +1 -1
- package/dist/chunks/{ui-Ct_9B91R.js → ui-B3Db8cQg.js} +3 -3
- package/dist/chunks/{ui-Ct_9B91R.js.map → ui-B3Db8cQg.js.map} +1 -1
- package/dist/chunks/{whatsapp-Dr29ohbb.js → whatsapp-Pya8Zi07.js} +2 -2
- package/dist/chunks/{whatsapp-Dr29ohbb.js.map → whatsapp-Pya8Zi07.js.map} +1 -1
- package/dist/chunks/{write-result-mtVbmDyQ.js → write-result-BWXq9RRn.js} +4 -4
- package/dist/chunks/{write-result-mtVbmDyQ.js.map → write-result-BWXq9RRn.js.map} +1 -1
- package/dist/index.d.ts +57 -17
- package/dist/index.js +1950 -1947
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
- package/dist/chunks/constants-8cLxGOB0.js +0 -6
- package/dist/chunks/constants-8cLxGOB0.js.map +0 -1
- package/dist/chunks/generate-C3OaUggX.js.map +0 -1
- package/dist/chunks/generate-CtQcmjPM.js.map +0 -1
- package/dist/chunks/table-core-CUGp4Rf2.js +0 -127
- package/dist/chunks/table-core-CUGp4Rf2.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** The adapter `vela enable backend` moves a project to. */
|
|
2
|
-
export declare const ADAPTER_NODE
|
|
2
|
+
export declare const ADAPTER_NODE: string;
|
|
3
3
|
|
|
4
4
|
/** The adapter a static project builds with (`vela disable backend`). */
|
|
5
|
-
export declare const ADAPTER_STATIC
|
|
5
|
+
export declare const ADAPTER_STATIC: string;
|
|
6
6
|
|
|
7
7
|
/** Sets the base palette through `shadcn-svelte apply`. */
|
|
8
8
|
export declare function applyBaseColor(options: ApplyBaseColorOptions, runtime?: WriteResultRuntime): Promise<ApplyColorsResult>;
|
|
@@ -39,7 +39,7 @@ export declare interface ApplyThemeOptions {
|
|
|
39
39
|
*/
|
|
40
40
|
export declare function blockingFeatures(pattern: Pick<Pattern, "blockedBy">, features: Features): FeatureFlag[];
|
|
41
41
|
|
|
42
|
-
export declare const byCategory: Record<"auth" | "api" | "backend" | "i18n" | "payments" | "content" | "
|
|
42
|
+
export declare const byCategory: Record<"auth" | "api" | "backend" | "i18n" | "payments" | "content" | "ai" | "generators" | "analytics", ({
|
|
43
43
|
version: string;
|
|
44
44
|
slug: "generate-form";
|
|
45
45
|
source: string;
|
|
@@ -1902,15 +1902,15 @@ export { File_2 as File }
|
|
|
1902
1902
|
|
|
1903
1903
|
declare type FileStatus = "success" | "failed" | "not-found";
|
|
1904
1904
|
|
|
1905
|
-
/** The flash-message
|
|
1906
|
-
export declare const FLASH
|
|
1905
|
+
/** The flash-message line that supports SvelteKit 3. */
|
|
1906
|
+
export declare const FLASH: string;
|
|
1907
1907
|
|
|
1908
1908
|
/**
|
|
1909
1909
|
* `file-form` and `multiselect` build on formsnap's field context. 2.1.0 is
|
|
1910
1910
|
* the first release whose superforms peer admits 3.x; 2.0 needed an npm
|
|
1911
1911
|
* override, which `writeResult` now removes (`reconcileFormsnap`).
|
|
1912
1912
|
*/
|
|
1913
|
-
export declare const FORMSNAP
|
|
1913
|
+
export declare const FORMSNAP: string;
|
|
1914
1914
|
|
|
1915
1915
|
declare function generate(options: Options): Promise< Result>;
|
|
1916
1916
|
|
|
@@ -2060,7 +2060,13 @@ export declare type ModifyOutcome = {
|
|
|
2060
2060
|
message: string;
|
|
2061
2061
|
};
|
|
2062
2062
|
|
|
2063
|
-
export declare const NEGOTIATE
|
|
2063
|
+
export declare const NEGOTIATE: string;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* The oldest Node a vela project may run on: the floor of its `engines.node`.
|
|
2067
|
+
* Projects set `engine-strict`, so no listed package may require a later one.
|
|
2068
|
+
*/
|
|
2069
|
+
export declare const NODE_FLOOR: string;
|
|
2064
2070
|
|
|
2065
2071
|
export declare interface Options {
|
|
2066
2072
|
argv: string[];
|
|
@@ -3986,19 +3992,27 @@ declare interface RouteGroups {
|
|
|
3986
3992
|
|
|
3987
3993
|
export declare type Slug = PatternEntry["slug"];
|
|
3988
3994
|
|
|
3995
|
+
/** The install spec for a listed package: `spec("zod")` is `zod@^4.6.7`. */
|
|
3996
|
+
export declare function spec(name: string): string;
|
|
3997
|
+
|
|
3989
3998
|
/**
|
|
3990
3999
|
* What a generated superforms page needs. Vela's templates already carry
|
|
3991
4000
|
* both; a project vela did not create may have neither.
|
|
3992
4001
|
*/
|
|
3993
|
-
export declare const SUPERFORMS
|
|
4002
|
+
export declare const SUPERFORMS: string;
|
|
3994
4003
|
|
|
3995
4004
|
/**
|
|
3996
|
-
* The superforms
|
|
3997
|
-
*
|
|
3998
|
-
*
|
|
3999
|
-
*
|
|
4005
|
+
* The superforms range a project starts on: 3.x, the line that supports
|
|
4006
|
+
* SvelteKit 3. A caret like any other dependency, now that formsnap 2.1 peers
|
|
4007
|
+
* `^3.0.0`; it was an exact version while 3.0 was a `next` prerelease, because
|
|
4008
|
+
* a caret on a prerelease follows every later `next` build. `writeResult`,
|
|
4009
|
+
* `vela migrate` and `vela bless` still move a project off one of those
|
|
4010
|
+
* prerelease pins (`reconcileFormsnap`).
|
|
4011
|
+
*
|
|
4012
|
+
* The name is from the exact-pin days and is kept for the CLI, which imports
|
|
4013
|
+
* it; the value is a range.
|
|
4000
4014
|
*/
|
|
4001
|
-
export declare const SUPERFORMS_VERSION
|
|
4015
|
+
export declare const SUPERFORMS_VERSION: string;
|
|
4002
4016
|
|
|
4003
4017
|
/** Moves a project to another shadcn-svelte style, re-adding its registry components. */
|
|
4004
4018
|
export declare function switchStyle(options: SwitchStyleOptions, runtime?: WriteResultRuntime): Promise<SwitchStyleResult>;
|
|
@@ -4086,16 +4100,42 @@ export declare interface UnmodifyEnvVarsResult {
|
|
|
4086
4100
|
deleted: boolean;
|
|
4087
4101
|
}
|
|
4088
4102
|
|
|
4089
|
-
export declare const VELASTACK_CMS
|
|
4103
|
+
export declare const VELASTACK_CMS: string;
|
|
4090
4104
|
|
|
4091
4105
|
/** The VelaStack libraries' SvelteKit 3 releases. */
|
|
4092
|
-
export declare const VELASTACK_KIT
|
|
4106
|
+
export declare const VELASTACK_KIT: string;
|
|
4093
4107
|
|
|
4094
|
-
/** 0.4.2 proxies plugin webhooks (pocketbase-whatsapp) to PocketBase. */
|
|
4095
|
-
export declare const VELASTACK_POCKETBASE
|
|
4108
|
+
/** 0.4.2 or later: it proxies plugin webhooks (pocketbase-whatsapp) to PocketBase. */
|
|
4109
|
+
export declare const VELASTACK_POCKETBASE: string;
|
|
4096
4110
|
|
|
4097
4111
|
export declare const version: string;
|
|
4098
4112
|
|
|
4113
|
+
/** Packages kept below their latest release on purpose, and why. */
|
|
4114
|
+
export declare const VERSION_HOLDS: Readonly<Record<string, {
|
|
4115
|
+
reason: string;
|
|
4116
|
+
since: string;
|
|
4117
|
+
}>>;
|
|
4118
|
+
|
|
4119
|
+
/** Packages whose range follows another project's rather than npm's latest. */
|
|
4120
|
+
export declare const VERSION_TRACKS: Readonly<Record<string, {
|
|
4121
|
+
source: string;
|
|
4122
|
+
reason: string;
|
|
4123
|
+
}>>;
|
|
4124
|
+
|
|
4125
|
+
/**
|
|
4126
|
+
* The dependency ranges every vela project starts from, in one place:
|
|
4127
|
+
* `versions.json` beside this file.
|
|
4128
|
+
*
|
|
4129
|
+
* Three things read it. The patterns here install from it (`spec`). The vela
|
|
4130
|
+
* CLI's `minimal` and `static` templates, and the velastack-templates
|
|
4131
|
+
* baselines built on them, list the same ranges and each carry a test that
|
|
4132
|
+
* they still do. And `scripts/bump-versions.ts` keeps it current.
|
|
4133
|
+
*
|
|
4134
|
+
* So a version is changed here and nowhere else; the other copies follow it,
|
|
4135
|
+
* and their tests fail until they do.
|
|
4136
|
+
*/
|
|
4137
|
+
export declare const VERSIONS: Readonly<Record<string, string>>;
|
|
4138
|
+
|
|
4099
4139
|
/**
|
|
4100
4140
|
* The seams for anything that leaves the process: the package-manager spawn
|
|
4101
4141
|
* and the HTTP client the shadcn-svelte registry is read with.
|