Skip to content

Commit

Permalink
Upgrade dependencies (#71)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* Update turbo.json

* Upgrade turbo

* pnpm upgrade

* Update useTempocal.ts
  • Loading branch information
Zertz authored Jun 18, 2024
1 parent f27eb47 commit f979bb3
Show file tree
Hide file tree
Showing 7 changed files with 4,626 additions and 3,535 deletions.
7 changes: 7 additions & 0 deletions .changeset/chilly-beers-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@tempocal/core": patch
"@tempocal/react": patch
"@tempocal/www": patch
---

Upgrade dependencies
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 7
version: 9
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "20"
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 7
version: 9
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "20"
cache: "pnpm"
- uses: actions/cache@v3
with:
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
"test": "turbo run test"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.5",
"turbo": "^1.8.3",
"typescript": "^5.0.2"
"@changesets/cli": "^2.27.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-react-hooks": "^4.6.2",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"turbo": "^2.0.4",
"typescript": "^5.4.5"
},
"packageManager": "pnpm@7.5.0"
"packageManager": "pnpm@9.4.0"
}
5 changes: 1 addition & 4 deletions packages/react/src/useTempocal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ type ChangeValue<Mode> = Mode extends "date"
| [undefined, undefined]
: never;

export type Locale = Exclude<
Parameters<typeof Intl.DateTimeFormat>[0],
undefined
>;
export type Locale = string;

export function useTempocal<
Mode extends "date" | "daterange" | "datetime" | "datetimerange"
Expand Down
Loading

0 comments on commit f979bb3

Please sign in to comment.