From 9c547cc8bb6e79c000bf465ffea7d9ded92601ae Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 2 Mar 2023 16:49:34 +0100 Subject: [PATCH] BUGFIX: Make extensibility api compatible with esbuild alias see https://github.com/evanw/esbuild/issues/2963 --- .../extensibilityMap.json | 48 +++++++++---------- .../effects}/index.js | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) rename packages/neos-ui-extensibility/src/shims/vendor/{redux-saga-effects => redux-saga/effects}/index.js (50%) diff --git a/packages/neos-ui-extensibility/extensibilityMap.json b/packages/neos-ui-extensibility/extensibilityMap.json index 25fbc699ea..340f2edca7 100644 --- a/packages/neos-ui-extensibility/extensibilityMap.json +++ b/packages/neos-ui-extensibility/extensibilityMap.json @@ -1,27 +1,27 @@ { - "react": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react/index", - "react-dom": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-dom/index", - "react-dnd": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-dnd/index", - "react-dnd-html5-backend": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-dnd-html5-backend/index", - "prop-types": "@neos-project/neos-ui-extensibility/dist/shims/vendor/prop-types/index", - "plow-js": "@neos-project/neos-ui-extensibility/dist/shims/vendor/plow-js/index", - "classnames": "@neos-project/neos-ui-extensibility/dist/shims/vendor/classnames/index", - "react-redux": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-redux/index", - "redux-actions": "@neos-project/neos-ui-extensibility/dist/shims/vendor/redux-actions/index", - "redux-saga/effects": "@neos-project/neos-ui-extensibility/dist/shims/vendor/redux-saga-effects/index", - "redux-saga": "@neos-project/neos-ui-extensibility/dist/shims/vendor/redux-saga/index", - "reselect": "@neos-project/neos-ui-extensibility/dist/shims/vendor/reselect/index", - "@friendsofreactjs/react-css-themr": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-css-themr/index", - "ckeditor5-exports": "@neos-project/neos-ui-extensibility/dist/shims/vendor/ckeditor5-exports/index", + "react": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react", + "react-dom": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-dom", + "react-dnd": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-dnd", + "react-dnd-html5-backend": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-dnd-html5-backend", + "prop-types": "@neos-project/neos-ui-extensibility/dist/shims/vendor/prop-types", + "plow-js": "@neos-project/neos-ui-extensibility/dist/shims/vendor/plow-js", + "classnames": "@neos-project/neos-ui-extensibility/dist/shims/vendor/classnames", + "react-redux": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-redux", + "redux-actions": "@neos-project/neos-ui-extensibility/dist/shims/vendor/redux-actions", + "redux-saga/effects": "@neos-project/neos-ui-extensibility/dist/shims/vendor/redux-saga/effects", + "redux-saga": "@neos-project/neos-ui-extensibility/dist/shims/vendor/redux-saga", + "reselect": "@neos-project/neos-ui-extensibility/dist/shims/vendor/reselect", + "@friendsofreactjs/react-css-themr": "@neos-project/neos-ui-extensibility/dist/shims/vendor/react-css-themr", + "ckeditor5-exports": "@neos-project/neos-ui-extensibility/dist/shims/vendor/ckeditor5-exports", - "@neos-project/react-ui-components": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/react-ui-components/index", - "@neos-project/neos-ui-backend-connector": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-backend-connector/index", - "@neos-project/neos-ui-ckeditor5-bindings": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-ckeditor5-bindings/index", - "@neos-project/neos-ui-decorators": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-decorators/index", - "@neos-project/neos-ui-editors": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-editors/index", - "@neos-project/neos-ui-i18n": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-i18n/index", - "@neos-project/neos-ui-redux-store": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-redux-store/index", - "@neos-project/neos-ui-views": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-views/index", - "@neos-project/neos-ui-guest-frame": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-guest-frame/index", - "@neos-project/utils-redux": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/utils-redux/index" + "@neos-project/react-ui-components": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/react-ui-components", + "@neos-project/neos-ui-backend-connector": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-backend-connector", + "@neos-project/neos-ui-ckeditor5-bindings": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-ckeditor5-bindings", + "@neos-project/neos-ui-decorators": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-decorators", + "@neos-project/neos-ui-editors": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-editors", + "@neos-project/neos-ui-i18n": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-i18n", + "@neos-project/neos-ui-redux-store": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-redux-store", + "@neos-project/neos-ui-views": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-views", + "@neos-project/neos-ui-guest-frame": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/neos-ui-guest-frame", + "@neos-project/utils-redux": "@neos-project/neos-ui-extensibility/dist/shims/neosProjectPackages/utils-redux" } \ No newline at end of file diff --git a/packages/neos-ui-extensibility/src/shims/vendor/redux-saga-effects/index.js b/packages/neos-ui-extensibility/src/shims/vendor/redux-saga/effects/index.js similarity index 50% rename from packages/neos-ui-extensibility/src/shims/vendor/redux-saga-effects/index.js rename to packages/neos-ui-extensibility/src/shims/vendor/redux-saga/effects/index.js index 9823d48d7c..61e1c9fb3c 100644 --- a/packages/neos-ui-extensibility/src/shims/vendor/redux-saga-effects/index.js +++ b/packages/neos-ui-extensibility/src/shims/vendor/redux-saga/effects/index.js @@ -1,3 +1,3 @@ -import readFromConsumerApi from '../../../readFromConsumerApi'; +import readFromConsumerApi from '../../../../readFromConsumerApi'; module.exports = readFromConsumerApi('vendor')().reduxSagaEffects;