From 736c30f134bb31714f213306d60851ba93a72bf3 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 8 Mar 2023 14:28:49 -0800 Subject: [PATCH] injects secrets with infisical (#7105) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * injects secrets with infisical * Update package.json * Adds infisical project config --------- Co-authored-by: Omar López Co-authored-by: Peer Richelsen --- .gitignore | 3 --- .infisical.json | 8 ++++++++ package.json | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .infisical.json diff --git a/.gitignore b/.gitignore index f5832e9062..87edce7909 100644 --- a/.gitignore +++ b/.gitignore @@ -77,9 +77,6 @@ lint-results #Storybook apps/storybook/build-storybook.log -# Infisical -.infisical.json - # Snaplet .snaplet/snapshots .snaplet/structure.d.ts diff --git a/.infisical.json b/.infisical.json new file mode 100644 index 0000000000..c7fe4ccd1f --- /dev/null +++ b/.infisical.json @@ -0,0 +1,8 @@ +{ + "workspaceId": "63ea8121b6e2b0543ba79616", + "defaultEnvironment": "dev", + "gitBranchToEnvironmentMapping": { + "main": "staging", + "production": "prod" + } +} diff --git a/package.json b/package.json index d894cb5b64..eded373690 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,10 @@ "docs-start": "turbo run start --scope=\"@calcom/docs\"", "build-storybook": "turbo run build --scope=\"@calcom/storybook\"", "dx": "turbo run dx", + "i-dev": "infisical run -- turbo run dev --scope=\"@calcom/web\"", + "i-dx": "infisical run -- turbo run dx", + "i-gen-web-example-env": "infisical secrets generate-example-env --tags=web > .env.example", + "i-gen-app-store-example-env": "infisical secrets generate-example-env --tags=appstore > .env.appStore.example", "embed-tests-quick": "turbo run embed-tests-quick", "embed-tests": "turbo run embed-tests", "env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",