@runtypelabs/react-flow 1.0.77 → 1.0.81

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.
@@ -1,5 +1,53 @@
1
1
  # @runtypelabs/react-flow-example
2
2
 
3
+ ## 0.0.207
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [eb087f3]
8
+ - Updated dependencies [285febd]
9
+ - @runtypelabs/sdk@10.5.3
10
+ - @runtypelabs/react-flow@1.0.81
11
+
12
+ ## 0.0.206
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [89212e0]
17
+ - Updated dependencies [89212e0]
18
+ - @runtypelabs/sdk@10.5.2
19
+ - @runtypelabs/react-flow@1.0.80
20
+
21
+ ## 0.0.205
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [d57806c]
26
+ - Updated dependencies [ff4e517]
27
+ - Updated dependencies [ccbed29]
28
+ - Updated dependencies [c405b2f]
29
+ - Updated dependencies [d40c0af]
30
+ - Updated dependencies [2f967ad]
31
+ - @runtypelabs/sdk@10.5.1
32
+ - @runtypelabs/react-flow@1.0.79
33
+
34
+ ## 0.0.204
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [d52c119]
39
+ - Updated dependencies [0278184]
40
+ - Updated dependencies [0868afe]
41
+ - Updated dependencies [2f5901b]
42
+ - Updated dependencies [2f5901b]
43
+ - Updated dependencies [2f5901b]
44
+ - Updated dependencies [2f5901b]
45
+ - Updated dependencies [2f5901b]
46
+ - Updated dependencies [45223db]
47
+ - Updated dependencies [2f5901b]
48
+ - @runtypelabs/sdk@10.5.0
49
+ - @runtypelabs/react-flow@1.0.78
50
+
3
51
  ## 0.0.203
4
52
 
5
53
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow-example",
3
- "version": "0.0.203",
3
+ "version": "0.0.207",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow",
3
- "version": "1.0.77",
3
+ "version": "1.0.81",
4
4
  "description": "React Flow adapter for building visual flow editors with Runtype",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,7 +16,7 @@
16
16
  "*.css"
17
17
  ],
18
18
  "dependencies": {
19
- "@runtypelabs/sdk": "10.4.0"
19
+ "@runtypelabs/sdk": "10.5.3"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@xyflow/react": "^12.0.0",
@@ -29,7 +29,7 @@
29
29
  "@xyflow/react": "^12.10.1",
30
30
  "react": "19.2.8",
31
31
  "react-dom": "18.3.1",
32
- "tsup": "^8.0.0",
32
+ "tsdown": "^0.23.0",
33
33
  "typescript": "^6.0.3"
34
34
  },
35
35
  "keywords": [
@@ -56,8 +56,8 @@
56
56
  "access": "public"
57
57
  },
58
58
  "scripts": {
59
- "build": "tsup",
60
- "dev": "tsup --watch",
59
+ "build": "tsdown",
60
+ "dev": "tsdown --watch",
61
61
  "clean": "rm -rf dist",
62
62
  "typecheck": "tsgo --noEmit --skipLibCheck",
63
63
  "lint": "eslint ."
@@ -0,0 +1,18 @@
1
+ import { defineConfig } from 'tsdown'
2
+
3
+ import { tsupParity, withSubpaths } from '../../scripts/tsdown-tsup-parity.mts'
4
+
5
+ export default defineConfig({
6
+ entry: ['src/index.ts'],
7
+ format: ['cjs', 'esm'],
8
+ dts: false,
9
+ sourcemap: false,
10
+ clean: true,
11
+ target: 'es2020',
12
+ cjsDefault: false,
13
+ deps: {
14
+ neverBundle: withSubpaths('react', 'react-dom', '@xyflow/react'),
15
+ },
16
+ treeshake: true,
17
+ ...tsupParity({ esm: '.mjs', cjs: '.js' }),
18
+ })
package/tsup.config.ts DELETED
@@ -1,12 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- export default defineConfig({
4
- entry: ['src/index.ts'],
5
- format: ['cjs', 'esm'],
6
- dts: false,
7
- splitting: false,
8
- sourcemap: false,
9
- clean: true,
10
- external: ['react', 'react-dom', '@xyflow/react'],
11
- treeshake: true,
12
- })