@mittwald/flow-remote-react-components 1.1.0-next.10 → 1.1.0-next.12
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/README.md +2 -6
- package/USAGE.md +6 -1
- package/dist/js/version.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -27,11 +27,7 @@ pnpm add @mittwald/flow-remote-react-components
|
|
|
27
27
|
#### Adjust imports in your code
|
|
28
28
|
|
|
29
29
|
```shell
|
|
30
|
-
npx
|
|
31
|
-
-t https://raw.githubusercontent.com/mittwald/flow/refs/heads/main/packages/codemods/src/transforms/flowRemote.ts \
|
|
32
|
-
--parser tsx \
|
|
33
|
-
src
|
|
30
|
+
npx @mittwald/flow-codemods@latest to-remote-package src
|
|
34
31
|
```
|
|
35
32
|
|
|
36
|
-
Replace `src` with your sources folder.
|
|
37
|
-
project, use `--parser jsx`.
|
|
33
|
+
Replace `src` with your sources folder.
|
package/USAGE.md
CHANGED
|
@@ -123,7 +123,12 @@ Two consequences:
|
|
|
123
123
|
|
|
124
124
|
Read the
|
|
125
125
|
[migration notes](https://github.com/mittwald/flow/blob/main/packages/components/MIGRATION.md)
|
|
126
|
-
before upgrading — they cover the remote elements too.
|
|
126
|
+
before upgrading — they cover the remote elements too. The codemods among them
|
|
127
|
+
run from one command, and it treats this package like any other Flow dependency:
|
|
128
|
+
|
|
129
|
+
```shell
|
|
130
|
+
npx @mittwald/flow-codemods@latest upgrade
|
|
131
|
+
```
|
|
127
132
|
|
|
128
133
|
## Mistakes to avoid
|
|
129
134
|
|
package/dist/js/version.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { Version } from "@mittwald/flow-remote-core";
|
|
4
4
|
//#region src/version.ts
|
|
5
5
|
var communicationVersion = Version.v5;
|
|
6
|
-
var packageVersion = "1.1.0-next.
|
|
6
|
+
var packageVersion = "1.1.0-next.12";
|
|
7
7
|
var version = communicationVersion;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { communicationVersion, packageVersion, version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-remote-react-components",
|
|
3
|
-
"version": "1.1.0-next.
|
|
3
|
+
"version": "1.1.0-next.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React components that can be used in a remote environment",
|
|
6
6
|
"homepage": "https://flow.mittwald.de",
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"test:visual:update": "vitest run --project=visual --browser.headless --update"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@mittwald/flow-react-components": "1.1.0-next.
|
|
55
|
-
"@mittwald/flow-remote-core": "1.1.0-next.
|
|
56
|
-
"@mittwald/flow-remote-elements": "1.1.0-next.
|
|
54
|
+
"@mittwald/flow-react-components": "1.1.0-next.12",
|
|
55
|
+
"@mittwald/flow-remote-core": "1.1.0-next.12",
|
|
56
|
+
"@mittwald/flow-remote-elements": "1.1.0-next.12",
|
|
57
57
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
58
58
|
"@types/react": "^19.2",
|
|
59
59
|
"react-error-boundary": "^6.1.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@internationalized/date": "^3.12.3",
|
|
63
|
-
"@mittwald/ext-bridge": "1.1.0-next.
|
|
64
|
-
"@mittwald/flow-core": "1.1.0-next.
|
|
65
|
-
"@mittwald/flow-remote-react-renderer": "1.1.0-next.
|
|
66
|
-
"@mittwald/typescript-config": "1.1.0-next.
|
|
63
|
+
"@mittwald/ext-bridge": "1.1.0-next.12",
|
|
64
|
+
"@mittwald/flow-core": "1.1.0-next.12",
|
|
65
|
+
"@mittwald/flow-remote-react-renderer": "1.1.0-next.12",
|
|
66
|
+
"@mittwald/typescript-config": "1.1.0-next.12",
|
|
67
67
|
"@quilted/threads": "^3.3.1",
|
|
68
68
|
"@tabler/icons-react": "^3.44.0",
|
|
69
69
|
"@types/node": "^25.9.3",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@internationalized/date": "^3.12.2",
|
|
92
|
-
"@mittwald/ext-bridge": "1.1.0-next.
|
|
92
|
+
"@mittwald/ext-bridge": "1.1.0-next.12",
|
|
93
93
|
"react": "^19.2.0",
|
|
94
94
|
"react-hook-form": "^7.65.0"
|
|
95
95
|
},
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"optional": true
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "c2516ebf9bdf206936eab932d2eb111c55958054"
|
|
108
108
|
}
|