-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update graph with @xyflow/react (#332)
- Loading branch information
1 parent
1922706
commit 4f0f69c
Showing
142 changed files
with
5,884 additions
and
6,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
"commonality-checks-recommended": patch | ||
"@commonalityco/utils-conformance": patch | ||
"@commonalityco/data-constraints": patch | ||
"@commonalityco/ui-design-system": patch | ||
"@commonalityco/utils-onboarding": patch | ||
"@commonalityco/data-codeowners": patch | ||
"@commonalityco/ui-conformance": patch | ||
"@commonalityco/ui-constraints": patch | ||
"@commonalityco/config-tailwind": patch | ||
"@commonalityco/config-tsconfig": patch | ||
"@commonalityco/data-packages": patch | ||
"@commonalityco/utils-package": patch | ||
"@commonalityco/data-project": patch | ||
"eslint-config-commonality": patch | ||
"@commonalityco/ui-package": patch | ||
"@commonalityco/utils-core": patch | ||
"@commonalityco/utils-file": patch | ||
"@commonalityco/data-tags": patch | ||
"@commonalityco/ui-graph": patch | ||
"commonality": patch | ||
"@commonalityco/ui-core": patch | ||
"@commonalityco/types": patch | ||
"workshop": patch | ||
"@commonalityco/studio": patch | ||
--- | ||
|
||
Update dependency graph to use @xyflow/react |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"testing.automaticallyOpenPeekView": "never" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('smoke - constraints', async ({ page }) => { | ||
await page.goto('/'); | ||
await page.goto('/graph'); | ||
|
||
await expect( | ||
page.getByRole('heading', { name: 'Constraints' }), | ||
).toBeVisible(); | ||
await expect(page.getByTestId('dependency-graph')).toBeVisible(); | ||
}); | ||
|
||
test('smoke - checks', async ({ page }) => { | ||
await page.goto('/checks'); | ||
await page.goto('/packages'); | ||
|
||
await expect(page.getByRole('heading', { name: 'Checks' })).toBeVisible(); | ||
await expect(page.getByRole('heading', { name: 'Packages' })).toBeVisible(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,12 @@ | ||
const { withSentryConfig } = require('@sentry/nextjs'); | ||
|
||
module.exports = withSentryConfig( | ||
{ | ||
reactStrictMode: true, | ||
transpilePackages: [ | ||
'@commonalityco/data-codeowners', | ||
'@commonalityco/data-graph', | ||
'@commonalityco/data-graph-worker', | ||
'@commonalityco/data-packages', | ||
'@commonalityco/data-project', | ||
'@commonalityco/data-tags', | ||
'@commonalityco/ui-conformance', | ||
'@commonalityco/utils-conformance', | ||
'@commonalityco/feature-graph', | ||
'@commonalityco/ui-core', | ||
'@commonalityco/ui-design-system', | ||
'@commonalityco/ui-graph', | ||
'@commonalityco/ui-package', | ||
'@commonalityco/utils-core', | ||
'@commonalityco/utils-graph', | ||
'@commonalityco/utils-package', | ||
], | ||
module.exports = { | ||
reactStrictMode: true, | ||
async redirects() { | ||
return [ | ||
{ | ||
source: '/((?!graph|packages).*)', | ||
destination: '/graph', | ||
permanent: true, | ||
}, | ||
]; | ||
}, | ||
{ | ||
// For all available options, see: | ||
// https://github.com/getsentry/sentry-webpack-plugin#options | ||
|
||
// Suppresses source map uploading logs during build | ||
silent: true, | ||
org: 'alec-ortega', | ||
project: 'studio', | ||
}, | ||
{ | ||
// For all available options, see: | ||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/ | ||
|
||
// Upload a larger set of source maps for prettier stack traces (increases build time) | ||
widenClientFileUpload: true, | ||
|
||
// Transpiles SDK to be compatible with IE11 (increases bundle size) | ||
transpileClientSDK: true, | ||
|
||
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load) | ||
tunnelRoute: '/monitoring', | ||
|
||
// Hides source maps from generated client bundles | ||
hideSourceMaps: true, | ||
|
||
// Automatically tree-shake Sentry logger statements to reduce bundle size | ||
disableLogger: true, | ||
}, | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.