Skip to content

Commit

Permalink
Merge pull request #3 from adtribute/denis.baryshok/fix-peer-deps-issues
Browse files Browse the repository at this point in the history
Fix peer dependencies issues
  • Loading branch information
dengribar authored Feb 20, 2025
2 parents 509910c + 141ebc8 commit 4566a94
Show file tree
Hide file tree
Showing 6 changed files with 820 additions and 777 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
14
7 changes: 0 additions & 7 deletions .storybook/config.js

This file was deleted.

3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
stories: ["../tools/box.stories.tsx"],
};
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui-box",
"version": "5.5.0",
"version": "5.6.0",
"description": "Blazing Fast React UI Primitive",
"contributors": [
"Jeroen Ransijn (https://twitter.com/jeroen_ransijn)",
Expand Down Expand Up @@ -28,7 +28,7 @@
"prepublishOnly": "rm -rf dist && yarn run build",
"dev": "start-storybook -p 9009",
"build": "tsc",
"build-storybook": "build-storybook -s .storybook/static -o .out",
"build-storybook": "build-storybook -o .out",
"release": "np",
"benchmark": "react-benchmark tools/benchmarks/box.ts",
"size": "size-limit",
Expand All @@ -44,6 +44,7 @@
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
"@size-limit/preset-big-lib": "^4.5.4",
"@storybook/react": "^6.5.16",
"@storybook/storybook-deployer": "^2.8.1",
Expand All @@ -57,26 +58,25 @@
"@types/storybook__react": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"ava": "^1.3.1",
"ts-loader": "^8.4.0",
"babel-loader": "^8.0.5",
"csstype": "^2.6.4",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"enzyme": "3.11.0",
"eslint": "^5.16.0",
"eslint-config-xo-react": "^0.19.0",
"eslint-config-xo-typescript": "^0.10.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"husky": "^2.2.0",
"lint-staged": "^8.1.5",
"nyc": "^14.1.0",
"nyc": "15.1.0",
"react": "^18.2.0",
"react-benchmark": "^3.0.0",
"react-benchmark": "5.1.0",
"react-docgen-typescript-loader": "^3.1.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"sinon": "^7.2.7",
"size-limit": "^4.5.4",
"ts-loader": "^8.4.0",
"ts-node": "^8.1.0",
"typescript": "4.9.4",
"webpack": "^4.30.0",
Expand Down
2 changes: 1 addition & 1 deletion test/_setup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {configure} from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Adapter from '@cfaester/enzyme-adapter-react-18'

configure({adapter: new Adapter()})
Loading

0 comments on commit 4566a94

Please sign in to comment.