From 32a1da4f70df7a369c30a526d17d52793ac5440c Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 21 Jun 2022 11:58:40 +0200 Subject: [PATCH] Update packages path mapping for IntelliJ --- .phpstorm.config.js | 51 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/.phpstorm.config.js b/.phpstorm.config.js index 16a971854211..bd7964ed8b48 100644 --- a/.phpstorm.config.js +++ b/.phpstorm.config.js @@ -17,7 +17,54 @@ // eslint-disable-next-line no-undef -- Special global in IntelliJ. System.config({ paths: { - '@googleforcreators/*': './packages/*/src', - '@web-stories-wp/*': './packages/*/src', + // Published Packages + '@googleforcreators/animation': './packages/animation/src', + '@googleforcreators/dashboard': './packages/dashboard/src', + '@googleforcreators/date': './packages/date/src', + '@googleforcreators/design-system': './packages/design-system/src', + '@googleforcreators/dom': './packages/dom/src', + '@googleforcreators/element-library': './packages/element-library/src', + '@googleforcreators/elements': './packages/elements/src', + '@googleforcreators/fonts': './packages/fonts/src', + '@googleforcreators/i18n': './packages/i18n/src', + '@googleforcreators/masks': './packages/masks/src', + '@googleforcreators/media': './packages/media/src', + '@googleforcreators/migration': './packages/migration/src', + '@googleforcreators/moveable': './packages/moveable/src', + '@googleforcreators/output': './packages/output/src', + '@googleforcreators/patterns': './packages/patterns/src', + '@googleforcreators/react': './packages/react/src', + '@googleforcreators/rich-text': './packages/rich-text/src', + '@googleforcreators/stickers': './packages/stickers/src', + '@googleforcreators/story-editor': './packages/story-editor/src', + '@googleforcreators/templates': './packages/templates/src', + '@googleforcreators/text-sets': './packages/text-sets/src', + '@googleforcreators/tracking': './packages/tracking/src', + '@googleforcreators/transform': './packages/transform/src', + '@googleforcreators/units': './packages/units/src', + '@googleforcreators/url': './packages/url/src', + + // Private Packages + '@web-stories-wp/e2e-tests': './packages/e2e-tests/src', + '@web-stories-wp/activation-notice': './packages/activation-notice/src', + '@web-stories-wp/commander': './packages/commander/src', + '@web-stories-wp/e2e-test-utils': './packages/e2e-test-utils/src', + '@web-stories-wp/eslint-import-resolver': './packages/eslint-import-resolver/src', + '@web-stories-wp/glider': './packages/glider/src', + '@web-stories-wp/imgareaselect': './packages/imgareaselect/src', + '@web-stories-wp/jest-amp': './packages/jest-amp/src', + '@web-stories-wp/jest-puppeteer-amp': './packages/jest-puppeteer-amp/src', + '@web-stories-wp/jest-resolver': './packages/jest-resolver/src', + '@web-stories-wp/karma-failed-tests-reporter': './packages/karma-failed-tests-reporter/src', + '@web-stories-wp/karma-puppeteer-client': './packages/karma-puppeteer-client/src', + '@web-stories-wp/karma-puppeteer-launcher': './packages/karma-puppeteer-launcher/src', + '@web-stories-wp/stories-block': './packages/stories-block/src', + '@web-stories-wp/stories-carousel': './packages/stories-carousel/src', + '@web-stories-wp/stories-lightbox': './packages/stories-lightbox/src', + '@web-stories-wp/tinymce-button': './packages/tinymce-button/src', + '@web-stories-wp/widget': './packages/widget/src', + '@web-stories-wp/wp-dashboard': './packages/wp-dashboard/src', + '@web-stories-wp/wp-story-editor': './packages/wp-story-editor/src', + '@web-stories-wp/wp-utils': './packages/wp-utils/src', }, });