diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index ed806c9830..23a86a6b31 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -35,6 +35,10 @@ jobs: with: node-version: '14.x' + - name: Set Version + run: | + echo "${{ steps.tagName.outputs.version}}" >> $RELEASE_VERSION + - name: Install run: yarn diff --git a/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/developer-edit-app.test.tsx.snap b/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/developer-edit-app.test.tsx.snap index fa27dde512..dd73f5dfb2 100644 --- a/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/developer-edit-app.test.tsx.snap +++ b/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/developer-edit-app.test.tsx.snap @@ -2499,13 +2499,6 @@ exports[`DeveloperSubmitApp should match a snapshot when pendingRevisions = fals - -
- This field is disabled during the beta period. Your app will be private by default as the Marketplace is not yet live. You will have the opportunity to make your app private via an edit before setting it to be "Listed" in the marketplace when we move from beta to production. -
-
diff --git a/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/redirect-uri-section.test.tsx.snap b/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/redirect-uri-section.test.tsx.snap index d43d681000..12988706bb 100644 --- a/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/redirect-uri-section.test.tsx.snap +++ b/packages/developer-portal/src/components/pages/edit-app/__tests__/__snapshots__/redirect-uri-section.test.tsx.snap @@ -78,9 +78,6 @@ exports[`MarketplaceStatusSection should match a snapshot 1`] = ` placeholder="Please enter the Customer ID. For multiple Customer ID’s, please separate using a comma" type="text" /> - - This field is disabled during the beta period. Your app will be private by default as the Marketplace is not yet live. You will have the opportunity to make your app private via an edit before setting it to be "Listed" in the marketplace when we move from beta to production. - diff --git a/packages/developer-portal/src/components/pages/edit-app/redirect-uri-section.tsx b/packages/developer-portal/src/components/pages/edit-app/redirect-uri-section.tsx index 93bb1f44d9..3a39182b50 100644 --- a/packages/developer-portal/src/components/pages/edit-app/redirect-uri-section.tsx +++ b/packages/developer-portal/src/components/pages/edit-app/redirect-uri-section.tsx @@ -87,11 +87,6 @@ const RedirectUriSection: React.FC = ({ authFlow, isPri name={limitToClientIds.name} placeholder={limitToClientIds.placeHolder} /> - - This field is disabled during the beta period. Your app will be private by default as the Marketplace is not - yet live. You will have the opportunity to make your app private via an edit before setting it to be - "Listed" in the marketplace when we move from beta to production. - diff --git a/packages/developer-portal/src/components/pages/settings/billing/__tests__/__snapshots__/subscriptions.test.tsx.snap b/packages/developer-portal/src/components/pages/settings/billing/__tests__/__snapshots__/subscriptions.test.tsx.snap index 90812a14c5..7771484e6e 100644 --- a/packages/developer-portal/src/components/pages/settings/billing/__tests__/__snapshots__/subscriptions.test.tsx.snap +++ b/packages/developer-portal/src/components/pages/settings/billing/__tests__/__snapshots__/subscriptions.test.tsx.snap @@ -29,7 +29,7 @@ exports[`Subcriptions should match snapshot 1`] = `

- The subscriptions table below is just for reference whilst we are in Beta. When we move out of the Beta Phase you can use the table below to view and manage your Developer Portal Subscriptions. + Please use the table below to view and manage your Developer Portal Subscriptions.

{ <>
Subscriptions
-

- The subscriptions table below is just for reference whilst we are in Beta. When we move out of the Beta - Phase you can use the table below to view and manage your Developer Portal Subscriptions. -

+

Please use the table below to view and manage your Developer Portal Subscriptions.

diff --git a/packages/developer-portal/src/components/pages/settings/settings-billing-tab/__tests__/__snapshots__/settings-billing-tab.test.tsx.snap b/packages/developer-portal/src/components/pages/settings/settings-billing-tab/__tests__/__snapshots__/settings-billing-tab.test.tsx.snap index c880c67fba..368b2cea19 100644 --- a/packages/developer-portal/src/components/pages/settings/settings-billing-tab/__tests__/__snapshots__/settings-billing-tab.test.tsx.snap +++ b/packages/developer-portal/src/components/pages/settings/settings-billing-tab/__tests__/__snapshots__/settings-billing-tab.test.tsx.snap @@ -121,7 +121,7 @@ exports[`DeveloperDesktopPage SettingsBillingTabPage should match snapshot 1`] =

- The subscriptions table below is just for reference whilst we are in Beta. When we move out of the Beta Phase you can use the table below to view and manage your Developer Portal Subscriptions. + Please use the table below to view and manage your Developer Portal Subscriptions.

{ return (

- You are currently logged into our Beta release of Reapit Foundations and we are continuing to update, add - additional features and address any issues that may appear. In the meantime, if you would like to request a - feature or report a bug, this can be done from the ‘Help’ section on the left. + If you would like to request a feature or report a bug, this can be done from the ‘Help’ section on the left.

diff --git a/packages/developer-portal/src/components/ui/submit-app-wizard/steps/__tests__/__snapshots__/step-before-you-start.test.tsx.snap b/packages/developer-portal/src/components/ui/submit-app-wizard/steps/__tests__/__snapshots__/step-before-you-start.test.tsx.snap index 0542eac672..d40cbd6d11 100644 --- a/packages/developer-portal/src/components/ui/submit-app-wizard/steps/__tests__/__snapshots__/step-before-you-start.test.tsx.snap +++ b/packages/developer-portal/src/components/ui/submit-app-wizard/steps/__tests__/__snapshots__/step-before-you-start.test.tsx.snap @@ -21,7 +21,7 @@ exports[`StepBeforeYouStart should match snapshot 1`] = ` isCentered={true} > { footerItems={ { try { const configRes = await fetch('config.json') const config = (await configRes.json()) as Config + const isLocal = config.appEnv !== 'production' + + if (!isLocal && config.sentryDns) { + Sentry.init({ + release: process.env.APP_VERSION, + dsn: config.sentryDns, + environment: config.appEnv, + }) + } window.reapit.config = config diff --git a/packages/reapit-connect/src/types/global.d.ts b/packages/reapit-connect/src/types/global.d.ts index f230b4ac60..8ef705043c 100644 --- a/packages/reapit-connect/src/types/global.d.ts +++ b/packages/reapit-connect/src/types/global.d.ts @@ -5,6 +5,7 @@ export type Config = { connectOAuthUrl: string connectUserPoolId: string developerPortalUrl: string + sentryDns: string } declare global { diff --git a/packages/ts-scripts/src/webpack/webpack.config.prod.js b/packages/ts-scripts/src/webpack/webpack.config.prod.js index b08920d82d..7f911d5831 100644 --- a/packages/ts-scripts/src/webpack/webpack.config.prod.js +++ b/packages/ts-scripts/src/webpack/webpack.config.prod.js @@ -40,6 +40,7 @@ const webpackConfigProd = { minimizer: [ new ESBuildMinifyPlugin({ target: 'es2019', + sourcemap: true, }), ], },