From cd8ecab3644c4e48b55e81a00dbef2a1fcc4e48c Mon Sep 17 00:00:00 2001 From: Philip Fulcher Date: Mon, 17 Jan 2022 07:29:29 -0700 Subject: [PATCH] chore(dep-graph): alias react to preact (#8563) --- dep-graph/client-e2e/src/integration/app.spec.ts | 2 +- dep-graph/client/project.json | 3 ++- dep-graph/client/src/app/sidebar/project-list.tsx | 2 +- dep-graph/client/webpack.config.js | 15 +++++++++++++++ package.json | 1 + yarn.lock | 5 +++++ 6 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 dep-graph/client/webpack.config.js diff --git a/dep-graph/client-e2e/src/integration/app.spec.ts b/dep-graph/client-e2e/src/integration/app.spec.ts index 0f81b1fb11..ce7eae370f 100644 --- a/dep-graph/client-e2e/src/integration/app.spec.ts +++ b/dep-graph/client-e2e/src/integration/app.spec.ts @@ -192,7 +192,7 @@ describe('dep-graph-client', () => { }); }); - describe.only('setting url params', () => { + describe('setting url params', () => { it('should set focused project', () => { cy.contains('nx-dev').scrollIntoView().should('be.visible'); cy.get('[data-project="nx-dev"]').prev('button').click({ force: true }); diff --git a/dep-graph/client/project.json b/dep-graph/client/project.json index 10fd5cea66..f79717669c 100644 --- a/dep-graph/client/project.json +++ b/dep-graph/client/project.json @@ -28,7 +28,8 @@ "maximumWarning": "2mb", "maximumError": "5mb" } - ] + ], + "webpackConfig": "dep-graph/client/webpack.config.js" }, "configurations": { "dev": { diff --git a/dep-graph/client/src/app/sidebar/project-list.tsx b/dep-graph/client/src/app/sidebar/project-list.tsx index 803074ec93..6a8f604148 100644 --- a/dep-graph/client/src/app/sidebar/project-list.tsx +++ b/dep-graph/client/src/app/sidebar/project-list.tsx @@ -88,7 +88,7 @@ function ProjectListItem({