@hexclave/react 1.0.6 → 1.0.8

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.
@@ -14,7 +14,7 @@ import { envVars } from "../../../../generated/env.js";
14
14
  import { resolveHandlerUrls } from "../../url-targets.js";
15
15
 
16
16
  //#region src/lib/hexclave-app/apps/implementations/common.ts
17
- const clientVersion = "js @hexclave/react@1.0.6";
17
+ const clientVersion = "js @hexclave/react@1.0.8";
18
18
  if (clientVersion.startsWith("STACK_COMPILE_TIME")) throw new HexclaveAssertionError("Client version was not replaced. Something went wrong during build!");
19
19
  const replaceHexclavePortPrefix = (input) => {
20
20
  if (!input) return input;
@@ -17,7 +17,7 @@ let ____________generated_env_js = require("../../../../generated/env.js");
17
17
  let ______url_targets_js = require("../../url-targets.js");
18
18
 
19
19
  //#region src/lib/hexclave-app/apps/implementations/common.ts
20
- const clientVersion = "js @hexclave/react@1.0.6";
20
+ const clientVersion = "js @hexclave/react@1.0.8";
21
21
  if (clientVersion.startsWith("STACK_COMPILE_TIME")) throw new _hexclave_shared_dist_utils_errors.HexclaveAssertionError("Client version was not replaced. Something went wrong during build!");
22
22
  const replaceHexclavePortPrefix = (input) => {
23
23
  if (!input) return input;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)",
3
3
  "name": "@hexclave/react",
4
- "version": "1.0.6",
4
+ "version": "1.0.8",
5
5
  "repository": "https://github.com/hexclave/hexclave",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -66,14 +66,19 @@
66
66
  "rrweb": "^1.1.3",
67
67
  "tsx": "^4.21.0",
68
68
  "yup": "^1.7.1",
69
- "@hexclave/ui": "1.0.6",
70
- "@hexclave/shared": "1.0.6"
69
+ "@hexclave/shared": "1.0.8",
70
+ "@hexclave/ui": "1.0.8"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@types/react": ">=18.0.0",
74
+ "@types/react-dom": ">=18.0.0",
75
+ "react-dom": ">=18.0.0",
74
76
  "react": ">=18.0.0"
75
77
  },
76
78
  "peerDependenciesMeta": {
79
+ "@types/react-dom": {
80
+ "optional": true
81
+ },
77
82
  "@types/react": {
78
83
  "optional": true
79
84
  }
@@ -104,10 +109,10 @@
104
109
  "typecheck": "tsc --noEmit",
105
110
  "clean": "rimraf dist && rimraf node_modules",
106
111
  "lint": "eslint --ext .tsx,.ts .",
107
- "build": "rimraf dist && pnpm run codegen && tsdown",
108
- "dev": "concurrently -n \"build,codegen\" -k \"tsdown --watch\" \"pnpm run codegen:watch\"",
109
112
  "codegen": "pnpm run env && pnpm run css",
110
113
  "codegen:watch": "concurrently -n \"env,css\" -k \"pnpm run env:watch\" \"pnpm run css:watch\"",
114
+ "build": "rimraf dist && pnpm run codegen && tsdown",
115
+ "dev": "concurrently -n \"build,codegen\" -k \"tsdown --watch\" \"pnpm run codegen:watch\"",
111
116
  "env": "tsx ./scripts/generate-env.ts",
112
117
  "env:watch": "chokidar --silent './scripts/generate-env.ts' -c 'pnpm run env' --throttle 2000",
113
118
  "css": "pnpm run css-tw && pnpm run css-sc",