From 4e907728773bfe87fa444241773ec5ef1ae60779 Mon Sep 17 00:00:00 2001 From: Siddharth Thevaril Date: Sat, 21 Sep 2024 00:45:41 +0530 Subject: [PATCH] rename directory from plugins to features --- .../classification/classification-button.js | 0 .../classification/classification-toggle.js | 0 .../classification/ibm-watson.js | 0 .../classification/index.js | 0 .../pre-publish-classify-post.js | 0 .../classification/previewer.js | 0 .../classification/previewer.scss | 0 .../classification/taxonomy-controls.js | 0 src/js/{plugins => features}/commands.js | 0 .../content-resizing/index.js | 0 .../content-resizing/index.scss | 0 .../excerpt-generation/classic/index.js | 0 .../excerpt-generation/classic/index.scss | 0 .../excerpt-generation/index.js | 0 .../excerpt-generation/maybe-excerpt-panel.js | 0 .../excerpt-generation/panel.js | 0 .../inserter-media-category.js | 0 .../media-modal/collections/images.js | 0 .../image-generation/media-modal/index.js | 0 .../image-generation/media-modal/index.scss | 0 .../media-modal/models/image.js | 0 .../media-modal/views/error-message.js | 0 .../views/generate-image-media-upload.js | 0 .../media-modal/views/generated-image.js | 0 .../views/generated-images-container.js | 0 .../media-modal/views/prompt.js | 0 .../{plugins => features}/slot-fill/index.js | 0 .../text-to-speech/frontend/index.js | 0 .../text-to-speech/frontend/index.scss | 0 .../text-to-speech/index.js | 0 .../text-to-speech/store.js | 0 .../title-generation/classic/index.js | 0 .../title-generation/classic/index.scss | 0 .../title-generation/index.js | 0 webpack.config.js | 30 +++++++++---------- 35 files changed, 15 insertions(+), 15 deletions(-) rename src/js/{plugins => features}/classification/classification-button.js (100%) rename src/js/{plugins => features}/classification/classification-toggle.js (100%) rename src/js/{plugins => features}/classification/ibm-watson.js (100%) rename src/js/{plugins => features}/classification/index.js (100%) rename src/js/{plugins => features}/classification/pre-publish-classify-post.js (100%) rename src/js/{plugins => features}/classification/previewer.js (100%) rename src/js/{plugins => features}/classification/previewer.scss (100%) rename src/js/{plugins => features}/classification/taxonomy-controls.js (100%) rename src/js/{plugins => features}/commands.js (100%) rename src/js/{plugins => features}/content-resizing/index.js (100%) rename src/js/{plugins => features}/content-resizing/index.scss (100%) rename src/js/{plugins => features}/excerpt-generation/classic/index.js (100%) rename src/js/{plugins => features}/excerpt-generation/classic/index.scss (100%) rename src/js/{plugins => features}/excerpt-generation/index.js (100%) rename src/js/{plugins => features}/excerpt-generation/maybe-excerpt-panel.js (100%) rename src/js/{plugins => features}/excerpt-generation/panel.js (100%) rename src/js/{plugins => features}/image-generation/inserter-media-category.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/collections/images.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/index.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/index.scss (100%) rename src/js/{plugins => features}/image-generation/media-modal/models/image.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/views/error-message.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/views/generate-image-media-upload.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/views/generated-image.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/views/generated-images-container.js (100%) rename src/js/{plugins => features}/image-generation/media-modal/views/prompt.js (100%) rename src/js/{plugins => features}/slot-fill/index.js (100%) rename src/js/{plugins => features}/text-to-speech/frontend/index.js (100%) rename src/js/{plugins => features}/text-to-speech/frontend/index.scss (100%) rename src/js/{plugins => features}/text-to-speech/index.js (100%) rename src/js/{plugins => features}/text-to-speech/store.js (100%) rename src/js/{plugins => features}/title-generation/classic/index.js (100%) rename src/js/{plugins => features}/title-generation/classic/index.scss (100%) rename src/js/{plugins => features}/title-generation/index.js (100%) diff --git a/src/js/plugins/classification/classification-button.js b/src/js/features/classification/classification-button.js similarity index 100% rename from src/js/plugins/classification/classification-button.js rename to src/js/features/classification/classification-button.js diff --git a/src/js/plugins/classification/classification-toggle.js b/src/js/features/classification/classification-toggle.js similarity index 100% rename from src/js/plugins/classification/classification-toggle.js rename to src/js/features/classification/classification-toggle.js diff --git a/src/js/plugins/classification/ibm-watson.js b/src/js/features/classification/ibm-watson.js similarity index 100% rename from src/js/plugins/classification/ibm-watson.js rename to src/js/features/classification/ibm-watson.js diff --git a/src/js/plugins/classification/index.js b/src/js/features/classification/index.js similarity index 100% rename from src/js/plugins/classification/index.js rename to src/js/features/classification/index.js diff --git a/src/js/plugins/classification/pre-publish-classify-post.js b/src/js/features/classification/pre-publish-classify-post.js similarity index 100% rename from src/js/plugins/classification/pre-publish-classify-post.js rename to src/js/features/classification/pre-publish-classify-post.js diff --git a/src/js/plugins/classification/previewer.js b/src/js/features/classification/previewer.js similarity index 100% rename from src/js/plugins/classification/previewer.js rename to src/js/features/classification/previewer.js diff --git a/src/js/plugins/classification/previewer.scss b/src/js/features/classification/previewer.scss similarity index 100% rename from src/js/plugins/classification/previewer.scss rename to src/js/features/classification/previewer.scss diff --git a/src/js/plugins/classification/taxonomy-controls.js b/src/js/features/classification/taxonomy-controls.js similarity index 100% rename from src/js/plugins/classification/taxonomy-controls.js rename to src/js/features/classification/taxonomy-controls.js diff --git a/src/js/plugins/commands.js b/src/js/features/commands.js similarity index 100% rename from src/js/plugins/commands.js rename to src/js/features/commands.js diff --git a/src/js/plugins/content-resizing/index.js b/src/js/features/content-resizing/index.js similarity index 100% rename from src/js/plugins/content-resizing/index.js rename to src/js/features/content-resizing/index.js diff --git a/src/js/plugins/content-resizing/index.scss b/src/js/features/content-resizing/index.scss similarity index 100% rename from src/js/plugins/content-resizing/index.scss rename to src/js/features/content-resizing/index.scss diff --git a/src/js/plugins/excerpt-generation/classic/index.js b/src/js/features/excerpt-generation/classic/index.js similarity index 100% rename from src/js/plugins/excerpt-generation/classic/index.js rename to src/js/features/excerpt-generation/classic/index.js diff --git a/src/js/plugins/excerpt-generation/classic/index.scss b/src/js/features/excerpt-generation/classic/index.scss similarity index 100% rename from src/js/plugins/excerpt-generation/classic/index.scss rename to src/js/features/excerpt-generation/classic/index.scss diff --git a/src/js/plugins/excerpt-generation/index.js b/src/js/features/excerpt-generation/index.js similarity index 100% rename from src/js/plugins/excerpt-generation/index.js rename to src/js/features/excerpt-generation/index.js diff --git a/src/js/plugins/excerpt-generation/maybe-excerpt-panel.js b/src/js/features/excerpt-generation/maybe-excerpt-panel.js similarity index 100% rename from src/js/plugins/excerpt-generation/maybe-excerpt-panel.js rename to src/js/features/excerpt-generation/maybe-excerpt-panel.js diff --git a/src/js/plugins/excerpt-generation/panel.js b/src/js/features/excerpt-generation/panel.js similarity index 100% rename from src/js/plugins/excerpt-generation/panel.js rename to src/js/features/excerpt-generation/panel.js diff --git a/src/js/plugins/image-generation/inserter-media-category.js b/src/js/features/image-generation/inserter-media-category.js similarity index 100% rename from src/js/plugins/image-generation/inserter-media-category.js rename to src/js/features/image-generation/inserter-media-category.js diff --git a/src/js/plugins/image-generation/media-modal/collections/images.js b/src/js/features/image-generation/media-modal/collections/images.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/collections/images.js rename to src/js/features/image-generation/media-modal/collections/images.js diff --git a/src/js/plugins/image-generation/media-modal/index.js b/src/js/features/image-generation/media-modal/index.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/index.js rename to src/js/features/image-generation/media-modal/index.js diff --git a/src/js/plugins/image-generation/media-modal/index.scss b/src/js/features/image-generation/media-modal/index.scss similarity index 100% rename from src/js/plugins/image-generation/media-modal/index.scss rename to src/js/features/image-generation/media-modal/index.scss diff --git a/src/js/plugins/image-generation/media-modal/models/image.js b/src/js/features/image-generation/media-modal/models/image.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/models/image.js rename to src/js/features/image-generation/media-modal/models/image.js diff --git a/src/js/plugins/image-generation/media-modal/views/error-message.js b/src/js/features/image-generation/media-modal/views/error-message.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/views/error-message.js rename to src/js/features/image-generation/media-modal/views/error-message.js diff --git a/src/js/plugins/image-generation/media-modal/views/generate-image-media-upload.js b/src/js/features/image-generation/media-modal/views/generate-image-media-upload.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/views/generate-image-media-upload.js rename to src/js/features/image-generation/media-modal/views/generate-image-media-upload.js diff --git a/src/js/plugins/image-generation/media-modal/views/generated-image.js b/src/js/features/image-generation/media-modal/views/generated-image.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/views/generated-image.js rename to src/js/features/image-generation/media-modal/views/generated-image.js diff --git a/src/js/plugins/image-generation/media-modal/views/generated-images-container.js b/src/js/features/image-generation/media-modal/views/generated-images-container.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/views/generated-images-container.js rename to src/js/features/image-generation/media-modal/views/generated-images-container.js diff --git a/src/js/plugins/image-generation/media-modal/views/prompt.js b/src/js/features/image-generation/media-modal/views/prompt.js similarity index 100% rename from src/js/plugins/image-generation/media-modal/views/prompt.js rename to src/js/features/image-generation/media-modal/views/prompt.js diff --git a/src/js/plugins/slot-fill/index.js b/src/js/features/slot-fill/index.js similarity index 100% rename from src/js/plugins/slot-fill/index.js rename to src/js/features/slot-fill/index.js diff --git a/src/js/plugins/text-to-speech/frontend/index.js b/src/js/features/text-to-speech/frontend/index.js similarity index 100% rename from src/js/plugins/text-to-speech/frontend/index.js rename to src/js/features/text-to-speech/frontend/index.js diff --git a/src/js/plugins/text-to-speech/frontend/index.scss b/src/js/features/text-to-speech/frontend/index.scss similarity index 100% rename from src/js/plugins/text-to-speech/frontend/index.scss rename to src/js/features/text-to-speech/frontend/index.scss diff --git a/src/js/plugins/text-to-speech/index.js b/src/js/features/text-to-speech/index.js similarity index 100% rename from src/js/plugins/text-to-speech/index.js rename to src/js/features/text-to-speech/index.js diff --git a/src/js/plugins/text-to-speech/store.js b/src/js/features/text-to-speech/store.js similarity index 100% rename from src/js/plugins/text-to-speech/store.js rename to src/js/features/text-to-speech/store.js diff --git a/src/js/plugins/title-generation/classic/index.js b/src/js/features/title-generation/classic/index.js similarity index 100% rename from src/js/plugins/title-generation/classic/index.js rename to src/js/features/title-generation/classic/index.js diff --git a/src/js/plugins/title-generation/classic/index.scss b/src/js/features/title-generation/classic/index.scss similarity index 100% rename from src/js/plugins/title-generation/classic/index.scss rename to src/js/features/title-generation/classic/index.scss diff --git a/src/js/plugins/title-generation/index.js b/src/js/features/title-generation/index.js similarity index 100% rename from src/js/plugins/title-generation/index.js rename to src/js/features/title-generation/index.js diff --git a/webpack.config.js b/webpack.config.js index c16ac5b04..c5dc5009e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,21 +19,21 @@ module.exports = { ], 'extend-image-blocks': './src/js/extend-image-block-generate-image.js', - 'classifai-plugin-commands': [ './src/js/plugins/commands.js' ], - 'classifai-plugin-classification': './src/js/plugins/classification/index.js', - 'classifai-plugin-classification-previewer': './src/js/plugins/classification/previewer.js', - 'classifai-plugin-classification-ibm-watson': './src/js/plugins/classification/ibm-watson.js', - 'classifai-plugin-fill': './src/js/plugins/slot-fill/index.js', - 'classifai-plugin-text-to-speech': './src/js/plugins/text-to-speech/index.js', - 'classifai-plugin-text-to-speech-frontend': './src/js/plugins/text-to-speech/frontend/index.js', - 'classifai-plugin-content-resizing': './src/js/plugins/content-resizing/index.js', - 'classifai-plugin-title-generation': './src/js/plugins/title-generation/index.js', - 'classifai-plugin-classic-title-generation': './src/js/plugins/title-generation/classic/index.js', - 'classifai-plugin-excerpt-generation': './src/js/plugins/excerpt-generation/index.js', - 'classifai-plugin-classic-excerpt-generation': './src/js/plugins/excerpt-generation/classic/index.js', - 'classifai-plugin-inserter-media-category': './src/js/plugins/image-generation/inserter-media-category.js', - 'classifai-plugin-image-generation-media-modal': './src/js/plugins/image-generation/media-modal/index.js', - 'classifai-plugin-image-generation-generate-image-media-upload': './src/js/plugins/image-generation/media-modal/views/generate-image-media-upload.js', + 'classifai-plugin-commands': [ './src/js/features/commands.js' ], + 'classifai-plugin-classification': './src/js/features/classification/index.js', + 'classifai-plugin-classification-previewer': './src/js/features/classification/previewer.js', + 'classifai-plugin-classification-ibm-watson': './src/js/features/classification/ibm-watson.js', + 'classifai-plugin-fill': './src/js/features/slot-fill/index.js', + 'classifai-plugin-text-to-speech': './src/js/features/text-to-speech/index.js', + 'classifai-plugin-text-to-speech-frontend': './src/js/features/text-to-speech/frontend/index.js', + 'classifai-plugin-content-resizing': './src/js/features/content-resizing/index.js', + 'classifai-plugin-title-generation': './src/js/features/title-generation/index.js', + 'classifai-plugin-classic-title-generation': './src/js/features/title-generation/classic/index.js', + 'classifai-plugin-excerpt-generation': './src/js/features/excerpt-generation/index.js', + 'classifai-plugin-classic-excerpt-generation': './src/js/features/excerpt-generation/classic/index.js', + 'classifai-plugin-inserter-media-category': './src/js/features/image-generation/inserter-media-category.js', + 'classifai-plugin-image-generation-media-modal': './src/js/features/image-generation/media-modal/index.js', + 'classifai-plugin-image-generation-generate-image-media-upload': './src/js/features/image-generation/media-modal/views/generate-image-media-upload.js', }, module: { rules: [