@vercel/static-build 0.24.1-canary.2 → 0.24.1
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 +4 -4
package/dist/index.js
CHANGED
|
@@ -7665,6 +7665,70 @@ exports.frameworks = [
|
|
|
7665
7665
|
},
|
|
7666
7666
|
],
|
|
7667
7667
|
},
|
|
7668
|
+
{
|
|
7669
|
+
name: 'Astro',
|
|
7670
|
+
slug: 'astro',
|
|
7671
|
+
demo: 'https://astro-template.vercel.app',
|
|
7672
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro.svg',
|
|
7673
|
+
darkModeLogo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro-dark.svg',
|
|
7674
|
+
tagline: 'Astro is a new kind of static site builder for the modern web. Powerful developer experience meets lightweight output.',
|
|
7675
|
+
description: 'An Astro site, using the basics starter kit.',
|
|
7676
|
+
website: 'https://astro.build',
|
|
7677
|
+
envPrefix: 'PUBLIC_',
|
|
7678
|
+
detectors: {
|
|
7679
|
+
every: [
|
|
7680
|
+
{
|
|
7681
|
+
path: 'package.json',
|
|
7682
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"astro":\\s*".+?"[^}]*}',
|
|
7683
|
+
},
|
|
7684
|
+
],
|
|
7685
|
+
},
|
|
7686
|
+
settings: {
|
|
7687
|
+
installCommand: {
|
|
7688
|
+
placeholder: '`yarn install` or `npm install`',
|
|
7689
|
+
},
|
|
7690
|
+
buildCommand: {
|
|
7691
|
+
value: 'astro build',
|
|
7692
|
+
placeholder: '`npm run build` or `astro build`',
|
|
7693
|
+
},
|
|
7694
|
+
devCommand: {
|
|
7695
|
+
value: 'astro dev --port $PORT',
|
|
7696
|
+
placeholder: 'astro dev',
|
|
7697
|
+
},
|
|
7698
|
+
outputDirectory: {
|
|
7699
|
+
value: 'dist',
|
|
7700
|
+
},
|
|
7701
|
+
},
|
|
7702
|
+
dependency: 'astro',
|
|
7703
|
+
getFsOutputDir: async () => 'dist',
|
|
7704
|
+
getOutputDirName: async () => 'dist',
|
|
7705
|
+
defaultRoutes: [
|
|
7706
|
+
{
|
|
7707
|
+
src: '^/dist/(.*)$',
|
|
7708
|
+
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
|
7709
|
+
continue: true,
|
|
7710
|
+
},
|
|
7711
|
+
{
|
|
7712
|
+
handle: 'filesystem',
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
src: '/(.*)',
|
|
7716
|
+
dest: '/index.html',
|
|
7717
|
+
},
|
|
7718
|
+
],
|
|
7719
|
+
defaultHeaders: [
|
|
7720
|
+
{
|
|
7721
|
+
source: '^/dist/(.*)$',
|
|
7722
|
+
regex: '^/dist/(.*)$',
|
|
7723
|
+
headers: [
|
|
7724
|
+
{
|
|
7725
|
+
key: 'cache-control',
|
|
7726
|
+
value: 'public, max-age=31536000, immutable',
|
|
7727
|
+
},
|
|
7728
|
+
],
|
|
7729
|
+
},
|
|
7730
|
+
],
|
|
7731
|
+
},
|
|
7668
7732
|
{
|
|
7669
7733
|
name: 'Hexo',
|
|
7670
7734
|
slug: 'hexo',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "0.24.1
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@types/ms": "0.7.31",
|
|
36
36
|
"@types/node-fetch": "2.5.4",
|
|
37
37
|
"@types/promise-timeout": "1.3.0",
|
|
38
|
-
"@vercel/build-utils": "2.
|
|
39
|
-
"@vercel/frameworks": "0.
|
|
38
|
+
"@vercel/build-utils": "2.17.0",
|
|
39
|
+
"@vercel/frameworks": "0.9.0",
|
|
40
40
|
"@vercel/ncc": "0.24.0",
|
|
41
41
|
"@vercel/routing-utils": "1.13.2",
|
|
42
42
|
"get-port": "5.0.0",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"node-fetch": "2.6.1",
|
|
46
46
|
"rc9": "1.2.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "15c7ad241a44d037ceed0101b89e3a73f09fab2b"
|
|
49
49
|
}
|