diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e1a6456..9f66fa40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,10 +21,10 @@ jobs: - name: Enable Local Dev run: ./scripts/enable_local_dev.sh - + - name: Install dependencies run: flutter pub get - + - name: Flutter build Web run: flutter build web --release --verbose --dart-define=CI=true working-directory: ./example diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e25292f5..fc58fb46 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,26 +27,26 @@ jobs: run: flutter pub get - name: Install dart_quill_delta dependencies - run: flutter pub get -C packages/dart_quill_delta - + run: flutter pub get -C dart_quill_delta + - name: Install flutter_quill_extensions dependencies - run: flutter pub get -C packages/flutter_quill_extensions + run: flutter pub get -C flutter_quill_extensions - name: Install flutter_quill_test dependencies - run: flutter pub get -C packages/flutter_quill_test - + run: flutter pub get -C flutter_quill_test + - name: Install quill_html_converter dependencies - run: flutter pub get -C packages/quill_html_converter - + run: flutter pub get -C quill_html_converter + - name: Install quill_pdf_converter dependencies - run: flutter pub get -C packages/quill_pdf_converter + run: flutter pub get -C quill_pdf_converter - name: Run flutter analysis run: flutter analyze - name: Check dart code formatting run: dart format --set-exit-if-changed . - + - name: Preview dart proposed changes run: dart fix --dry-run diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8a154ef4..1e9d929e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,10 +17,10 @@ jobs: with: channel: 'stable' cache: true - + - name: Check flutter version run: flutter --version - + - name: Enable Local Dev run: ./scripts/enable_local_dev.sh @@ -29,7 +29,7 @@ jobs: # Here you can insert custom steps you need # - run: dart tool/generate-code.dart - + # This is needed in order for the authentication to success # dart pub token add https://pub.dev --env-var PUB_TOKEN # Requests to "https://pub.dev" will now be authenticated using the secret token stored in the environment variable "PUB_TOKEN". @@ -40,7 +40,7 @@ jobs: - name: Publish flutter_quill run: flutter pub publish --force - + - name: Publish dart_quill_delta run: flutter pub publish --force working-directory: ./dart_quill_delta/ @@ -56,7 +56,7 @@ jobs: - name: Publish quill_html_converter run: flutter pub publish --force working-directory: ./quill_html_converter/ - + - name: Publish quill_pdf_converter run: flutter pub publish --force working-directory: ./quill_pdf_converter/ diff --git a/packages/dart_quill_delta/.gitignore b/dart_quill_delta/.gitignore similarity index 100% rename from packages/dart_quill_delta/.gitignore rename to dart_quill_delta/.gitignore diff --git a/packages/dart_quill_delta/CHANGELOG.md b/dart_quill_delta/CHANGELOG.md similarity index 100% rename from packages/dart_quill_delta/CHANGELOG.md rename to dart_quill_delta/CHANGELOG.md diff --git a/packages/dart_quill_delta/LICENSE b/dart_quill_delta/LICENSE similarity index 100% rename from packages/dart_quill_delta/LICENSE rename to dart_quill_delta/LICENSE diff --git a/packages/dart_quill_delta/README.md b/dart_quill_delta/README.md similarity index 100% rename from packages/dart_quill_delta/README.md rename to dart_quill_delta/README.md diff --git a/packages/dart_quill_delta/analysis_options.yaml b/dart_quill_delta/analysis_options.yaml similarity index 100% rename from packages/dart_quill_delta/analysis_options.yaml rename to dart_quill_delta/analysis_options.yaml diff --git a/packages/dart_quill_delta/example/dart_quill_delta_example.dart b/dart_quill_delta/example/dart_quill_delta_example.dart similarity index 100% rename from packages/dart_quill_delta/example/dart_quill_delta_example.dart rename to dart_quill_delta/example/dart_quill_delta_example.dart diff --git a/packages/dart_quill_delta/lib/dart_quill_delta.dart b/dart_quill_delta/lib/dart_quill_delta.dart similarity index 100% rename from packages/dart_quill_delta/lib/dart_quill_delta.dart rename to dart_quill_delta/lib/dart_quill_delta.dart diff --git a/packages/dart_quill_delta/lib/src/delta/delta.dart b/dart_quill_delta/lib/src/delta/delta.dart similarity index 100% rename from packages/dart_quill_delta/lib/src/delta/delta.dart rename to dart_quill_delta/lib/src/delta/delta.dart diff --git a/packages/dart_quill_delta/lib/src/delta/delta_iterator.dart b/dart_quill_delta/lib/src/delta/delta_iterator.dart similarity index 100% rename from packages/dart_quill_delta/lib/src/delta/delta_iterator.dart rename to dart_quill_delta/lib/src/delta/delta_iterator.dart diff --git a/packages/dart_quill_delta/lib/src/operation/operation.dart b/dart_quill_delta/lib/src/operation/operation.dart similarity index 100% rename from packages/dart_quill_delta/lib/src/operation/operation.dart rename to dart_quill_delta/lib/src/operation/operation.dart diff --git a/packages/dart_quill_delta/pubspec.yaml b/dart_quill_delta/pubspec.yaml similarity index 100% rename from packages/dart_quill_delta/pubspec.yaml rename to dart_quill_delta/pubspec.yaml diff --git a/packages/dart_quill_delta/test/dart_quill_delta_test.dart b/dart_quill_delta/test/dart_quill_delta_test.dart similarity index 100% rename from packages/dart_quill_delta/test/dart_quill_delta_test.dart rename to dart_quill_delta/test/dart_quill_delta_test.dart diff --git a/example/pubspec.yaml b/example/pubspec.yaml index b521ed39..ae5b3cd2 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,10 +1,10 @@ name: example description: A demo for the Flutter Quill -publish_to: "none" +publish_to: 'none' version: 1.0.0+1 environment: - sdk: ">=3.1.5 <4.0.0" + sdk: '>=3.1.5 <4.0.0' dependencies: flutter: sdk: flutter @@ -54,15 +54,16 @@ dependency_overrides: flutter_quill: path: ../ flutter_quill_extensions: - path: ../packages/flutter_quill_extensions + path: ../flutter_quill_extensions dart_quill_delta: - path: ../packages/dart_quill_delta + path: ../dart_quill_delta flutter_quill_test: - path: ../packages/flutter_quill_test + path: ../flutter_quill_test quill_html_converter: - path: ../packages/quill_html_converter + path: ../quill_html_converter quill_pdf_converter: - path: ../packages/quill_pdf_converter + path: ../quill_pdf_converter + dev_dependencies: flutter_test: @@ -80,7 +81,7 @@ flutter: assets: - assets/ - assets/images/ - + fonts: - family: monospace fonts: @@ -93,7 +94,7 @@ flutter: - asset: assets/fonts/SansSerif.ttf - family: ibarra-real-nova fonts: - - asset: assets/fonts/IbarraRealNova-Regular.ttf + - asset: assets/fonts/IbarraRealNova-Regular.ttf - family: square-peg fonts: - asset: assets/fonts/SquarePeg-Regular.ttf diff --git a/packages/flutter_quill_extensions/.metadata b/flutter_quill_extensions/.metadata similarity index 100% rename from packages/flutter_quill_extensions/.metadata rename to flutter_quill_extensions/.metadata diff --git a/packages/flutter_quill_extensions/.pubignore b/flutter_quill_extensions/.pubignore similarity index 100% rename from packages/flutter_quill_extensions/.pubignore rename to flutter_quill_extensions/.pubignore diff --git a/packages/flutter_quill_extensions/CHANGELOG.md b/flutter_quill_extensions/CHANGELOG.md similarity index 100% rename from packages/flutter_quill_extensions/CHANGELOG.md rename to flutter_quill_extensions/CHANGELOG.md diff --git a/packages/flutter_quill_extensions/LICENSE b/flutter_quill_extensions/LICENSE similarity index 100% rename from packages/flutter_quill_extensions/LICENSE rename to flutter_quill_extensions/LICENSE diff --git a/packages/flutter_quill_extensions/README.md b/flutter_quill_extensions/README.md similarity index 99% rename from packages/flutter_quill_extensions/README.md rename to flutter_quill_extensions/README.md index 75c16d99..c1cab88a 100644 --- a/packages/flutter_quill_extensions/README.md +++ b/flutter_quill_extensions/README.md @@ -46,7 +46,7 @@ dependencies: dependencies: flutter_quill_extensions: git: https://github.com/singerdmx/flutter-quill.git - path: packages/flutter_quill_extensions + path: flutter_quill_extensions ``` ## Platform Specific Configurations diff --git a/packages/flutter_quill_extensions/analysis_options.yaml b/flutter_quill_extensions/analysis_options.yaml similarity index 100% rename from packages/flutter_quill_extensions/analysis_options.yaml rename to flutter_quill_extensions/analysis_options.yaml diff --git a/packages/flutter_quill_extensions/lib/embeds/embed_types.dart b/flutter_quill_extensions/lib/embeds/embed_types.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/embed_types.dart rename to flutter_quill_extensions/lib/embeds/embed_types.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/formula/editor/formula_embed.dart b/flutter_quill_extensions/lib/embeds/formula/editor/formula_embed.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/formula/editor/formula_embed.dart rename to flutter_quill_extensions/lib/embeds/formula/editor/formula_embed.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart b/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart rename to flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/image/editor/image_embed.dart b/flutter_quill_extensions/lib/embeds/image/editor/image_embed.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/image/editor/image_embed.dart rename to flutter_quill_extensions/lib/embeds/image/editor/image_embed.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/image/editor/image_embed_types.dart b/flutter_quill_extensions/lib/embeds/image/editor/image_embed_types.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/image/editor/image_embed_types.dart rename to flutter_quill_extensions/lib/embeds/image/editor/image_embed_types.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/image/editor/image_menu.dart b/flutter_quill_extensions/lib/embeds/image/editor/image_menu.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/image/editor/image_menu.dart rename to flutter_quill_extensions/lib/embeds/image/editor/image_menu.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/image/editor/image_web_embed.dart b/flutter_quill_extensions/lib/embeds/image/editor/image_web_embed.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/image/editor/image_web_embed.dart rename to flutter_quill_extensions/lib/embeds/image/editor/image_web_embed.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart b/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart rename to flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/image/toolbar/select_image_source.dart b/flutter_quill_extensions/lib/embeds/image/toolbar/select_image_source.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/image/toolbar/select_image_source.dart rename to flutter_quill_extensions/lib/embeds/image/toolbar/select_image_source.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart b/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart rename to flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/others/camera_button/camera_types.dart b/flutter_quill_extensions/lib/embeds/others/camera_button/camera_types.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/others/camera_button/camera_types.dart rename to flutter_quill_extensions/lib/embeds/others/camera_button/camera_types.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/others/camera_button/select_camera_action.dart b/flutter_quill_extensions/lib/embeds/others/camera_button/select_camera_action.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/others/camera_button/select_camera_action.dart rename to flutter_quill_extensions/lib/embeds/others/camera_button/select_camera_action.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/others/image_video_utils.dart b/flutter_quill_extensions/lib/embeds/others/image_video_utils.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/others/image_video_utils.dart rename to flutter_quill_extensions/lib/embeds/others/image_video_utils.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/others/media_button/media_button.dart b/flutter_quill_extensions/lib/embeds/others/media_button/media_button.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/others/media_button/media_button.dart rename to flutter_quill_extensions/lib/embeds/others/media_button/media_button.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/unknown/editor/unknown_embed.dart b/flutter_quill_extensions/lib/embeds/unknown/editor/unknown_embed.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/unknown/editor/unknown_embed.dart rename to flutter_quill_extensions/lib/embeds/unknown/editor/unknown_embed.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/video/editor/video_embed.dart b/flutter_quill_extensions/lib/embeds/video/editor/video_embed.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/video/editor/video_embed.dart rename to flutter_quill_extensions/lib/embeds/video/editor/video_embed.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/video/editor/video_web_embed.dart b/flutter_quill_extensions/lib/embeds/video/editor/video_web_embed.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/video/editor/video_web_embed.dart rename to flutter_quill_extensions/lib/embeds/video/editor/video_web_embed.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/video/toolbar/select_video_source.dart b/flutter_quill_extensions/lib/embeds/video/toolbar/select_video_source.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/video/toolbar/select_video_source.dart rename to flutter_quill_extensions/lib/embeds/video/toolbar/select_video_source.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart b/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart rename to flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/video/video.dart b/flutter_quill_extensions/lib/embeds/video/video.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/video/video.dart rename to flutter_quill_extensions/lib/embeds/video/video.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/widgets/image.dart b/flutter_quill_extensions/lib/embeds/widgets/image.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/widgets/image.dart rename to flutter_quill_extensions/lib/embeds/widgets/image.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/widgets/image_resizer.dart b/flutter_quill_extensions/lib/embeds/widgets/image_resizer.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/widgets/image_resizer.dart rename to flutter_quill_extensions/lib/embeds/widgets/image_resizer.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/widgets/video_app.dart b/flutter_quill_extensions/lib/embeds/widgets/video_app.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/widgets/video_app.dart rename to flutter_quill_extensions/lib/embeds/widgets/video_app.dart diff --git a/packages/flutter_quill_extensions/lib/embeds/widgets/youtube_video_app.dart b/flutter_quill_extensions/lib/embeds/widgets/youtube_video_app.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/embeds/widgets/youtube_video_app.dart rename to flutter_quill_extensions/lib/embeds/widgets/youtube_video_app.dart diff --git a/packages/flutter_quill_extensions/lib/extensions/attribute.dart b/flutter_quill_extensions/lib/extensions/attribute.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/extensions/attribute.dart rename to flutter_quill_extensions/lib/extensions/attribute.dart diff --git a/packages/flutter_quill_extensions/lib/extensions/controller_ext.dart b/flutter_quill_extensions/lib/extensions/controller_ext.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/extensions/controller_ext.dart rename to flutter_quill_extensions/lib/extensions/controller_ext.dart diff --git a/packages/flutter_quill_extensions/lib/flutter_quill_embeds.dart b/flutter_quill_extensions/lib/flutter_quill_embeds.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/flutter_quill_embeds.dart rename to flutter_quill_extensions/lib/flutter_quill_embeds.dart diff --git a/packages/flutter_quill_extensions/lib/flutter_quill_extensions.dart b/flutter_quill_extensions/lib/flutter_quill_extensions.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/flutter_quill_extensions.dart rename to flutter_quill_extensions/lib/flutter_quill_extensions.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/camera/camera_configurations.dart b/flutter_quill_extensions/lib/models/config/camera/camera_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/camera/camera_configurations.dart rename to flutter_quill_extensions/lib/models/config/camera/camera_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/formula/formula_configurations.dart b/flutter_quill_extensions/lib/models/config/formula/formula_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/formula/formula_configurations.dart rename to flutter_quill_extensions/lib/models/config/formula/formula_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/image/editor/image_configurations.dart b/flutter_quill_extensions/lib/models/config/image/editor/image_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/image/editor/image_configurations.dart rename to flutter_quill_extensions/lib/models/config/image/editor/image_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/image/editor/image_web_configurations.dart b/flutter_quill_extensions/lib/models/config/image/editor/image_web_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/image/editor/image_web_configurations.dart rename to flutter_quill_extensions/lib/models/config/image/editor/image_web_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/image/toolbar/image_configurations.dart b/flutter_quill_extensions/lib/models/config/image/toolbar/image_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/image/toolbar/image_configurations.dart rename to flutter_quill_extensions/lib/models/config/image/toolbar/image_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/media/media_button_configurations.dart b/flutter_quill_extensions/lib/models/config/media/media_button_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/media/media_button_configurations.dart rename to flutter_quill_extensions/lib/models/config/media/media_button_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/shared_configurations.dart b/flutter_quill_extensions/lib/models/config/shared_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/shared_configurations.dart rename to flutter_quill_extensions/lib/models/config/shared_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/video/editor/video_configurations.dart b/flutter_quill_extensions/lib/models/config/video/editor/video_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/video/editor/video_configurations.dart rename to flutter_quill_extensions/lib/models/config/video/editor/video_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/video/editor/video_web_configurations.dart b/flutter_quill_extensions/lib/models/config/video/editor/video_web_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/video/editor/video_web_configurations.dart rename to flutter_quill_extensions/lib/models/config/video/editor/video_web_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/models/config/video/toolbar/video_configurations.dart b/flutter_quill_extensions/lib/models/config/video/toolbar/video_configurations.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/models/config/video/toolbar/video_configurations.dart rename to flutter_quill_extensions/lib/models/config/video/toolbar/video_configurations.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_picker/image_options.dart b/flutter_quill_extensions/lib/services/image_picker/image_options.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_picker/image_options.dart rename to flutter_quill_extensions/lib/services/image_picker/image_options.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_picker/image_picker.dart b/flutter_quill_extensions/lib/services/image_picker/image_picker.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_picker/image_picker.dart rename to flutter_quill_extensions/lib/services/image_picker/image_picker.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_picker/packages/image_picker.dart b/flutter_quill_extensions/lib/services/image_picker/packages/image_picker.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_picker/packages/image_picker.dart rename to flutter_quill_extensions/lib/services/image_picker/packages/image_picker.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_picker/s_image_picker.dart b/flutter_quill_extensions/lib/services/image_picker/s_image_picker.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_picker/s_image_picker.dart rename to flutter_quill_extensions/lib/services/image_picker/s_image_picker.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_saver/exceptions.dart b/flutter_quill_extensions/lib/services/image_saver/exceptions.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_saver/exceptions.dart rename to flutter_quill_extensions/lib/services/image_saver/exceptions.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_saver/image_saver.dart b/flutter_quill_extensions/lib/services/image_saver/image_saver.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_saver/image_saver.dart rename to flutter_quill_extensions/lib/services/image_saver/image_saver.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_saver/packages/gal.dart b/flutter_quill_extensions/lib/services/image_saver/packages/gal.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_saver/packages/gal.dart rename to flutter_quill_extensions/lib/services/image_saver/packages/gal.dart diff --git a/packages/flutter_quill_extensions/lib/services/image_saver/s_image_saver.dart b/flutter_quill_extensions/lib/services/image_saver/s_image_saver.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/services/image_saver/s_image_saver.dart rename to flutter_quill_extensions/lib/services/image_saver/s_image_saver.dart diff --git a/packages/flutter_quill_extensions/lib/utils/dart_ui/dart_ui_fake.dart b/flutter_quill_extensions/lib/utils/dart_ui/dart_ui_fake.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/dart_ui/dart_ui_fake.dart rename to flutter_quill_extensions/lib/utils/dart_ui/dart_ui_fake.dart diff --git a/packages/flutter_quill_extensions/lib/utils/dart_ui/dart_ui_real.dart b/flutter_quill_extensions/lib/utils/dart_ui/dart_ui_real.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/dart_ui/dart_ui_real.dart rename to flutter_quill_extensions/lib/utils/dart_ui/dart_ui_real.dart diff --git a/packages/flutter_quill_extensions/lib/utils/element_utils/element_shared_utils.dart b/flutter_quill_extensions/lib/utils/element_utils/element_shared_utils.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/element_utils/element_shared_utils.dart rename to flutter_quill_extensions/lib/utils/element_utils/element_shared_utils.dart diff --git a/packages/flutter_quill_extensions/lib/utils/element_utils/element_utils.dart b/flutter_quill_extensions/lib/utils/element_utils/element_utils.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/element_utils/element_utils.dart rename to flutter_quill_extensions/lib/utils/element_utils/element_utils.dart diff --git a/packages/flutter_quill_extensions/lib/utils/element_utils/element_web_utils.dart b/flutter_quill_extensions/lib/utils/element_utils/element_web_utils.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/element_utils/element_web_utils.dart rename to flutter_quill_extensions/lib/utils/element_utils/element_web_utils.dart diff --git a/packages/flutter_quill_extensions/lib/utils/patterns.dart b/flutter_quill_extensions/lib/utils/patterns.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/patterns.dart rename to flutter_quill_extensions/lib/utils/patterns.dart diff --git a/packages/flutter_quill_extensions/lib/utils/quill_image_utils.dart b/flutter_quill_extensions/lib/utils/quill_image_utils.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/quill_image_utils.dart rename to flutter_quill_extensions/lib/utils/quill_image_utils.dart diff --git a/packages/flutter_quill_extensions/lib/utils/string.dart b/flutter_quill_extensions/lib/utils/string.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/string.dart rename to flutter_quill_extensions/lib/utils/string.dart diff --git a/packages/flutter_quill_extensions/lib/utils/utils.dart b/flutter_quill_extensions/lib/utils/utils.dart similarity index 100% rename from packages/flutter_quill_extensions/lib/utils/utils.dart rename to flutter_quill_extensions/lib/utils/utils.dart diff --git a/packages/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml similarity index 100% rename from packages/flutter_quill_extensions/pubspec.yaml rename to flutter_quill_extensions/pubspec.yaml diff --git a/packages/flutter_quill_extensions/pubspec_overrides.yaml.disabled b/flutter_quill_extensions/pubspec_overrides.yaml.disabled similarity index 70% rename from packages/flutter_quill_extensions/pubspec_overrides.yaml.disabled rename to flutter_quill_extensions/pubspec_overrides.yaml.disabled index 844dcdea..5593142e 100644 --- a/packages/flutter_quill_extensions/pubspec_overrides.yaml.disabled +++ b/flutter_quill_extensions/pubspec_overrides.yaml.disabled @@ -1,3 +1,3 @@ dependency_overrides: flutter_quill: - path: ../../ \ No newline at end of file + path: ../ \ No newline at end of file diff --git a/packages/flutter_quill_test/.gitignore b/flutter_quill_test/.gitignore similarity index 100% rename from packages/flutter_quill_test/.gitignore rename to flutter_quill_test/.gitignore diff --git a/packages/flutter_quill_test/.metadata b/flutter_quill_test/.metadata similarity index 100% rename from packages/flutter_quill_test/.metadata rename to flutter_quill_test/.metadata diff --git a/packages/flutter_quill_test/.pubignore b/flutter_quill_test/.pubignore similarity index 100% rename from packages/flutter_quill_test/.pubignore rename to flutter_quill_test/.pubignore diff --git a/packages/flutter_quill_test/.test_config b/flutter_quill_test/.test_config similarity index 100% rename from packages/flutter_quill_test/.test_config rename to flutter_quill_test/.test_config diff --git a/packages/flutter_quill_test/CHANGELOG.md b/flutter_quill_test/CHANGELOG.md similarity index 100% rename from packages/flutter_quill_test/CHANGELOG.md rename to flutter_quill_test/CHANGELOG.md diff --git a/packages/flutter_quill_test/LICENSE b/flutter_quill_test/LICENSE similarity index 100% rename from packages/flutter_quill_test/LICENSE rename to flutter_quill_test/LICENSE diff --git a/packages/flutter_quill_test/README.md b/flutter_quill_test/README.md similarity index 100% rename from packages/flutter_quill_test/README.md rename to flutter_quill_test/README.md diff --git a/packages/flutter_quill_test/analysis_options.yaml b/flutter_quill_test/analysis_options.yaml similarity index 100% rename from packages/flutter_quill_test/analysis_options.yaml rename to flutter_quill_test/analysis_options.yaml diff --git a/packages/flutter_quill_test/lib/flutter_quill_test.dart b/flutter_quill_test/lib/flutter_quill_test.dart similarity index 100% rename from packages/flutter_quill_test/lib/flutter_quill_test.dart rename to flutter_quill_test/lib/flutter_quill_test.dart diff --git a/packages/flutter_quill_test/lib/src/test/widget_tester_extension.dart b/flutter_quill_test/lib/src/test/widget_tester_extension.dart similarity index 100% rename from packages/flutter_quill_test/lib/src/test/widget_tester_extension.dart rename to flutter_quill_test/lib/src/test/widget_tester_extension.dart diff --git a/packages/flutter_quill_test/pubspec.yaml b/flutter_quill_test/pubspec.yaml similarity index 100% rename from packages/flutter_quill_test/pubspec.yaml rename to flutter_quill_test/pubspec.yaml diff --git a/packages/flutter_quill_test/pubspec_overrides.yaml.disabled b/flutter_quill_test/pubspec_overrides.yaml.disabled similarity index 70% rename from packages/flutter_quill_test/pubspec_overrides.yaml.disabled rename to flutter_quill_test/pubspec_overrides.yaml.disabled index 844dcdea..5593142e 100644 --- a/packages/flutter_quill_test/pubspec_overrides.yaml.disabled +++ b/flutter_quill_test/pubspec_overrides.yaml.disabled @@ -1,3 +1,3 @@ dependency_overrides: flutter_quill: - path: ../../ \ No newline at end of file + path: ../ \ No newline at end of file diff --git a/packages/flutter_quill_test/test/flutter_quill_test_test.dart b/flutter_quill_test/test/flutter_quill_test_test.dart similarity index 100% rename from packages/flutter_quill_test/test/flutter_quill_test_test.dart rename to flutter_quill_test/test/flutter_quill_test_test.dart diff --git a/pubspec_overrides.yaml.disabled b/pubspec_overrides.yaml.disabled index 93be42ec..94d344b0 100644 --- a/pubspec_overrides.yaml.disabled +++ b/pubspec_overrides.yaml.disabled @@ -1,5 +1,5 @@ dependency_overrides: flutter_quill_test: - path: ./packages/flutter_quill_test + path: ./flutter_quill_test dart_quill_delta: - path: ./packages/dart_quill_delta \ No newline at end of file + path: ./dart_quill_delta \ No newline at end of file diff --git a/packages/quill_html_converter/.gitignore b/quill_html_converter/.gitignore similarity index 100% rename from packages/quill_html_converter/.gitignore rename to quill_html_converter/.gitignore diff --git a/packages/quill_html_converter/.metadata b/quill_html_converter/.metadata similarity index 100% rename from packages/quill_html_converter/.metadata rename to quill_html_converter/.metadata diff --git a/packages/quill_html_converter/CHANGELOG.md b/quill_html_converter/CHANGELOG.md similarity index 100% rename from packages/quill_html_converter/CHANGELOG.md rename to quill_html_converter/CHANGELOG.md diff --git a/packages/quill_html_converter/LICENSE b/quill_html_converter/LICENSE similarity index 100% rename from packages/quill_html_converter/LICENSE rename to quill_html_converter/LICENSE diff --git a/packages/quill_html_converter/README.md b/quill_html_converter/README.md similarity index 100% rename from packages/quill_html_converter/README.md rename to quill_html_converter/README.md diff --git a/packages/quill_html_converter/analysis_options.yaml b/quill_html_converter/analysis_options.yaml similarity index 100% rename from packages/quill_html_converter/analysis_options.yaml rename to quill_html_converter/analysis_options.yaml diff --git a/packages/quill_html_converter/lib/quill_html_converter.dart b/quill_html_converter/lib/quill_html_converter.dart similarity index 100% rename from packages/quill_html_converter/lib/quill_html_converter.dart rename to quill_html_converter/lib/quill_html_converter.dart diff --git a/packages/quill_html_converter/pubspec.yaml b/quill_html_converter/pubspec.yaml similarity index 100% rename from packages/quill_html_converter/pubspec.yaml rename to quill_html_converter/pubspec.yaml diff --git a/packages/quill_html_converter/pubspec_overrides.yaml.disabled b/quill_html_converter/pubspec_overrides.yaml.disabled similarity index 100% rename from packages/quill_html_converter/pubspec_overrides.yaml.disabled rename to quill_html_converter/pubspec_overrides.yaml.disabled diff --git a/packages/quill_html_converter/test/quill_html_converter.dart b/quill_html_converter/test/quill_html_converter.dart similarity index 100% rename from packages/quill_html_converter/test/quill_html_converter.dart rename to quill_html_converter/test/quill_html_converter.dart diff --git a/packages/quill_pdf_converter/.gitignore b/quill_pdf_converter/.gitignore similarity index 100% rename from packages/quill_pdf_converter/.gitignore rename to quill_pdf_converter/.gitignore diff --git a/packages/quill_pdf_converter/.metadata b/quill_pdf_converter/.metadata similarity index 100% rename from packages/quill_pdf_converter/.metadata rename to quill_pdf_converter/.metadata diff --git a/packages/quill_pdf_converter/CHANGELOG.md b/quill_pdf_converter/CHANGELOG.md similarity index 100% rename from packages/quill_pdf_converter/CHANGELOG.md rename to quill_pdf_converter/CHANGELOG.md diff --git a/packages/quill_pdf_converter/LICENSE b/quill_pdf_converter/LICENSE similarity index 100% rename from packages/quill_pdf_converter/LICENSE rename to quill_pdf_converter/LICENSE diff --git a/packages/quill_pdf_converter/README.md b/quill_pdf_converter/README.md similarity index 100% rename from packages/quill_pdf_converter/README.md rename to quill_pdf_converter/README.md diff --git a/packages/quill_pdf_converter/analysis_options.yaml b/quill_pdf_converter/analysis_options.yaml similarity index 100% rename from packages/quill_pdf_converter/analysis_options.yaml rename to quill_pdf_converter/analysis_options.yaml diff --git a/packages/quill_pdf_converter/lib/quill_pdf_converter.dart b/quill_pdf_converter/lib/quill_pdf_converter.dart similarity index 100% rename from packages/quill_pdf_converter/lib/quill_pdf_converter.dart rename to quill_pdf_converter/lib/quill_pdf_converter.dart diff --git a/packages/quill_pdf_converter/pubspec.yaml b/quill_pdf_converter/pubspec.yaml similarity index 100% rename from packages/quill_pdf_converter/pubspec.yaml rename to quill_pdf_converter/pubspec.yaml diff --git a/packages/quill_pdf_converter/pubspec_overrides.yaml.disabled b/quill_pdf_converter/pubspec_overrides.yaml.disabled similarity index 100% rename from packages/quill_pdf_converter/pubspec_overrides.yaml.disabled rename to quill_pdf_converter/pubspec_overrides.yaml.disabled diff --git a/packages/quill_pdf_converter/test/quill_pdf_converter_test.dart b/quill_pdf_converter/test/quill_pdf_converter_test.dart similarity index 100% rename from packages/quill_pdf_converter/test/quill_pdf_converter_test.dart rename to quill_pdf_converter/test/quill_pdf_converter_test.dart diff --git a/scripts/disable_local_dev.sh b/scripts/disable_local_dev.sh index 22b6e42b..20ef62ab 100755 --- a/scripts/disable_local_dev.sh +++ b/scripts/disable_local_dev.sh @@ -10,18 +10,18 @@ rm pubspec_overrides.yaml echo "" echo "Enable local development for flutter_quill_extensions..." -rm packages/flutter_quill_extensions/pubspec_overrides.yaml +rm flutter_quill_extensions/pubspec_overrides.yaml echo "" echo "Enable local development for flutter_quill_test..." -rm packages/flutter_quill_test/pubspec_overrides.yaml +rm flutter_quill_test/pubspec_overrides.yaml echo "" echo "Disable local development for all the other packages..." -rm packages/quill_html_converter/pubspec_overrides.yaml -rm packages/quill_pdf_converter/pubspec_overrides.yaml +rm quill_html_converter/pubspec_overrides.yaml +rm quill_pdf_converter/pubspec_overrides.yaml echo "" diff --git a/scripts/enable_local_dev.sh b/scripts/enable_local_dev.sh index 4feb6400..3e390d53 100755 --- a/scripts/enable_local_dev.sh +++ b/scripts/enable_local_dev.sh @@ -5,23 +5,23 @@ echo "" echo "Enable local development for flutter_quill..." -cp packages/pubspec_overrides.yaml.disabled packages/pubspec_overrides.yaml +cp pubspec_overrides.yaml.disabled pubspec_overrides.yaml echo "" echo "Enable local development for flutter_quill_extensions..." -cp packages/flutter_quill_extensions/pubspec_overrides.yaml.disabled packages/flutter_quill_extensions/pubspec_overrides.yaml +cp flutter_quill_extensions/pubspec_overrides.yaml.disabled flutter_quill_extensions/pubspec_overrides.yaml echo "" echo "Enable local development for flutter_quill_test..." -cp packages/flutter_quill_test/pubspec_overrides.yaml.disabled packages/flutter_quill_test/pubspec_overrides.yaml +cp flutter_quill_test/pubspec_overrides.yaml.disabled flutter_quill_test/pubspec_overrides.yaml echo "" echo "Enable local development for all the other packages..." -cp packages/quill_html_converter/pubspec_overrides.yaml.disabled packages/quill_html_converter/pubspec_overrides.yaml -cp packages/quill_pdf_converter/pubspec_overrides.yaml.disabled packages/quill_pdf_converter/pubspec_overrides.yaml +cp quill_html_converter/pubspec_overrides.yaml.disabled quill_html_converter/pubspec_overrides.yaml +cp quill_pdf_converter/pubspec_overrides.yaml.disabled quill_pdf_converter/pubspec_overrides.yaml echo "" diff --git a/scripts/pub_get.sh b/scripts/pub_get.sh index 2edabc5b..bf13c197 100644 --- a/scripts/pub_get.sh +++ b/scripts/pub_get.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash flutter pub get -(cd packages/dart_quill_delta && flutter pub get) -(cd packages/flutter_quill_extensions && flutter pub get) -(cd packages/flutter_quill_test && flutter pub get) -(cd packages/quill_html_converter && flutter pub get) -(cd packages/quill_pdf_converter && flutter pub get) +(cd dart_quill_delta && flutter pub get) +(cd flutter_quill_extensions && flutter pub get) +(cd flutter_quill_test && flutter pub get) +(cd quill_html_converter && flutter pub get) +(cd quill_pdf_converter && flutter pub get) diff --git a/scripts/regenerate_versions.dart b/scripts/regenerate_versions.dart index 06e497bf..8b06a832 100644 --- a/scripts/regenerate_versions.dart +++ b/scripts/regenerate_versions.dart @@ -14,11 +14,11 @@ import '../version.dart'; /// in all the packages final packages = [ './', - './packages/dart_quill_delta', - './packages/flutter_quill_extensions', - './packages/flutter_quill_test', - './packages/quill_html_converter', - './packages/quill_pdf_converter', + './dart_quill_delta', + './flutter_quill_extensions', + './flutter_quill_test', + './quill_html_converter', + './quill_pdf_converter', ]; /// A script that should run in the root folder of the repo and not inside