fix(vercel): added type definitions (#3355)

* Added missing types

* Changeset
This commit is contained in:
Juan Martín Seery 2022-05-12 18:59:07 -03:00 committed by GitHub
parent cedb9a2105
commit 945f5c68e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/vercel': patch
---
Added typescript definitions

View file

@ -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": {
@ -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\"",