@webjsdev/core 0.7.25 → 0.7.26
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/package.json +1 -1
- package/src/webjs-config.d.ts +10 -0
package/package.json
CHANGED
package/src/webjs-config.d.ts
CHANGED
|
@@ -145,6 +145,16 @@ export interface WebjsConfig {
|
|
|
145
145
|
*/
|
|
146
146
|
seed?: boolean;
|
|
147
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Bun zero-install dependency version-pinning switch (#685). Default `true`,
|
|
150
|
+
* Bun only. When on, an `onLoad` transform rewrites a declared dep's bare
|
|
151
|
+
* import specifier to its package.json / `bun.lock` version, so Bun's
|
|
152
|
+
* auto-install fetches the pinned version instead of latest (#684). Set to
|
|
153
|
+
* `false` to leave specifiers bare (zero-install resolves to latest). The
|
|
154
|
+
* `WEBJS_PIN` env override wins over this. No effect on Node.
|
|
155
|
+
*/
|
|
156
|
+
pin?: boolean;
|
|
157
|
+
|
|
148
158
|
/**
|
|
149
159
|
* Client-router switch (#629). Default `true`: the client router auto-enables
|
|
150
160
|
* in the browser whenever `@webjsdev/core` loads, so any page that ships a
|