Skip to content

Commit 37594e6

Browse files
committed
chore(bumpp): update package version to v0.8.29
1 parent f8e30f0 commit 37594e6

File tree

9 files changed

+504
-498
lines changed

9 files changed

+504
-498
lines changed

dev/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@types/react": "19.0.2",
14-
"@types/react-dom": "19.0.2",
13+
"@types/react": "19.0.5",
14+
"@types/react-dom": "19.0.3",
1515
"@zayne-labs/toolkit": "workspace:*",
1616
"react": "19.0.0",
1717
"react-dom": "19.0.0"

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
},
2525
"devDependencies": {
2626
"@changesets/cli": "^2.27.11",
27-
"@eslint-react/eslint-plugin": "^1.23.1",
27+
"@eslint-react/eslint-plugin": "^1.23.2",
2828
"@types/node": "^22.10.5",
29-
"@zayne-labs/eslint-config": "^0.5.0",
29+
"@zayne-labs/eslint-config": "^0.5.1",
3030
"@zayne-labs/tsconfig": "catalog:",
31-
"bumpp": "^9.9.2",
32-
"eslint": "^9.17.0",
31+
"bumpp": "^9.10.0",
32+
"eslint": "^9.18.0",
3333
"eslint-plugin-react-hooks": "^5.1.0",
34-
"eslint-plugin-react-refresh": "^0.4.16",
34+
"eslint-plugin-react-refresh": "^0.4.18",
3535
"husky": "^9.1.7",
3636
"lint-staged": "^15.3.0",
3737
"prettier": "^3.4.2",

packages/toolkit-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zayne-labs/toolkit-core",
33
"type": "module",
4-
"version": "0.8.28",
4+
"version": "0.8.29",
55
"packageManager": "[email protected]",
66
"description": "A collection of utility functions, types and composables used by my other projects. Nothing too fancy but can be useful.",
77
"author": "Ryan Zayne",
@@ -57,7 +57,7 @@
5757
"clsx": "^2.1.1",
5858
"concurrently": "^9.1.2",
5959
"cross-env": "^7.0.3",
60-
"publint": "^0.2.12",
60+
"publint": "^0.3.1",
6161
"size-limit": "^11.1.6",
6262
"terser": "^5.37.0",
6363
"tsup": "^8.3.5",

packages/toolkit-react/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zayne-labs/toolkit-react",
33
"type": "module",
4-
"version": "0.8.28",
4+
"version": "0.8.29",
55
"packageManager": "[email protected]",
66
"description": "A collection of utility functions, types and composables used by my other projects. Nothing too fancy but can be useful.",
77
"author": "Ryan Zayne",
@@ -72,19 +72,19 @@
7272
"@size-limit/preset-small-lib": "^11.1.6",
7373
"@total-typescript/ts-reset": "^0.6.1",
7474
"@types/node": "^22.10.3",
75-
"@types/react": "^19.0.2",
76-
"@types/react-dom": "^19.0.2",
75+
"@types/react": "^19.0.5",
76+
"@types/react-dom": "^19.0.3",
7777
"@zayne-labs/tsconfig": "catalog:",
7878
"concurrently": "^9.1.2",
7979
"cross-env": "^7.0.3",
80-
"publint": "^0.2.12",
80+
"publint": "^0.3.1",
8181
"react": "^19.0.0",
8282
"react-dom": "^19.0.0",
8383
"size-limit": "^11.1.6",
8484
"terser": "^5.37.0",
8585
"tsup": "^8.3.5",
8686
"typescript": "catalog:",
87-
"zustand": "^5.0.2"
87+
"zustand": "^5.0.3"
8888
},
8989
"publishConfig": {
9090
"access": "public",

packages/toolkit-react/src/utils/getSlotElement.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { isValidElement } from "react";
55
type Noop = () => void;
66
type WithSlot = { slot?: string };
77

8-
type FunctionalComponent<TProps> = (
8+
type FunctionalComponent<TProps = Record<string, unknown>> = (
99
props: TProps
1010
// eslint-disable-next-line perfectionist/sort-union-types -- Lets keep the first one first
1111
) => ReturnType<React.FunctionComponent<TProps>> | AnyFunction<React.ReactNode>;

packages/toolkit-react/src/utils/mergeProps.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,14 @@ const addMissingPropsToResult = (
7676

7777
type UnknownProps = Record<never, never>;
7878

79-
const mergeProps = <TProps extends UnknownProps>(...parameters: TProps[]): UnionToIntersection<TProps> => {
79+
const mergeProps = <TProps extends UnknownProps>(
80+
...parameters: Array<TProps | undefined>
81+
): UnionToIntersection<TProps> => {
8082
const mergedResult: Record<string, unknown> = {};
8183

8284
for (const propsObject of parameters) {
85+
if (!propsObject) continue;
86+
8387
handleMergePropsIntoResult(mergedResult, propsObject);
8488

8589
// == Add props from propsObject that are not in the mergedResult

packages/toolkit-type-helpers/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zayne-labs/toolkit-type-helpers",
33
"type": "module",
4-
"version": "0.8.28",
4+
"version": "0.8.29",
55
"packageManager": "[email protected]",
66
"description": "A collection of utility functions, types and composables used by my other projects. Nothing too fancy but can be useful.",
77
"author": "Ryan Zayne",
@@ -54,7 +54,7 @@
5454
"clsx": "^2.1.1",
5555
"concurrently": "^9.1.2",
5656
"cross-env": "^7.0.3",
57-
"publint": "^0.2.12",
57+
"publint": "^0.3.1",
5858
"size-limit": "^11.1.6",
5959
"terser": "^5.37.0",
6060
"tsup": "^8.3.5",

packages/toolkit/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zayne-labs/toolkit",
33
"type": "module",
4-
"version": "0.8.28",
4+
"version": "0.8.29",
55
"packageManager": "[email protected]",
66
"description": "A collection of utility functions, types and composables used by my other projects. Nothing too fancy but can be useful.",
77
"author": "Ryan Zayne",
@@ -73,22 +73,22 @@
7373
"@changesets/cli": "^2.27.11",
7474
"@total-typescript/ts-reset": "^0.6.1",
7575
"@types/node": "^22.10.3",
76-
"@types/react": "^19.0.2",
77-
"@types/react-dom": "^19.0.2",
76+
"@types/react": "^19.0.5",
77+
"@types/react-dom": "^19.0.3",
7878
"@zayne-labs/tsconfig": "catalog:",
7979
"concurrently": "^9.1.2",
8080
"cross-env": "^7.0.3",
8181
"prettier-plugin-classnames": "^0.7.5",
8282
"prettier-plugin-merge": "^0.7.2",
8383
"prettier-plugin-tailwindcss": "^0.6.9",
84-
"publint": "^0.2.12",
84+
"publint": "^0.3.1",
8585
"react": "^19.0.0",
8686
"react-dom": "^19.0.0",
8787
"tailwindcss": "^3.4.17",
8888
"terser": "^5.37.0",
8989
"tsup": "^8.3.5",
9090
"typescript": "catalog:",
91-
"zustand": "^5.0.2"
91+
"zustand": "^5.0.3"
9292
},
9393
"publishConfig": {
9494
"access": "public",

0 commit comments

Comments
 (0)