@pyreon/rocketstyle 0.3.0 → 0.11.1

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/lib/index.js +1 -1
  2. package/package.json +14 -12
package/lib/index.js CHANGED
@@ -647,7 +647,7 @@ const rocketstyle = (({ dimensions = DEFAULT_DIMENSIONS, useBooleans = true } =
647
647
  //#region src/isRocketComponent.ts
648
648
  /** Runtime type guard — checks if a component was created by `rocketstyle()`. */
649
649
  const isRocketComponent = (component) => {
650
- if (component && (typeof component === "object" || typeof component === "function") && component !== null && Object.hasOwn(component, "IS_ROCKETSTYLE")) return true;
650
+ if (component && (typeof component === "object" || typeof component === "function") && Object.hasOwn(component, "IS_ROCKETSTYLE")) return true;
651
651
  return false;
652
652
  };
653
653
 
package/package.json CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@pyreon/rocketstyle",
3
- "version": "0.3.0",
3
+ "version": "0.11.1",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "https://github.com/pyreon/ui-system",
7
- "directory": "packages/rocketstyle"
6
+ "url": "https://github.com/pyreon/pyreon",
7
+ "directory": "packages/ui-system/rocketstyle"
8
8
  },
9
9
  "description": "Multi-dimensional style composition for Pyreon components",
10
10
  "license": "MIT",
11
11
  "type": "module",
12
12
  "sideEffects": false,
13
13
  "exports": {
14
- "source": "./src/index.ts",
15
- "import": "./lib/index.js",
16
- "types": "./lib/index.d.ts"
14
+ ".": {
15
+ "bun": "./src/index.ts",
16
+ "import": "./lib/index.js",
17
+ "types": "./lib/index.d.ts"
18
+ }
17
19
  },
18
20
  "types": "./lib/index.d.ts",
19
21
  "main": "./lib/index.js",
@@ -25,7 +27,7 @@
25
27
  "LICENSE"
26
28
  ],
27
29
  "engines": {
28
- "node": ">= 18"
30
+ "node": ">= 22"
29
31
  },
30
32
  "publishConfig": {
31
33
  "access": "public"
@@ -41,13 +43,13 @@
41
43
  "typecheck": "tsc --noEmit"
42
44
  },
43
45
  "peerDependencies": {
44
- "@pyreon/core": ">=0.4.0 <1.0.0",
45
- "@pyreon/reactivity": ">=0.4.0 <1.0.0",
46
- "@pyreon/ui-core": ">=0.3.0",
47
- "@pyreon/styler": ">=0.3.0"
46
+ "@pyreon/core": "^0.11.1",
47
+ "@pyreon/reactivity": "^0.11.1",
48
+ "@pyreon/ui-core": "^0.11.1",
49
+ "@pyreon/styler": "^0.11.1"
48
50
  },
49
51
  "devDependencies": {
50
52
  "@vitus-labs/tools-rolldown": "^1.15.3",
51
- "@pyreon/typescript": "^0.7.4"
53
+ "@pyreon/typescript": "^0.11.1"
52
54
  }
53
55
  }