Skip to content

Commit

Permalink
fix(vercel): added type definitions (#3355)
Browse files Browse the repository at this point in the history
* Added missing types

* Changeset
  • Loading branch information
JuanM04 authored May 12, 2022
1 parent cedb9a2 commit 945f5c6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fast-dancers-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/vercel': patch
---

Added typescript definitions
14 changes: 13 additions & 1 deletion packages/integrations/vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"description": "Deploy your site to Vercel",
"version": "0.2.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
"license": "MIT",
"repository": {
Expand All @@ -21,6 +20,19 @@
"./static": "./dist/serverless/adapter.js",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"edge": [
"dist/edge/adapter.d.ts"
],
"serverless": [
"dist/serverless/adapter.d.ts"
],
"static": [
"dist/static/adapter.d.ts"
]
}
},
"scripts": {
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
Expand Down

0 comments on commit 945f5c6

Please sign in to comment.