refactor: Rename pubspec_overrides.yaml.g to pubspec_overrides.yaml.disabled

pull/1530/head
Ellet 1 year ago
parent 22cc677f1c
commit 9f3d26651c
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 2
      .pubignore
  2. 4
      doc/CONTRIBUTING.md
  3. 2
      flutter_quill_extensions/.pubignore
  4. 0
      flutter_quill_extensions/pubspec_overrides.yaml.disabled
  5. 2
      flutter_quill_test/.pubignore
  6. 0
      flutter_quill_test/pubspec_overrides.yaml.disabled
  7. 0
      packages/quill_html_converter/pubspec_overrides.yaml.disabled
  8. 0
      pubspec_overrides.yaml.disabled
  9. 8
      scripts/enable_local_dev.sh

@ -1,6 +1,6 @@
# For local development # For local development
pubspec_overrides.yaml pubspec_overrides.yaml
pubspec_overrides.yaml.g pubspec_overrides.yaml.disabled
# Github # Github
.github/ .github/

@ -26,10 +26,10 @@ You will need a GitHub account as well as Git installed and configured with your
``` ```
The `your-branch-name` is your choice The `your-branch-name` is your choice
6. Make your changes 6. Make your changes
7. If you are working on changes that depend on different libraries in the same repo, then in that directory copy `pubspec_overrides.yaml.g` which exists in all the libraries (`flutter_quill_test` and `flutter_quill_extensions` etc..) 7. If you are working on changes that depend on different libraries in the same repo, then in that directory copy `pubspec_overrides.yaml.disabled` which exists in all the libraries (`flutter_quill_test` and `flutter_quill_extensions` etc..)
to `pubspec_overrides.yaml` which will be ignored by `.gitignore` and will be used by dart pub to override the libraries to `pubspec_overrides.yaml` which will be ignored by `.gitignore` and will be used by dart pub to override the libraries
``` ```
cp pubspec_overrides.yaml.g pubspec_overrides.yaml cp pubspec_overrides.yaml.disabled pubspec_overrides.yaml
``` ```
or save some time with the following script: or save some time with the following script:
``` ```

@ -1,3 +1,3 @@
# For local development # For local development
pubspec_overrides.yaml pubspec_overrides.yaml
pubspec_overrides.yaml.g pubspec_overrides.yaml.disabled

@ -1,3 +1,3 @@
# For local development # For local development
pubspec_overrides.yaml pubspec_overrides.yaml
pubspec_overrides.yaml.g pubspec_overrides.yaml.disabled

@ -5,22 +5,22 @@
echo "" echo ""
echo "Enable local development for flutter_quill..." echo "Enable local development for flutter_quill..."
cp pubspec_overrides.yaml.g pubspec_overrides.yaml cp pubspec_overrides.yaml.disabled pubspec_overrides.yaml
echo "" echo ""
echo "Enable local development for flutter_quill_extensions..." echo "Enable local development for flutter_quill_extensions..."
cp flutter_quill_extensions/pubspec_overrides.yaml.g flutter_quill_extensions/pubspec_overrides.yaml cp flutter_quill_extensions/pubspec_overrides.yaml.disabled flutter_quill_extensions/pubspec_overrides.yaml
echo "" echo ""
echo "Enable local development for flutter_quill_test..." echo "Enable local development for flutter_quill_test..."
cp flutter_quill_test/pubspec_overrides.yaml.g flutter_quill_test/pubspec_overrides.yaml cp flutter_quill_test/pubspec_overrides.yaml.disabled flutter_quill_test/pubspec_overrides.yaml
echo "" echo ""
echo "Enable local development for all the other packages..." echo "Enable local development for all the other packages..."
cp packages/quill_html_converter/pubspec_overrides.yaml.g packages/quill_html_converter/pubspec_overrides.yaml cp packages/quill_html_converter/pubspec_overrides.yaml.disabled packages/quill_html_converter/pubspec_overrides.yaml
echo "" echo ""

Loading…
Cancel
Save