From b5cd68cf9ebab3fbaba689fe8e39db13752c73fe Mon Sep 17 00:00:00 2001 From: Jaap van Hardeveld Date: Mon, 8 Aug 2022 13:45:45 +0200 Subject: [PATCH] Migrate (public-safe) Segment and Sentry configuration from closed-source repo --- etc/openapi-cli/.env.build.production | 2 ++ projects/openapi-cli/babel.config.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 etc/openapi-cli/.env.build.production diff --git a/etc/openapi-cli/.env.build.production b/etc/openapi-cli/.env.build.production new file mode 100644 index 0000000000..66fa466486 --- /dev/null +++ b/etc/openapi-cli/.env.build.production @@ -0,0 +1,2 @@ +OPTIC_OPENCLI_SEGMENT_KEY=RnaIpitypsVrdB42sEIA5HSEZRYLqRAI +OPTIC_OPENCLI_SENTRY_DSN=https://3c233262587c46f788583aa0964898a2@o446328.ingest.sentry.io/6541152 \ No newline at end of file diff --git a/projects/openapi-cli/babel.config.js b/projects/openapi-cli/babel.config.js index 1eb8a2c7ab..341eb86c34 100644 --- a/projects/openapi-cli/babel.config.js +++ b/projects/openapi-cli/babel.config.js @@ -11,7 +11,7 @@ module.exports = { { path: process.env.NODE_ENV === 'production' - ? '../../../../etc/openapi-cli/.env.build.production' + ? '../../etc/openapi-cli/.env.build.production' : './.env.build', systemVar: 'disable', // only replace values from dotenv file, not process.env },