Skip to content

Commit

Permalink
Updates core libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutierr-zgz committed Mar 21, 2024
1 parent 957742b commit 04b7b03
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 42 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.0

- Updates core libraries.

## 0.0.1-dev.6+1

- Small updates to docs.
Expand Down
9 changes: 4 additions & 5 deletions bin/dart_depcheck.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ void main(List<String> arguments) async {
print(parser.usage);
return;
}

final projectPath = args['path'] ?? '.';
final additionalFolders = args['folders']?.split(',');
final excludePackages = args['exclude']?.split(',');
final additionalFolders = args['folders']?.split(',') as List<String>?;
final excludePackages = args['exclude']?.split(',') as List<String>?;

final (dep, devDep) = await DependencyChecker.check(
projectPath: projectPath,
additionalFolders: additionalFolders,
excludePackages: excludePackages,
additionalFolders: additionalFolders?.toSet(),
excludePackages: excludePackages?.toSet(),
);

if (dep.isEmpty && devDep.isEmpty) {
Expand Down
12 changes: 6 additions & 6 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
dart_depcheck:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.0.1-dev.2"
version: "0.1.0"
path:
dependency: transitive
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
version: "1.8.3"
version: "1.9.0"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -65,4 +65,4 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.0.2 <4.0.0"
dart: ">=3.1.0 <4.0.0"
50 changes: 25 additions & 25 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
url: "https://pub.dev"
source: hosted
version: "61.0.0"
version: "67.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
url: "https://pub.dev"
source: hosted
version: "5.13.0"
version: "6.4.1"
args:
dependency: "direct main"
description:
Expand Down Expand Up @@ -45,10 +45,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.1"
version: "1.18.0"
convert:
dependency: transitive
description:
Expand All @@ -61,10 +61,10 @@ packages:
dependency: transitive
description:
name: coverage
sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097"
sha256: "8acabb8306b57a409bf4c83522065672ee13179297a6bb0cb9ead73948df7c76"
url: "https://pub.dev"
source: hosted
version: "1.6.3"
version: "1.7.2"
crypto:
dependency: transitive
description:
Expand Down Expand Up @@ -125,10 +125,10 @@ packages:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.6.7"
version: "0.7.1"
lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -157,10 +157,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.12.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -261,26 +261,26 @@ packages:
dependency: transitive
description:
name: source_span
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand All @@ -301,10 +301,10 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: "694c108e13c6b35b15fcb0f8f03eddf8373f93b044c9497b5e81ce09f7381bda"
sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"
url: "https://pub.dev"
source: hosted
version: "1.25.1"
version: "1.25.2"
test_api:
dependency: transitive
description:
Expand Down Expand Up @@ -333,10 +333,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: f3743ca475e0c9ef71df4ba15eb2d7684eecd5c8ba20a462462e4e8b561b2e11
sha256: a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246
url: "https://pub.dev"
source: hosted
version: "11.6.0"
version: "14.0.0"
watcher:
dependency: transitive
description:
Expand All @@ -357,10 +357,10 @@ packages:
dependency: transitive
description:
name: webkit_inspection_protocol
sha256: "67d3a8b6c79e1987d19d848b0892e582dbb0c66c57cc1fef58a177dd2aa2823d"
sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.2.1"
yaml:
dependency: "direct main"
description:
Expand All @@ -370,4 +370,4 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.0.0 <4.0.0"
dart: ">=3.1.0 <4.0.0"
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dart_depcheck
description: A custom depcheck command for Flutter/Dart projects to check for unused dependencies.
version: 0.0.1-dev.6+1
version: 0.1.0

repository: https://github.com/cgutierr-zgz/dart_depcheck
homepage: https://github.com/cgutierr-zgz/dart_depcheck
Expand All @@ -11,13 +11,13 @@ environment:
sdk: ">=3.1.0 <4.0.0"

dependencies:
args: ^2.3.0
path: ^1.8.3
yaml: ^3.0.0
args: ^2.4.2
path: ^1.9.0
yaml: ^3.1.2

dev_dependencies:
lints: ">=2.1.1 <4.0.0"
test: ^1.24.3
lints: ">=3.0.0"
test: ^1.25.2

executables:
dart_depcheck:

0 comments on commit 04b7b03

Please sign in to comment.