@vercel/build-utils 2.16.1-canary.2 → 2.16.1-canary.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +64 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -27057,6 +27057,70 @@ exports.frameworks = [
|
|
27057
27057
|
},
|
27058
27058
|
],
|
27059
27059
|
},
|
27060
|
+
{
|
27061
|
+
name: 'Astro',
|
27062
|
+
slug: 'astro',
|
27063
|
+
demo: 'https://astro-template.vercel.app',
|
27064
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro.svg',
|
27065
|
+
darkModeLogo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro-dark.svg',
|
27066
|
+
tagline: 'Astro is a new kind of static site builder for the modern web. Powerful developer experience meets lightweight output.',
|
27067
|
+
description: 'An Astro site, using the basics starter kit.',
|
27068
|
+
website: 'https://astro.build',
|
27069
|
+
envPrefix: 'PUBLIC_',
|
27070
|
+
detectors: {
|
27071
|
+
every: [
|
27072
|
+
{
|
27073
|
+
path: 'package.json',
|
27074
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"astro":\\s*".+?"[^}]*}',
|
27075
|
+
},
|
27076
|
+
],
|
27077
|
+
},
|
27078
|
+
settings: {
|
27079
|
+
installCommand: {
|
27080
|
+
placeholder: '`yarn install` or `npm install`',
|
27081
|
+
},
|
27082
|
+
buildCommand: {
|
27083
|
+
value: 'astro build',
|
27084
|
+
placeholder: '`npm run build` or `astro build`',
|
27085
|
+
},
|
27086
|
+
devCommand: {
|
27087
|
+
value: 'astro dev --port $PORT',
|
27088
|
+
placeholder: 'astro dev',
|
27089
|
+
},
|
27090
|
+
outputDirectory: {
|
27091
|
+
value: 'dist',
|
27092
|
+
},
|
27093
|
+
},
|
27094
|
+
dependency: 'astro',
|
27095
|
+
getFsOutputDir: async () => 'dist',
|
27096
|
+
getOutputDirName: async () => 'dist',
|
27097
|
+
defaultRoutes: [
|
27098
|
+
{
|
27099
|
+
src: '^/dist/(.*)$',
|
27100
|
+
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
27101
|
+
continue: true,
|
27102
|
+
},
|
27103
|
+
{
|
27104
|
+
handle: 'filesystem',
|
27105
|
+
},
|
27106
|
+
{
|
27107
|
+
src: '/(.*)',
|
27108
|
+
dest: '/index.html',
|
27109
|
+
},
|
27110
|
+
],
|
27111
|
+
defaultHeaders: [
|
27112
|
+
{
|
27113
|
+
source: '^/dist/(.*)$',
|
27114
|
+
regex: '^/dist/(.*)$',
|
27115
|
+
headers: [
|
27116
|
+
{
|
27117
|
+
key: 'cache-control',
|
27118
|
+
value: 'public, max-age=31536000, immutable',
|
27119
|
+
},
|
27120
|
+
],
|
27121
|
+
},
|
27122
|
+
],
|
27123
|
+
},
|
27060
27124
|
{
|
27061
27125
|
name: 'Hexo',
|
27062
27126
|
slug: 'hexo',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "2.16.1-canary.
|
3
|
+
"version": "2.16.1-canary.3",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.js",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"@types/node-fetch": "^2.1.6",
|
31
31
|
"@types/semver": "6.0.0",
|
32
32
|
"@types/yazl": "2.4.2",
|
33
|
-
"@vercel/frameworks": "0.8.1-canary.
|
33
|
+
"@vercel/frameworks": "0.8.1-canary.1",
|
34
34
|
"@vercel/ncc": "0.24.0",
|
35
35
|
"aggregate-error": "3.0.1",
|
36
36
|
"async-retry": "1.2.3",
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"typescript": "4.3.4",
|
50
50
|
"yazl": "2.5.1"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "41d66661399754aed76a655c92f28c19afd0e8f1"
|
53
53
|
}
|