Use inflection2

This commit is contained in:
Tobe O 2019-04-17 15:10:27 -04:00
parent 589c40415c
commit 88cb3648cd
6 changed files with 7 additions and 8 deletions

View file

@ -3,7 +3,7 @@ import 'dart:io';
import 'package:args/command_runner.dart'; import 'package:args/command_runner.dart';
import 'package:code_builder/code_builder.dart'; import 'package:code_builder/code_builder.dart';
import 'package:dart_style/dart_style.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:io/ansi.dart';
import 'package:prompts/prompts.dart' as prompts; import 'package:prompts/prompts.dart' as prompts;
import 'package:recase/recase.dart'; import 'package:recase/recase.dart';

View file

@ -2,7 +2,7 @@ import 'dart:io';
import 'package:args/command_runner.dart'; import 'package:args/command_runner.dart';
import 'package:code_builder/code_builder.dart'; import 'package:code_builder/code_builder.dart';
import 'package:dart_style/dart_style.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:io/ansi.dart';
import 'package:prompts/prompts.dart' as prompts; import 'package:prompts/prompts.dart' as prompts;
import 'package:pubspec_parse/pubspec_parse.dart'; import 'package:pubspec_parse/pubspec_parse.dart';

View file

@ -1,6 +1,6 @@
import 'generator.dart'; import 'generator.dart';
import 'package:code_builder/code_builder.dart'; import 'package:code_builder/code_builder.dart';
import 'package:inflection/inflection.dart'; import 'package:inflection2/inflection2.dart';
import '../make/maker.dart'; import '../make/maker.dart';
class FileServiceGenerator extends ServiceGenerator { class FileServiceGenerator extends ServiceGenerator {

View file

@ -1,6 +1,6 @@
import 'generator.dart'; import 'generator.dart';
import 'package:code_builder/code_builder.dart'; import 'package:code_builder/code_builder.dart';
import 'package:inflection/inflection.dart'; import 'package:inflection2/inflection2.dart';
import '../make/maker.dart'; import '../make/maker.dart';
class MongoServiceGenerator extends ServiceGenerator { class MongoServiceGenerator extends ServiceGenerator {

View file

@ -1,6 +1,6 @@
import 'generator.dart'; import 'generator.dart';
import 'package:code_builder/code_builder.dart'; import 'package:code_builder/code_builder.dart';
import 'package:inflection/inflection.dart'; import 'package:inflection2/inflection2.dart';
import '../make/maker.dart'; import '../make/maker.dart';
class RethinkServiceGenerator extends ServiceGenerator { class RethinkServiceGenerator extends ServiceGenerator {

View file

@ -2,7 +2,7 @@ author: Tobe O <thosakwe@gmail.com>
description: Command-line tools for the Angel framework. description: Command-line tools for the Angel framework.
homepage: https://github.com/angel-dart/angel_cli homepage: https://github.com/angel-dart/angel_cli
name: angel_cli name: angel_cli
version: 2.1.5 version: 2.1.5+1
dependencies: dependencies:
analyzer: ">=0.32.0" analyzer: ">=0.32.0"
args: ^1.0.0 args: ^1.0.0
@ -11,8 +11,7 @@ dependencies:
glob: ^1.1.0 glob: ^1.1.0
http: ^0.11.3 http: ^0.11.3
io: ^0.3.2 io: ^0.3.2
inflection: # Note, no new update has been published, even though I sent a PR... inflection2: ^0.4.2
git: https://github.com/gmosx/dart-inflection.git
mustache4dart: ^3.0.0-dev.1.0 mustache4dart: ^3.0.0-dev.1.0
path: ^1.0.0 path: ^1.0.0
prompts: ^1.0.0 prompts: ^1.0.0