@pyreon/core 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +4 -5
package/README.md CHANGED
@@ -10,8 +10,8 @@ bun add @pyreon/core
10
10
 
11
11
  ## Quick Start
12
12
 
13
- ```ts
14
- import { h, Fragment, onMount, onUnmount, createContext, useContext } from "@pyreon/core"
13
+ ```tsx
14
+ import { onMount, onUnmount, createContext, useContext } from "@pyreon/core"
15
15
 
16
16
  function Counter() {
17
17
  onMount(() => {
@@ -19,7 +19,7 @@ function Counter() {
19
19
  return undefined
20
20
  })
21
21
 
22
- return h("div", null, "Hello Pyreon")
22
+ return <div>Hello Pyreon</div>
23
23
  }
24
24
  ```
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyreon/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Core component model and lifecycle for Pyreon",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,12 +45,11 @@
45
45
  "dev": "vl_rolldown_build-watch",
46
46
  "test": "vitest run",
47
47
  "typecheck": "tsc --noEmit",
48
- "prepublishOnly": "bun run build",
49
- "prepack": "bun run ../../scripts/resolve-workspace-deps.ts pre",
50
- "postpack": "bun run ../../scripts/resolve-workspace-deps.ts post"
48
+ "lint": "biome check .",
49
+ "prepublishOnly": "bun run build"
51
50
  },
52
51
  "dependencies": {
53
- "@pyreon/reactivity": "^0.1.1"
52
+ "@pyreon/reactivity": "workspace:*"
54
53
  },
55
54
  "publishConfig": {
56
55
  "access": "public"