Skip to content

Commit 120a73d

Browse files
TooTallNateadriandlam
authored andcommitted
Update packages/builders/src/types.ts
Co-authored-by: Adrian <me@adriandlam.com>
1 parent 30ef468 commit 120a73d

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
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
}

packages/nitro/src/builders.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { mkdir, readFile, writeFile } from 'node:fs/promises';
2-
import { join } from 'node:path';
32
import { BaseBuilder, VercelBuildOutputAPIBuilder } from '@workflow/builders';
43
import type { Nitro } from 'nitro/types';
54
import { join, resolve } from 'pathe';

0 commit comments

Comments
 (0)