chore: add netlify integration
This commit is contained in:
parent
6f608e470e
commit
5ad276cbf9
3 changed files with 121 additions and 0 deletions
8
astro.config.mjs
Normal file
8
astro.config.mjs
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
import netlify from "@astrojs/netlify/functions";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
adapter: netlify()
|
||||
});
|
112
package-lock.json
generated
112
package-lock.json
generated
|
@ -14,6 +14,7 @@
|
|||
"configs/*"
|
||||
],
|
||||
"dependencies": {
|
||||
"@astrojs/netlify": "^3.0.1",
|
||||
"@changesets/cli": "^2.26.2",
|
||||
"prettier": "^3.0.3",
|
||||
"prettier-plugin-astro": "^0.12.0",
|
||||
|
@ -719,6 +720,70 @@
|
|||
"astro": "^3.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/netlify": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/netlify/-/netlify-3.0.1.tgz",
|
||||
"integrity": "sha512-CFSF10+xyNXqb2oFYVJMRB6AdilwgKrB3Iyf0+sAXZZM7GqITc0H98hoWUQfawxgmzi6aXqv+DC8mvEvCoCRlg==",
|
||||
"dependencies": {
|
||||
"@astrojs/underscore-redirects": "0.3.0",
|
||||
"@netlify/functions": "^2.0.1",
|
||||
"esbuild": "^0.19.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^3.0.7"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/netlify/node_modules/@esbuild/darwin-arm64": {
|
||||
"version": "0.19.3",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.3.tgz",
|
||||
"integrity": "sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/netlify/node_modules/esbuild": {
|
||||
"version": "0.19.3",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.3.tgz",
|
||||
"integrity": "sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==",
|
||||
"hasInstallScript": true,
|
||||
"bin": {
|
||||
"esbuild": "bin/esbuild"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@esbuild/android-arm": "0.19.3",
|
||||
"@esbuild/android-arm64": "0.19.3",
|
||||
"@esbuild/android-x64": "0.19.3",
|
||||
"@esbuild/darwin-arm64": "0.19.3",
|
||||
"@esbuild/darwin-x64": "0.19.3",
|
||||
"@esbuild/freebsd-arm64": "0.19.3",
|
||||
"@esbuild/freebsd-x64": "0.19.3",
|
||||
"@esbuild/linux-arm": "0.19.3",
|
||||
"@esbuild/linux-arm64": "0.19.3",
|
||||
"@esbuild/linux-ia32": "0.19.3",
|
||||
"@esbuild/linux-loong64": "0.19.3",
|
||||
"@esbuild/linux-mips64el": "0.19.3",
|
||||
"@esbuild/linux-ppc64": "0.19.3",
|
||||
"@esbuild/linux-riscv64": "0.19.3",
|
||||
"@esbuild/linux-s390x": "0.19.3",
|
||||
"@esbuild/linux-x64": "0.19.3",
|
||||
"@esbuild/netbsd-x64": "0.19.3",
|
||||
"@esbuild/openbsd-x64": "0.19.3",
|
||||
"@esbuild/sunos-x64": "0.19.3",
|
||||
"@esbuild/win32-arm64": "0.19.3",
|
||||
"@esbuild/win32-ia32": "0.19.3",
|
||||
"@esbuild/win32-x64": "0.19.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/preact": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/preact/-/preact-3.0.0.tgz",
|
||||
|
@ -815,6 +880,11 @@
|
|||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/underscore-redirects": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/underscore-redirects/-/underscore-redirects-0.3.0.tgz",
|
||||
"integrity": "sha512-dWBOH6hlGeaERmbdi+jFV2rnTcjOJrNOFYTnTTf8G2x0Gs3Radsh1ObSNEL5Z+xUhXNZLymhLbnN9yQSmh+PQw=="
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
"version": "7.22.13",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
|
||||
|
@ -2334,6 +2404,38 @@
|
|||
"node": ">=6 <7 || >=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@netlify/functions": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-2.0.2.tgz",
|
||||
"integrity": "sha512-goWRtaIPUK/q47qLYtfGGj7HgJIRaT0snw7zZ0yeoNTfQfCRwQwvRrMAsXkCsCtq2N2Oo81L26SpkMxEQMk9hg==",
|
||||
"dependencies": {
|
||||
"@netlify/serverless-functions-api": "1.7.3",
|
||||
"is-promise": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@netlify/node-cookies": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz",
|
||||
"integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==",
|
||||
"engines": {
|
||||
"node": "^14.16.0 || >=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@netlify/serverless-functions-api": {
|
||||
"version": "1.7.3",
|
||||
"resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.7.3.tgz",
|
||||
"integrity": "sha512-n6/7cJlSWvvbBlUOEAbkGyEld80S6KbG/ldQI9OhLfe1lTatgKmrTNIgqVNpaWpUdTgP2OHWFjmFBzkxxBWs5w==",
|
||||
"dependencies": {
|
||||
"@netlify/node-cookies": "^0.1.0",
|
||||
"urlpattern-polyfill": "8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.18.0 || >=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nodelib/fs.scandir": {
|
||||
"version": "2.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
||||
|
@ -7615,6 +7717,11 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/is-promise": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
|
||||
"integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="
|
||||
},
|
||||
"node_modules/is-regex": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
|
||||
|
@ -13010,6 +13117,11 @@
|
|||
"punycode": "^2.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/urlpattern-polyfill": {
|
||||
"version": "8.0.2",
|
||||
"resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz",
|
||||
"integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ=="
|
||||
},
|
||||
"node_modules/util-deprecate": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
"configs/*"
|
||||
],
|
||||
"dependencies": {
|
||||
"@astrojs/netlify": "^3.0.1",
|
||||
"@changesets/cli": "^2.26.2",
|
||||
"prettier": "^3.0.3",
|
||||
"prettier-plugin-astro": "^0.12.0",
|
||||
|
|
Loading…
Reference in a new issue