Skip to content

Commit aac156e

Browse files
committed
chore: remove react peerDeps on plugin-map-initial-activity
1 parent 0a105c3 commit aac156e

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

.pnp.cjs

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/plugin-map-initial-activity/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,12 @@
3333
"devDependencies": {
3434
"@stackflow/core": "^1.1.0",
3535
"@stackflow/esbuild-config": "^1.0.3",
36-
"@stackflow/react": "^1.3.2",
3736
"esbuild": "^0.23.0",
3837
"rimraf": "^3.0.2",
3938
"typescript": "^5.5.3"
4039
},
4140
"peerDependencies": {
42-
"@stackflow/core": "^1.1.0-canary.0",
43-
"@stackflow/react": "^1.3.2-canary.0"
41+
"@stackflow/core": "^1.1.0-canary.0"
4442
},
4543
"publishConfig": {
4644
"access": "public"

extensions/plugin-map-initial-activity/src/mapInitialActivityPlugin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { StackflowPlugin } from "@stackflow/core";
12
import { id, makeEvent } from "@stackflow/core";
2-
import type { StackflowReactPlugin } from "@stackflow/react";
33

44
const SECOND = 1000;
55
const MINUTE = 60 * SECOND;
@@ -13,7 +13,7 @@ type MapInitialActivityPluginOptions = {
1313

1414
export function mapInitialActivityPlugin(
1515
options: MapInitialActivityPluginOptions,
16-
): StackflowReactPlugin {
16+
): StackflowPlugin {
1717
return () => ({
1818
key: "@stackflow/plugin-override-initial-activity",
1919
overrideInitialEvents({ initialEvents }) {

yarn.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,13 +2270,11 @@ __metadata:
22702270
dependencies:
22712271
"@stackflow/core": "npm:^1.1.0"
22722272
"@stackflow/esbuild-config": "npm:^1.0.3"
2273-
"@stackflow/react": "npm:^1.3.2"
22742273
esbuild: "npm:^0.23.0"
22752274
rimraf: "npm:^3.0.2"
22762275
typescript: "npm:^5.5.3"
22772276
peerDependencies:
22782277
"@stackflow/core": ^1.1.0-canary.0
2279-
"@stackflow/react": ^1.3.2-canary.0
22802278
languageName: unknown
22812279
linkType: soft
22822280

0 commit comments

Comments
 (0)