Skip to content

Commit

Permalink
env: Arrange dependencies (#346)
Browse files Browse the repository at this point in the history
* env: resolution deps

* env: update dependencies
  • Loading branch information
JaeYeopHan authored Aug 16, 2024
1 parent 23d3eed commit 260e0c7
Show file tree
Hide file tree
Showing 323 changed files with 4,479 additions and 5,494 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint && yarn test && yarn typecheck
yarn check
5,935 changes: 2,554 additions & 3,381 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/csv-npm-5.5.3-939848d521-3928e1d88b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/glob-npm-7.1.6-1ce3a5189a-7d6ec98bc7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/meow-npm-6.1.1-ea58f7a535-507ea2e7d6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
Expand Down
42 changes: 26 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"node": ">=20"
},
"devDependencies": {
"@babel/core": "7.23.7",
"@babel/preset-env": "^7.23.5",
"@biomejs/biome": "1.4.1",
"@changesets/cli": "^2.27.1",
"@babel/core": "7.25.2",
"@babel/preset-env": "^7.25.3",
"@biomejs/biome": "1.8.3",
"@changesets/cli": "^2.27.7",
"@commitlint/cli": "16.3.0",
"@commitlint/config-conventional": "16.2.4",
"@emotion/react": "11.7.1",
"@emotion/styled": "11.6.0",
"@emotion/react": "11.13.0",
"@emotion/styled": "11.13.0",
"@mdx-js/react": "2.1.5",
"@storybook/addon-actions": "7.6.6",
"@storybook/addon-docs": "7.6.6",
Expand All @@ -49,32 +49,42 @@
"@storybook/react-webpack5": "7.6.6",
"@storybook/theming": "7.6.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "6.1.5",
"@testing-library/react": "14.1.2",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"@types/node": "^22.3.0",
"@types/react": "^18.2.43",
"@types/react": "^18.3.3",
"@types/testing-library__jest-dom": "6.0.0",
"acorn": "8.11.3",
"all-contributors-cli": "6.26.1",
"cz-conventional-changelog": "3.3.0",
"date-fns": "2.30.0",
"esbuild": "0.14.11",
"esbuild": "0.23.0",
"husky": "7.0.4",
"jsdom": "^24.1.1",
"lint-staged": "12.1.4",
"prettier": "3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^7.6.4",
"ts-node": "10.4.0",
"tsup": "^8.0.1",
"ts-node": "10.9.2",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vite": "^5.4.0",
"vite": "^5.4.1",
"vitest": "^2.0.5"
},
"resolutions": {
"@types/node": "^22.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"@types/react": "^18.3.3",
"typescript": "^5.5.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"jsdom": "^24.1.1",
"vite": "^5.4.0",
"vitest": "^2.0.5"
},
Expand Down
20 changes: 10 additions & 10 deletions packages/calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prepack": "yarn build",
"build": "yarn run -T tsup",
"lint": "yarn run -T biome check src/",
"lint:fix": "yarn lint --apply",
"lint:fix": "yarn lint --write",
"typecheck": "yarn run -T tsc",
"test": "yarn run -T vitest",
"test:playwright": "playwright test",
Expand All @@ -39,17 +39,17 @@
"devDependencies": {
"@playwright/test": "1.17.1",
"@storybook/react": "7.6.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^16.0.0",
"@types/node": "20.10.6",
"@types/react": "^18.2.43",
"@testing-library/dom": "*",
"@testing-library/jest-dom": "*",
"@testing-library/react": "*",
"@types/node": "*",
"@types/react": "*",
"date-fns": "2.30.0",
"jsdom": "^24.1.1",
"jsdom": "*",
"playwright": "1.17.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"react": "*",
"react-dom": "*",
"react-test-renderer": "*",
"typescript": "*",
"vite": "*",
"vitest": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/calendar/src/core/createCalendarInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getDay, getDaysInMonth, setDay, startOfMonth } from "date-fns";

import { WeekDayType } from "../models";
import type { WeekDayType } from "../models";
import { arrayOf, parseDate } from "../utils";

export default function createCalendarInfo(cursorDate: Date, { weekStartsOn }: { weekStartsOn: WeekDayType }) {
Expand Down
4 changes: 2 additions & 2 deletions packages/calendar/src/plugins/withDateProps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getDate, isWeekend as _isWeekend } from "date-fns";
import { isWeekend as _isWeekend, getDate } from "date-fns";

import { DateCell } from "../models";
import type { DateCell } from "../models";
import { isSameDate, isSameYearAndMonth } from "../utils";

export default function withDateProps(baseDate: Date, cursorDate: Date) {
Expand Down
2 changes: 1 addition & 1 deletion packages/calendar/src/plugins/withKeyProps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DateCell } from "../models";
import type { DateCell } from "../models";
import { generateID } from "../utils";

export default function withKeyProps(keyPrefix: string) {
Expand Down
6 changes: 3 additions & 3 deletions packages/calendar/src/stories/Calendar.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Meta } from "@storybook/react";
import type { Meta } from "@storybook/react";

import React from "react";
import { Calendar } from "./Calendar";

export default ({
export default {
title: "Calendar/With table element",
component: Calendar,
} as Meta);
} as Meta;

const Template = (args) => <Calendar {...args} />;

Expand Down
2 changes: 1 addition & 1 deletion packages/calendar/src/useCalendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useCallback, useMemo, useState } from "react";

import { createCalendarInfo } from "./core";
import useIsMounted from "./hooks/useIsMounted";
import { CalendarViewType, WeekDayType } from "./models";
import { CalendarViewType, type WeekDayType } from "./models";
import { withDateProps } from "./plugins";
import withKeyProps from "./plugins/withKeyProps";
import { arrayOf, generateID, pipeWith, withKey } from "./utils";
Expand Down
17 changes: 8 additions & 9 deletions packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,21 @@
"prepack": "yarn build",
"build": "yarn run -T tsup",
"lint": "yarn run -T biome check src/",
"lint:fix": "yarn lint --apply",
"lint:fix": "yarn lint --write",
"typecheck": "yarn run -T tsc",
"test": "vitest",
"test:cov": "yarn test --coverage",
"test:watch": "yarn test --watch"
},
"devDependencies": {
"@storybook/react": "7.6.6",
"@testing-library/jest-dom": "^6.1.5",
"@types/node": "20.10.6",
"@types/react": "^18.2.43",
"happy-dom": "^12.10.3",
"jsdom": "^23.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"@testing-library/jest-dom": "*",
"@types/node": "*",
"@types/react": "*",
"jsdom": "*",
"react": "*",
"react-dom": "*",
"react-test-renderer": "*",
"typescript": "*",
"vite": "*",
"vitest": "*"
Expand Down
Loading

0 comments on commit 260e0c7

Please sign in to comment.