@vidact/start 0.2.0-beta.7 → 0.2.0-beta.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @vidact/start
2
2
 
3
+ ## 0.2.0-beta.9
4
+
5
+ ### Patch Changes
6
+
7
+ - @vidact/vite@0.2.0-beta.9
8
+ - @vidact/runtime@0.2.0-beta.9
9
+
10
+ ## 0.2.0-beta.8
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [e480658]
15
+ - @vidact/runtime@0.2.0-beta.8
16
+ - @vidact/vite@0.2.0-beta.8
17
+
3
18
  ## 0.2.0-beta.7
4
19
 
5
20
  ### Patch Changes
@@ -1,8 +1,10 @@
1
1
  import { anchorProps } from "./link-contract.js";
2
+ import { compiledRoot, createNarrowCompiledScope } from "@vidact/runtime";
2
3
  import { createElement } from "@vidact/runtime/hydrate";
3
4
  //#region src/link-client.ts
4
5
  function Link(props) {
5
- return createElement("a", anchorProps(props));
6
+ const scope = createNarrowCompiledScope();
7
+ return compiledRoot(scope, () => createElement("a", anchorProps(props)));
6
8
  }
7
9
  //#endregion
8
10
  export { Link };
@@ -1 +1 @@
1
- {"version":3,"file":"link-client.js","names":[],"sources":["../src/link-client.ts"],"mappings":";;;AAKA,SAAgB,KAAK,OAAuC;CAC1D,OAAO,cAAc,KAAK,YAAY,KAAK,CAAC;AAC9C"}
1
+ {"version":3,"file":"link-client.js","names":[],"sources":["../src/link-client.ts"],"mappings":";;;;AAKA,SAAgB,KAAK,OAAuC;CAC1D,MAAM,QAAQ,0BAA0B;CACxC,OAAO,aAAa,aAAa,cAAc,KAAK,YAAY,KAAK,CAAC,CAAC;AACzE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidact/start",
3
- "version": "0.2.0-beta.7",
3
+ "version": "0.2.0-beta.9",
4
4
  "description": "Full-stack application framework primitives for Vidact",
5
5
  "keywords": [
6
6
  "full-stack",
@@ -53,8 +53,8 @@
53
53
  "access": "public"
54
54
  },
55
55
  "dependencies": {
56
- "@vidact/runtime": "0.2.0-beta.7",
57
- "@vidact/vite": "0.2.0-beta.7"
56
+ "@vidact/runtime": "0.2.0-beta.9",
57
+ "@vidact/vite": "0.2.0-beta.9"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/node": "24.13.3",
@@ -1,10 +1,11 @@
1
- import type { CompiledRenderValue } from '@vidact/runtime'
1
+ import { compiledRoot, createNarrowCompiledScope, type CompiledRenderValue } from '@vidact/runtime'
2
2
  import { createElement } from '@vidact/runtime/hydrate'
3
3
 
4
4
  import { anchorProps, type LinkProps } from './link-contract.ts'
5
5
 
6
6
  export function Link(props: LinkProps): CompiledRenderValue {
7
- return createElement('a', anchorProps(props)) as unknown as CompiledRenderValue
7
+ const scope = createNarrowCompiledScope()
8
+ return compiledRoot(scope, () => createElement('a', anchorProps(props)))
8
9
  }
9
10
 
10
11
  export type { LinkProps }