Skip to content

Commit 256f736

Browse files
TooTallNateadriandlam
authored andcommitted
Update packages/builders/src/types.ts
Co-authored-by: Adrian <[email protected]>
1 parent 9f2d314 commit 256f736

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/builders/LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE.md

packages/builders/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"publishConfig": {
2222
"access": "public"
2323
},
24-
"license": "MIT",
24+
"license": "Apache-2.0",
2525
"repository": {
2626
"type": "git",
2727
"url": "https://github.com/vercel/workflow.git",

packages/builders/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ export interface WorkflowConfig {
2727
export function isValidBuildTarget(
2828
target: string | undefined
2929
): target is BuildTarget {
30-
return target === 'standalone' || target === 'vercel-build-output-api';
30+
return !!target && validBuildTargets.includes(target as BuildTarget);
3131
}

0 commit comments

Comments
 (0)