Skip to content

Commit

Permalink
Bump major dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sp-pau-tena committed Aug 31, 2023
1 parent e3a6c26 commit 73186ba
Show file tree
Hide file tree
Showing 7 changed files with 2,713 additions and 2,260 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs → .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
rules: {
"prettier/prettier": "error",
"react/display-name": "off",
"@typescript-eslint/no-explicit-any": 'warn',
"@typescript-eslint/no-unused-vars": [
"warn",
{
Expand Down
File renamed without changes.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pautena/react-design-system",
"version": "0.12.2",
"version": "0.12.3",
"description": "My custom design system on top of MUI",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -55,10 +55,10 @@
"@date-io/date-fns": "^2.17.0",
"@faker-js/faker": "^8.0.2",
"@mui/x-data-grid-generator": "^6.12.0",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "8.5.0",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "11.1.3",
"@storybook/addon-actions": "^7.4.0",
"@storybook/addon-essentials": "^7.4.0",
"@storybook/addon-interactions": "^7.4.0",
Expand All @@ -74,21 +74,21 @@
"@testing-library/user-event": "^14.4.3",
"@types/ramda": "^0.29.3",
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.6.13",
"gh-pages": "^5.0.0",
"gh-pages": "^6.0.0",
"history": "^5.3.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier": "^3.0.3",
"ramda": "^0.29.0",
"react-test-renderer": "^18.2.0",
"rollup": "^2.79.1",
Expand All @@ -111,7 +111,7 @@
"@mui/material": "^5.14.7",
"@mui/x-data-grid": "^6.12.0",
"@mui/x-date-pickers": "^6.12.0",
"@types/react": "^18.2.14",
"@types/react": "^18.2.21",
"date-fns": "^2.30.0",
"lorem-ipsum": "^2.0.8",
"markdown-to-jsx": "^7.3.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/link/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export const LinkBehaviour = forwardRef<
});

export const Link = forwardRef<any, LinkProps>((props, _1) => {
return <MuiLink {...props} component={LinkBehaviour} />;
return <MuiLink {...(props as any)} component={LinkBehaviour} />;
});
4 changes: 2 additions & 2 deletions src/generators/table-list/table-list.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TableRowOption, TableList } from "./table-list";
import { HeadCell } from "../../components/tables/enhanced-table";
import { BasicModelInstance } from "..";
import { expectProgressIndicator } from "~/tests/assertions";
import { vi } from "vitest";
import { Mock, vi } from "vitest";

const columns: HeadCell<BasicModelInstance>[] = [
{
Expand Down Expand Up @@ -84,7 +84,7 @@ describe("TableList", () => {
loading?: boolean;
search?: boolean;
options?: TableRowOption<BasicModelInstance>[];
onClick?: jest.Mock;
onClick?: Mock;
} = {}) => {
const instance = render(
<TableList
Expand Down
3 changes: 2 additions & 1 deletion src/tests/assertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { BasicModelInstance, GroupInstanceType, ModelField } from "../generators
import { screen, waitForElementToBeRemoved } from "./testing-library";
import { format } from "date-fns";
import { MockInstance } from "../generators/generators.mock";
import { Mock } from "vitest";

export const expectContentPlaceholder = async () => {
expect(await screen.findByTestId(/content-placeholder-test/i)).toBeInTheDocument();
Expand Down Expand Up @@ -123,7 +124,7 @@ export const expectAlert = async ({
};

export const expectToHaveBeenCalledOnceWithMockInstance = (
mockFn: jest.Mock,
mockFn: Mock,
instance: MockInstance,
) => {
expect(mockFn).toHaveBeenCalledTimes(1);
Expand Down
Loading

0 comments on commit 73186ba

Please sign in to comment.