@vercel/static-build 2.8.31 → 2.8.33
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 +57 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -12138,6 +12138,62 @@ var require_frameworks = __commonJS({
|
|
|
12138
12138
|
}
|
|
12139
12139
|
]
|
|
12140
12140
|
},
|
|
12141
|
+
{
|
|
12142
|
+
name: "Go",
|
|
12143
|
+
slug: "go",
|
|
12144
|
+
experimental: true,
|
|
12145
|
+
runtimeFramework: true,
|
|
12146
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/go.svg",
|
|
12147
|
+
tagline: "An open-source programming language supported by Google.",
|
|
12148
|
+
description: "A generic Go application deployed as a serverless function.",
|
|
12149
|
+
website: "https://go.dev",
|
|
12150
|
+
useRuntime: { src: "index.go", use: "@vercel/go" },
|
|
12151
|
+
ignoreRuntimes: ["@vercel/go"],
|
|
12152
|
+
detectors: {
|
|
12153
|
+
every: [
|
|
12154
|
+
{
|
|
12155
|
+
path: "go.mod"
|
|
12156
|
+
}
|
|
12157
|
+
],
|
|
12158
|
+
some: [
|
|
12159
|
+
{
|
|
12160
|
+
path: "main.go"
|
|
12161
|
+
},
|
|
12162
|
+
{
|
|
12163
|
+
path: "cmd/api/main.go"
|
|
12164
|
+
},
|
|
12165
|
+
{
|
|
12166
|
+
path: "cmd/server/main.go"
|
|
12167
|
+
}
|
|
12168
|
+
]
|
|
12169
|
+
},
|
|
12170
|
+
settings: {
|
|
12171
|
+
installCommand: {
|
|
12172
|
+
placeholder: "`go mod download`"
|
|
12173
|
+
},
|
|
12174
|
+
buildCommand: {
|
|
12175
|
+
placeholder: "None",
|
|
12176
|
+
value: null
|
|
12177
|
+
},
|
|
12178
|
+
devCommand: {
|
|
12179
|
+
placeholder: "`go run .` or `go run ./cmd/api`",
|
|
12180
|
+
value: null
|
|
12181
|
+
},
|
|
12182
|
+
outputDirectory: {
|
|
12183
|
+
value: "N/A"
|
|
12184
|
+
}
|
|
12185
|
+
},
|
|
12186
|
+
getOutputDirName: async () => "public",
|
|
12187
|
+
defaultRoutes: [
|
|
12188
|
+
{
|
|
12189
|
+
handle: "filesystem"
|
|
12190
|
+
},
|
|
12191
|
+
{
|
|
12192
|
+
src: "/(.*)",
|
|
12193
|
+
dest: "/"
|
|
12194
|
+
}
|
|
12195
|
+
]
|
|
12196
|
+
},
|
|
12141
12197
|
{
|
|
12142
12198
|
name: "Services",
|
|
12143
12199
|
slug: "services",
|
|
@@ -21165,7 +21221,7 @@ var require_detect_builders = __commonJS({
|
|
|
21165
21221
|
builders.push(...apiBuilders);
|
|
21166
21222
|
}
|
|
21167
21223
|
if (frontendBuilder) {
|
|
21168
|
-
if (frontendBuilder?.use === "@vercel/express" || frontendBuilder?.use === "@vercel/hono" || frontendBuilder?.use === "@vercel/python") {
|
|
21224
|
+
if (frontendBuilder?.use === "@vercel/express" || frontendBuilder?.use === "@vercel/hono" || frontendBuilder?.use === "@vercel/python" || frontendBuilder?.use === "@vercel/go") {
|
|
21169
21225
|
builders.push({
|
|
21170
21226
|
src: "public/**/*",
|
|
21171
21227
|
use: "@vercel/static",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.33",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
18
|
-
"@vercel/
|
|
19
|
-
"@vercel/
|
|
18
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.0.131",
|
|
19
|
+
"@vercel/static-config": "3.1.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"rc9": "1.2.0",
|
|
39
39
|
"semver": "7.5.2",
|
|
40
40
|
"tree-kill": "1.2.2",
|
|
41
|
-
"@vercel/
|
|
41
|
+
"@vercel/build-utils": "13.3.2",
|
|
42
42
|
"@vercel/error-utils": "2.0.3",
|
|
43
|
-
"@vercel/
|
|
44
|
-
"@vercel/
|
|
45
|
-
"@vercel/
|
|
43
|
+
"@vercel/fs-detectors": "5.8.2",
|
|
44
|
+
"@vercel/routing-utils": "5.3.2",
|
|
45
|
+
"@vercel/frameworks": "3.17.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "node ../../utils/build-builder.mjs",
|