Skip to content

Commit 277bf7e

Browse files
committed
fix: bundle ai-personalization
1 parent 7082b00 commit 277bf7e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/common.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ export const GENERATORS = Object.entries(clientsConfig).reduce(
6969

7070
export const LANGUAGES = [...new Set(Object.values(GENERATORS).map((gen) => gen.language))];
7171

72-
export const CLIENTS = [...new Set(Object.values(GENERATORS).map((gen) => gen.client)), 'crawler'];
72+
// `crawler` and `ai-personalization` are manually added so we can still bundled and validate the specs
73+
// the entry can be removed once at least one client is generated
74+
export const CLIENTS = [
75+
...new Set(Object.values(GENERATORS).map((gen) => gen.client)),
76+
'crawler',
77+
'ai-personalization',
78+
];
7379

7480
export async function run(command: string, { errorMessage, cwd, language }: RunOptions = {}): Promise<string> {
7581
const realCwd = path.resolve(ROOT_DIR, cwd ?? '.');

0 commit comments

Comments
 (0)