@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webjsdev/core",
3
- "version": "0.7.25",
3
+ "version": "0.7.26",
4
4
  "type": "module",
5
5
  "description": "webjs core runtime - html/css tags, WebComponent base, isomorphic renderers",
6
6
  "types": "./index.d.ts",
@@ -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