Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add type def package for react copy to clipboard in ui

Joshen Lim51906efacaf5
diff --git a/package-lock.json b/package-lock.json
index 0b6dffd6aa2..8960f02feba 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -39018,6 +39018,7 @@
"@storybook/react": "^6.5.16",
"@types/common-tags": "^1.8.1",
"@types/react": "^17.0.37",
+ "@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^17.0.11",
"sql-formatter": "^12.2.0",
"storybook-dark-mode": "^2.1.1",
@@ -39047,6 +39048,15 @@
"csstype": "^3.0.2"
}
},
+ "packages/ui/node_modules/@types/react-copy-to-clipboard": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/react-copy-to-clipboard/-/react-copy-to-clipboard-5.0.4.tgz",
+ "integrity": "sha512-otTJsJpofYAeaIeOwV5xBUGpo6exXG2HX7X4nseToCB2VgPEBxGBHCm/FecZ676doNR7HCSTVtmohxfG2b3/yQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
"packages/ui/node_modules/clsx": {
"version": "1.2.1",
"license": "MIT",
@@ -49780,7 +49790,7 @@
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"config": "*",
- "react-use": "*",
+ "react-use": "^17.4.0",
"tsconfig": "*",
"typescript": "^4.5.3"
},
@@ -66373,7 +66383,7 @@
"config": "*",
"configcat-js": "^7.0.0",
"dayjs": "^1.11.0",
- "eslint-config-next": "*",
+ "eslint-config-next": "^13.3.0",
"file-saver": "^2.0.5",
"generate-password": "^1.7.0",
"graphql": "^16.6.0",
@@ -68050,6 +68060,7 @@
"@tailwindcss/typography": "^0.5.0",
"@types/common-tags": "^1.8.1",
"@types/react": "^17.0.37",
+ "@types/react-copy-to-clipboard": "*",
"@types/react-dom": "^17.0.11",
"autoprefixer": "^10.4.2",
"clsx": "^1.2.1",
@@ -68094,6 +68105,15 @@
"csstype": "^3.0.2"
}
},
+ "@types/react-copy-to-clipboard": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/react-copy-to-clipboard/-/react-copy-to-clipboard-5.0.4.tgz",
+ "integrity": "sha512-otTJsJpofYAeaIeOwV5xBUGpo6exXG2HX7X4nseToCB2VgPEBxGBHCm/FecZ676doNR7HCSTVtmohxfG2b3/yQ==",
+ "dev": true,
+ "requires": {
+ "@types/react": "*"
+ }
+ },
"clsx": {
"version": "1.2.1"
},
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 97a84f67f4e..bccccc8692d 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -46,11 +46,12 @@
},
"devDependencies": {
"@storybook/react": "^6.5.16",
- "storybook-dark-mode": "^2.1.1",
"@types/common-tags": "^1.8.1",
"@types/react": "^17.0.37",
+ "@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^17.0.11",
"sql-formatter": "^12.2.0",
+ "storybook-dark-mode": "^2.1.1",
"typescript": "4.3.4"
}
}