From b4e18dc1890f8501496482c56d9c4ece072f21cd Mon Sep 17 00:00:00 2001 From: Oleksii Orel Date: Tue, 17 Dec 2024 12:39:29 +0200 Subject: [PATCH] fixup! fixup! upgrade @eclipse-che/che-devworkspace-generator and @devfile/api Signed-off-by: Oleksii Orel --- packages/dashboard-backend/jest.config.js | 7 ------- packages/dashboard-backend/webpack.config.common.js | 4 ---- 2 files changed, 11 deletions(-) diff --git a/packages/dashboard-backend/jest.config.js b/packages/dashboard-backend/jest.config.js index c5bbd513f..f2f5e2070 100644 --- a/packages/dashboard-backend/jest.config.js +++ b/packages/dashboard-backend/jest.config.js @@ -21,14 +21,7 @@ module.exports = { moduleNameMapper: { // mapping for absolute imports (see tsconfig.json) '^@/(.*)$': '/src/$1', - - // not everything we need is exported from the package - // so we need to alias the rest - '@devfile/api/(.*)$': '/../../node_modules/@devfile/api/$1.ts', }, - transformIgnorePatterns: [ - 'node_modules/(?!@devfile/api)', - ], collectCoverageFrom: [ ...base.collectCoverageFrom, diff --git a/packages/dashboard-backend/webpack.config.common.js b/packages/dashboard-backend/webpack.config.common.js index 3ddfcafcf..94548edc2 100644 --- a/packages/dashboard-backend/webpack.config.common.js +++ b/packages/dashboard-backend/webpack.config.common.js @@ -44,10 +44,6 @@ module.exports = () => { alias: { // alias for absolute imports (see tsconfig.json) '@': path.resolve(__dirname, 'src/'), - - // not everything we need is exported from the package - // so we need to alias the rest - '@devfile/api/api': path.resolve(__dirname, '../../node_modules/@devfile/api/api.ts'), }, }, resolveLoader: {},