From 427b2df17d9e11788288d13ce4e12a6dd24f3df8 Mon Sep 17 00:00:00 2001 From: Miroslav Jonas Date: Mon, 16 Jan 2023 16:54:47 +0100 Subject: [PATCH] feat(core): add bitbucket and gitlab to create-nx-workspace --- docs/generated/cli/create-nx-workspace.md | 2 +- .../packages/nx/documents/create-nx-workspace.md | 2 +- packages/create-nx-workspace/bin/ci.ts | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/generated/cli/create-nx-workspace.md b/docs/generated/cli/create-nx-workspace.md index 7aed9ea63c73b..4619195e944e4 100644 --- a/docs/generated/cli/create-nx-workspace.md +++ b/docs/generated/cli/create-nx-workspace.md @@ -35,7 +35,7 @@ The name of the application when a preset with pregenerated app is selected Type: `string` -Choices: [github, circleci, azure] +Choices: [github, circleci, azure, bitbucket-pipelines, gitlab] Generate a CI workflow file diff --git a/docs/generated/packages/nx/documents/create-nx-workspace.md b/docs/generated/packages/nx/documents/create-nx-workspace.md index 7aed9ea63c73b..4619195e944e4 100644 --- a/docs/generated/packages/nx/documents/create-nx-workspace.md +++ b/docs/generated/packages/nx/documents/create-nx-workspace.md @@ -35,7 +35,7 @@ The name of the application when a preset with pregenerated app is selected Type: `string` -Choices: [github, circleci, azure] +Choices: [github, circleci, azure, bitbucket-pipelines, gitlab] Generate a CI workflow file diff --git a/packages/create-nx-workspace/bin/ci.ts b/packages/create-nx-workspace/bin/ci.ts index a559af7aa0e9a..8e7ad83fa93ce 100644 --- a/packages/create-nx-workspace/bin/ci.ts +++ b/packages/create-nx-workspace/bin/ci.ts @@ -1 +1,7 @@ -export const ciList = ['github', 'circleci', 'azure'] as const; +export const ciList = [ + 'github', + 'circleci', + 'azure', + 'bitbucket-pipelines', + 'gitlab', +] as const;