diff --git a/.github/workflows/binary-combine-android.yml b/.github/workflows/binary-combine-android.yml index 5e2f20ecb..7280148ec 100644 --- a/.github/workflows/binary-combine-android.yml +++ b/.github/workflows/binary-combine-android.yml @@ -13,28 +13,28 @@ jobs: uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-android-x86 - path: packages/realm_dart/binary/android + path: realm/packages/realm_dart/binary/android - name: Fetch x86_64 build uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-android-x86_64 - path: packages/realm_dart/binary/android + path: realm/packages/realm_dart/binary/android - name: Fetch armeabi-v7a build uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-android-armeabi-v7a - path: packages/realm_dart/binary/android + path: realm/packages/realm_dart/binary/android - name: Fetch arm64-v8a build uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-android-arm64-v8a - path: packages/realm_dart/binary/android + path: realm/packages/realm_dart/binary/android - name: Store combined artifact uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb with: name: librealm-android - path: packages/realm_dart/binary/android + path: realm/packages/realm_dart/binary/android retention-days: 1 - name: Delete individual build artifacts diff --git a/.github/workflows/build-native.yml b/.github/workflows/build-native.yml index 40fd98c63..34b0e9a10 100644 --- a/.github/workflows/build-native.yml +++ b/.github/workflows/build-native.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ inputs.runner }} defaults: run: - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart name: Build native timeout-minutes: 60 strategy: @@ -39,8 +39,8 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} uses: actions/cache@v3 with: - path: ./packages/realm_dart/binary/** - key: binaries-${{ matrix.build }}-${{ inputs.runner }}-${{hashFiles('./packages/realm_dart/src/**')}} + path: ./realm/packages/realm_dart/binary/** + key: binaries-${{ matrix.build }}-${{ inputs.runner }}-${{hashFiles('./realm/packages/realm_dart/src/**')}} - name: Setup Ninja @@ -65,6 +65,6 @@ jobs: uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb with: name: librealm-${{ matrix.build }} - path: packages/realm_dart/binary/${{ inputs.binary }}/** + path: realm/packages/realm_dart/binary/${{ inputs.binary }}/** retention-days: 1 if-no-files-found: error diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8111b5e07..861ea0bd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -290,7 +290,7 @@ jobs: BAAS_BAASAAS_API_KEY: ${{ secrets.BAASAAS_API_KEY}} defaults: run: - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests steps: - name: Checkout @@ -305,7 +305,7 @@ jobs: uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-ios - path: packages/realm_dart/binary/ios + path: realm/packages/realm_dart/binary/ios - name: Setup Flutter uses: subosito/flutter-action@v2 @@ -338,7 +338,7 @@ jobs: path: test-results.json reporter: dart-json only-summary: true - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests cleanup-cluster-flutter-ios: name: Cleanup Cluster for Flutter iOS @@ -370,7 +370,7 @@ jobs: defaults: run: shell: bash - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests steps: - name: Checkout @@ -397,7 +397,7 @@ jobs: uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-android - path: packages/realm_dart/binary/android + path: realm/packages/realm_dart/binary/android - name: Setup Flutter uses: subosito/flutter-action@v2 @@ -440,7 +440,7 @@ jobs: ndk: 21.0.6113669 arch: x86 cmake: 3.10.2.4988404 - script: cd packages/realm/tests && flutter test integration_test/all_tests.dart --dart-define=BAAS_BAASAAS_API_KEY=$BAAS_BAASAAS_API_KEY --dart-define=BAAS_DIFFERENTIATOR=$BAAS_DIFFERENTIATOR --file-reporter=json:test-results.json --suppress-analytics + script: cd realm/packages/realm/tests && flutter test integration_test/all_tests.dart --dart-define=BAAS_BAASAAS_API_KEY=$BAAS_BAASAAS_API_KEY --dart-define=BAAS_DIFFERENTIATOR=$BAAS_DIFFERENTIATOR --file-reporter=json:test-results.json --suppress-analytics - name: Publish Test Report uses: dorny/test-reporter@v1.7.0 @@ -450,7 +450,7 @@ jobs: path: test-results.json reporter: dart-json only-summary: true - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests cleanup-cluster-flutter-android: @@ -473,7 +473,7 @@ jobs: defaults: run: shell: bash - working-directory: packages/realm_generator + working-directory: realm/packages/realm_generator runs-on: ${{ matrix.os }}-latest name: Generator Tests @@ -491,25 +491,25 @@ jobs: - name: Delete generated files in realm_dart run: find . -name "*.realm.dart" - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart - name: Run generator in realm_dart run: | dart pub get dart run build_runner build --delete-conflicting-outputs - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart - name: Run generator in realm_dart/example run: | dart pub get dart run build_runner build --delete-conflicting-outputs - working-directory: packages/realm_dart/example + working-directory: realm/packages/realm_dart/example - name: Run generator in realm/example run: | dart pub get dart run build_runner build --delete-conflicting-outputs - working-directory: packages/realm/example + working-directory: realm/packages/realm/example - name: Install LLVM run: sudo apt update && sudo apt-get install -y libclang-dev @@ -519,7 +519,7 @@ jobs: run: >- dart pub global activate ffigen && dart pub global run ffigen --config ffigen.yaml - working-directory: packages/realm_dart/ + working-directory: realm/packages/realm_dart/ - name: Validate there are no uncommitted changes run: | @@ -552,7 +552,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: generator - path-to-lcov: packages/realm_generator/coverage/lcov.info + path-to-lcov: realm/packages/realm_generator/coverage/lcov.info parallel: true - name: Output Coveralls response diff --git a/.github/workflows/dart-desktop-tests.yml b/.github/workflows/dart-desktop-tests.yml index f71066670..04e9ee01d 100644 --- a/.github/workflows/dart-desktop-tests.yml +++ b/.github/workflows/dart-desktop-tests.yml @@ -32,7 +32,7 @@ jobs: timeout-minutes: 45 defaults: run: - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart steps: - name: Checkout @@ -47,7 +47,7 @@ jobs: uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-${{ inputs.os }} - path: packages/realm_dart/binary/${{ inputs.os }} + path: realm/packages/realm_dart/binary/${{ inputs.os }} - name : Setup Dart SDK uses: dart-lang/setup-dart@main @@ -73,7 +73,7 @@ jobs: path: test-results.json reporter: dart-json only-summary: true - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart # we're pruning generated files, the cli folder, as well as realm_bindings.dart from our coverage reports - name: Generate realm_dart coverage report @@ -96,7 +96,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: realm_dart - path-to-lcov: packages/realm_dart/coverage/pruned-lcov.info + path-to-lcov: realm/packages/realm_dart/coverage/pruned-lcov.info parallel: true - name: Output Coveralls response diff --git a/.github/workflows/deploy-baas.yml b/.github/workflows/deploy-baas.yml index c668c70e4..eb367fed3 100644 --- a/.github/workflows/deploy-baas.yml +++ b/.github/workflows/deploy-baas.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart name: Deploy BaaS timeout-minutes: 15 steps: diff --git a/.github/workflows/flutter-desktop-tests.yml b/.github/workflows/flutter-desktop-tests.yml index d8fc0cf36..736be9549 100644 --- a/.github/workflows/flutter-desktop-tests.yml +++ b/.github/workflows/flutter-desktop-tests.yml @@ -33,7 +33,7 @@ jobs: BAAS_DIFFERENTIATOR: ${{ inputs.differentiator }} defaults: run: - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests steps: @@ -56,7 +56,7 @@ jobs: uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 with: name: librealm-${{ inputs.os }} - path: packages/realm_dart/binary/${{ inputs.os }} + path: realm/packages/realm_dart/binary/${{ inputs.os }} - name: Setup Flutter uses: subosito/flutter-action@v2 @@ -84,7 +84,7 @@ jobs: --file-reporter=json:test-results.json \ --suppress-analytics shell: bash - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests - name: Publish Test Report uses: dorny/test-reporter@v1.7.0 @@ -94,4 +94,4 @@ jobs: path: test-results.json reporter: dart-json only-summary: true - working-directory: packages/realm/tests + working-directory: realm/packages/realm/tests diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 10a07bc23..b6c04d7a9 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -40,7 +40,7 @@ jobs: with: workflow: ci.yml commit: ${{ github.sha }} - path: ${{ github.workspace }}/packages/realm_dart/binary/ + path: ${{ github.workspace }}/realm/packages/realm_dart/binary/ workflow_conclusion: completed # The rename is necessary because action-download-artifact will put things in a folder named the same @@ -53,7 +53,7 @@ jobs: targetFile="release/${directory#*-}.tar.gz" dart run realm_dart archive --source-dir "$directory" --output-file "${{ github.workspace }}/$targetFile" done - working-directory: packages/realm_dart + working-directory: realm/packages/realm_dart - name: Update realm_* path dependencies (Production) uses: jacobtomlinson/gha-find-replace@b76729678e8d52dadb12e0e16454a93e301a919d #! 2.0.0 @@ -95,7 +95,7 @@ jobs: - name: Package realm_generator run: | - cp -Lr ../packages/realm_generator . + cp -Lr ../realm/packages/realm_generator . cd realm_generator dart pub publish --dry-run || true working-directory: release @@ -103,17 +103,17 @@ jobs: # realm_flutter has symlinks to native binaries which should not be packaged - name: Cleanup binary symlinks run: | - rm packages/realm/android/src/main/cpp/lib - rm packages/realm/ios/src - rm packages/realm/ios/realm_dart.xcframework - rm packages/realm/linux/binary - rm packages/realm/windows/binary - rm packages/realm/macos/librealm_dart.dylib - rm packages/realm/example/binary + rm realm/packages/realm/android/src/main/cpp/lib + rm realm/packages/realm/ios/src + rm realm/packages/realm/ios/realm_dart.xcframework + rm realm/packages/realm/linux/binary + rm realm/packages/realm/windows/binary + rm realm/packages/realm/macos/librealm_dart.dylib + rm realm/packages/realm/example/binary - name: Package realm (flutter) run: | - cp -Lr ../packages/realm realm + cp -Lr ../realm/packages/realm realm cd realm flutter pub publish --dry-run || true working-directory: release @@ -165,7 +165,7 @@ jobs: if: ${{ github.event.inputs.environment == 'Production' }} environment: name: 'Production' - url: https://pub.dev/packages/realm/versions/${{ needs.prepare-packages.outputs.version }} + url: https://pub.dev/realm/packages/realm/versions/${{ needs.prepare-packages.outputs.version }} name: Publish release needs: - prepare-packages diff --git a/.github/workflows/terminate-baas.yml b/.github/workflows/terminate-baas.yml index 098023cdd..014d28d55 100644 --- a/.github/workflows/terminate-baas.yml +++ b/.github/workflows/terminate-baas.yml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 15 defaults: run: - working-directory: packages/realm_dart # TODO: Move out of realm_dart + working-directory: realm/packages/realm_dart # TODO: Move out of realm_dart steps: - name: Checkout uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 diff --git a/.gitmodules b/.gitmodules index 687d227ff..76db702bf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "packages/realm_dart/src/realm-core"] - path = packages/realm_dart/src/realm-core + path = realm/packages/realm_dart/src/realm-core url = https://github.com/realm/realm-core.git branch = master diff --git a/packages/realm/.metadata b/realm/packages/realm/.metadata similarity index 100% rename from packages/realm/.metadata rename to realm/packages/realm/.metadata diff --git a/packages/realm/.pubignore b/realm/packages/realm/.pubignore similarity index 100% rename from packages/realm/.pubignore rename to realm/packages/realm/.pubignore diff --git a/packages/realm/CHANGELOG.md b/realm/packages/realm/CHANGELOG.md similarity index 100% rename from packages/realm/CHANGELOG.md rename to realm/packages/realm/CHANGELOG.md diff --git a/packages/realm/CONTRIBUTING.md b/realm/packages/realm/CONTRIBUTING.md similarity index 100% rename from packages/realm/CONTRIBUTING.md rename to realm/packages/realm/CONTRIBUTING.md diff --git a/packages/realm/LICENSE b/realm/packages/realm/LICENSE similarity index 100% rename from packages/realm/LICENSE rename to realm/packages/realm/LICENSE diff --git a/packages/realm/README.md b/realm/packages/realm/README.md similarity index 100% rename from packages/realm/README.md rename to realm/packages/realm/README.md diff --git a/packages/realm/analysis_options.yaml b/realm/packages/realm/analysis_options.yaml similarity index 100% rename from packages/realm/analysis_options.yaml rename to realm/packages/realm/analysis_options.yaml diff --git a/packages/realm/android/build.gradle b/realm/packages/realm/android/build.gradle similarity index 100% rename from packages/realm/android/build.gradle rename to realm/packages/realm/android/build.gradle diff --git a/packages/realm/android/gradle.properties b/realm/packages/realm/android/gradle.properties similarity index 100% rename from packages/realm/android/gradle.properties rename to realm/packages/realm/android/gradle.properties diff --git a/packages/realm/android/gradle/wrapper/gradle-wrapper.jar b/realm/packages/realm/android/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from packages/realm/android/gradle/wrapper/gradle-wrapper.jar rename to realm/packages/realm/android/gradle/wrapper/gradle-wrapper.jar diff --git a/packages/realm/android/gradle/wrapper/gradle-wrapper.properties b/realm/packages/realm/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from packages/realm/android/gradle/wrapper/gradle-wrapper.properties rename to realm/packages/realm/android/gradle/wrapper/gradle-wrapper.properties diff --git a/packages/realm/android/gradlew b/realm/packages/realm/android/gradlew similarity index 100% rename from packages/realm/android/gradlew rename to realm/packages/realm/android/gradlew diff --git a/packages/realm/android/gradlew.bat b/realm/packages/realm/android/gradlew.bat similarity index 100% rename from packages/realm/android/gradlew.bat rename to realm/packages/realm/android/gradlew.bat diff --git a/packages/realm/android/settings.gradle b/realm/packages/realm/android/settings.gradle similarity index 100% rename from packages/realm/android/settings.gradle rename to realm/packages/realm/android/settings.gradle diff --git a/packages/realm/android/src/gen/RealmConfig.java b/realm/packages/realm/android/src/gen/RealmConfig.java similarity index 100% rename from packages/realm/android/src/gen/RealmConfig.java rename to realm/packages/realm/android/src/gen/RealmConfig.java diff --git a/packages/realm/android/src/main/AndroidManifest.xml b/realm/packages/realm/android/src/main/AndroidManifest.xml similarity index 100% rename from packages/realm/android/src/main/AndroidManifest.xml rename to realm/packages/realm/android/src/main/AndroidManifest.xml diff --git a/packages/realm/android/src/main/cpp/CMakeLists.txt b/realm/packages/realm/android/src/main/cpp/CMakeLists.txt similarity index 100% rename from packages/realm/android/src/main/cpp/CMakeLists.txt rename to realm/packages/realm/android/src/main/cpp/CMakeLists.txt diff --git a/packages/realm/android/src/main/cpp/lib b/realm/packages/realm/android/src/main/cpp/lib similarity index 100% rename from packages/realm/android/src/main/cpp/lib rename to realm/packages/realm/android/src/main/cpp/lib diff --git a/packages/realm/android/src/main/cpp/realm_plugin.cpp b/realm/packages/realm/android/src/main/cpp/realm_plugin.cpp similarity index 100% rename from packages/realm/android/src/main/cpp/realm_plugin.cpp rename to realm/packages/realm/android/src/main/cpp/realm_plugin.cpp diff --git a/packages/realm/android/src/main/java/io/realm/RealmPlugin.java b/realm/packages/realm/android/src/main/java/io/realm/RealmPlugin.java similarity index 100% rename from packages/realm/android/src/main/java/io/realm/RealmPlugin.java rename to realm/packages/realm/android/src/main/java/io/realm/RealmPlugin.java diff --git a/packages/realm/bin/realm.dart b/realm/packages/realm/bin/realm.dart similarity index 100% rename from packages/realm/bin/realm.dart rename to realm/packages/realm/bin/realm.dart diff --git a/packages/realm/build.yaml b/realm/packages/realm/build.yaml similarity index 100% rename from packages/realm/build.yaml rename to realm/packages/realm/build.yaml diff --git a/packages/realm/dartdoc_options.yaml b/realm/packages/realm/dartdoc_options.yaml similarity index 100% rename from packages/realm/dartdoc_options.yaml rename to realm/packages/realm/dartdoc_options.yaml diff --git a/packages/realm/example/.gitignore b/realm/packages/realm/example/.gitignore similarity index 100% rename from packages/realm/example/.gitignore rename to realm/packages/realm/example/.gitignore diff --git a/packages/realm/example/.metadata b/realm/packages/realm/example/.metadata similarity index 100% rename from packages/realm/example/.metadata rename to realm/packages/realm/example/.metadata diff --git a/packages/realm/example/README.md b/realm/packages/realm/example/README.md similarity index 100% rename from packages/realm/example/README.md rename to realm/packages/realm/example/README.md diff --git a/packages/realm/example/analysis_options.yaml b/realm/packages/realm/example/analysis_options.yaml similarity index 100% rename from packages/realm/example/analysis_options.yaml rename to realm/packages/realm/example/analysis_options.yaml diff --git a/packages/realm/example/lib/main.dart b/realm/packages/realm/example/lib/main.dart similarity index 100% rename from packages/realm/example/lib/main.dart rename to realm/packages/realm/example/lib/main.dart diff --git a/packages/realm/example/lib/main.realm.dart b/realm/packages/realm/example/lib/main.realm.dart similarity index 100% rename from packages/realm/example/lib/main.realm.dart rename to realm/packages/realm/example/lib/main.realm.dart diff --git a/packages/realm/example/pubspec.yaml b/realm/packages/realm/example/pubspec.yaml similarity index 100% rename from packages/realm/example/pubspec.yaml rename to realm/packages/realm/example/pubspec.yaml diff --git a/packages/realm/ios/Classes/RealmPlugin.h b/realm/packages/realm/ios/Classes/RealmPlugin.h similarity index 100% rename from packages/realm/ios/Classes/RealmPlugin.h rename to realm/packages/realm/ios/Classes/RealmPlugin.h diff --git a/packages/realm/ios/Classes/RealmPlugin.m b/realm/packages/realm/ios/Classes/RealmPlugin.m similarity index 100% rename from packages/realm/ios/Classes/RealmPlugin.m rename to realm/packages/realm/ios/Classes/RealmPlugin.m diff --git a/packages/realm/ios/Classes/SwiftRealmPlugin.swift b/realm/packages/realm/ios/Classes/SwiftRealmPlugin.swift similarity index 100% rename from packages/realm/ios/Classes/SwiftRealmPlugin.swift rename to realm/packages/realm/ios/Classes/SwiftRealmPlugin.swift diff --git a/packages/realm/ios/Classes/platform.mm b/realm/packages/realm/ios/Classes/platform.mm similarity index 100% rename from packages/realm/ios/Classes/platform.mm rename to realm/packages/realm/ios/Classes/platform.mm diff --git a/packages/realm/ios/Classes/realm_plugin.h b/realm/packages/realm/ios/Classes/realm_plugin.h similarity index 100% rename from packages/realm/ios/Classes/realm_plugin.h rename to realm/packages/realm/ios/Classes/realm_plugin.h diff --git a/packages/realm/ios/realm.podspec b/realm/packages/realm/ios/realm.podspec similarity index 100% rename from packages/realm/ios/realm.podspec rename to realm/packages/realm/ios/realm.podspec diff --git a/packages/realm/ios/realm_dart.xcframework b/realm/packages/realm/ios/realm_dart.xcframework similarity index 100% rename from packages/realm/ios/realm_dart.xcframework rename to realm/packages/realm/ios/realm_dart.xcframework diff --git a/packages/realm/lib/realm.dart b/realm/packages/realm/lib/realm.dart similarity index 100% rename from packages/realm/lib/realm.dart rename to realm/packages/realm/lib/realm.dart diff --git a/packages/realm/linux/CMakeLists.txt b/realm/packages/realm/linux/CMakeLists.txt similarity index 100% rename from packages/realm/linux/CMakeLists.txt rename to realm/packages/realm/linux/CMakeLists.txt diff --git a/packages/realm/linux/binary b/realm/packages/realm/linux/binary similarity index 100% rename from packages/realm/linux/binary rename to realm/packages/realm/linux/binary diff --git a/packages/realm/linux/include/realm/realm_plugin.h b/realm/packages/realm/linux/include/realm/realm_plugin.h similarity index 100% rename from packages/realm/linux/include/realm/realm_plugin.h rename to realm/packages/realm/linux/include/realm/realm_plugin.h diff --git a/packages/realm/linux/realm_plugin.cpp b/realm/packages/realm/linux/realm_plugin.cpp similarity index 100% rename from packages/realm/linux/realm_plugin.cpp rename to realm/packages/realm/linux/realm_plugin.cpp diff --git a/packages/realm/macos/Classes/RealmPlugin.swift b/realm/packages/realm/macos/Classes/RealmPlugin.swift similarity index 100% rename from packages/realm/macos/Classes/RealmPlugin.swift rename to realm/packages/realm/macos/Classes/RealmPlugin.swift diff --git a/packages/realm/macos/Classes/platform.mm b/realm/packages/realm/macos/Classes/platform.mm similarity index 100% rename from packages/realm/macos/Classes/platform.mm rename to realm/packages/realm/macos/Classes/platform.mm diff --git a/packages/realm/macos/Classes/realm_plugin.h b/realm/packages/realm/macos/Classes/realm_plugin.h similarity index 100% rename from packages/realm/macos/Classes/realm_plugin.h rename to realm/packages/realm/macos/Classes/realm_plugin.h diff --git a/packages/realm/macos/realm.podspec b/realm/packages/realm/macos/realm.podspec similarity index 100% rename from packages/realm/macos/realm.podspec rename to realm/packages/realm/macos/realm.podspec diff --git a/packages/realm/pubspec.yaml b/realm/packages/realm/pubspec.yaml similarity index 100% rename from packages/realm/pubspec.yaml rename to realm/packages/realm/pubspec.yaml diff --git a/packages/realm/tests/.gitignore b/realm/packages/realm/tests/.gitignore similarity index 100% rename from packages/realm/tests/.gitignore rename to realm/packages/realm/tests/.gitignore diff --git a/packages/realm/tests/.metadata b/realm/packages/realm/tests/.metadata similarity index 100% rename from packages/realm/tests/.metadata rename to realm/packages/realm/tests/.metadata diff --git a/packages/realm/tests/README.md b/realm/packages/realm/tests/README.md similarity index 100% rename from packages/realm/tests/README.md rename to realm/packages/realm/tests/README.md diff --git a/packages/realm/tests/analysis_options.yaml b/realm/packages/realm/tests/analysis_options.yaml similarity index 100% rename from packages/realm/tests/analysis_options.yaml rename to realm/packages/realm/tests/analysis_options.yaml diff --git a/packages/realm/tests/android/app/build.gradle b/realm/packages/realm/tests/android/app/build.gradle similarity index 100% rename from packages/realm/tests/android/app/build.gradle rename to realm/packages/realm/tests/android/app/build.gradle diff --git a/packages/realm/tests/android/app/src/debug/AndroidManifest.xml b/realm/packages/realm/tests/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from packages/realm/tests/android/app/src/debug/AndroidManifest.xml rename to realm/packages/realm/tests/android/app/src/debug/AndroidManifest.xml diff --git a/packages/realm/tests/android/app/src/main/AndroidManifest.xml b/realm/packages/realm/tests/android/app/src/main/AndroidManifest.xml similarity index 100% rename from packages/realm/tests/android/app/src/main/AndroidManifest.xml rename to realm/packages/realm/tests/android/app/src/main/AndroidManifest.xml diff --git a/packages/realm/tests/android/app/src/main/kotlin/io/realm/tests/MainActivity.kt b/realm/packages/realm/tests/android/app/src/main/kotlin/io/realm/tests/MainActivity.kt similarity index 100% rename from packages/realm/tests/android/app/src/main/kotlin/io/realm/tests/MainActivity.kt rename to realm/packages/realm/tests/android/app/src/main/kotlin/io/realm/tests/MainActivity.kt diff --git a/packages/realm/tests/android/app/src/main/res/drawable-v21/launch_background.xml b/realm/packages/realm/tests/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from packages/realm/tests/android/app/src/main/res/drawable-v21/launch_background.xml rename to realm/packages/realm/tests/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/packages/realm/tests/android/app/src/main/res/drawable/launch_background.xml b/realm/packages/realm/tests/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from packages/realm/tests/android/app/src/main/res/drawable/launch_background.xml rename to realm/packages/realm/tests/android/app/src/main/res/drawable/launch_background.xml diff --git a/packages/realm/tests/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/realm/packages/realm/tests/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from packages/realm/tests/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to realm/packages/realm/tests/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/packages/realm/tests/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/realm/packages/realm/tests/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from packages/realm/tests/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to realm/packages/realm/tests/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/packages/realm/tests/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/realm/packages/realm/tests/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from packages/realm/tests/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to realm/packages/realm/tests/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/packages/realm/tests/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/realm/packages/realm/tests/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from packages/realm/tests/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to realm/packages/realm/tests/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/packages/realm/tests/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/realm/packages/realm/tests/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from packages/realm/tests/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to realm/packages/realm/tests/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/packages/realm/tests/android/app/src/main/res/values-night/styles.xml b/realm/packages/realm/tests/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from packages/realm/tests/android/app/src/main/res/values-night/styles.xml rename to realm/packages/realm/tests/android/app/src/main/res/values-night/styles.xml diff --git a/packages/realm/tests/android/app/src/main/res/values/styles.xml b/realm/packages/realm/tests/android/app/src/main/res/values/styles.xml similarity index 100% rename from packages/realm/tests/android/app/src/main/res/values/styles.xml rename to realm/packages/realm/tests/android/app/src/main/res/values/styles.xml diff --git a/packages/realm/tests/android/app/src/profile/AndroidManifest.xml b/realm/packages/realm/tests/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from packages/realm/tests/android/app/src/profile/AndroidManifest.xml rename to realm/packages/realm/tests/android/app/src/profile/AndroidManifest.xml diff --git a/packages/realm/tests/android/build.gradle b/realm/packages/realm/tests/android/build.gradle similarity index 100% rename from packages/realm/tests/android/build.gradle rename to realm/packages/realm/tests/android/build.gradle diff --git a/packages/realm/tests/android/gradle.properties b/realm/packages/realm/tests/android/gradle.properties similarity index 100% rename from packages/realm/tests/android/gradle.properties rename to realm/packages/realm/tests/android/gradle.properties diff --git a/packages/realm/tests/android/gradle/wrapper/gradle-wrapper.properties b/realm/packages/realm/tests/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from packages/realm/tests/android/gradle/wrapper/gradle-wrapper.properties rename to realm/packages/realm/tests/android/gradle/wrapper/gradle-wrapper.properties diff --git a/packages/realm/tests/android/settings.gradle b/realm/packages/realm/tests/android/settings.gradle similarity index 100% rename from packages/realm/tests/android/settings.gradle rename to realm/packages/realm/tests/android/settings.gradle diff --git a/packages/realm/tests/build.yaml b/realm/packages/realm/tests/build.yaml similarity index 100% rename from packages/realm/tests/build.yaml rename to realm/packages/realm/tests/build.yaml diff --git a/packages/realm/tests/integration_test/all_tests.dart b/realm/packages/realm/tests/integration_test/all_tests.dart similarity index 100% rename from packages/realm/tests/integration_test/all_tests.dart rename to realm/packages/realm/tests/integration_test/all_tests.dart diff --git a/packages/realm/tests/ios/Flutter/AppFrameworkInfo.plist b/realm/packages/realm/tests/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from packages/realm/tests/ios/Flutter/AppFrameworkInfo.plist rename to realm/packages/realm/tests/ios/Flutter/AppFrameworkInfo.plist diff --git a/packages/realm/tests/ios/Flutter/Debug.xcconfig b/realm/packages/realm/tests/ios/Flutter/Debug.xcconfig similarity index 100% rename from packages/realm/tests/ios/Flutter/Debug.xcconfig rename to realm/packages/realm/tests/ios/Flutter/Debug.xcconfig diff --git a/packages/realm/tests/ios/Flutter/Release.xcconfig b/realm/packages/realm/tests/ios/Flutter/Release.xcconfig similarity index 100% rename from packages/realm/tests/ios/Flutter/Release.xcconfig rename to realm/packages/realm/tests/ios/Flutter/Release.xcconfig diff --git a/packages/realm/tests/ios/Podfile b/realm/packages/realm/tests/ios/Podfile similarity index 100% rename from packages/realm/tests/ios/Podfile rename to realm/packages/realm/tests/ios/Podfile diff --git a/packages/realm/tests/ios/Runner.xcodeproj/project.pbxproj b/realm/packages/realm/tests/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from packages/realm/tests/ios/Runner.xcodeproj/project.pbxproj rename to realm/packages/realm/tests/ios/Runner.xcodeproj/project.pbxproj diff --git a/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/realm/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to realm/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/realm/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to realm/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/realm/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to realm/packages/realm/tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/packages/realm/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/realm/packages/realm/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from packages/realm/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to realm/packages/realm/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/packages/realm/tests/ios/Runner.xcworkspace/contents.xcworkspacedata b/realm/packages/realm/tests/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/realm/tests/ios/Runner.xcworkspace/contents.xcworkspacedata rename to realm/packages/realm/tests/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/realm/packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to realm/packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/realm/packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to realm/packages/realm/tests/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/packages/realm/tests/ios/Runner/AppDelegate.swift b/realm/packages/realm/tests/ios/Runner/AppDelegate.swift similarity index 100% rename from packages/realm/tests/ios/Runner/AppDelegate.swift rename to realm/packages/realm/tests/ios/Runner/AppDelegate.swift diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to realm/packages/realm/tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/packages/realm/tests/ios/Runner/Base.lproj/LaunchScreen.storyboard b/realm/packages/realm/tests/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from packages/realm/tests/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to realm/packages/realm/tests/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/packages/realm/tests/ios/Runner/Base.lproj/Main.storyboard b/realm/packages/realm/tests/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from packages/realm/tests/ios/Runner/Base.lproj/Main.storyboard rename to realm/packages/realm/tests/ios/Runner/Base.lproj/Main.storyboard diff --git a/packages/realm/tests/ios/Runner/Info.plist b/realm/packages/realm/tests/ios/Runner/Info.plist similarity index 100% rename from packages/realm/tests/ios/Runner/Info.plist rename to realm/packages/realm/tests/ios/Runner/Info.plist diff --git a/packages/realm/tests/ios/Runner/Runner-Bridging-Header.h b/realm/packages/realm/tests/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from packages/realm/tests/ios/Runner/Runner-Bridging-Header.h rename to realm/packages/realm/tests/ios/Runner/Runner-Bridging-Header.h diff --git a/packages/realm/tests/ios/RunnerTests/RunnerTests.swift b/realm/packages/realm/tests/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from packages/realm/tests/ios/RunnerTests/RunnerTests.swift rename to realm/packages/realm/tests/ios/RunnerTests/RunnerTests.swift diff --git a/packages/realm/tests/linux/CMakeLists.txt b/realm/packages/realm/tests/linux/CMakeLists.txt similarity index 100% rename from packages/realm/tests/linux/CMakeLists.txt rename to realm/packages/realm/tests/linux/CMakeLists.txt diff --git a/packages/realm/tests/linux/flutter/CMakeLists.txt b/realm/packages/realm/tests/linux/flutter/CMakeLists.txt similarity index 100% rename from packages/realm/tests/linux/flutter/CMakeLists.txt rename to realm/packages/realm/tests/linux/flutter/CMakeLists.txt diff --git a/packages/realm/tests/linux/flutter/generated_plugin_registrant.cc b/realm/packages/realm/tests/linux/flutter/generated_plugin_registrant.cc similarity index 100% rename from packages/realm/tests/linux/flutter/generated_plugin_registrant.cc rename to realm/packages/realm/tests/linux/flutter/generated_plugin_registrant.cc diff --git a/packages/realm/tests/linux/flutter/generated_plugin_registrant.h b/realm/packages/realm/tests/linux/flutter/generated_plugin_registrant.h similarity index 100% rename from packages/realm/tests/linux/flutter/generated_plugin_registrant.h rename to realm/packages/realm/tests/linux/flutter/generated_plugin_registrant.h diff --git a/packages/realm/tests/linux/flutter/generated_plugins.cmake b/realm/packages/realm/tests/linux/flutter/generated_plugins.cmake similarity index 100% rename from packages/realm/tests/linux/flutter/generated_plugins.cmake rename to realm/packages/realm/tests/linux/flutter/generated_plugins.cmake diff --git a/packages/realm/tests/linux/main.cc b/realm/packages/realm/tests/linux/main.cc similarity index 100% rename from packages/realm/tests/linux/main.cc rename to realm/packages/realm/tests/linux/main.cc diff --git a/packages/realm/tests/linux/my_application.cc b/realm/packages/realm/tests/linux/my_application.cc similarity index 100% rename from packages/realm/tests/linux/my_application.cc rename to realm/packages/realm/tests/linux/my_application.cc diff --git a/packages/realm/tests/linux/my_application.h b/realm/packages/realm/tests/linux/my_application.h similarity index 100% rename from packages/realm/tests/linux/my_application.h rename to realm/packages/realm/tests/linux/my_application.h diff --git a/packages/realm/tests/macos/Flutter/Flutter-Debug.xcconfig b/realm/packages/realm/tests/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from packages/realm/tests/macos/Flutter/Flutter-Debug.xcconfig rename to realm/packages/realm/tests/macos/Flutter/Flutter-Debug.xcconfig diff --git a/packages/realm/tests/macos/Flutter/Flutter-Release.xcconfig b/realm/packages/realm/tests/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from packages/realm/tests/macos/Flutter/Flutter-Release.xcconfig rename to realm/packages/realm/tests/macos/Flutter/Flutter-Release.xcconfig diff --git a/packages/realm/tests/macos/Flutter/GeneratedPluginRegistrant.swift b/realm/packages/realm/tests/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from packages/realm/tests/macos/Flutter/GeneratedPluginRegistrant.swift rename to realm/packages/realm/tests/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/packages/realm/tests/macos/Podfile b/realm/packages/realm/tests/macos/Podfile similarity index 100% rename from packages/realm/tests/macos/Podfile rename to realm/packages/realm/tests/macos/Podfile diff --git a/packages/realm/tests/macos/Runner.xcodeproj/project.pbxproj b/realm/packages/realm/tests/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from packages/realm/tests/macos/Runner.xcodeproj/project.pbxproj rename to realm/packages/realm/tests/macos/Runner.xcodeproj/project.pbxproj diff --git a/packages/realm/tests/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/realm/packages/realm/tests/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/realm/tests/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to realm/packages/realm/tests/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/realm/tests/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/realm/packages/realm/tests/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from packages/realm/tests/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to realm/packages/realm/tests/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/packages/realm/tests/macos/Runner.xcworkspace/contents.xcworkspacedata b/realm/packages/realm/tests/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/realm/tests/macos/Runner.xcworkspace/contents.xcworkspacedata rename to realm/packages/realm/tests/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/packages/realm/tests/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/realm/packages/realm/tests/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/realm/tests/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to realm/packages/realm/tests/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/realm/tests/macos/Runner/AppDelegate.swift b/realm/packages/realm/tests/macos/Runner/AppDelegate.swift similarity index 100% rename from packages/realm/tests/macos/Runner/AppDelegate.swift rename to realm/packages/realm/tests/macos/Runner/AppDelegate.swift diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to realm/packages/realm/tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/packages/realm/tests/macos/Runner/Base.lproj/MainMenu.xib b/realm/packages/realm/tests/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from packages/realm/tests/macos/Runner/Base.lproj/MainMenu.xib rename to realm/packages/realm/tests/macos/Runner/Base.lproj/MainMenu.xib diff --git a/packages/realm/tests/macos/Runner/Configs/AppInfo.xcconfig b/realm/packages/realm/tests/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from packages/realm/tests/macos/Runner/Configs/AppInfo.xcconfig rename to realm/packages/realm/tests/macos/Runner/Configs/AppInfo.xcconfig diff --git a/packages/realm/tests/macos/Runner/Configs/Debug.xcconfig b/realm/packages/realm/tests/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from packages/realm/tests/macos/Runner/Configs/Debug.xcconfig rename to realm/packages/realm/tests/macos/Runner/Configs/Debug.xcconfig diff --git a/packages/realm/tests/macos/Runner/Configs/Release.xcconfig b/realm/packages/realm/tests/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from packages/realm/tests/macos/Runner/Configs/Release.xcconfig rename to realm/packages/realm/tests/macos/Runner/Configs/Release.xcconfig diff --git a/packages/realm/tests/macos/Runner/Configs/Warnings.xcconfig b/realm/packages/realm/tests/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from packages/realm/tests/macos/Runner/Configs/Warnings.xcconfig rename to realm/packages/realm/tests/macos/Runner/Configs/Warnings.xcconfig diff --git a/packages/realm/tests/macos/Runner/DebugProfile.entitlements b/realm/packages/realm/tests/macos/Runner/DebugProfile.entitlements similarity index 100% rename from packages/realm/tests/macos/Runner/DebugProfile.entitlements rename to realm/packages/realm/tests/macos/Runner/DebugProfile.entitlements diff --git a/packages/realm/tests/macos/Runner/Info.plist b/realm/packages/realm/tests/macos/Runner/Info.plist similarity index 100% rename from packages/realm/tests/macos/Runner/Info.plist rename to realm/packages/realm/tests/macos/Runner/Info.plist diff --git a/packages/realm/tests/macos/Runner/MainFlutterWindow.swift b/realm/packages/realm/tests/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from packages/realm/tests/macos/Runner/MainFlutterWindow.swift rename to realm/packages/realm/tests/macos/Runner/MainFlutterWindow.swift diff --git a/packages/realm/tests/macos/Runner/Release.entitlements b/realm/packages/realm/tests/macos/Runner/Release.entitlements similarity index 100% rename from packages/realm/tests/macos/Runner/Release.entitlements rename to realm/packages/realm/tests/macos/Runner/Release.entitlements diff --git a/packages/realm/tests/macos/RunnerTests/RunnerTests.swift b/realm/packages/realm/tests/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from packages/realm/tests/macos/RunnerTests/RunnerTests.swift rename to realm/packages/realm/tests/macos/RunnerTests/RunnerTests.swift diff --git a/packages/realm/tests/pubspec.yaml b/realm/packages/realm/tests/pubspec.yaml similarity index 100% rename from packages/realm/tests/pubspec.yaml rename to realm/packages/realm/tests/pubspec.yaml diff --git a/packages/realm/tests/test/data b/realm/packages/realm/tests/test/data similarity index 100% rename from packages/realm/tests/test/data rename to realm/packages/realm/tests/test/data diff --git a/packages/realm/tests/windows/CMakeLists.txt b/realm/packages/realm/tests/windows/CMakeLists.txt similarity index 100% rename from packages/realm/tests/windows/CMakeLists.txt rename to realm/packages/realm/tests/windows/CMakeLists.txt diff --git a/packages/realm/tests/windows/flutter/CMakeLists.txt b/realm/packages/realm/tests/windows/flutter/CMakeLists.txt similarity index 100% rename from packages/realm/tests/windows/flutter/CMakeLists.txt rename to realm/packages/realm/tests/windows/flutter/CMakeLists.txt diff --git a/packages/realm/tests/windows/flutter/generated_plugin_registrant.cc b/realm/packages/realm/tests/windows/flutter/generated_plugin_registrant.cc similarity index 100% rename from packages/realm/tests/windows/flutter/generated_plugin_registrant.cc rename to realm/packages/realm/tests/windows/flutter/generated_plugin_registrant.cc diff --git a/packages/realm/tests/windows/flutter/generated_plugin_registrant.h b/realm/packages/realm/tests/windows/flutter/generated_plugin_registrant.h similarity index 100% rename from packages/realm/tests/windows/flutter/generated_plugin_registrant.h rename to realm/packages/realm/tests/windows/flutter/generated_plugin_registrant.h diff --git a/packages/realm/tests/windows/flutter/generated_plugins.cmake b/realm/packages/realm/tests/windows/flutter/generated_plugins.cmake similarity index 100% rename from packages/realm/tests/windows/flutter/generated_plugins.cmake rename to realm/packages/realm/tests/windows/flutter/generated_plugins.cmake diff --git a/packages/realm/tests/windows/runner/CMakeLists.txt b/realm/packages/realm/tests/windows/runner/CMakeLists.txt similarity index 100% rename from packages/realm/tests/windows/runner/CMakeLists.txt rename to realm/packages/realm/tests/windows/runner/CMakeLists.txt diff --git a/packages/realm/tests/windows/runner/Runner.rc b/realm/packages/realm/tests/windows/runner/Runner.rc similarity index 100% rename from packages/realm/tests/windows/runner/Runner.rc rename to realm/packages/realm/tests/windows/runner/Runner.rc diff --git a/packages/realm/tests/windows/runner/flutter_window.cpp b/realm/packages/realm/tests/windows/runner/flutter_window.cpp similarity index 100% rename from packages/realm/tests/windows/runner/flutter_window.cpp rename to realm/packages/realm/tests/windows/runner/flutter_window.cpp diff --git a/packages/realm/tests/windows/runner/flutter_window.h b/realm/packages/realm/tests/windows/runner/flutter_window.h similarity index 100% rename from packages/realm/tests/windows/runner/flutter_window.h rename to realm/packages/realm/tests/windows/runner/flutter_window.h diff --git a/packages/realm/tests/windows/runner/main.cpp b/realm/packages/realm/tests/windows/runner/main.cpp similarity index 100% rename from packages/realm/tests/windows/runner/main.cpp rename to realm/packages/realm/tests/windows/runner/main.cpp diff --git a/packages/realm/tests/windows/runner/resource.h b/realm/packages/realm/tests/windows/runner/resource.h similarity index 100% rename from packages/realm/tests/windows/runner/resource.h rename to realm/packages/realm/tests/windows/runner/resource.h diff --git a/packages/realm/tests/windows/runner/resources/app_icon.ico b/realm/packages/realm/tests/windows/runner/resources/app_icon.ico similarity index 100% rename from packages/realm/tests/windows/runner/resources/app_icon.ico rename to realm/packages/realm/tests/windows/runner/resources/app_icon.ico diff --git a/packages/realm/tests/windows/runner/runner.exe.manifest b/realm/packages/realm/tests/windows/runner/runner.exe.manifest similarity index 100% rename from packages/realm/tests/windows/runner/runner.exe.manifest rename to realm/packages/realm/tests/windows/runner/runner.exe.manifest diff --git a/packages/realm/tests/windows/runner/utils.cpp b/realm/packages/realm/tests/windows/runner/utils.cpp similarity index 100% rename from packages/realm/tests/windows/runner/utils.cpp rename to realm/packages/realm/tests/windows/runner/utils.cpp diff --git a/packages/realm/tests/windows/runner/utils.h b/realm/packages/realm/tests/windows/runner/utils.h similarity index 100% rename from packages/realm/tests/windows/runner/utils.h rename to realm/packages/realm/tests/windows/runner/utils.h diff --git a/packages/realm/tests/windows/runner/win32_window.cpp b/realm/packages/realm/tests/windows/runner/win32_window.cpp similarity index 100% rename from packages/realm/tests/windows/runner/win32_window.cpp rename to realm/packages/realm/tests/windows/runner/win32_window.cpp diff --git a/packages/realm/tests/windows/runner/win32_window.h b/realm/packages/realm/tests/windows/runner/win32_window.h similarity index 100% rename from packages/realm/tests/windows/runner/win32_window.h rename to realm/packages/realm/tests/windows/runner/win32_window.h diff --git a/packages/realm/windows/CMakeLists.txt b/realm/packages/realm/windows/CMakeLists.txt similarity index 100% rename from packages/realm/windows/CMakeLists.txt rename to realm/packages/realm/windows/CMakeLists.txt diff --git a/packages/realm/windows/binary b/realm/packages/realm/windows/binary similarity index 100% rename from packages/realm/windows/binary rename to realm/packages/realm/windows/binary diff --git a/packages/realm/windows/include/realm/realm_plugin.h b/realm/packages/realm/windows/include/realm/realm_plugin.h similarity index 100% rename from packages/realm/windows/include/realm/realm_plugin.h rename to realm/packages/realm/windows/include/realm/realm_plugin.h diff --git a/packages/realm/windows/realm_plugin.cpp b/realm/packages/realm/windows/realm_plugin.cpp similarity index 100% rename from packages/realm/windows/realm_plugin.cpp rename to realm/packages/realm/windows/realm_plugin.cpp diff --git a/packages/realm_common/CHANGELOG.md b/realm/packages/realm_common/CHANGELOG.md similarity index 100% rename from packages/realm_common/CHANGELOG.md rename to realm/packages/realm_common/CHANGELOG.md diff --git a/packages/realm_common/CONTRIBUTING.md b/realm/packages/realm_common/CONTRIBUTING.md similarity index 100% rename from packages/realm_common/CONTRIBUTING.md rename to realm/packages/realm_common/CONTRIBUTING.md diff --git a/packages/realm_common/LICENSE b/realm/packages/realm_common/LICENSE similarity index 100% rename from packages/realm_common/LICENSE rename to realm/packages/realm_common/LICENSE diff --git a/packages/realm_common/README.md b/realm/packages/realm_common/README.md similarity index 100% rename from packages/realm_common/README.md rename to realm/packages/realm_common/README.md diff --git a/packages/realm_common/analysis_options.yaml b/realm/packages/realm_common/analysis_options.yaml similarity index 100% rename from packages/realm_common/analysis_options.yaml rename to realm/packages/realm_common/analysis_options.yaml diff --git a/packages/realm_common/dartdoc_options.yaml b/realm/packages/realm_common/dartdoc_options.yaml similarity index 100% rename from packages/realm_common/dartdoc_options.yaml rename to realm/packages/realm_common/dartdoc_options.yaml diff --git a/packages/realm_common/lib/realm_common.dart b/realm/packages/realm_common/lib/realm_common.dart similarity index 100% rename from packages/realm_common/lib/realm_common.dart rename to realm/packages/realm_common/lib/realm_common.dart diff --git a/packages/realm_common/lib/src/realm_common_base.dart b/realm/packages/realm_common/lib/src/realm_common_base.dart similarity index 100% rename from packages/realm_common/lib/src/realm_common_base.dart rename to realm/packages/realm_common/lib/src/realm_common_base.dart diff --git a/packages/realm_common/lib/src/realm_types.dart b/realm/packages/realm_common/lib/src/realm_types.dart similarity index 100% rename from packages/realm_common/lib/src/realm_types.dart rename to realm/packages/realm_common/lib/src/realm_types.dart diff --git a/packages/realm_common/pubspec.yaml b/realm/packages/realm_common/pubspec.yaml similarity index 100% rename from packages/realm_common/pubspec.yaml rename to realm/packages/realm_common/pubspec.yaml diff --git a/packages/realm_dart/.gitignore b/realm/packages/realm_dart/.gitignore similarity index 100% rename from packages/realm_dart/.gitignore rename to realm/packages/realm_dart/.gitignore diff --git a/packages/realm_dart/.pubignore b/realm/packages/realm_dart/.pubignore similarity index 100% rename from packages/realm_dart/.pubignore rename to realm/packages/realm_dart/.pubignore diff --git a/packages/realm_dart/CHANGELOG.md b/realm/packages/realm_dart/CHANGELOG.md similarity index 100% rename from packages/realm_dart/CHANGELOG.md rename to realm/packages/realm_dart/CHANGELOG.md diff --git a/packages/realm_dart/CMakeLists.txt b/realm/packages/realm_dart/CMakeLists.txt similarity index 100% rename from packages/realm_dart/CMakeLists.txt rename to realm/packages/realm_dart/CMakeLists.txt diff --git a/packages/realm_dart/CMakePresets.json b/realm/packages/realm_dart/CMakePresets.json similarity index 100% rename from packages/realm_dart/CMakePresets.json rename to realm/packages/realm_dart/CMakePresets.json diff --git a/packages/realm_dart/CONTRIBUTING.md b/realm/packages/realm_dart/CONTRIBUTING.md similarity index 100% rename from packages/realm_dart/CONTRIBUTING.md rename to realm/packages/realm_dart/CONTRIBUTING.md diff --git a/packages/realm_dart/LICENSE b/realm/packages/realm_dart/LICENSE similarity index 100% rename from packages/realm_dart/LICENSE rename to realm/packages/realm_dart/LICENSE diff --git a/packages/realm_dart/README.md b/realm/packages/realm_dart/README.md similarity index 100% rename from packages/realm_dart/README.md rename to realm/packages/realm_dart/README.md diff --git a/packages/realm_dart/analysis_options.yaml b/realm/packages/realm_dart/analysis_options.yaml similarity index 100% rename from packages/realm_dart/analysis_options.yaml rename to realm/packages/realm_dart/analysis_options.yaml diff --git a/packages/realm_dart/bin/README.md b/realm/packages/realm_dart/bin/README.md similarity index 100% rename from packages/realm_dart/bin/README.md rename to realm/packages/realm_dart/bin/README.md diff --git a/packages/realm_dart/bin/realm_dart.dart b/realm/packages/realm_dart/bin/realm_dart.dart similarity index 100% rename from packages/realm_dart/bin/realm_dart.dart rename to realm/packages/realm_dart/bin/realm_dart.dart diff --git a/packages/realm_dart/build.yaml b/realm/packages/realm_dart/build.yaml similarity index 100% rename from packages/realm_dart/build.yaml rename to realm/packages/realm_dart/build.yaml diff --git a/packages/realm_dart/dartdoc_options.yaml b/realm/packages/realm_dart/dartdoc_options.yaml similarity index 100% rename from packages/realm_dart/dartdoc_options.yaml rename to realm/packages/realm_dart/dartdoc_options.yaml diff --git a/packages/realm_dart/example/README.md b/realm/packages/realm_dart/example/README.md similarity index 100% rename from packages/realm_dart/example/README.md rename to realm/packages/realm_dart/example/README.md diff --git a/packages/realm_dart/example/analysis_options.yaml b/realm/packages/realm_dart/example/analysis_options.yaml similarity index 100% rename from packages/realm_dart/example/analysis_options.yaml rename to realm/packages/realm_dart/example/analysis_options.yaml diff --git a/packages/realm_dart/example/bin/myapp.dart b/realm/packages/realm_dart/example/bin/myapp.dart similarity index 100% rename from packages/realm_dart/example/bin/myapp.dart rename to realm/packages/realm_dart/example/bin/myapp.dart diff --git a/packages/realm_dart/example/bin/myapp.realm.dart b/realm/packages/realm_dart/example/bin/myapp.realm.dart similarity index 100% rename from packages/realm_dart/example/bin/myapp.realm.dart rename to realm/packages/realm_dart/example/bin/myapp.realm.dart diff --git a/packages/realm_dart/example/pubspec.yaml b/realm/packages/realm_dart/example/pubspec.yaml similarity index 100% rename from packages/realm_dart/example/pubspec.yaml rename to realm/packages/realm_dart/example/pubspec.yaml diff --git a/packages/realm_dart/ffigen.yaml b/realm/packages/realm_dart/ffigen.yaml similarity index 100% rename from packages/realm_dart/ffigen.yaml rename to realm/packages/realm_dart/ffigen.yaml diff --git a/packages/realm_dart/lib/realm.dart b/realm/packages/realm_dart/lib/realm.dart similarity index 100% rename from packages/realm_dart/lib/realm.dart rename to realm/packages/realm_dart/lib/realm.dart diff --git a/packages/realm_dart/lib/src/app.dart b/realm/packages/realm_dart/lib/src/app.dart similarity index 100% rename from packages/realm_dart/lib/src/app.dart rename to realm/packages/realm_dart/lib/src/app.dart diff --git a/packages/realm_dart/lib/src/cli/archive/archive_command.dart b/realm/packages/realm_dart/lib/src/cli/archive/archive_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/archive/archive_command.dart rename to realm/packages/realm_dart/lib/src/cli/archive/archive_command.dart diff --git a/packages/realm_dart/lib/src/cli/archive/options.dart b/realm/packages/realm_dart/lib/src/cli/archive/options.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/archive/options.dart rename to realm/packages/realm_dart/lib/src/cli/archive/options.dart diff --git a/packages/realm_dart/lib/src/cli/archive/options.g.dart b/realm/packages/realm_dart/lib/src/cli/archive/options.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/archive/options.g.dart rename to realm/packages/realm_dart/lib/src/cli/archive/options.g.dart diff --git a/packages/realm_dart/lib/src/cli/atlas_apps/baas_client.dart b/realm/packages/realm_dart/lib/src/cli/atlas_apps/baas_client.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/atlas_apps/baas_client.dart rename to realm/packages/realm_dart/lib/src/cli/atlas_apps/baas_client.dart diff --git a/packages/realm_dart/lib/src/cli/atlas_apps/deleteapps_command.dart b/realm/packages/realm_dart/lib/src/cli/atlas_apps/deleteapps_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/atlas_apps/deleteapps_command.dart rename to realm/packages/realm_dart/lib/src/cli/atlas_apps/deleteapps_command.dart diff --git a/packages/realm_dart/lib/src/cli/atlas_apps/deployapps_command.dart b/realm/packages/realm_dart/lib/src/cli/atlas_apps/deployapps_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/atlas_apps/deployapps_command.dart rename to realm/packages/realm_dart/lib/src/cli/atlas_apps/deployapps_command.dart diff --git a/packages/realm_dart/lib/src/cli/atlas_apps/options.dart b/realm/packages/realm_dart/lib/src/cli/atlas_apps/options.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/atlas_apps/options.dart rename to realm/packages/realm_dart/lib/src/cli/atlas_apps/options.dart diff --git a/packages/realm_dart/lib/src/cli/atlas_apps/options.g.dart b/realm/packages/realm_dart/lib/src/cli/atlas_apps/options.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/atlas_apps/options.g.dart rename to realm/packages/realm_dart/lib/src/cli/atlas_apps/options.g.dart diff --git a/packages/realm_dart/lib/src/cli/common/archive.dart b/realm/packages/realm_dart/lib/src/cli/common/archive.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/common/archive.dart rename to realm/packages/realm_dart/lib/src/cli/common/archive.dart diff --git a/packages/realm_dart/lib/src/cli/common/target_os_type.dart b/realm/packages/realm_dart/lib/src/cli/common/target_os_type.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/common/target_os_type.dart rename to realm/packages/realm_dart/lib/src/cli/common/target_os_type.dart diff --git a/packages/realm_dart/lib/src/cli/common/utils.dart b/realm/packages/realm_dart/lib/src/cli/common/utils.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/common/utils.dart rename to realm/packages/realm_dart/lib/src/cli/common/utils.dart diff --git a/packages/realm_dart/lib/src/cli/extract/extract_command.dart b/realm/packages/realm_dart/lib/src/cli/extract/extract_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/extract/extract_command.dart rename to realm/packages/realm_dart/lib/src/cli/extract/extract_command.dart diff --git a/packages/realm_dart/lib/src/cli/extract/options.dart b/realm/packages/realm_dart/lib/src/cli/extract/options.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/extract/options.dart rename to realm/packages/realm_dart/lib/src/cli/extract/options.dart diff --git a/packages/realm_dart/lib/src/cli/extract/options.g.dart b/realm/packages/realm_dart/lib/src/cli/extract/options.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/extract/options.g.dart rename to realm/packages/realm_dart/lib/src/cli/extract/options.g.dart diff --git a/packages/realm_dart/lib/src/cli/generate/generate_command.dart b/realm/packages/realm_dart/lib/src/cli/generate/generate_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/generate/generate_command.dart rename to realm/packages/realm_dart/lib/src/cli/generate/generate_command.dart diff --git a/packages/realm_dart/lib/src/cli/generate/options.dart b/realm/packages/realm_dart/lib/src/cli/generate/options.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/generate/options.dart rename to realm/packages/realm_dart/lib/src/cli/generate/options.dart diff --git a/packages/realm_dart/lib/src/cli/generate/options.g.dart b/realm/packages/realm_dart/lib/src/cli/generate/options.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/generate/options.g.dart rename to realm/packages/realm_dart/lib/src/cli/generate/options.g.dart diff --git a/packages/realm_dart/lib/src/cli/install/install_command.dart b/realm/packages/realm_dart/lib/src/cli/install/install_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/install/install_command.dart rename to realm/packages/realm_dart/lib/src/cli/install/install_command.dart diff --git a/packages/realm_dart/lib/src/cli/install/options.dart b/realm/packages/realm_dart/lib/src/cli/install/options.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/install/options.dart rename to realm/packages/realm_dart/lib/src/cli/install/options.dart diff --git a/packages/realm_dart/lib/src/cli/install/options.g.dart b/realm/packages/realm_dart/lib/src/cli/install/options.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/install/options.g.dart rename to realm/packages/realm_dart/lib/src/cli/install/options.g.dart diff --git a/packages/realm_dart/lib/src/cli/main.dart b/realm/packages/realm_dart/lib/src/cli/main.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/main.dart rename to realm/packages/realm_dart/lib/src/cli/main.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/flutter_info.dart b/realm/packages/realm_dart/lib/src/cli/metrics/flutter_info.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/flutter_info.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/flutter_info.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/flutter_info.g.dart b/realm/packages/realm_dart/lib/src/cli/metrics/flutter_info.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/flutter_info.g.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/flutter_info.g.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/metrics.dart b/realm/packages/realm_dart/lib/src/cli/metrics/metrics.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/metrics.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/metrics.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/metrics.g.dart b/realm/packages/realm_dart/lib/src/cli/metrics/metrics.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/metrics.g.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/metrics.g.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart b/realm/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/metrics_command.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/options.dart b/realm/packages/realm_dart/lib/src/cli/metrics/options.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/options.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/options.dart diff --git a/packages/realm_dart/lib/src/cli/metrics/options.g.dart b/realm/packages/realm_dart/lib/src/cli/metrics/options.g.dart similarity index 100% rename from packages/realm_dart/lib/src/cli/metrics/options.g.dart rename to realm/packages/realm_dart/lib/src/cli/metrics/options.g.dart diff --git a/packages/realm_dart/lib/src/collections.dart b/realm/packages/realm_dart/lib/src/collections.dart similarity index 100% rename from packages/realm_dart/lib/src/collections.dart rename to realm/packages/realm_dart/lib/src/collections.dart diff --git a/packages/realm_dart/lib/src/configuration.dart b/realm/packages/realm_dart/lib/src/configuration.dart similarity index 100% rename from packages/realm_dart/lib/src/configuration.dart rename to realm/packages/realm_dart/lib/src/configuration.dart diff --git a/packages/realm_dart/lib/src/credentials.dart b/realm/packages/realm_dart/lib/src/credentials.dart similarity index 100% rename from packages/realm_dart/lib/src/credentials.dart rename to realm/packages/realm_dart/lib/src/credentials.dart diff --git a/packages/realm_dart/lib/src/init.dart b/realm/packages/realm_dart/lib/src/init.dart similarity index 100% rename from packages/realm_dart/lib/src/init.dart rename to realm/packages/realm_dart/lib/src/init.dart diff --git a/packages/realm_dart/lib/src/list.dart b/realm/packages/realm_dart/lib/src/list.dart similarity index 100% rename from packages/realm_dart/lib/src/list.dart rename to realm/packages/realm_dart/lib/src/list.dart diff --git a/packages/realm_dart/lib/src/map.dart b/realm/packages/realm_dart/lib/src/map.dart similarity index 100% rename from packages/realm_dart/lib/src/map.dart rename to realm/packages/realm_dart/lib/src/map.dart diff --git a/packages/realm_dart/lib/src/migration.dart b/realm/packages/realm_dart/lib/src/migration.dart similarity index 100% rename from packages/realm_dart/lib/src/migration.dart rename to realm/packages/realm_dart/lib/src/migration.dart diff --git a/packages/realm_dart/lib/src/native/decimal128.dart b/realm/packages/realm_dart/lib/src/native/decimal128.dart similarity index 100% rename from packages/realm_dart/lib/src/native/decimal128.dart rename to realm/packages/realm_dart/lib/src/native/decimal128.dart diff --git a/packages/realm_dart/lib/src/native/realm_bindings.dart b/realm/packages/realm_dart/lib/src/native/realm_bindings.dart similarity index 100% rename from packages/realm_dart/lib/src/native/realm_bindings.dart rename to realm/packages/realm_dart/lib/src/native/realm_bindings.dart diff --git a/packages/realm_dart/lib/src/native/realm_core.dart b/realm/packages/realm_dart/lib/src/native/realm_core.dart similarity index 100% rename from packages/realm_dart/lib/src/native/realm_core.dart rename to realm/packages/realm_dart/lib/src/native/realm_core.dart diff --git a/packages/realm_dart/lib/src/realm_class.dart b/realm/packages/realm_dart/lib/src/realm_class.dart similarity index 100% rename from packages/realm_dart/lib/src/realm_class.dart rename to realm/packages/realm_dart/lib/src/realm_class.dart diff --git a/packages/realm_dart/lib/src/realm_dart.dart b/realm/packages/realm_dart/lib/src/realm_dart.dart similarity index 100% rename from packages/realm_dart/lib/src/realm_dart.dart rename to realm/packages/realm_dart/lib/src/realm_dart.dart diff --git a/packages/realm_dart/lib/src/realm_flutter.dart b/realm/packages/realm_dart/lib/src/realm_flutter.dart similarity index 100% rename from packages/realm_dart/lib/src/realm_flutter.dart rename to realm/packages/realm_dart/lib/src/realm_flutter.dart diff --git a/packages/realm_dart/lib/src/realm_object.dart b/realm/packages/realm_dart/lib/src/realm_object.dart similarity index 100% rename from packages/realm_dart/lib/src/realm_object.dart rename to realm/packages/realm_dart/lib/src/realm_object.dart diff --git a/packages/realm_dart/lib/src/realm_property.dart b/realm/packages/realm_dart/lib/src/realm_property.dart similarity index 100% rename from packages/realm_dart/lib/src/realm_property.dart rename to realm/packages/realm_dart/lib/src/realm_property.dart diff --git a/packages/realm_dart/lib/src/results.dart b/realm/packages/realm_dart/lib/src/results.dart similarity index 100% rename from packages/realm_dart/lib/src/results.dart rename to realm/packages/realm_dart/lib/src/results.dart diff --git a/packages/realm_dart/lib/src/scheduler.dart b/realm/packages/realm_dart/lib/src/scheduler.dart similarity index 100% rename from packages/realm_dart/lib/src/scheduler.dart rename to realm/packages/realm_dart/lib/src/scheduler.dart diff --git a/packages/realm_dart/lib/src/session.dart b/realm/packages/realm_dart/lib/src/session.dart similarity index 100% rename from packages/realm_dart/lib/src/session.dart rename to realm/packages/realm_dart/lib/src/session.dart diff --git a/packages/realm_dart/lib/src/set.dart b/realm/packages/realm_dart/lib/src/set.dart similarity index 100% rename from packages/realm_dart/lib/src/set.dart rename to realm/packages/realm_dart/lib/src/set.dart diff --git a/packages/realm_dart/lib/src/subscription.dart b/realm/packages/realm_dart/lib/src/subscription.dart similarity index 100% rename from packages/realm_dart/lib/src/subscription.dart rename to realm/packages/realm_dart/lib/src/subscription.dart diff --git a/packages/realm_dart/lib/src/user.dart b/realm/packages/realm_dart/lib/src/user.dart similarity index 100% rename from packages/realm_dart/lib/src/user.dart rename to realm/packages/realm_dart/lib/src/user.dart diff --git a/packages/realm_dart/pubspec.yaml b/realm/packages/realm_dart/pubspec.yaml similarity index 100% rename from packages/realm_dart/pubspec.yaml rename to realm/packages/realm_dart/pubspec.yaml diff --git a/packages/realm_dart/scripts/build-android.bat b/realm/packages/realm_dart/scripts/build-android.bat similarity index 100% rename from packages/realm_dart/scripts/build-android.bat rename to realm/packages/realm_dart/scripts/build-android.bat diff --git a/packages/realm_dart/scripts/build-android.sh b/realm/packages/realm_dart/scripts/build-android.sh similarity index 100% rename from packages/realm_dart/scripts/build-android.sh rename to realm/packages/realm_dart/scripts/build-android.sh diff --git a/packages/realm_dart/scripts/build-ios.sh b/realm/packages/realm_dart/scripts/build-ios.sh similarity index 100% rename from packages/realm_dart/scripts/build-ios.sh rename to realm/packages/realm_dart/scripts/build-ios.sh diff --git a/packages/realm_dart/scripts/build-linux.sh b/realm/packages/realm_dart/scripts/build-linux.sh similarity index 100% rename from packages/realm_dart/scripts/build-linux.sh rename to realm/packages/realm_dart/scripts/build-linux.sh diff --git a/packages/realm_dart/scripts/build-macos.sh b/realm/packages/realm_dart/scripts/build-macos.sh similarity index 100% rename from packages/realm_dart/scripts/build-macos.sh rename to realm/packages/realm_dart/scripts/build-macos.sh diff --git a/packages/realm_dart/scripts/build.bat b/realm/packages/realm_dart/scripts/build.bat similarity index 100% rename from packages/realm_dart/scripts/build.bat rename to realm/packages/realm_dart/scripts/build.bat diff --git a/packages/realm_dart/scripts/cmake-build-xcode.sh b/realm/packages/realm_dart/scripts/cmake-build-xcode.sh similarity index 100% rename from packages/realm_dart/scripts/cmake-build-xcode.sh rename to realm/packages/realm_dart/scripts/cmake-build-xcode.sh diff --git a/packages/realm_dart/scripts/launch-c.in b/realm/packages/realm_dart/scripts/launch-c.in similarity index 100% rename from packages/realm_dart/scripts/launch-c.in rename to realm/packages/realm_dart/scripts/launch-c.in diff --git a/packages/realm_dart/scripts/launch-cxx.in b/realm/packages/realm_dart/scripts/launch-cxx.in similarity index 100% rename from packages/realm_dart/scripts/launch-cxx.in rename to realm/packages/realm_dart/scripts/launch-cxx.in diff --git a/packages/realm_dart/src/CMakeLists.txt b/realm/packages/realm_dart/src/CMakeLists.txt similarity index 100% rename from packages/realm_dart/src/CMakeLists.txt rename to realm/packages/realm_dart/src/CMakeLists.txt diff --git a/packages/realm_dart/src/android/platform.cpp b/realm/packages/realm_dart/src/android/platform.cpp similarity index 100% rename from packages/realm_dart/src/android/platform.cpp rename to realm/packages/realm_dart/src/android/platform.cpp diff --git a/packages/realm_dart/src/android/platform.h b/realm/packages/realm_dart/src/android/platform.h similarity index 100% rename from packages/realm_dart/src/android/platform.h rename to realm/packages/realm_dart/src/android/platform.h diff --git a/packages/realm_dart/src/dart-dl/CMakeLists.txt b/realm/packages/realm_dart/src/dart-dl/CMakeLists.txt similarity index 100% rename from packages/realm_dart/src/dart-dl/CMakeLists.txt rename to realm/packages/realm_dart/src/dart-dl/CMakeLists.txt diff --git a/packages/realm_dart/src/dart-dl/dart_api.h b/realm/packages/realm_dart/src/dart-dl/dart_api.h similarity index 100% rename from packages/realm_dart/src/dart-dl/dart_api.h rename to realm/packages/realm_dart/src/dart-dl/dart_api.h diff --git a/packages/realm_dart/src/dart-dl/dart_api_dl.c b/realm/packages/realm_dart/src/dart-dl/dart_api_dl.c similarity index 100% rename from packages/realm_dart/src/dart-dl/dart_api_dl.c rename to realm/packages/realm_dart/src/dart-dl/dart_api_dl.c diff --git a/packages/realm_dart/src/dart-dl/dart_api_dl.h b/realm/packages/realm_dart/src/dart-dl/dart_api_dl.h similarity index 100% rename from packages/realm_dart/src/dart-dl/dart_api_dl.h rename to realm/packages/realm_dart/src/dart-dl/dart_api_dl.h diff --git a/packages/realm_dart/src/dart-dl/dart_native_api.h b/realm/packages/realm_dart/src/dart-dl/dart_native_api.h similarity index 100% rename from packages/realm_dart/src/dart-dl/dart_native_api.h rename to realm/packages/realm_dart/src/dart-dl/dart_native_api.h diff --git a/packages/realm_dart/src/dart-dl/dart_version.h b/realm/packages/realm_dart/src/dart-dl/dart_version.h similarity index 100% rename from packages/realm_dart/src/dart-dl/dart_version.h rename to realm/packages/realm_dart/src/dart-dl/dart_version.h diff --git a/packages/realm_dart/src/dart-dl/internal/dart_api_dl_impl.h b/realm/packages/realm_dart/src/dart-dl/internal/dart_api_dl_impl.h similarity index 100% rename from packages/realm_dart/src/dart-dl/internal/dart_api_dl_impl.h rename to realm/packages/realm_dart/src/dart-dl/internal/dart_api_dl_impl.h diff --git a/packages/realm_dart/src/ios/platform.mm b/realm/packages/realm_dart/src/ios/platform.mm similarity index 100% rename from packages/realm_dart/src/ios/platform.mm rename to realm/packages/realm_dart/src/ios/platform.mm diff --git a/packages/realm_dart/src/realm-core b/realm/packages/realm_dart/src/realm-core similarity index 100% rename from packages/realm_dart/src/realm-core rename to realm/packages/realm_dart/src/realm-core diff --git a/packages/realm_dart/src/realm.build.use.ccache.cmake b/realm/packages/realm_dart/src/realm.build.use.ccache.cmake similarity index 100% rename from packages/realm_dart/src/realm.build.use.ccache.cmake rename to realm/packages/realm_dart/src/realm.build.use.ccache.cmake diff --git a/packages/realm_dart/src/realm_dart.cpp b/realm/packages/realm_dart/src/realm_dart.cpp similarity index 100% rename from packages/realm_dart/src/realm_dart.cpp rename to realm/packages/realm_dart/src/realm_dart.cpp diff --git a/packages/realm_dart/src/realm_dart.h b/realm/packages/realm_dart/src/realm_dart.h similarity index 100% rename from packages/realm_dart/src/realm_dart.h rename to realm/packages/realm_dart/src/realm_dart.h diff --git a/packages/realm_dart/src/realm_dart.hpp b/realm/packages/realm_dart/src/realm_dart.hpp similarity index 100% rename from packages/realm_dart/src/realm_dart.hpp rename to realm/packages/realm_dart/src/realm_dart.hpp diff --git a/packages/realm_dart/src/realm_dart_decimal128.cpp b/realm/packages/realm_dart/src/realm_dart_decimal128.cpp similarity index 100% rename from packages/realm_dart/src/realm_dart_decimal128.cpp rename to realm/packages/realm_dart/src/realm_dart_decimal128.cpp diff --git a/packages/realm_dart/src/realm_dart_decimal128.h b/realm/packages/realm_dart/src/realm_dart_decimal128.h similarity index 100% rename from packages/realm_dart/src/realm_dart_decimal128.h rename to realm/packages/realm_dart/src/realm_dart_decimal128.h diff --git a/packages/realm_dart/src/realm_dart_logger.cpp b/realm/packages/realm_dart/src/realm_dart_logger.cpp similarity index 100% rename from packages/realm_dart/src/realm_dart_logger.cpp rename to realm/packages/realm_dart/src/realm_dart_logger.cpp diff --git a/packages/realm_dart/src/realm_dart_logger.h b/realm/packages/realm_dart/src/realm_dart_logger.h similarity index 100% rename from packages/realm_dart/src/realm_dart_logger.h rename to realm/packages/realm_dart/src/realm_dart_logger.h diff --git a/packages/realm_dart/src/realm_dart_scheduler.cpp b/realm/packages/realm_dart/src/realm_dart_scheduler.cpp similarity index 100% rename from packages/realm_dart/src/realm_dart_scheduler.cpp rename to realm/packages/realm_dart/src/realm_dart_scheduler.cpp diff --git a/packages/realm_dart/src/realm_dart_scheduler.h b/realm/packages/realm_dart/src/realm_dart_scheduler.h similarity index 100% rename from packages/realm_dart/src/realm_dart_scheduler.h rename to realm/packages/realm_dart/src/realm_dart_scheduler.h diff --git a/packages/realm_dart/src/realm_dart_sync.cpp b/realm/packages/realm_dart/src/realm_dart_sync.cpp similarity index 100% rename from packages/realm_dart/src/realm_dart_sync.cpp rename to realm/packages/realm_dart/src/realm_dart_sync.cpp diff --git a/packages/realm_dart/src/realm_dart_sync.h b/realm/packages/realm_dart/src/realm_dart_sync.h similarity index 100% rename from packages/realm_dart/src/realm_dart_sync.h rename to realm/packages/realm_dart/src/realm_dart_sync.h diff --git a/packages/realm_dart/test/app_test.dart b/realm/packages/realm_dart/test/app_test.dart similarity index 100% rename from packages/realm_dart/test/app_test.dart rename to realm/packages/realm_dart/test/app_test.dart diff --git a/packages/realm_dart/test/asymmetric_test.dart b/realm/packages/realm_dart/test/asymmetric_test.dart similarity index 100% rename from packages/realm_dart/test/asymmetric_test.dart rename to realm/packages/realm_dart/test/asymmetric_test.dart diff --git a/packages/realm_dart/test/baas_helper.dart b/realm/packages/realm_dart/test/baas_helper.dart similarity index 100% rename from packages/realm_dart/test/baas_helper.dart rename to realm/packages/realm_dart/test/baas_helper.dart diff --git a/packages/realm_dart/test/backlinks_test.dart b/realm/packages/realm_dart/test/backlinks_test.dart similarity index 100% rename from packages/realm_dart/test/backlinks_test.dart rename to realm/packages/realm_dart/test/backlinks_test.dart diff --git a/packages/realm_dart/test/backlinks_test.realm.dart b/realm/packages/realm_dart/test/backlinks_test.realm.dart similarity index 100% rename from packages/realm_dart/test/backlinks_test.realm.dart rename to realm/packages/realm_dart/test/backlinks_test.realm.dart diff --git a/packages/realm_dart/test/client_reset_test.dart b/realm/packages/realm_dart/test/client_reset_test.dart similarity index 100% rename from packages/realm_dart/test/client_reset_test.dart rename to realm/packages/realm_dart/test/client_reset_test.dart diff --git a/packages/realm_dart/test/configuration_test.dart b/realm/packages/realm_dart/test/configuration_test.dart similarity index 100% rename from packages/realm_dart/test/configuration_test.dart rename to realm/packages/realm_dart/test/configuration_test.dart diff --git a/packages/realm_dart/test/credentials_test.dart b/realm/packages/realm_dart/test/credentials_test.dart similarity index 100% rename from packages/realm_dart/test/credentials_test.dart rename to realm/packages/realm_dart/test/credentials_test.dart diff --git a/packages/realm_dart/test/data/realm_files/old-format.realm b/realm/packages/realm_dart/test/data/realm_files/old-format.realm similarity index 100% rename from packages/realm_dart/test/data/realm_files/old-format.realm rename to realm/packages/realm_dart/test/data/realm_files/old-format.realm diff --git a/packages/realm_dart/test/decimal128_test.dart b/realm/packages/realm_dart/test/decimal128_test.dart similarity index 100% rename from packages/realm_dart/test/decimal128_test.dart rename to realm/packages/realm_dart/test/decimal128_test.dart diff --git a/packages/realm_dart/test/dynamic_realm_test.dart b/realm/packages/realm_dart/test/dynamic_realm_test.dart similarity index 100% rename from packages/realm_dart/test/dynamic_realm_test.dart rename to realm/packages/realm_dart/test/dynamic_realm_test.dart diff --git a/packages/realm_dart/test/embedded_test.dart b/realm/packages/realm_dart/test/embedded_test.dart similarity index 100% rename from packages/realm_dart/test/embedded_test.dart rename to realm/packages/realm_dart/test/embedded_test.dart diff --git a/packages/realm_dart/test/geospatial_test.dart b/realm/packages/realm_dart/test/geospatial_test.dart similarity index 100% rename from packages/realm_dart/test/geospatial_test.dart rename to realm/packages/realm_dart/test/geospatial_test.dart diff --git a/packages/realm_dart/test/geospatial_test.realm.dart b/realm/packages/realm_dart/test/geospatial_test.realm.dart similarity index 100% rename from packages/realm_dart/test/geospatial_test.realm.dart rename to realm/packages/realm_dart/test/geospatial_test.realm.dart diff --git a/packages/realm_dart/test/indexed_test.dart b/realm/packages/realm_dart/test/indexed_test.dart similarity index 100% rename from packages/realm_dart/test/indexed_test.dart rename to realm/packages/realm_dart/test/indexed_test.dart diff --git a/packages/realm_dart/test/indexed_test.realm.dart b/realm/packages/realm_dart/test/indexed_test.realm.dart similarity index 100% rename from packages/realm_dart/test/indexed_test.realm.dart rename to realm/packages/realm_dart/test/indexed_test.realm.dart diff --git a/packages/realm_dart/test/list_test.dart b/realm/packages/realm_dart/test/list_test.dart similarity index 100% rename from packages/realm_dart/test/list_test.dart rename to realm/packages/realm_dart/test/list_test.dart diff --git a/packages/realm_dart/test/manual_test.dart b/realm/packages/realm_dart/test/manual_test.dart similarity index 100% rename from packages/realm_dart/test/manual_test.dart rename to realm/packages/realm_dart/test/manual_test.dart diff --git a/packages/realm_dart/test/migration_test.dart b/realm/packages/realm_dart/test/migration_test.dart similarity index 100% rename from packages/realm_dart/test/migration_test.dart rename to realm/packages/realm_dart/test/migration_test.dart diff --git a/packages/realm_dart/test/migration_test.realm.dart b/realm/packages/realm_dart/test/migration_test.realm.dart similarity index 100% rename from packages/realm_dart/test/migration_test.realm.dart rename to realm/packages/realm_dart/test/migration_test.realm.dart diff --git a/packages/realm_dart/test/realm_logger_test.dart b/realm/packages/realm_dart/test/realm_logger_test.dart similarity index 100% rename from packages/realm_dart/test/realm_logger_test.dart rename to realm/packages/realm_dart/test/realm_logger_test.dart diff --git a/packages/realm_dart/test/realm_map_test.dart b/realm/packages/realm_dart/test/realm_map_test.dart similarity index 100% rename from packages/realm_dart/test/realm_map_test.dart rename to realm/packages/realm_dart/test/realm_map_test.dart diff --git a/packages/realm_dart/test/realm_map_test.realm.dart b/realm/packages/realm_dart/test/realm_map_test.realm.dart similarity index 100% rename from packages/realm_dart/test/realm_map_test.realm.dart rename to realm/packages/realm_dart/test/realm_map_test.realm.dart diff --git a/packages/realm_dart/test/realm_object_test.dart b/realm/packages/realm_dart/test/realm_object_test.dart similarity index 100% rename from packages/realm_dart/test/realm_object_test.dart rename to realm/packages/realm_dart/test/realm_object_test.dart diff --git a/packages/realm_dart/test/realm_object_test.realm.dart b/realm/packages/realm_dart/test/realm_object_test.realm.dart similarity index 100% rename from packages/realm_dart/test/realm_object_test.realm.dart rename to realm/packages/realm_dart/test/realm_object_test.realm.dart diff --git a/packages/realm_dart/test/realm_set_test.dart b/realm/packages/realm_dart/test/realm_set_test.dart similarity index 100% rename from packages/realm_dart/test/realm_set_test.dart rename to realm/packages/realm_dart/test/realm_set_test.dart diff --git a/packages/realm_dart/test/realm_set_test.realm.dart b/realm/packages/realm_dart/test/realm_set_test.realm.dart similarity index 100% rename from packages/realm_dart/test/realm_set_test.realm.dart rename to realm/packages/realm_dart/test/realm_set_test.realm.dart diff --git a/packages/realm_dart/test/realm_test.dart b/realm/packages/realm_dart/test/realm_test.dart similarity index 100% rename from packages/realm_dart/test/realm_test.dart rename to realm/packages/realm_dart/test/realm_test.dart diff --git a/packages/realm_dart/test/realm_value_test.dart b/realm/packages/realm_dart/test/realm_value_test.dart similarity index 100% rename from packages/realm_dart/test/realm_value_test.dart rename to realm/packages/realm_dart/test/realm_value_test.dart diff --git a/packages/realm_dart/test/realm_value_test.realm.dart b/realm/packages/realm_dart/test/realm_value_test.realm.dart similarity index 100% rename from packages/realm_dart/test/realm_value_test.realm.dart rename to realm/packages/realm_dart/test/realm_value_test.realm.dart diff --git a/packages/realm_dart/test/results_test.dart b/realm/packages/realm_dart/test/results_test.dart similarity index 100% rename from packages/realm_dart/test/results_test.dart rename to realm/packages/realm_dart/test/results_test.dart diff --git a/packages/realm_dart/test/session_test.dart b/realm/packages/realm_dart/test/session_test.dart similarity index 100% rename from packages/realm_dart/test/session_test.dart rename to realm/packages/realm_dart/test/session_test.dart diff --git a/packages/realm_dart/test/subscription_test.dart b/realm/packages/realm_dart/test/subscription_test.dart similarity index 100% rename from packages/realm_dart/test/subscription_test.dart rename to realm/packages/realm_dart/test/subscription_test.dart diff --git a/packages/realm_dart/test/test.dart b/realm/packages/realm_dart/test/test.dart similarity index 100% rename from packages/realm_dart/test/test.dart rename to realm/packages/realm_dart/test/test.dart diff --git a/packages/realm_dart/test/test.realm.dart b/realm/packages/realm_dart/test/test.realm.dart similarity index 100% rename from packages/realm_dart/test/test.realm.dart rename to realm/packages/realm_dart/test/test.realm.dart diff --git a/packages/realm_dart/test/user_test.dart b/realm/packages/realm_dart/test/user_test.dart similarity index 100% rename from packages/realm_dart/test/user_test.dart rename to realm/packages/realm_dart/test/user_test.dart diff --git a/packages/realm_generator/.vscode/launch.json b/realm/packages/realm_generator/.vscode/launch.json similarity index 100% rename from packages/realm_generator/.vscode/launch.json rename to realm/packages/realm_generator/.vscode/launch.json diff --git a/packages/realm_generator/.vscode/tasks.json b/realm/packages/realm_generator/.vscode/tasks.json similarity index 100% rename from packages/realm_generator/.vscode/tasks.json rename to realm/packages/realm_generator/.vscode/tasks.json diff --git a/packages/realm_generator/CHANGELOG.md b/realm/packages/realm_generator/CHANGELOG.md similarity index 100% rename from packages/realm_generator/CHANGELOG.md rename to realm/packages/realm_generator/CHANGELOG.md diff --git a/packages/realm_generator/CONTRIBUTING.md b/realm/packages/realm_generator/CONTRIBUTING.md similarity index 100% rename from packages/realm_generator/CONTRIBUTING.md rename to realm/packages/realm_generator/CONTRIBUTING.md diff --git a/packages/realm_generator/LICENSE b/realm/packages/realm_generator/LICENSE similarity index 100% rename from packages/realm_generator/LICENSE rename to realm/packages/realm_generator/LICENSE diff --git a/packages/realm_generator/README.md b/realm/packages/realm_generator/README.md similarity index 100% rename from packages/realm_generator/README.md rename to realm/packages/realm_generator/README.md diff --git a/packages/realm_generator/analysis_options.yaml b/realm/packages/realm_generator/analysis_options.yaml similarity index 100% rename from packages/realm_generator/analysis_options.yaml rename to realm/packages/realm_generator/analysis_options.yaml diff --git a/packages/realm_generator/build.yaml b/realm/packages/realm_generator/build.yaml similarity index 100% rename from packages/realm_generator/build.yaml rename to realm/packages/realm_generator/build.yaml diff --git a/packages/realm_generator/dartdoc_options.yaml b/realm/packages/realm_generator/dartdoc_options.yaml similarity index 100% rename from packages/realm_generator/dartdoc_options.yaml rename to realm/packages/realm_generator/dartdoc_options.yaml diff --git a/packages/realm_generator/lib/realm_generator.dart b/realm/packages/realm_generator/lib/realm_generator.dart similarity index 100% rename from packages/realm_generator/lib/realm_generator.dart rename to realm/packages/realm_generator/lib/realm_generator.dart diff --git a/packages/realm_generator/lib/src/annotation_value.dart b/realm/packages/realm_generator/lib/src/annotation_value.dart similarity index 100% rename from packages/realm_generator/lib/src/annotation_value.dart rename to realm/packages/realm_generator/lib/src/annotation_value.dart diff --git a/packages/realm_generator/lib/src/class_element_ex.dart b/realm/packages/realm_generator/lib/src/class_element_ex.dart similarity index 100% rename from packages/realm_generator/lib/src/class_element_ex.dart rename to realm/packages/realm_generator/lib/src/class_element_ex.dart diff --git a/packages/realm_generator/lib/src/dart_type_ex.dart b/realm/packages/realm_generator/lib/src/dart_type_ex.dart similarity index 100% rename from packages/realm_generator/lib/src/dart_type_ex.dart rename to realm/packages/realm_generator/lib/src/dart_type_ex.dart diff --git a/packages/realm_generator/lib/src/element.dart b/realm/packages/realm_generator/lib/src/element.dart similarity index 100% rename from packages/realm_generator/lib/src/element.dart rename to realm/packages/realm_generator/lib/src/element.dart diff --git a/packages/realm_generator/lib/src/error.dart b/realm/packages/realm_generator/lib/src/error.dart similarity index 100% rename from packages/realm_generator/lib/src/error.dart rename to realm/packages/realm_generator/lib/src/error.dart diff --git a/packages/realm_generator/lib/src/expanded_context_span.dart b/realm/packages/realm_generator/lib/src/expanded_context_span.dart similarity index 100% rename from packages/realm_generator/lib/src/expanded_context_span.dart rename to realm/packages/realm_generator/lib/src/expanded_context_span.dart diff --git a/packages/realm_generator/lib/src/field_element_ex.dart b/realm/packages/realm_generator/lib/src/field_element_ex.dart similarity index 100% rename from packages/realm_generator/lib/src/field_element_ex.dart rename to realm/packages/realm_generator/lib/src/field_element_ex.dart diff --git a/packages/realm_generator/lib/src/format_spans.dart b/realm/packages/realm_generator/lib/src/format_spans.dart similarity index 100% rename from packages/realm_generator/lib/src/format_spans.dart rename to realm/packages/realm_generator/lib/src/format_spans.dart diff --git a/packages/realm_generator/lib/src/measure.dart b/realm/packages/realm_generator/lib/src/measure.dart similarity index 100% rename from packages/realm_generator/lib/src/measure.dart rename to realm/packages/realm_generator/lib/src/measure.dart diff --git a/packages/realm_generator/lib/src/pseudo_type.dart b/realm/packages/realm_generator/lib/src/pseudo_type.dart similarity index 100% rename from packages/realm_generator/lib/src/pseudo_type.dart rename to realm/packages/realm_generator/lib/src/pseudo_type.dart diff --git a/packages/realm_generator/lib/src/realm_field_info.dart b/realm/packages/realm_generator/lib/src/realm_field_info.dart similarity index 100% rename from packages/realm_generator/lib/src/realm_field_info.dart rename to realm/packages/realm_generator/lib/src/realm_field_info.dart diff --git a/packages/realm_generator/lib/src/realm_model_info.dart b/realm/packages/realm_generator/lib/src/realm_model_info.dart similarity index 100% rename from packages/realm_generator/lib/src/realm_model_info.dart rename to realm/packages/realm_generator/lib/src/realm_model_info.dart diff --git a/packages/realm_generator/lib/src/realm_object_generator.dart b/realm/packages/realm_generator/lib/src/realm_object_generator.dart similarity index 100% rename from packages/realm_generator/lib/src/realm_object_generator.dart rename to realm/packages/realm_generator/lib/src/realm_object_generator.dart diff --git a/packages/realm_generator/lib/src/session.dart b/realm/packages/realm_generator/lib/src/session.dart similarity index 100% rename from packages/realm_generator/lib/src/session.dart rename to realm/packages/realm_generator/lib/src/session.dart diff --git a/packages/realm_generator/lib/src/type_checkers.dart b/realm/packages/realm_generator/lib/src/type_checkers.dart similarity index 100% rename from packages/realm_generator/lib/src/type_checkers.dart rename to realm/packages/realm_generator/lib/src/type_checkers.dart diff --git a/packages/realm_generator/lib/src/utils.dart b/realm/packages/realm_generator/lib/src/utils.dart similarity index 100% rename from packages/realm_generator/lib/src/utils.dart rename to realm/packages/realm_generator/lib/src/utils.dart diff --git a/packages/realm_generator/pubspec.yaml b/realm/packages/realm_generator/pubspec.yaml similarity index 100% rename from packages/realm_generator/pubspec.yaml rename to realm/packages/realm_generator/pubspec.yaml diff --git a/packages/realm_generator/test/common.dart b/realm/packages/realm_generator/test/common.dart similarity index 100% rename from packages/realm_generator/test/common.dart rename to realm/packages/realm_generator/test/common.dart diff --git a/packages/realm_generator/test/common.realm.dart b/realm/packages/realm_generator/test/common.realm.dart similarity index 100% rename from packages/realm_generator/test/common.realm.dart rename to realm/packages/realm_generator/test/common.realm.dart diff --git a/packages/realm_generator/test/error_test.dart b/realm/packages/realm_generator/test/error_test.dart similarity index 100% rename from packages/realm_generator/test/error_test.dart rename to realm/packages/realm_generator/test/error_test.dart diff --git a/packages/realm_generator/test/error_test.realm.dart b/realm/packages/realm_generator/test/error_test.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test.realm.dart rename to realm/packages/realm_generator/test/error_test.realm.dart diff --git a/packages/realm_generator/test/error_test_data/asymmetric_external_link.dart b/realm/packages/realm_generator/test/error_test_data/asymmetric_external_link.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/asymmetric_external_link.dart rename to realm/packages/realm_generator/test/error_test_data/asymmetric_external_link.dart diff --git a/packages/realm_generator/test/error_test_data/asymmetric_external_link.expected b/realm/packages/realm_generator/test/error_test_data/asymmetric_external_link.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/asymmetric_external_link.expected rename to realm/packages/realm_generator/test/error_test_data/asymmetric_external_link.expected diff --git a/packages/realm_generator/test/error_test_data/asymmetric_missing_pk.dart b/realm/packages/realm_generator/test/error_test_data/asymmetric_missing_pk.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/asymmetric_missing_pk.dart rename to realm/packages/realm_generator/test/error_test_data/asymmetric_missing_pk.dart diff --git a/packages/realm_generator/test/error_test_data/asymmetric_missing_pk.expected b/realm/packages/realm_generator/test/error_test_data/asymmetric_missing_pk.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/asymmetric_missing_pk.expected rename to realm/packages/realm_generator/test/error_test_data/asymmetric_missing_pk.expected diff --git a/packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.dart b/realm/packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.dart rename to realm/packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.dart diff --git a/packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.expected b/realm/packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.expected rename to realm/packages/realm_generator/test/error_test_data/asymmetric_wrong_pk.expected diff --git a/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.dart b/realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.expected b/realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.expected rename to realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.expected diff --git a/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.realm.dart b/realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.realm.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_incompatible_field.realm.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.dart b/realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.expected b/realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.expected rename to realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.expected diff --git a/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.realm.dart b/realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.realm.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_annotation_on_invalid_iterable.realm.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.dart b/realm/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_illegal_symbol.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.expected b/realm/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_illegal_symbol.expected rename to realm/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.expected diff --git a/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.realm.dart b/realm/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_illegal_symbol.realm.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_illegal_symbol.realm.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_incompatible_type.dart b/realm/packages/realm_generator/test/error_test_data/backlink_incompatible_type.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_incompatible_type.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_incompatible_type.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_incompatible_type.expected b/realm/packages/realm_generator/test/error_test_data/backlink_incompatible_type.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_incompatible_type.expected rename to realm/packages/realm_generator/test/error_test_data/backlink_incompatible_type.expected diff --git a/packages/realm_generator/test/error_test_data/backlink_incompatible_type.realm.dart b/realm/packages/realm_generator/test/error_test_data/backlink_incompatible_type.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_incompatible_type.realm.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_incompatible_type.realm.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.dart b/realm/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_unknown_symbol.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.dart diff --git a/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.expected b/realm/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_unknown_symbol.expected rename to realm/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.expected diff --git a/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.realm.dart b/realm/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/backlink_unknown_symbol.realm.dart rename to realm/packages/realm_generator/test/error_test_data/backlink_unknown_symbol.realm.dart diff --git a/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.dart b/realm/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.dart rename to realm/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.dart diff --git a/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.expected b/realm/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.expected rename to realm/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.expected diff --git a/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.realm.dart b/realm/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.realm.dart rename to realm/packages/realm_generator/test/error_test_data/bool_not_allowed_as_primary_key.realm.dart diff --git a/packages/realm_generator/test/error_test_data/date_primary_key.dart b/realm/packages/realm_generator/test/error_test_data/date_primary_key.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/date_primary_key.dart rename to realm/packages/realm_generator/test/error_test_data/date_primary_key.dart diff --git a/packages/realm_generator/test/error_test_data/date_primary_key.expected b/realm/packages/realm_generator/test/error_test_data/date_primary_key.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/date_primary_key.expected rename to realm/packages/realm_generator/test/error_test_data/date_primary_key.expected diff --git a/packages/realm_generator/test/error_test_data/date_primary_key.realm.dart b/realm/packages/realm_generator/test/error_test_data/date_primary_key.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/date_primary_key.realm.dart rename to realm/packages/realm_generator/test/error_test_data/date_primary_key.realm.dart diff --git a/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.dart b/realm/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/defining_both_class_prefixes.dart rename to realm/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.dart diff --git a/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.expected b/realm/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/defining_both_class_prefixes.expected rename to realm/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.expected diff --git a/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.realm.dart b/realm/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/defining_both_class_prefixes.realm.dart rename to realm/packages/realm_generator/test/error_test_data/defining_both_class_prefixes.realm.dart diff --git a/packages/realm_generator/test/error_test_data/dict_non_empty_initializer.dart b/realm/packages/realm_generator/test/error_test_data/dict_non_empty_initializer.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/dict_non_empty_initializer.dart rename to realm/packages/realm_generator/test/error_test_data/dict_non_empty_initializer.dart diff --git a/packages/realm_generator/test/error_test_data/dict_non_empty_initializer.expected b/realm/packages/realm_generator/test/error_test_data/dict_non_empty_initializer.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/dict_non_empty_initializer.expected rename to realm/packages/realm_generator/test/error_test_data/dict_non_empty_initializer.expected diff --git a/packages/realm_generator/test/error_test_data/double_primary_key.dart b/realm/packages/realm_generator/test/error_test_data/double_primary_key.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/double_primary_key.dart rename to realm/packages/realm_generator/test/error_test_data/double_primary_key.dart diff --git a/packages/realm_generator/test/error_test_data/double_primary_key.expected b/realm/packages/realm_generator/test/error_test_data/double_primary_key.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/double_primary_key.expected rename to realm/packages/realm_generator/test/error_test_data/double_primary_key.expected diff --git a/packages/realm_generator/test/error_test_data/double_primary_key.realm.dart b/realm/packages/realm_generator/test/error_test_data/double_primary_key.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/double_primary_key.realm.dart rename to realm/packages/realm_generator/test/error_test_data/double_primary_key.realm.dart diff --git a/packages/realm_generator/test/error_test_data/embedded_object_primary_key.dart b/realm/packages/realm_generator/test/error_test_data/embedded_object_primary_key.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/embedded_object_primary_key.dart rename to realm/packages/realm_generator/test/error_test_data/embedded_object_primary_key.dart diff --git a/packages/realm_generator/test/error_test_data/embedded_object_primary_key.expected b/realm/packages/realm_generator/test/error_test_data/embedded_object_primary_key.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/embedded_object_primary_key.expected rename to realm/packages/realm_generator/test/error_test_data/embedded_object_primary_key.expected diff --git a/packages/realm_generator/test/error_test_data/embedded_object_primary_key.realm.dart b/realm/packages/realm_generator/test/error_test_data/embedded_object_primary_key.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/embedded_object_primary_key.realm.dart rename to realm/packages/realm_generator/test/error_test_data/embedded_object_primary_key.realm.dart diff --git a/packages/realm_generator/test/error_test_data/fts_index_wrong_type.dart b/realm/packages/realm_generator/test/error_test_data/fts_index_wrong_type.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/fts_index_wrong_type.dart rename to realm/packages/realm_generator/test/error_test_data/fts_index_wrong_type.dart diff --git a/packages/realm_generator/test/error_test_data/fts_index_wrong_type.expected b/realm/packages/realm_generator/test/error_test_data/fts_index_wrong_type.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/fts_index_wrong_type.expected rename to realm/packages/realm_generator/test/error_test_data/fts_index_wrong_type.expected diff --git a/packages/realm_generator/test/error_test_data/fts_index_wrong_type.realm.dart b/realm/packages/realm_generator/test/error_test_data/fts_index_wrong_type.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/fts_index_wrong_type.realm.dart rename to realm/packages/realm_generator/test/error_test_data/fts_index_wrong_type.realm.dart diff --git a/packages/realm_generator/test/error_test_data/illigal_constructor.dart b/realm/packages/realm_generator/test/error_test_data/illigal_constructor.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/illigal_constructor.dart rename to realm/packages/realm_generator/test/error_test_data/illigal_constructor.dart diff --git a/packages/realm_generator/test/error_test_data/illigal_constructor.expected b/realm/packages/realm_generator/test/error_test_data/illigal_constructor.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/illigal_constructor.expected rename to realm/packages/realm_generator/test/error_test_data/illigal_constructor.expected diff --git a/packages/realm_generator/test/error_test_data/illigal_constructor.realm.dart b/realm/packages/realm_generator/test/error_test_data/illigal_constructor.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/illigal_constructor.realm.dart rename to realm/packages/realm_generator/test/error_test_data/illigal_constructor.realm.dart diff --git a/packages/realm_generator/test/error_test_data/invalid_extend.dart b/realm/packages/realm_generator/test/error_test_data/invalid_extend.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/invalid_extend.dart rename to realm/packages/realm_generator/test/error_test_data/invalid_extend.dart diff --git a/packages/realm_generator/test/error_test_data/invalid_extend.expected b/realm/packages/realm_generator/test/error_test_data/invalid_extend.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/invalid_extend.expected rename to realm/packages/realm_generator/test/error_test_data/invalid_extend.expected diff --git a/packages/realm_generator/test/error_test_data/invalid_extend.realm.dart b/realm/packages/realm_generator/test/error_test_data/invalid_extend.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/invalid_extend.realm.dart rename to realm/packages/realm_generator/test/error_test_data/invalid_extend.realm.dart diff --git a/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.dart b/realm/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/invalid_model_name_prefix.dart rename to realm/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.dart diff --git a/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.expected b/realm/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/invalid_model_name_prefix.expected rename to realm/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.expected diff --git a/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.realm.dart b/realm/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/invalid_model_name_prefix.realm.dart rename to realm/packages/realm_generator/test/error_test_data/invalid_model_name_prefix.realm.dart diff --git a/packages/realm_generator/test/error_test_data/list_non_empty_initializer.dart b/realm/packages/realm_generator/test/error_test_data/list_non_empty_initializer.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/list_non_empty_initializer.dart rename to realm/packages/realm_generator/test/error_test_data/list_non_empty_initializer.dart diff --git a/packages/realm_generator/test/error_test_data/list_non_empty_initializer.expected b/realm/packages/realm_generator/test/error_test_data/list_non_empty_initializer.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/list_non_empty_initializer.expected rename to realm/packages/realm_generator/test/error_test_data/list_non_empty_initializer.expected diff --git a/packages/realm_generator/test/error_test_data/list_of_list_not_supported.dart b/realm/packages/realm_generator/test/error_test_data/list_of_list_not_supported.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/list_of_list_not_supported.dart rename to realm/packages/realm_generator/test/error_test_data/list_of_list_not_supported.dart diff --git a/packages/realm_generator/test/error_test_data/list_of_list_not_supported.expected b/realm/packages/realm_generator/test/error_test_data/list_of_list_not_supported.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/list_of_list_not_supported.expected rename to realm/packages/realm_generator/test/error_test_data/list_of_list_not_supported.expected diff --git a/packages/realm_generator/test/error_test_data/list_of_list_not_supported.realm.dart b/realm/packages/realm_generator/test/error_test_data/list_of_list_not_supported.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/list_of_list_not_supported.realm.dart rename to realm/packages/realm_generator/test/error_test_data/list_of_list_not_supported.realm.dart diff --git a/packages/realm_generator/test/error_test_data/long_class_name.dart b/realm/packages/realm_generator/test/error_test_data/long_class_name.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/long_class_name.dart rename to realm/packages/realm_generator/test/error_test_data/long_class_name.dart diff --git a/packages/realm_generator/test/error_test_data/long_class_name.expected b/realm/packages/realm_generator/test/error_test_data/long_class_name.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/long_class_name.expected rename to realm/packages/realm_generator/test/error_test_data/long_class_name.expected diff --git a/packages/realm_generator/test/error_test_data/long_class_name.realm.dart b/realm/packages/realm_generator/test/error_test_data/long_class_name.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/long_class_name.realm.dart rename to realm/packages/realm_generator/test/error_test_data/long_class_name.realm.dart diff --git a/packages/realm_generator/test/error_test_data/long_mapped_to_name.dart b/realm/packages/realm_generator/test/error_test_data/long_mapped_to_name.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/long_mapped_to_name.dart rename to realm/packages/realm_generator/test/error_test_data/long_mapped_to_name.dart diff --git a/packages/realm_generator/test/error_test_data/long_mapped_to_name.expected b/realm/packages/realm_generator/test/error_test_data/long_mapped_to_name.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/long_mapped_to_name.expected rename to realm/packages/realm_generator/test/error_test_data/long_mapped_to_name.expected diff --git a/packages/realm_generator/test/error_test_data/long_mapped_to_name.realm.dart b/realm/packages/realm_generator/test/error_test_data/long_mapped_to_name.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/long_mapped_to_name.realm.dart rename to realm/packages/realm_generator/test/error_test_data/long_mapped_to_name.realm.dart diff --git a/packages/realm_generator/test/error_test_data/map_unsupported.dart b/realm/packages/realm_generator/test/error_test_data/map_unsupported.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/map_unsupported.dart rename to realm/packages/realm_generator/test/error_test_data/map_unsupported.dart diff --git a/packages/realm_generator/test/error_test_data/map_unsupported.expected b/realm/packages/realm_generator/test/error_test_data/map_unsupported.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/map_unsupported.expected rename to realm/packages/realm_generator/test/error_test_data/map_unsupported.expected diff --git a/packages/realm_generator/test/error_test_data/map_unsupported.realm.dart b/realm/packages/realm_generator/test/error_test_data/map_unsupported.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/map_unsupported.realm.dart rename to realm/packages/realm_generator/test/error_test_data/map_unsupported.realm.dart diff --git a/packages/realm_generator/test/error_test_data/missing_underscore.dart b/realm/packages/realm_generator/test/error_test_data/missing_underscore.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/missing_underscore.dart rename to realm/packages/realm_generator/test/error_test_data/missing_underscore.dart diff --git a/packages/realm_generator/test/error_test_data/missing_underscore.expected b/realm/packages/realm_generator/test/error_test_data/missing_underscore.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/missing_underscore.expected rename to realm/packages/realm_generator/test/error_test_data/missing_underscore.expected diff --git a/packages/realm_generator/test/error_test_data/missing_underscore.realm.dart b/realm/packages/realm_generator/test/error_test_data/missing_underscore.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/missing_underscore.realm.dart rename to realm/packages/realm_generator/test/error_test_data/missing_underscore.realm.dart diff --git a/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.dart b/realm/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.dart rename to realm/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.dart diff --git a/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.expected b/realm/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.expected rename to realm/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.expected diff --git a/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.realm.dart b/realm/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.realm.dart rename to realm/packages/realm_generator/test/error_test_data/non_nullable_realm_object_reference.realm.dart diff --git a/packages/realm_generator/test/error_test_data/not_a_realm_type.dart b/realm/packages/realm_generator/test/error_test_data/not_a_realm_type.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/not_a_realm_type.dart rename to realm/packages/realm_generator/test/error_test_data/not_a_realm_type.dart diff --git a/packages/realm_generator/test/error_test_data/not_a_realm_type.expected b/realm/packages/realm_generator/test/error_test_data/not_a_realm_type.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/not_a_realm_type.expected rename to realm/packages/realm_generator/test/error_test_data/not_a_realm_type.expected diff --git a/packages/realm_generator/test/error_test_data/not_a_realm_type.realm.dart b/realm/packages/realm_generator/test/error_test_data/not_a_realm_type.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/not_a_realm_type.realm.dart rename to realm/packages/realm_generator/test/error_test_data/not_a_realm_type.realm.dart diff --git a/packages/realm_generator/test/error_test_data/not_an_indexable_type.dart b/realm/packages/realm_generator/test/error_test_data/not_an_indexable_type.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/not_an_indexable_type.dart rename to realm/packages/realm_generator/test/error_test_data/not_an_indexable_type.dart diff --git a/packages/realm_generator/test/error_test_data/not_an_indexable_type.expected b/realm/packages/realm_generator/test/error_test_data/not_an_indexable_type.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/not_an_indexable_type.expected rename to realm/packages/realm_generator/test/error_test_data/not_an_indexable_type.expected diff --git a/packages/realm_generator/test/error_test_data/not_an_indexable_type.realm.dart b/realm/packages/realm_generator/test/error_test_data/not_an_indexable_type.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/not_an_indexable_type.realm.dart rename to realm/packages/realm_generator/test/error_test_data/not_an_indexable_type.realm.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_list.dart b/realm/packages/realm_generator/test/error_test_data/nullable_list.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_list.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_list.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_list.expected b/realm/packages/realm_generator/test/error_test_data/nullable_list.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_list.expected rename to realm/packages/realm_generator/test/error_test_data/nullable_list.expected diff --git a/packages/realm_generator/test/error_test_data/nullable_list.realm.dart b/realm/packages/realm_generator/test/error_test_data/nullable_list.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_list.realm.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_list.realm.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_list_elements.dart b/realm/packages/realm_generator/test/error_test_data/nullable_list_elements.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_list_elements.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_list_elements.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_list_elements.expected b/realm/packages/realm_generator/test/error_test_data/nullable_list_elements.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_list_elements.expected rename to realm/packages/realm_generator/test/error_test_data/nullable_list_elements.expected diff --git a/packages/realm_generator/test/error_test_data/nullable_list_elements.realm.dart b/realm/packages/realm_generator/test/error_test_data/nullable_list_elements.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_list_elements.realm.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_list_elements.realm.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_realm_value.dart b/realm/packages/realm_generator/test/error_test_data/nullable_realm_value.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_realm_value.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_realm_value.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_realm_value.expected b/realm/packages/realm_generator/test/error_test_data/nullable_realm_value.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_realm_value.expected rename to realm/packages/realm_generator/test/error_test_data/nullable_realm_value.expected diff --git a/packages/realm_generator/test/error_test_data/nullable_realm_value.realm.dart b/realm/packages/realm_generator/test/error_test_data/nullable_realm_value.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_realm_value.realm.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_realm_value.realm.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_set.dart b/realm/packages/realm_generator/test/error_test_data/nullable_set.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_set.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_set.dart diff --git a/packages/realm_generator/test/error_test_data/nullable_set.expected b/realm/packages/realm_generator/test/error_test_data/nullable_set.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_set.expected rename to realm/packages/realm_generator/test/error_test_data/nullable_set.expected diff --git a/packages/realm_generator/test/error_test_data/nullable_set.realm.dart b/realm/packages/realm_generator/test/error_test_data/nullable_set.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/nullable_set.realm.dart rename to realm/packages/realm_generator/test/error_test_data/nullable_set.realm.dart diff --git a/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.dart b/realm/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/realm_object_reference_default_values.dart rename to realm/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.dart diff --git a/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.expected b/realm/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/realm_object_reference_default_values.expected rename to realm/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.expected diff --git a/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.realm.dart b/realm/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/realm_object_reference_default_values.realm.dart rename to realm/packages/realm_generator/test/error_test_data/realm_object_reference_default_values.realm.dart diff --git a/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.dart b/realm/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.dart rename to realm/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.dart diff --git a/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.expected b/realm/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.expected rename to realm/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.expected diff --git a/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.realm.dart b/realm/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.realm.dart rename to realm/packages/realm_generator/test/error_test_data/realm_value_not_allowed_as_primary_key.realm.dart diff --git a/packages/realm_generator/test/error_test_data/repeated_class_annotations.dart b/realm/packages/realm_generator/test/error_test_data/repeated_class_annotations.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/repeated_class_annotations.dart rename to realm/packages/realm_generator/test/error_test_data/repeated_class_annotations.dart diff --git a/packages/realm_generator/test/error_test_data/repeated_class_annotations.expected b/realm/packages/realm_generator/test/error_test_data/repeated_class_annotations.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/repeated_class_annotations.expected rename to realm/packages/realm_generator/test/error_test_data/repeated_class_annotations.expected diff --git a/packages/realm_generator/test/error_test_data/repeated_class_annotations.realm.dart b/realm/packages/realm_generator/test/error_test_data/repeated_class_annotations.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/repeated_class_annotations.realm.dart rename to realm/packages/realm_generator/test/error_test_data/repeated_class_annotations.realm.dart diff --git a/packages/realm_generator/test/error_test_data/repeated_field_annotations.dart b/realm/packages/realm_generator/test/error_test_data/repeated_field_annotations.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/repeated_field_annotations.dart rename to realm/packages/realm_generator/test/error_test_data/repeated_field_annotations.dart diff --git a/packages/realm_generator/test/error_test_data/repeated_field_annotations.expected b/realm/packages/realm_generator/test/error_test_data/repeated_field_annotations.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/repeated_field_annotations.expected rename to realm/packages/realm_generator/test/error_test_data/repeated_field_annotations.expected diff --git a/packages/realm_generator/test/error_test_data/repeated_field_annotations.realm.dart b/realm/packages/realm_generator/test/error_test_data/repeated_field_annotations.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/repeated_field_annotations.realm.dart rename to realm/packages/realm_generator/test/error_test_data/repeated_field_annotations.realm.dart diff --git a/packages/realm_generator/test/error_test_data/set_non_empty_initializer.dart b/realm/packages/realm_generator/test/error_test_data/set_non_empty_initializer.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/set_non_empty_initializer.dart rename to realm/packages/realm_generator/test/error_test_data/set_non_empty_initializer.dart diff --git a/packages/realm_generator/test/error_test_data/set_non_empty_initializer.expected b/realm/packages/realm_generator/test/error_test_data/set_non_empty_initializer.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/set_non_empty_initializer.expected rename to realm/packages/realm_generator/test/error_test_data/set_non_empty_initializer.expected diff --git a/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.expected b/realm/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.expected rename to realm/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.expected diff --git a/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.realm.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.realm.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_non_realm_type_set.realm.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.expected b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.expected rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.expected diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.realm.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.realm.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmobject.realm.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.expected b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.expected rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.expected diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.realm.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.realm.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_of_nullable_realmvalue.realm.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.dart diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.expected b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.expected similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.expected rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.expected diff --git a/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.realm.dart b/realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.realm.dart similarity index 100% rename from packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.realm.dart rename to realm/packages/realm_generator/test/error_test_data/unsupported_realm_set_with_default_values.realm.dart diff --git a/packages/realm_generator/test/good_test.dart b/realm/packages/realm_generator/test/good_test.dart similarity index 100% rename from packages/realm_generator/test/good_test.dart rename to realm/packages/realm_generator/test/good_test.dart diff --git a/packages/realm_generator/test/good_test.realm.dart b/realm/packages/realm_generator/test/good_test.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test.realm.dart rename to realm/packages/realm_generator/test/good_test.realm.dart diff --git a/packages/realm_generator/test/good_test_data/all_types.dart b/realm/packages/realm_generator/test/good_test_data/all_types.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/all_types.dart rename to realm/packages/realm_generator/test/good_test_data/all_types.dart diff --git a/packages/realm_generator/test/good_test_data/all_types.expected b/realm/packages/realm_generator/test/good_test_data/all_types.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/all_types.expected rename to realm/packages/realm_generator/test/good_test_data/all_types.expected diff --git a/packages/realm_generator/test/good_test_data/all_types.realm.dart b/realm/packages/realm_generator/test/good_test_data/all_types.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/all_types.realm.dart rename to realm/packages/realm_generator/test/good_test_data/all_types.realm.dart diff --git a/packages/realm_generator/test/good_test_data/another_mapto.dart b/realm/packages/realm_generator/test/good_test_data/another_mapto.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/another_mapto.dart rename to realm/packages/realm_generator/test/good_test_data/another_mapto.dart diff --git a/packages/realm_generator/test/good_test_data/another_mapto.expected_multi b/realm/packages/realm_generator/test/good_test_data/another_mapto.expected_multi similarity index 100% rename from packages/realm_generator/test/good_test_data/another_mapto.expected_multi rename to realm/packages/realm_generator/test/good_test_data/another_mapto.expected_multi diff --git a/packages/realm_generator/test/good_test_data/another_mapto.realm.dart b/realm/packages/realm_generator/test/good_test_data/another_mapto.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/another_mapto.realm.dart rename to realm/packages/realm_generator/test/good_test_data/another_mapto.realm.dart diff --git a/packages/realm_generator/test/good_test_data/asymmetric_object.dart b/realm/packages/realm_generator/test/good_test_data/asymmetric_object.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/asymmetric_object.dart rename to realm/packages/realm_generator/test/good_test_data/asymmetric_object.dart diff --git a/packages/realm_generator/test/good_test_data/asymmetric_object.expected b/realm/packages/realm_generator/test/good_test_data/asymmetric_object.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/asymmetric_object.expected rename to realm/packages/realm_generator/test/good_test_data/asymmetric_object.expected diff --git a/packages/realm_generator/test/good_test_data/asymmetric_object.realm.dart b/realm/packages/realm_generator/test/good_test_data/asymmetric_object.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/asymmetric_object.realm.dart rename to realm/packages/realm_generator/test/good_test_data/asymmetric_object.realm.dart diff --git a/packages/realm_generator/test/good_test_data/binary_type.dart b/realm/packages/realm_generator/test/good_test_data/binary_type.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/binary_type.dart rename to realm/packages/realm_generator/test/good_test_data/binary_type.dart diff --git a/packages/realm_generator/test/good_test_data/binary_type.expected b/realm/packages/realm_generator/test/good_test_data/binary_type.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/binary_type.expected rename to realm/packages/realm_generator/test/good_test_data/binary_type.expected diff --git a/packages/realm_generator/test/good_test_data/binary_type.realm.dart b/realm/packages/realm_generator/test/good_test_data/binary_type.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/binary_type.realm.dart rename to realm/packages/realm_generator/test/good_test_data/binary_type.realm.dart diff --git a/packages/realm_generator/test/good_test_data/embedded_annotations.dart b/realm/packages/realm_generator/test/good_test_data/embedded_annotations.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/embedded_annotations.dart rename to realm/packages/realm_generator/test/good_test_data/embedded_annotations.dart diff --git a/packages/realm_generator/test/good_test_data/embedded_annotations.expected b/realm/packages/realm_generator/test/good_test_data/embedded_annotations.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/embedded_annotations.expected rename to realm/packages/realm_generator/test/good_test_data/embedded_annotations.expected diff --git a/packages/realm_generator/test/good_test_data/embedded_annotations.realm.dart b/realm/packages/realm_generator/test/good_test_data/embedded_annotations.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/embedded_annotations.realm.dart rename to realm/packages/realm_generator/test/good_test_data/embedded_annotations.realm.dart diff --git a/packages/realm_generator/test/good_test_data/embedded_objects.dart b/realm/packages/realm_generator/test/good_test_data/embedded_objects.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/embedded_objects.dart rename to realm/packages/realm_generator/test/good_test_data/embedded_objects.dart diff --git a/packages/realm_generator/test/good_test_data/embedded_objects.expected b/realm/packages/realm_generator/test/good_test_data/embedded_objects.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/embedded_objects.expected rename to realm/packages/realm_generator/test/good_test_data/embedded_objects.expected diff --git a/packages/realm_generator/test/good_test_data/embedded_objects.realm.dart b/realm/packages/realm_generator/test/good_test_data/embedded_objects.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/embedded_objects.realm.dart rename to realm/packages/realm_generator/test/good_test_data/embedded_objects.realm.dart diff --git a/packages/realm_generator/test/good_test_data/indexable_types.dart b/realm/packages/realm_generator/test/good_test_data/indexable_types.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/indexable_types.dart rename to realm/packages/realm_generator/test/good_test_data/indexable_types.dart diff --git a/packages/realm_generator/test/good_test_data/indexable_types.expected b/realm/packages/realm_generator/test/good_test_data/indexable_types.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/indexable_types.expected rename to realm/packages/realm_generator/test/good_test_data/indexable_types.expected diff --git a/packages/realm_generator/test/good_test_data/indexable_types.realm.dart b/realm/packages/realm_generator/test/good_test_data/indexable_types.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/indexable_types.realm.dart rename to realm/packages/realm_generator/test/good_test_data/indexable_types.realm.dart diff --git a/packages/realm_generator/test/good_test_data/list_initialization.dart b/realm/packages/realm_generator/test/good_test_data/list_initialization.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/list_initialization.dart rename to realm/packages/realm_generator/test/good_test_data/list_initialization.dart diff --git a/packages/realm_generator/test/good_test_data/list_initialization.expected b/realm/packages/realm_generator/test/good_test_data/list_initialization.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/list_initialization.expected rename to realm/packages/realm_generator/test/good_test_data/list_initialization.expected diff --git a/packages/realm_generator/test/good_test_data/list_initialization.realm.dart b/realm/packages/realm_generator/test/good_test_data/list_initialization.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/list_initialization.realm.dart rename to realm/packages/realm_generator/test/good_test_data/list_initialization.realm.dart diff --git a/packages/realm_generator/test/good_test_data/map.dart b/realm/packages/realm_generator/test/good_test_data/map.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/map.dart rename to realm/packages/realm_generator/test/good_test_data/map.dart diff --git a/packages/realm_generator/test/good_test_data/map.expected b/realm/packages/realm_generator/test/good_test_data/map.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/map.expected rename to realm/packages/realm_generator/test/good_test_data/map.expected diff --git a/packages/realm_generator/test/good_test_data/map.realm.dart b/realm/packages/realm_generator/test/good_test_data/map.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/map.realm.dart rename to realm/packages/realm_generator/test/good_test_data/map.realm.dart diff --git a/packages/realm_generator/test/good_test_data/mapto.dart b/realm/packages/realm_generator/test/good_test_data/mapto.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/mapto.dart rename to realm/packages/realm_generator/test/good_test_data/mapto.dart diff --git a/packages/realm_generator/test/good_test_data/mapto.expected b/realm/packages/realm_generator/test/good_test_data/mapto.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/mapto.expected rename to realm/packages/realm_generator/test/good_test_data/mapto.expected diff --git a/packages/realm_generator/test/good_test_data/mapto.realm.dart b/realm/packages/realm_generator/test/good_test_data/mapto.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/mapto.realm.dart rename to realm/packages/realm_generator/test/good_test_data/mapto.realm.dart diff --git a/packages/realm_generator/test/good_test_data/optional_argument.dart b/realm/packages/realm_generator/test/good_test_data/optional_argument.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/optional_argument.dart rename to realm/packages/realm_generator/test/good_test_data/optional_argument.dart diff --git a/packages/realm_generator/test/good_test_data/optional_argument.expected b/realm/packages/realm_generator/test/good_test_data/optional_argument.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/optional_argument.expected rename to realm/packages/realm_generator/test/good_test_data/optional_argument.expected diff --git a/packages/realm_generator/test/good_test_data/optional_argument.realm.dart b/realm/packages/realm_generator/test/good_test_data/optional_argument.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/optional_argument.realm.dart rename to realm/packages/realm_generator/test/good_test_data/optional_argument.realm.dart diff --git a/packages/realm_generator/test/good_test_data/pinhole.dart b/realm/packages/realm_generator/test/good_test_data/pinhole.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/pinhole.dart rename to realm/packages/realm_generator/test/good_test_data/pinhole.dart diff --git a/packages/realm_generator/test/good_test_data/pinhole.expected b/realm/packages/realm_generator/test/good_test_data/pinhole.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/pinhole.expected rename to realm/packages/realm_generator/test/good_test_data/pinhole.expected diff --git a/packages/realm_generator/test/good_test_data/pinhole.realm.dart b/realm/packages/realm_generator/test/good_test_data/pinhole.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/pinhole.realm.dart rename to realm/packages/realm_generator/test/good_test_data/pinhole.realm.dart diff --git a/packages/realm_generator/test/good_test_data/primary_key.dart b/realm/packages/realm_generator/test/good_test_data/primary_key.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/primary_key.dart rename to realm/packages/realm_generator/test/good_test_data/primary_key.dart diff --git a/packages/realm_generator/test/good_test_data/primary_key.expected b/realm/packages/realm_generator/test/good_test_data/primary_key.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/primary_key.expected rename to realm/packages/realm_generator/test/good_test_data/primary_key.expected diff --git a/packages/realm_generator/test/good_test_data/primary_key.realm.dart b/realm/packages/realm_generator/test/good_test_data/primary_key.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/primary_key.realm.dart rename to realm/packages/realm_generator/test/good_test_data/primary_key.realm.dart diff --git a/packages/realm_generator/test/good_test_data/realm_set.dart b/realm/packages/realm_generator/test/good_test_data/realm_set.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/realm_set.dart rename to realm/packages/realm_generator/test/good_test_data/realm_set.dart diff --git a/packages/realm_generator/test/good_test_data/realm_set.expected b/realm/packages/realm_generator/test/good_test_data/realm_set.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/realm_set.expected rename to realm/packages/realm_generator/test/good_test_data/realm_set.expected diff --git a/packages/realm_generator/test/good_test_data/realm_set.realm.dart b/realm/packages/realm_generator/test/good_test_data/realm_set.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/realm_set.realm.dart rename to realm/packages/realm_generator/test/good_test_data/realm_set.realm.dart diff --git a/packages/realm_generator/test/good_test_data/required_argument.dart b/realm/packages/realm_generator/test/good_test_data/required_argument.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/required_argument.dart rename to realm/packages/realm_generator/test/good_test_data/required_argument.dart diff --git a/packages/realm_generator/test/good_test_data/required_argument.expected b/realm/packages/realm_generator/test/good_test_data/required_argument.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/required_argument.expected rename to realm/packages/realm_generator/test/good_test_data/required_argument.expected diff --git a/packages/realm_generator/test/good_test_data/required_argument.realm.dart b/realm/packages/realm_generator/test/good_test_data/required_argument.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/required_argument.realm.dart rename to realm/packages/realm_generator/test/good_test_data/required_argument.realm.dart diff --git a/packages/realm_generator/test/good_test_data/required_argument_with_default_value.dart b/realm/packages/realm_generator/test/good_test_data/required_argument_with_default_value.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/required_argument_with_default_value.dart rename to realm/packages/realm_generator/test/good_test_data/required_argument_with_default_value.dart diff --git a/packages/realm_generator/test/good_test_data/required_argument_with_default_value.expected b/realm/packages/realm_generator/test/good_test_data/required_argument_with_default_value.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/required_argument_with_default_value.expected rename to realm/packages/realm_generator/test/good_test_data/required_argument_with_default_value.expected diff --git a/packages/realm_generator/test/good_test_data/required_argument_with_default_value.realm.dart b/realm/packages/realm_generator/test/good_test_data/required_argument_with_default_value.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/required_argument_with_default_value.realm.dart rename to realm/packages/realm_generator/test/good_test_data/required_argument_with_default_value.realm.dart diff --git a/packages/realm_generator/test/good_test_data/user_defined_getter.dart b/realm/packages/realm_generator/test/good_test_data/user_defined_getter.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/user_defined_getter.dart rename to realm/packages/realm_generator/test/good_test_data/user_defined_getter.dart diff --git a/packages/realm_generator/test/good_test_data/user_defined_getter.expected b/realm/packages/realm_generator/test/good_test_data/user_defined_getter.expected similarity index 100% rename from packages/realm_generator/test/good_test_data/user_defined_getter.expected rename to realm/packages/realm_generator/test/good_test_data/user_defined_getter.expected diff --git a/packages/realm_generator/test/good_test_data/user_defined_getter.realm.dart b/realm/packages/realm_generator/test/good_test_data/user_defined_getter.realm.dart similarity index 100% rename from packages/realm_generator/test/good_test_data/user_defined_getter.realm.dart rename to realm/packages/realm_generator/test/good_test_data/user_defined_getter.realm.dart diff --git a/packages/realm_generator/test/info_test.dart b/realm/packages/realm_generator/test/info_test.dart similarity index 100% rename from packages/realm_generator/test/info_test.dart rename to realm/packages/realm_generator/test/info_test.dart diff --git a/packages/realm_generator/test/info_test.realm.dart b/realm/packages/realm_generator/test/info_test.realm.dart similarity index 100% rename from packages/realm_generator/test/info_test.realm.dart rename to realm/packages/realm_generator/test/info_test.realm.dart diff --git a/packages/realm_generator/test/info_test_data/primary_key_always_indexed.dart b/realm/packages/realm_generator/test/info_test_data/primary_key_always_indexed.dart similarity index 100% rename from packages/realm_generator/test/info_test_data/primary_key_always_indexed.dart rename to realm/packages/realm_generator/test/info_test_data/primary_key_always_indexed.dart diff --git a/packages/realm_generator/test/info_test_data/primary_key_always_indexed.expected b/realm/packages/realm_generator/test/info_test_data/primary_key_always_indexed.expected similarity index 100% rename from packages/realm_generator/test/info_test_data/primary_key_always_indexed.expected rename to realm/packages/realm_generator/test/info_test_data/primary_key_always_indexed.expected diff --git a/packages/realm_generator/test/info_test_data/primary_key_always_indexed.realm.dart b/realm/packages/realm_generator/test/info_test_data/primary_key_always_indexed.realm.dart similarity index 100% rename from packages/realm_generator/test/info_test_data/primary_key_always_indexed.realm.dart rename to realm/packages/realm_generator/test/info_test_data/primary_key_always_indexed.realm.dart diff --git a/packages/realm_generator/test/measure_test.dart b/realm/packages/realm_generator/test/measure_test.dart similarity index 100% rename from packages/realm_generator/test/measure_test.dart rename to realm/packages/realm_generator/test/measure_test.dart diff --git a/packages/realm_generator/test/measure_test.realm.dart b/realm/packages/realm_generator/test/measure_test.realm.dart similarity index 100% rename from packages/realm_generator/test/measure_test.realm.dart rename to realm/packages/realm_generator/test/measure_test.realm.dart diff --git a/packages/realm_generator/test/test_util.dart b/realm/packages/realm_generator/test/test_util.dart similarity index 100% rename from packages/realm_generator/test/test_util.dart rename to realm/packages/realm_generator/test/test_util.dart diff --git a/packages/realm_generator/test/test_util.realm.dart b/realm/packages/realm_generator/test/test_util.realm.dart similarity index 100% rename from packages/realm_generator/test/test_util.realm.dart rename to realm/packages/realm_generator/test/test_util.realm.dart