mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
32abe49bd0
* fix(netlify): Try to make polyfill external * feat(webapi): Add polyfill applier for SSR * fix(netlify): Externalize polyfills so they're always applied before user code * chore: changeset * test(netlify): Add test for polyfill being in the proper place * config(netlify): Remove unnecessary change to package.json * revert(netlify): Revert changes * feat(astro): Add a way for packages to explicitely mark themselves as needing to be external * Update .changeset/silent-dragons-sell.md --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "@astrojs/netlify",
|
|
"description": "Deploy your site to Netlify",
|
|
"version": "2.1.1",
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/integrations/netlify"
|
|
},
|
|
"keywords": [
|
|
"withastro",
|
|
"astro-adapter"
|
|
],
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/netlify/",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./functions": "./dist/integration-functions.js",
|
|
"./netlify-functions.js": "./dist/netlify-functions.js",
|
|
"./edge-functions": "./dist/integration-edge-functions.js",
|
|
"./netlify-edge-functions.js": "./dist/netlify-edge-functions.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
"test-fn": "mocha --exit --timeout 20000 test/functions/",
|
|
"test-edge": "deno test --allow-run --allow-read --allow-net ./test/edge-functions/",
|
|
"test": "npm run test-fn"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/webapi": "^2.0.0",
|
|
"@netlify/functions": "^1.0.0",
|
|
"esbuild": "^0.15.18"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "workspace:^2.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"@netlify/edge-handler-types": "^0.34.1",
|
|
"@types/node": "^14.18.20",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.6",
|
|
"cheerio": "^1.0.0-rc.11",
|
|
"mocha": "^9.2.2",
|
|
"vite": "^4.0.3"
|
|
},
|
|
"astro": {
|
|
"external": true
|
|
}
|
|
}
|