diff --git a/lib/src/commands/make/migration.dart b/lib/src/commands/make/migration.dart index 507540f..5820099 100644 --- a/lib/src/commands/make/migration.dart +++ b/lib/src/commands/make/migration.dart @@ -3,7 +3,7 @@ import 'dart:io'; import 'package:args/command_runner.dart'; import 'package:code_builder/code_builder.dart'; import 'package:dart_style/dart_style.dart'; -import 'package:inflection/inflection.dart'; +import 'package:inflection2/inflection2.dart'; import 'package:io/ansi.dart'; import 'package:prompts/prompts.dart' as prompts; import 'package:recase/recase.dart'; diff --git a/lib/src/commands/make/service.dart b/lib/src/commands/make/service.dart index 72b2b3b..2d99e6d 100644 --- a/lib/src/commands/make/service.dart +++ b/lib/src/commands/make/service.dart @@ -2,7 +2,7 @@ import 'dart:io'; import 'package:args/command_runner.dart'; import 'package:code_builder/code_builder.dart'; import 'package:dart_style/dart_style.dart'; -import 'package:inflection/inflection.dart'; +import 'package:inflection2/inflection2.dart'; import 'package:io/ansi.dart'; import 'package:prompts/prompts.dart' as prompts; import 'package:pubspec_parse/pubspec_parse.dart'; diff --git a/lib/src/commands/service_generators/file_service.dart b/lib/src/commands/service_generators/file_service.dart index 278562d..673fe12 100644 --- a/lib/src/commands/service_generators/file_service.dart +++ b/lib/src/commands/service_generators/file_service.dart @@ -1,6 +1,6 @@ import 'generator.dart'; import 'package:code_builder/code_builder.dart'; -import 'package:inflection/inflection.dart'; +import 'package:inflection2/inflection2.dart'; import '../make/maker.dart'; class FileServiceGenerator extends ServiceGenerator { diff --git a/lib/src/commands/service_generators/mongo.dart b/lib/src/commands/service_generators/mongo.dart index 9386f28..bb6a45f 100644 --- a/lib/src/commands/service_generators/mongo.dart +++ b/lib/src/commands/service_generators/mongo.dart @@ -1,6 +1,6 @@ import 'generator.dart'; import 'package:code_builder/code_builder.dart'; -import 'package:inflection/inflection.dart'; +import 'package:inflection2/inflection2.dart'; import '../make/maker.dart'; class MongoServiceGenerator extends ServiceGenerator { diff --git a/lib/src/commands/service_generators/rethink.dart b/lib/src/commands/service_generators/rethink.dart index 93dc65f..313cbc2 100644 --- a/lib/src/commands/service_generators/rethink.dart +++ b/lib/src/commands/service_generators/rethink.dart @@ -1,6 +1,6 @@ import 'generator.dart'; import 'package:code_builder/code_builder.dart'; -import 'package:inflection/inflection.dart'; +import 'package:inflection2/inflection2.dart'; import '../make/maker.dart'; class RethinkServiceGenerator extends ServiceGenerator { diff --git a/pubspec.yaml b/pubspec.yaml index 45fc484..3b22b6c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: Tobe O description: Command-line tools for the Angel framework. homepage: https://github.com/angel-dart/angel_cli name: angel_cli -version: 2.1.5 +version: 2.1.5+1 dependencies: analyzer: ">=0.32.0" args: ^1.0.0 @@ -11,8 +11,7 @@ dependencies: glob: ^1.1.0 http: ^0.11.3 io: ^0.3.2 - inflection: # Note, no new update has been published, even though I sent a PR... - git: https://github.com/gmosx/dart-inflection.git + inflection2: ^0.4.2 mustache4dart: ^3.0.0-dev.1.0 path: ^1.0.0 prompts: ^1.0.0