Skip to content

Commit

Permalink
Upgrade effect to 3.8.3
Browse files Browse the repository at this point in the history
sleepyfran committed Sep 23, 2024

Verified

This commit was signed with the committer’s verified signature.
sleepyfran Fran González
1 parent 1d937db commit 28b0c7b
Showing 41 changed files with 50 additions and 48 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
},
"dependencies": {
"@effect/schema": "^0.71.1",
"effect": "^3.6.5"
"effect": "^3.8.3"
},
"devDependencies": {
"@rollup/plugin-inject": "^5.0.5",
2 changes: 1 addition & 1 deletion packages/components/add-provider/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/components-ui-atoms": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
2 changes: 1 addition & 1 deletion packages/components/albums/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"@echo/components-icons": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
4 changes: 2 additions & 2 deletions packages/components/artists/package.json
Original file line number Diff line number Diff line change
@@ -10,9 +10,9 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1",
"@lit-labs/router": "^0.1.3"
}
}
}
4 changes: 2 additions & 2 deletions packages/components/command-bar/package.json
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
}
}
2 changes: 1 addition & 1 deletion packages/components/header/package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"@echo/components-provider-status": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
4 changes: 2 additions & 2 deletions packages/components/icons/package.json
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
}
}
2 changes: 1 addition & 1 deletion packages/components/initial-setup/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"@echo/components-ui-atoms": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
2 changes: 1 addition & 1 deletion packages/components/library/package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/context": "^1.1.2"
}
2 changes: 1 addition & 1 deletion packages/components/player/package.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
"@echo/components-ui-atoms": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
2 changes: 1 addition & 1 deletion packages/components/provider-status/package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/components-ui-atoms": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
2 changes: 1 addition & 1 deletion packages/components/shared-controllers/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"dependencies": {
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
4 changes: 2 additions & 2 deletions packages/components/ui-atoms/package.json
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
}
}
2 changes: 1 addition & 1 deletion packages/core/types/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@effect/schema": "^0.71.1",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/core/types/src/services/player.ts
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ export type IPlayer = {
* Returns a stream that emits the current player state and any subsequent
* changes to it.
*/
readonly observe: SubscriptionRef.SubscriptionRef<PlayerState>;
readonly observe: Effect.Effect<SubscriptionRef.SubscriptionRef<PlayerState>>;
};

/**
4 changes: 3 additions & 1 deletion packages/core/types/src/services/provider-status.ts
Original file line number Diff line number Diff line change
@@ -15,7 +15,9 @@ export type IMediaProviderStatus = {
* Returns a subscription ref that holds the current status of a specific
* provider, while also allowing to observe changes to it.
*/
readonly observe: SubscriptionRef.SubscriptionRef<StateByProvider>;
readonly observe: Effect.Effect<
SubscriptionRef.SubscriptionRef<StateByProvider>
>;
};

/**
2 changes: 1 addition & 1 deletion packages/infrastructure/broadcast-channel/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/infrastructure/browser-crypto/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/infrastructure/browser-local-storage/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/infrastructure/dexie-database/package.json
Original file line number Diff line number Diff line change
@@ -12,6 +12,6 @@
"@echo/core-strings": "^1.0.0",
"@echo/core-types": "^1.0.0",
"dexie": "^4.0.7",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/infrastructure/mmb-metadata-provider/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"dependencies": {
"@echo/core-types": "^1.0.0",
"buffer": "^6.0.3",
"effect": "^3.6.5",
"effect": "^3.8.3",
"music-metadata": "^10.0.0",
"process": "^0.11.10"
}
2 changes: 1 addition & 1 deletion packages/infrastructure/onedrive-provider/package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"@echo/core-dates": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@microsoft/microsoft-graph-client": "^3.0.7",
"effect": "^3.6.5"
"effect": "^3.8.3"
},
"devDependencies": {
"@microsoft/microsoft-graph-types": "^2.40.0"
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/active-media-provider-cache/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/add-provider-workflow/package.json
Original file line number Diff line number Diff line change
@@ -12,6 +12,6 @@
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap": "^1.0.0",
"@effect/experimental": "^0.23.4",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/app-init/package.json
Original file line number Diff line number Diff line change
@@ -13,6 +13,6 @@
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap": "^1.0.0",
"@echo/services-bootstrap-workers": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/bootstrap-runtime/package.json
Original file line number Diff line number Diff line change
@@ -15,6 +15,6 @@
"@echo/services-bootstrap": "^1.0.0",
"@echo/services-library": "^1.0.0",
"@echo/services-player": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/bootstrap-workers/package.json
Original file line number Diff line number Diff line change
@@ -11,6 +11,6 @@
"dependencies": {
"@echo/core-types": "^1.0.0",
"@echo/workers-media-provider": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -21,6 +21,6 @@
"@echo/services-active-media-provider-cache": "^1.0.0",
"@echo/services-media-provider-status": "^1.0.0",
"@echo/workers-media-provider": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/library/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/media-provider-status/index.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ export const MediaProviderStatusLive = Layer.effect(
});

return MediaProviderStatus.of({
observe: stateByProviderRef,
observe: Effect.sync(() => stateByProviderRef),
});
}),
);
2 changes: 1 addition & 1 deletion packages/services/media-provider-status/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/player/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/services/player/src/player.ts
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ const makePlayer = Effect.gen(function* () {
);
}),
skip: commandQueue.offer(NextTrack()),
observe: state,
observe: Effect.sync(() => state),
});
});

2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
2 changes: 1 addition & 1 deletion packages/workers/media-provider/package.json
Original file line number Diff line number Diff line change
@@ -16,6 +16,6 @@
"@echo/infrastructure-browser-crypto": "^1.0.0",
"@echo/services-bootstrap": "^1.0.0",
"@effect/schema": "^0.71.1",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion tools/plop-templates/components/template/package.json.hbs
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"@echo/components-shared-controllers": "^1.0.0",
"@echo/core-types": "^1.0.0",
"@echo/services-bootstrap-runtime": "^1.0.0",
"effect": "^3.6.5",
"effect": "^3.8.3",
"lit": "^3.2.0",
"@lit/task": "^1.0.1"
}
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion tools/plop-templates/services/template/package.json.hbs
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"dependencies": {
"@echo/core-types": "^1.0.0",
"effect": "^3.6.5"
"effect": "^3.8.3"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -1050,10 +1050,10 @@ dot-case@^3.0.4:
no-case "^3.0.4"
tslib "^2.0.3"

effect@^3.6.5:
version "3.6.5"
resolved "https://registry.yarnpkg.com/effect/-/effect-3.6.5.tgz#be177847e69273ea9ed95bebe03bd672c5af474b"
integrity sha512-NhopZTAKljaAlR0CEroOAJJngdqg7bzlnWcDrCwh4d2WNVohVbBtUS4SGqLt8tUy7IFsTWATYiUtmhDG+YELjA==
effect@^3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/effect/-/effect-3.8.3.tgz#37a78c4c91d2eebdc315bf2d55a07aea443cd869"
integrity sha512-ZHTNRik0mJWK+g12/HHwsouOux0OE2v+qRD7zsEJLtZ1RJdrlxvCpSXdJ+KgOqJ4wigIToDSb5e5HG885uKs/w==

emoji-regex@^10.3.0:
version "10.3.0"

0 comments on commit 28b0c7b

Please sign in to comment.