From 9222ba8dec23dc374aca05a23e84f063b983da8f Mon Sep 17 00:00:00 2001 From: Harsh Bhikadia Date: Mon, 4 Sep 2023 10:47:40 +0530 Subject: [PATCH] build: melos upgrade to v3 --- .gitignore | 7 +- melos.yaml | 58 ++--- packages/wifi_iot/example/pubspec.yaml | 2 +- pubspec.lock | 317 +++++++++++++++++++++++++ pubspec.yaml | 7 + 5 files changed, 360 insertions(+), 31 deletions(-) create mode 100644 pubspec.lock create mode 100644 pubspec.yaml diff --git a/.gitignore b/.gitignore index a98f92ae..dc13e0c8 100644 --- a/.gitignore +++ b/.gitignore @@ -41,4 +41,9 @@ unlinked_spec.ds **/pubspec.lock # Coverage -coverage/ \ No newline at end of file +coverage/ + +# Melos related +!/pubspec.lock +pubspec_overrides.yaml + diff --git a/melos.yaml b/melos.yaml index aee00113..abd037e6 100644 --- a/melos.yaml +++ b/melos.yaml @@ -46,8 +46,8 @@ scripts: melos exec -c 6 --fail-fast -- \ "flutter build ios --no-codesign --no-pub" description: Build a specific example app for iOS. - select-package: - dir-exists: + packageFilters: + dirExists: - ios scope: "*example*" @@ -60,8 +60,8 @@ scripts: melos bootstrap does not generate all files generated by a build that runs `pub get`, and `flutter drive` does not either, so it is still necessary to build sometimes without the `--no-pub` switch. Careful: `melos bootstrap` after. - select-package: - dir-exists: + packageFilters: + dirExists: - ios scope: "*example*" @@ -70,8 +70,8 @@ scripts: melos exec -c 6 --fail-fast -- \ "flutter build apk --no-pub" description: Build a specific example app for Android. - select-package: - dir-exists: + packageFilters: + dirExists: - android scope: "*example*" @@ -80,8 +80,8 @@ scripts: melos exec -c 6 --fail-fast -- \ "flutter build apk" description: Build a specific example app for Android. - select-package: - dir-exists: + packageFilters: + dirExists: - android scope: "*example*" @@ -93,8 +93,8 @@ scripts: Build a specific example app for macOS. - Requires `flutter channel stable`. - Requires `flutter config --enable-macos-desktop` set. - select-package: - dir-exists: + packageFilters: + dirExists: - macos scope: "*example*" @@ -106,8 +106,8 @@ scripts: Build a specific example app for web. - Requires `flutter channel stable`. - Requires `flutter config --enable-linux-desktop` set. - select-package: - dir-exists: + packageFilters: + dirExists: - linux scope: "*example*" @@ -119,8 +119,8 @@ scripts: Build a specific example app for windows. - Requires `flutter channel stable`. - Requires `flutter config --enable-windows-desktop` set. - select-package: - dir-exists: + packageFilters: + dirExists: - windows scope: "*example*" @@ -131,8 +131,8 @@ scripts: description: | Build a specific example app for web. - Requires `flutter channel stable`. - select-package: - dir-exists: + packageFilters: + dirExists: - web scope: "*example*" @@ -149,8 +149,8 @@ scripts: melos exec -c 6 --fail-fast -- \ "flutter test --no-pub" description: Run `flutter test` for a specific package. - select-package: - dir-exists: + packageFilters: + dirExists: - test ignore: - "*web*" @@ -161,8 +161,8 @@ scripts: melos exec -c 1 --fail-fast -- \ "flutter test --no-pub --platform=chrome" description: Run `flutter test --platform=chrome` for a specific '*web' package. - select-package: - dir-exists: + packageFilters: + dirExists: - test scope: "*web*" @@ -173,8 +173,8 @@ scripts: description: | Run all Android or iOS test driver e2e tests in a specific example app. - Requires an Android emulator or iOS simulator. - select-package: - dir-exists: + packageFilters: + dirExists: - test_driver scope: "*example*" @@ -186,8 +186,8 @@ scripts: Run all Web test driver e2e tests in a specific example app. - Requires `flutter channel stable`. - Requires chromedriver running on port 4444. - select-package: - dir-exists: + packageFilters: + dirExists: - web - test_driver scope: "*example*" @@ -200,8 +200,8 @@ scripts: Run all Linux test driver e2e tests in a specific example app. - Requires `flutter channel stable`. - Requires `flutter config --enable-linux-desktop` set. - select-package: - dir-exists: + packageFilters: + dirExists: - linux - test_driver scope: "*example*" @@ -214,8 +214,8 @@ scripts: Run all MacOS test driver e2e tests in a specific example app. - Requires `flutter channel stable`. - Requires `flutter config --enable-macos-desktop` set. - select-package: - dir-exists: + packageFilters: + dirExists: - macos - test_driver scope: "*example*" @@ -247,4 +247,4 @@ dev_dependencies: environment: sdk: ">=2.12.0 <3.0.0" - flutter: ">=1.12.13+hotfix.5 <3.0.0" \ No newline at end of file + flutter: ">=1.12.13+hotfix.5 <3.0.0" diff --git a/packages/wifi_iot/example/pubspec.yaml b/packages/wifi_iot/example/pubspec.yaml index 9c0219a2..20d81b54 100644 --- a/packages/wifi_iot/example/pubspec.yaml +++ b/packages/wifi_iot/example/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^0.1.2 + cupertino_icons: ^1.0.6 dev_dependencies: flutter_test: diff --git a/pubspec.lock b/pubspec.lock new file mode 100644 index 00000000..d9880007 --- /dev/null +++ b/pubspec.lock @@ -0,0 +1,317 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + ansi_styles: + dependency: transitive + description: + name: ansi_styles + sha256: "9c656cc12b3c27b17dd982b2cc5c0cfdfbdabd7bc8f3ae5e8542d9867b47ce8a" + url: "https://pub.dev" + source: hosted + version: "0.3.2+1" + args: + dependency: transitive + description: + name: args + sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + url: "https://pub.dev" + source: hosted + version: "2.4.2" + async: + dependency: transitive + description: + name: async + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + url: "https://pub.dev" + source: hosted + version: "2.11.0" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + charcode: + dependency: transitive + description: + name: charcode + sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306 + url: "https://pub.dev" + source: hosted + version: "1.3.1" + cli_launcher: + dependency: transitive + description: + name: cli_launcher + sha256: "5e7e0282b79e8642edd6510ee468ae2976d847a0a29b3916e85f5fa1bfe24005" + url: "https://pub.dev" + source: hosted + version: "0.3.1" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: b8db3080e59b2503ca9e7922c3df2072cf13992354d5e944074ffa836fba43b7 + url: "https://pub.dev" + source: hosted + version: "0.4.0" + collection: + dependency: transitive + description: + name: collection + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + url: "https://pub.dev" + source: hosted + version: "1.18.0" + conventional_commit: + dependency: transitive + description: + name: conventional_commit + sha256: dec15ad1118f029c618651a4359eb9135d8b88f761aa24e4016d061cd45948f2 + url: "https://pub.dev" + source: hosted + version: "0.6.0+1" + file: + dependency: transitive + description: + name: file + sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + url: "https://pub.dev" + source: hosted + version: "6.1.4" + glob: + dependency: transitive + description: + name: glob + sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + graphs: + dependency: transitive + description: + name: graphs + sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 + url: "https://pub.dev" + source: hosted + version: "2.3.1" + http: + dependency: transitive + description: + name: http + sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" + url: "https://pub.dev" + source: hosted + version: "1.1.0" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + url: "https://pub.dev" + source: hosted + version: "4.0.2" + io: + dependency: transitive + description: + name: io + sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" + url: "https://pub.dev" + source: hosted + version: "1.0.4" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 + url: "https://pub.dev" + source: hosted + version: "4.8.1" + matcher: + dependency: transitive + description: + name: matcher + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + url: "https://pub.dev" + source: hosted + version: "0.12.16" + melos: + dependency: "direct dev" + description: + name: melos + sha256: "3f22f6cc629d72acf3acc8a7f8563384550290fa30790efa328c9cf606aa17d7" + url: "https://pub.dev" + source: hosted + version: "3.1.1" + meta: + dependency: transitive + description: + name: meta + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + url: "https://pub.dev" + source: hosted + version: "1.9.1" + mustache_template: + dependency: transitive + description: + name: mustache_template + sha256: a46e26f91445bfb0b60519be280555b06792460b27b19e2b19ad5b9740df5d1c + url: "https://pub.dev" + source: hosted + version: "2.0.0" + path: + dependency: transitive + description: + name: path + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + url: "https://pub.dev" + source: hosted + version: "1.8.3" + platform: + dependency: transitive + description: + name: platform + sha256: ae68c7bfcd7383af3629daafb32fb4e8681c7154428da4febcff06200585f102 + url: "https://pub.dev" + source: hosted + version: "3.1.2" + pool: + dependency: transitive + description: + name: pool + sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" + url: "https://pub.dev" + source: hosted + version: "1.5.1" + process: + dependency: transitive + description: + name: process + sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + url: "https://pub.dev" + source: hosted + version: "4.2.4" + prompts: + dependency: transitive + description: + name: prompts + sha256: "3773b845e85a849f01e793c4fc18a45d52d7783b4cb6c0569fad19f9d0a774a1" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + pub_semver: + dependency: transitive + description: + name: pub_semver + sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + pub_updater: + dependency: transitive + description: + name: pub_updater + sha256: b06600619c8c219065a548f8f7c192b3e080beff95488ed692780f48f69c0625 + url: "https://pub.dev" + source: hosted + version: "0.3.1" + pubspec: + dependency: transitive + description: + name: pubspec + sha256: f534a50a2b4d48dc3bc0ec147c8bd7c304280fff23b153f3f11803c4d49d927e + url: "https://pub.dev" + source: hosted + version: "2.3.0" + quiver: + dependency: transitive + description: + name: quiver + sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 + url: "https://pub.dev" + source: hosted + version: "3.2.1" + source_span: + dependency: transitive + description: + name: source_span + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + url: "https://pub.dev" + source: hosted + version: "1.10.0" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + url: "https://pub.dev" + source: hosted + version: "1.11.1" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + url: "https://pub.dev" + source: hosted + version: "2.1.2" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" + source: hosted + version: "1.2.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" + source: hosted + version: "1.2.1" + test_api: + dependency: transitive + description: + name: test_api + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + url: "https://pub.dev" + source: hosted + version: "0.6.1" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + url: "https://pub.dev" + source: hosted + version: "1.3.2" + uri: + dependency: transitive + description: + name: uri + sha256: "889eea21e953187c6099802b7b4cf5219ba8f3518f604a1033064d45b1b8268a" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + yaml: + dependency: transitive + description: + name: yaml + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" + url: "https://pub.dev" + source: hosted + version: "3.1.2" + yaml_edit: + dependency: transitive + description: + name: yaml_edit + sha256: "1579d4a0340a83cf9e4d580ea51a16329c916973bffd5bd4b45e911b25d46bfd" + url: "https://pub.dev" + source: hosted + version: "2.1.1" +sdks: + dart: ">=3.0.0 <4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 00000000..1c42f2e0 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,7 @@ +name: wifi_flutter + +environment: + sdk: '>=2.18.0 <3.0.0' +dev_dependencies: + melos: ^3.1.1 +