Skip to content

Update all packages to latest #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "stable"
}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ build/
# Omit committing pubspec.lock for library packages; see
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
.fvm/flutter_sdk
.fvm/flutter_sdk

# IDE files.
.idea/
12 changes: 6 additions & 6 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ environment:
sdk: ">=2.19.2 <3.0.0"

dependencies:
json_serializable: ^6.6.1
json_annotation: ^4.8.1
json_serializable: ^6.8.0
json_annotation: ^4.9.0
freezed_annotation: ^2.4.1
auto_mappr_annotation: 2.1.0

dev_dependencies:
build_runner: ^2.3.3
build_runner: ^2.4.9
cached_build_runner:
path: ../
auto_mappr: 2.2.0
auto_mappr: ^2.4.0

flutter_lints: ^2.0.0
freezed: ^2.4.6
flutter_lints: ^3.0.2
freezed: ^2.5.2

flutter:
uses-material-design: true
6 changes: 3 additions & 3 deletions lib/utils/logger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Logger {
/// If [showPrefix] is `true`, the message will be prefixed with a vertical bar.
static void v(String message, {bool showPrefix = true}) {
// ignore: avoid-non-ascii-symbols, ascii here is ok.
_logger.v('${showPrefix ? '│ ' : ''}$message');
_logger.t('${showPrefix ? '│ ' : ''}$message');
}

/// Logs a debug message.
Expand Down Expand Up @@ -58,10 +58,10 @@ class _LogFilter extends logger.LogFilter {
bool shouldLog(logger.LogEvent event) {
if (event.level == logger.Level.error) return true;

if (event.level == logger.Level.verbose && Utils.isVerbose) return true;
if (event.level == logger.Level.trace && Utils.isVerbose) return true;

if (event.level == logger.Level.debug && Utils.isDebug) return true;

return event.level != logger.Level.verbose && event.level != logger.Level.debug;
return event.level != logger.Level.trace && event.level != logger.Level.debug;
}
}
18 changes: 9 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cached_build_runner
description: Optimizes the build_runner by caching generated codes for non changed .dart files
version: 0.1.0-pre3
version: 0.1.1
homepage: https://github.com/jyotirmoy-paul/cached_build_runner
maintainer: Jyotirmoy Paul (@jyotirmoy-paul)

Expand All @@ -9,16 +9,16 @@ environment:

dependencies:
ansicolor: ^2.0.2
args: ^2.4.0
args: ^2.5.0
barbecue: ^0.5.0
crypto: ^3.0.1
get_it: ^7.6.7
crypto: ^3.0.3
get_it: ^7.7.0
hive: ^2.2.3
logger: ^1.1.0
meta: ^1.11.0
path: ^1.8.2
synchronized: ^3.0.1
logger: ^2.2.0
meta: ^1.14.0
path: ^1.9.0
synchronized: ^3.1.0+1
text_table: ^4.0.3

dev_dependencies:
netglade_analysis: ^7.0.0
netglade_analysis: ^10.0.0