Skip to content

Commit 35eaf51

Browse files
authored
Merge pull request #15 from jason89521/bump-deps
2 parents 89bde60 + 6dd766b commit 35eaf51

10 files changed

Lines changed: 1049 additions & 1119 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"eslint:recommended",
88
"plugin:react/recommended",
99
"plugin:@typescript-eslint/recommended",
10-
"plugin:react-hooks/recommended",
11-
"plugin:storybook/recommended"
10+
"plugin:react-hooks/recommended"
1211
],
1312
"parser": "@typescript-eslint/parser",
1413
"parserOptions": {

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@
1818
"prepublishOnly": "pnpm build:lib"
1919
},
2020
"devDependencies": {
21-
"@typescript-eslint/eslint-plugin": "^5.25.0",
22-
"@typescript-eslint/parser": "^5.25.0",
23-
"commitizen": "^4.2.4",
21+
"@types/jest": "^29.0.3",
22+
"@typescript-eslint/eslint-plugin": "^5.37.0",
23+
"@typescript-eslint/parser": "^5.37.0",
24+
"commitizen": "^4.2.5",
2425
"cz-conventional-changelog": "3.3.0",
25-
"eslint": "^8.15.0",
26-
"eslint-plugin-react": "^7.30.0",
27-
"eslint-plugin-react-hooks": "^4.5.0",
28-
"eslint-plugin-storybook": "^0.6.1",
26+
"eslint": "^8.23.1",
27+
"eslint-plugin-react": "^7.31.8",
28+
"eslint-plugin-react-hooks": "^4.6.0",
29+
"jest": "^29.0.3",
2930
"prettier": "^2.7.1",
3031
"prettier-plugin-tailwindcss": "^0.1.13",
31-
"typescript": "^4.7.4"
32+
"typescript": "^4.8.3"
3233
},
3334
"config": {
3435
"commitizen": {
@@ -44,13 +45,13 @@
4445
},
4546
"pnpm": {
4647
"overrides": {
47-
"@types/react": "^18.0.15",
48+
"@types/react": "^18.0.20",
4849
"@types/react-dom": "^18.0.6",
4950
"react": "^18.2.0",
5051
"react-dom": "^18.2.0",
51-
"vite": "^3.0.2",
52-
"@vitejs/plugin-react": "^2.0.0",
53-
"typescript": "^4.7.4"
52+
"vite": "^3.1.3",
53+
"@vitejs/plugin-react": "^2.1.0",
54+
"typescript": "^4.8.3"
5455
}
5556
}
5657
}

packages/react-typist-component/.storybook/main.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/react-typist-component/.storybook/preview-head.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/react-typist-component/.storybook/preview.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/react-typist-component/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,23 @@
4040
"preview": "vite preview"
4141
},
4242
"devDependencies": {
43-
"@testing-library/jest-dom": "^5.16.4",
44-
"@testing-library/react": "^13.3.0",
45-
"@types/jest": "^28.1.6",
46-
"@types/react": "^18.0.15",
43+
"@testing-library/jest-dom": "^5.16.5",
44+
"@testing-library/react": "^13.4.0",
45+
"@types/jest": "^29.0.3",
46+
"@types/react": "^18.0.20",
4747
"@types/react-dom": "^18.0.6",
48-
"@vitejs/plugin-react": "^2.0.0",
49-
"autoprefixer": "^10.4.8",
48+
"@vitejs/plugin-react": "^2.1.0",
49+
"autoprefixer": "^10.4.11",
5050
"grapheme-splitter": "^1.0.4",
51-
"jest": "^28.1.3",
52-
"jest-environment-jsdom": "^28.1.3",
51+
"jest": "^29.0.3",
52+
"jest-environment-jsdom": "^29.0.3",
5353
"postcss": "^8.4.16",
5454
"react": "^18.2.0",
5555
"react-dom": "^18.2.0",
5656
"tailwindcss": "^3.1.8",
57-
"ts-jest": "^28.0.7",
58-
"typescript": "^4.7.4",
59-
"vite": "^3.0.2"
57+
"ts-jest": "^29.0.1",
58+
"typescript": "^4.8.3",
59+
"vite": "^3.1.3"
6060
},
6161
"peerDependencies": {
6262
"react": ">=18.0.0"

packages/react-typist-component/src/__test__/Typist.test.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
import React from 'react';
2-
import {
3-
fireEvent,
4-
getByTestId,
5-
getByText,
6-
render,
7-
} from '@testing-library/react';
2+
import { fireEvent, getByTestId, render } from '@testing-library/react';
83

94
import Typist from '..';
105
import { nestedChildren, textsArray, PauseTest, BUTTON_ID } from './constant';
11-
import { findByText, waitFor } from './utils';
6+
import { findByText } from './utils';
127

138
afterEach(() => {
149
jest.useRealTimers();

packages/react-typist-component/src/stories/Typist.stories.tsx

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)