From b6744b6a2ce577ed80824be6b8a617f09d278cc7 Mon Sep 17 00:00:00 2001 From: Halil Durmus Date: Fri, 26 Jul 2024 18:57:16 +0300 Subject: [PATCH] ci: remove melos (#870) --- .github/workflows/code_generation.yml | 5 +---- examples/explorer/pubspec.yaml | 3 ++- examples/explorer/pubspec_overrides.yaml | 4 ---- examples/service_manager_cli/pubspec.yaml | 3 ++- .../service_manager_cli/pubspec_overrides.yaml | 4 ---- examples/task_manager/pubspec.yaml | 3 ++- examples/task_manager/pubspec_overrides.yaml | 4 ---- melos.yaml | 15 --------------- packages/generator/pubspec_overrides.yaml | 4 ---- pubspec.yaml | 1 - 10 files changed, 7 insertions(+), 39 deletions(-) delete mode 100644 examples/explorer/pubspec_overrides.yaml delete mode 100644 examples/service_manager_cli/pubspec_overrides.yaml delete mode 100644 examples/task_manager/pubspec_overrides.yaml delete mode 100644 melos.yaml delete mode 100644 packages/generator/pubspec_overrides.yaml diff --git a/.github/workflows/code_generation.yml b/.github/workflows/code_generation.yml index 3b7fd7998..2e41f9c88 100644 --- a/.github/workflows/code_generation.yml +++ b/.github/workflows/code_generation.yml @@ -39,11 +39,8 @@ jobs: run: dart pub get working-directory: packages/generator - - name: 🛠️ Install Melos - run: dart pub global activate melos - - name: 🚀 Run Code Generation - run: dart pub run melos run generate + run: tools\generate --no-test - name: 🔍 Verify Code Generation run: git diff --exit-code diff --git a/examples/explorer/pubspec.yaml b/examples/explorer/pubspec.yaml index f6728f82c..1bc35a074 100644 --- a/examples/explorer/pubspec.yaml +++ b/examples/explorer/pubspec.yaml @@ -15,7 +15,8 @@ dependencies: url: https://github.com/google/flutter-desktop-embedding.git path: plugins/menubar path_provider: ^2.1.3 - win32: ^5.5.1 + win32: + path: ../../packages/win32 dev_dependencies: lints: ^4.0.0 diff --git a/examples/explorer/pubspec_overrides.yaml b/examples/explorer/pubspec_overrides.yaml deleted file mode 100644 index 7383a2967..000000000 --- a/examples/explorer/pubspec_overrides.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# melos_managed_dependency_overrides: win32 -dependency_overrides: - win32: - path: ../../packages/win32 diff --git a/examples/service_manager_cli/pubspec.yaml b/examples/service_manager_cli/pubspec.yaml index 9a02e3205..a4f359c00 100644 --- a/examples/service_manager_cli/pubspec.yaml +++ b/examples/service_manager_cli/pubspec.yaml @@ -7,7 +7,8 @@ environment: dependencies: ffi: ^2.1.2 - win32: ^5.5.1 + win32: + path: ../../packages/win32 dev_dependencies: lints: ^4.0.0 diff --git a/examples/service_manager_cli/pubspec_overrides.yaml b/examples/service_manager_cli/pubspec_overrides.yaml deleted file mode 100644 index 7383a2967..000000000 --- a/examples/service_manager_cli/pubspec_overrides.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# melos_managed_dependency_overrides: win32 -dependency_overrides: - win32: - path: ../../packages/win32 diff --git a/examples/task_manager/pubspec.yaml b/examples/task_manager/pubspec.yaml index 0a9347041..c67c0155e 100644 --- a/examples/task_manager/pubspec.yaml +++ b/examples/task_manager/pubspec.yaml @@ -9,7 +9,8 @@ dependencies: ffi: ^2.1.2 flutter: sdk: flutter - win32: ^5.5.1 + win32: + path: ../../packages/win32 dev_dependencies: flutter_lints: ^4.0.0 diff --git a/examples/task_manager/pubspec_overrides.yaml b/examples/task_manager/pubspec_overrides.yaml deleted file mode 100644 index 7383a2967..000000000 --- a/examples/task_manager/pubspec_overrides.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# melos_managed_dependency_overrides: win32 -dependency_overrides: - win32: - path: ../../packages/win32 diff --git a/melos.yaml b/melos.yaml deleted file mode 100644 index 6fdd7884c..000000000 --- a/melos.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: win32 -repository: https://github.com/halildurmus/win32 - -packages: - - packages/* - - examples/* - -command: - version: - releaseUrl: true - -scripts: - generate: - run: tools\generate --no-test - description: Build all generated files for package:win32. diff --git a/packages/generator/pubspec_overrides.yaml b/packages/generator/pubspec_overrides.yaml deleted file mode 100644 index b73c5f37c..000000000 --- a/packages/generator/pubspec_overrides.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# melos_managed_dependency_overrides: win32 -dependency_overrides: - win32: - path: ../win32 diff --git a/pubspec.yaml b/pubspec.yaml index 6083eb8f4..81cac5009 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,6 +8,5 @@ dev_dependencies: args: ^2.5.0 ffi: ^2.1.2 lints: ^4.0.0 - melos: ^6.1.0 win32: path: packages/win32