Skip to content

Commit

Permalink
Upgrade to typescript@5.1.3 (#175)
Browse files Browse the repository at this point in the history
chore: upgrade to typescript@5.1.3
  • Loading branch information
joe-bell authored Jun 26, 2023
1 parent fcedd23 commit ec36128
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 50 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"devDependencies": {
"@types/node": "18.11.18",
"@types/react": "18.0.12",
"typescript": "5.0.3"
"typescript": "5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/astro-with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"tailwindcss": "^3.0.24"
},
"devDependencies": {
"typescript": "5.0.3"
"typescript": "5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react-with-css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react": "18.0.12",
"@types/react-dom": "18.0.5",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "5.0.3",
"typescript": "5.1.3",
"vite": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/react-with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"autoprefixer": "^10.4.13",
"postcss": "^8.4.21",
"tailwindcss": "^3.0.24",
"typescript": "5.0.3",
"typescript": "5.1.3",
"vite": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"svelte": "^3.59.1",
"svelte-check": "^3.3.2",
"tslib": "^2.5.0",
"typescript": "5.0.3",
"typescript": "5.1.3",
"vite": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"typescript": "5.0.3",
"typescript": "5.1.3",
"vite": "^4.1.0",
"vue-tsc": "^1.0.24"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@cva/tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"react-dom": "18.2.0",
"tailwind-merge": "1.12.0",
"ts-node": "10.8.1",
"typescript": "5.0.3"
"typescript": "5.1.3"
},
"peerDependencies": {
"cva": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/class-variance-authority/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-node": "10.8.1",
"typescript": "5.0.3"
"typescript": "5.1.3"
}
}
3 changes: 0 additions & 3 deletions packages/class-variance-authority/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ describe("cva", () => {
);
expect(
example({
// @ts-expect-error
class: "adhoc-class",
// @ts-expect-error
className: "adhoc-className",
Expand All @@ -84,7 +83,6 @@ describe("cva", () => {
);
expect(
example({
// @ts-expect-error
class: "adhoc-class",
// @ts-expect-error
className: "adhoc-className",
Expand All @@ -107,7 +105,6 @@ describe("cva", () => {
);
expect(
example({
// @ts-expect-error
class: "adhoc-class",
// @ts-expect-error
className: "adhoc-className",
Expand Down
2 changes: 1 addition & 1 deletion packages/cva/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-node": "10.8.1",
"typescript": "5.0.3"
"typescript": "5.1.3"
},
"peerDependencies": {
"typescript": ">= 4.5.5 < 6"
Expand Down
3 changes: 0 additions & 3 deletions packages/cva/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ describe("cva", () => {
);
expect(
example({
// @ts-expect-error
class: "adhoc-class",
// @ts-expect-error
className: "adhoc-className",
Expand All @@ -86,7 +85,6 @@ describe("cva", () => {
);
expect(
example({
// @ts-expect-error
class: "adhoc-class",
// @ts-expect-error
className: "adhoc-className",
Expand All @@ -112,7 +110,6 @@ describe("cva", () => {
);
expect(
example({
// @ts-expect-error
class: "adhoc-class",
// @ts-expect-error
className: "adhoc-className",
Expand Down
70 changes: 35 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 comments on commit ec36128

@vercel
Copy link

@vercel vercel bot commented on ec36128 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

example-astro-with-tailwindcss – ./examples/astro-with-tailwindcss

example-astro-with-tailwindcss-class-variance-authority.vercel.app
example-astro-with-tailwind-git-ecbae6-class-variance-authority.vercel.app
cva-astro-with-tailwindcss.vercel.app

@vercel
Copy link

@vercel vercel bot commented on ec36128 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ec36128 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

example-react-with-css-modules – ./examples/react-with-css-modules

example-react-with-css-modules-class-variance-authority.vercel.app
cva-react-with-css-modules.vercel.app
example-react-with-css-modu-git-936303-class-variance-authority.vercel.app

@vercel
Copy link

@vercel vercel bot commented on ec36128 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ec36128 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ec36128 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

example-react-with-tailwindcss – ./examples/react-with-tailwindcss

cva-react-with-tailwindcss.vercel.app
example-react-with-tailwind-git-27bf08-class-variance-authority.vercel.app
example-react-with-tailwindcss-class-variance-authority.vercel.app

Please sign in to comment.