Skip to content

Commit

Permalink
Merge pull request #79 from XantreGodlike/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
XantreDev authored Feb 26, 2024
2 parents 7a89522 + 53a13a1 commit d8fea62
Show file tree
Hide file tree
Showing 15 changed files with 101 additions and 56 deletions.
5 changes: 0 additions & 5 deletions .changeset/fast-walls-design.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/few-seas-punch.md

This file was deleted.

40 changes: 0 additions & 40 deletions .changeset/proud-boats-beam.md

This file was deleted.

10 changes: 10 additions & 0 deletions apps/next-react-test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# next-react-test

## 0.1.15

### Patch Changes

- Updated dependencies [a11836b]
- Updated dependencies [8fee2c3]
- Updated dependencies [a83109b]
- @preact-signals/utils@0.16.0
- [email protected]

## 0.1.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/next-react-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-react-test",
"version": "0.1.14",
"version": "0.1.15",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
10 changes: 10 additions & 0 deletions apps/preact-test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# preact-test

## 0.0.34

### Patch Changes

- Updated dependencies [a11836b]
- Updated dependencies [8fee2c3]
- Updated dependencies [a83109b]
- @preact-signals/utils@0.16.0
- [email protected]

## 0.0.33

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/preact-test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "preact-test",
"private": true,
"version": "0.0.33",
"version": "0.0.34",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
10 changes: 10 additions & 0 deletions apps/react-test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# react-test

## 0.0.40

### Patch Changes

- Updated dependencies [a11836b]
- Updated dependencies [8fee2c3]
- Updated dependencies [a83109b]
- @preact-signals/utils@0.16.0
- [email protected]

## 0.0.39

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/react-test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-test",
"private": true,
"version": "0.0.39",
"version": "0.0.40",
"type": "module",
"scripts": {
"dev:patching": "cross-env TRACKING_METHOD='patching' vite",
Expand Down
10 changes: 10 additions & 0 deletions packages/components-for-test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# components-for-test

## 5.0.1

### Patch Changes

- Updated dependencies [a11836b]
- Updated dependencies [8fee2c3]
- Updated dependencies [a83109b]
- @preact-signals/utils@0.16.0
- @preact-signals/query@1.4.1

## 5.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components-for-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "components-for-test",
"version": "5.0.0",
"version": "5.0.1",
"private": true,
"sideEffects": false,
"author": {
Expand Down
9 changes: 9 additions & 0 deletions packages/query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @preact-signals/query

## 1.4.1

### Patch Changes

- Updated dependencies [a11836b]
- Updated dependencies [8fee2c3]
- Updated dependencies [a83109b]
- @preact-signals/utils@0.16.0

## 1.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@preact-signals/query",
"version": "1.4.0",
"version": "1.4.1",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
46 changes: 46 additions & 0 deletions packages/utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# @preact-signals/utils

## 0.16.0

### Minor Changes

- a83109b: Added `@preact-signals/utils/integrations/reanimated`. It provides hooks to convert signals to Reanimated shared values.

Example:

```tsx
import { useSignal } from "@preact-signals/react";
import { useAnimatedSharedValueOfAccessor } from "@preact-signals/utils/integrations/reanimated";
import { useAnimatedStyle } from "react-native-reanimated";

const maxLength = 10;
function ExampleComponent() {
const input = useSignal("");
const progress = useAnimatedSharedValueOfAccessor(
() => input.value.length / maxLength,
{
type: "spring",
params: {
damping: 10,
},
},
);
return (
<View>
<CustomInput value={input} onChangeText={(v) => (input.value = v)} />
<Animated.View
style={useAnimatedStyle(() => ({
alignSelf: "stretch",
backgroundColor: "blue",
height: 10,
transform: [{ scaleX: progress.value }],
}))}
/>
</View>
);
}
```

### Patch Changes

- a11836b: Added markdown docs
- 8fee2c3: Added documentation about using HOCs with third party libraries

## 0.15.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@preact-signals/utils",
"version": "0.15.6",
"version": "0.16.0",
"private": false,
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit d8fea62

Please sign in to comment.