diff --git a/.gitignore b/.gitignore index 4721c2f4..4d3a75b9 100644 --- a/.gitignore +++ b/.gitignore @@ -12,19 +12,9 @@ .svn/ # IntelliJ related -*.iml *.ipr *.iws -.idea/.gitignore -.idea/dictionaries/ -.idea/libraries/ -.idea/misc.xml -.idea/vcs.xml -.idea/workspace.xml -.idea/saveactions_settings.xml -android/.idea/ - # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. @@ -122,6 +112,3 @@ coverage.lcov ## Test resources **/test_resources/lib - -## Melos -.idea/runConfigurations/melos_* diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..5007a1d9 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,9 @@ +!/codeStyles/ +!/.name +!/modules.xml +!/runConfigurations/ + +/dictionaries/ +/libraries/ +/runConfigurations/melos_* +/*.xml diff --git a/examples/example/example.iml b/examples/example/example.iml new file mode 100644 index 00000000..26a45e79 --- /dev/null +++ b/examples/example/example.iml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/example_resources/example_resources.iml b/examples/example_resources/example_resources.iml new file mode 100644 index 00000000..9fc8ce79 --- /dev/null +++ b/examples/example_resources/example_resources.iml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fluttergen.iml b/fluttergen.iml new file mode 100644 index 00000000..01e7ecf6 --- /dev/null +++ b/fluttergen.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/command/flutter_gen.iml b/packages/command/flutter_gen.iml new file mode 100644 index 00000000..bd8b0461 --- /dev/null +++ b/packages/command/flutter_gen.iml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/core/flutter_gen_core.iml b/packages/core/flutter_gen_core.iml new file mode 100644 index 00000000..389d07a1 --- /dev/null +++ b/packages/core/flutter_gen_core.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/core/lib/settings/asset_type.dart b/packages/core/lib/settings/asset_type.dart index 3c2fee97..9455bca0 100644 --- a/packages/core/lib/settings/asset_type.dart +++ b/packages/core/lib/settings/asset_type.dart @@ -1,7 +1,7 @@ import 'package:dartx/dartx.dart'; import 'package:flutter_gen_core/utils/identifer.dart'; import 'package:flutter_gen_core/utils/string.dart'; -import 'package:mime/mime.dart'; +import 'package:mime/mime.dart' show lookupMimeType; import 'package:path/path.dart' as p; import 'package:path/path.dart'; diff --git a/packages/core/lib/settings/color_path.dart b/packages/core/lib/settings/color_path.dart index d9046163..bed7b564 100644 --- a/packages/core/lib/settings/color_path.dart +++ b/packages/core/lib/settings/color_path.dart @@ -1,6 +1,6 @@ import 'dart:io'; -import 'package:mime/mime.dart'; +import 'package:mime/mime.dart' show lookupMimeType; /// https://github.com/dart-lang/mime/blob/master/lib/src/default_extension_map.dart class ColorPath { diff --git a/packages/core/pubspec.yaml b/packages/core/pubspec.yaml index d78a24b6..f88b5124 100644 --- a/packages/core/pubspec.yaml +++ b/packages/core/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: meta: ^1.7.0 path: ^1.8.0 yaml: ^3.0.0 - mime: ^1.0.0 + mime: '>=1.0.0 <3.0.0' xml: ^6.0.0 dartx: ^1.0.0 color: ^3.0.0 diff --git a/packages/runner/flutter_gen_runner.iml b/packages/runner/flutter_gen_runner.iml new file mode 100644 index 00000000..389d07a1 --- /dev/null +++ b/packages/runner/flutter_gen_runner.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file