fix(vercel): added type definitions (#3355)
* Added missing types * Changeset
This commit is contained in:
parent
cedb9a2105
commit
945f5c68e8
2 changed files with 18 additions and 1 deletions
5
.changeset/fast-dancers-watch.md
Normal file
5
.changeset/fast-dancers-watch.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/vercel': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Added typescript definitions
|
|
@ -3,7 +3,6 @@
|
||||||
"description": "Deploy your site to Vercel",
|
"description": "Deploy your site to Vercel",
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -21,6 +20,19 @@
|
||||||
"./static": "./dist/serverless/adapter.js",
|
"./static": "./dist/serverless/adapter.js",
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
|
"typesVersions": {
|
||||||
|
"*": {
|
||||||
|
"edge": [
|
||||||
|
"dist/edge/adapter.d.ts"
|
||||||
|
],
|
||||||
|
"serverless": [
|
||||||
|
"dist/serverless/adapter.d.ts"
|
||||||
|
],
|
||||||
|
"static": [
|
||||||
|
"dist/static/adapter.d.ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
||||||
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
||||||
|
|
Loading…
Reference in a new issue