Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies #132

Merged
merged 9 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm run lint-staged

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.2
lts/hydrogen
3 changes: 2 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { StorybookConfig } from '@storybook/react-webpack5';
const webpack = require('webpack');
const config: StorybookConfig = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
Expand Down Expand Up @@ -34,6 +34,7 @@ const config: StorybookConfig = {
],
},
},
'@storybook/addon-webpack5-compiler-babel',
],
framework: {
name: '@storybook/react-webpack5',
Expand Down
2 changes: 1 addition & 1 deletion __tests__/devtools/AtomViewer.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from 'react';
import { act, render, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { userEvent } from '@testing-library/user-event';
import * as stringifyModule from 'javascript-stringify';
import { useAtomValue } from 'jotai';
import { atom } from 'jotai/vanilla';
Expand Down Expand Up @@ -216,9 +216,9 @@
};

const ToggleAbleAtomWithDevTools = () => {
const [shouldShow, setShouldShow] = React.useState(true);

Check warning on line 219 in __tests__/devtools/AtomViewer.test.tsx

View workflow job for this annotation

GitHub Actions / build

Caution: `React` also has a named export `useState`. Check if you meant to write `import {useState} from 'react'` instead

Check warning on line 219 in __tests__/devtools/AtomViewer.test.tsx

View workflow job for this annotation

GitHub Actions / build

Caution: `React` also has a named export `useState`. Check if you meant to write `import {useState} from 'react'` instead

const handleOntoggle = React.useCallback(() => {

Check warning on line 221 in __tests__/devtools/AtomViewer.test.tsx

View workflow job for this annotation

GitHub Actions / build

Caution: `React` also has a named export `useCallback`. Check if you meant to write `import {useCallback} from 'react'` instead

Check warning on line 221 in __tests__/devtools/AtomViewer.test.tsx

View workflow job for this annotation

GitHub Actions / build

Caution: `React` also has a named export `useCallback`. Check if you meant to write `import {useCallback} from 'react'` instead
setShouldShow((s) => !s);
}, [setShouldShow]);

Expand Down
2 changes: 1 addition & 1 deletion __tests__/devtools/TimeTravel.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from 'react';
import { act, fireEvent, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { userEvent } from '@testing-library/user-event';
import { atom, useAtomValue, useSetAtom } from 'jotai';
import { DevTools, DevToolsProps } from 'jotai-devtools';
import { customRender } from '../custom-render';
Expand Down
Loading
Loading