Skip to content

Commit

Permalink
re-add the flame related packages (#2807)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Jan 31, 2024
1 parent a736b7d commit ccc9522
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 13 deletions.
7 changes: 5 additions & 2 deletions pkgs/dart_services/lib/src/project_templates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ class ProjectTemplates {
const Set<String> supportedFlutterPackages = {
'animations',
'creator',
'flame',
'flame_fire_atlas',
'flame_forge2d',
'flame_splash_screen',
'flame_tiled',
'flutter_adaptive_scaffold',
'flutter_bloc',
'flutter_hooks',
Expand Down Expand Up @@ -167,14 +172,12 @@ const Set<String> firebasePackages = {
'cloud_firestore',
'firebase_auth',
'firebase_core',
'flame',
};

bool isFirebasePackage(String packageName) {
if (firebasePackages.contains(packageName)) return true;

if (packageName.startsWith('firebase_')) return true;
if (packageName.startsWith('flame_')) return true;

return false;
}
Expand Down
18 changes: 13 additions & 5 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_beta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_fe_analyzer_shared": "66.0.0",
"analyzer": "6.4.0",
"_fe_analyzer_shared": "67.0.0",
"analyzer": "6.4.1",
"animations": "2.0.11",
"archive": "3.4.10",
"args": "2.4.2",
Expand All @@ -22,11 +22,16 @@
"english_words": "4.0.0",
"equatable": "2.0.5",
"fake_async": "1.3.1",
"fast_immutable_collections": "10.0.0",
"fast_immutable_collections": "10.1.0",
"fast_noise": "1.0.1",
"ffi": "2.1.0",
"ffi": "2.1.2",
"file": "7.0.0",
"fixnum": "1.1.0",
"flame": "1.14.0",
"flame_fire_atlas": "1.4.7",
"flame_forge2d": "0.16.0+4",
"flame_splash_screen": "0.2.0",
"flame_tiled": "1.18.3",
"flutter_adaptive_scaffold": "0.1.7+2",
"flutter_bloc": "8.1.3",
"flutter_hooks": "0.18.6",
Expand All @@ -36,9 +41,10 @@
"flutter_riverpod": "2.4.9",
"flutter_spinkit": "5.2.0",
"flutter_svg": "2.0.9",
"forge2d": "0.12.2",
"frontend_server_client": "3.2.0",
"glob": "2.1.2",
"go_router": "13.0.1",
"go_router": "13.1.0",
"google_fonts": "6.1.0",
"hooks_riverpod": "2.4.9",
"html": "0.15.4",
Expand All @@ -64,6 +70,7 @@
"mime": "1.0.5",
"nested": "1.0.0",
"node_preamble": "2.0.2",
"ordered_set": "5.0.2",
"package_config": "2.1.0",
"path": "1.9.0",
"path_parsing": "1.0.1",
Expand Down Expand Up @@ -111,6 +118,7 @@
"test": "1.24.9",
"test_api": "0.6.1",
"test_core": "0.5.9",
"tiled": "0.10.2",
"timezone": "0.9.2",
"tuple": "2.0.2",
"typed_data": "1.3.2",
Expand Down
16 changes: 12 additions & 4 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_main.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_fe_analyzer_shared": "66.0.0",
"analyzer": "6.4.0",
"_fe_analyzer_shared": "67.0.0",
"analyzer": "6.4.1",
"animations": "2.0.11",
"archive": "3.4.10",
"args": "2.4.2",
Expand All @@ -22,11 +22,16 @@
"english_words": "4.0.0",
"equatable": "2.0.5",
"fake_async": "1.3.1",
"fast_immutable_collections": "10.0.0",
"fast_immutable_collections": "10.1.0",
"fast_noise": "1.0.1",
"ffi": "2.1.2",
"file": "7.0.0",
"fixnum": "1.1.0",
"flame": "1.14.0",
"flame_fire_atlas": "1.4.7",
"flame_forge2d": "0.16.0+4",
"flame_splash_screen": "0.2.0",
"flame_tiled": "1.18.3",
"flutter_adaptive_scaffold": "0.1.7+2",
"flutter_bloc": "8.1.3",
"flutter_hooks": "0.18.6",
Expand All @@ -36,9 +41,10 @@
"flutter_riverpod": "2.4.9",
"flutter_spinkit": "5.2.0",
"flutter_svg": "2.0.9",
"forge2d": "0.12.2",
"frontend_server_client": "3.2.0",
"glob": "2.1.2",
"go_router": "13.0.1",
"go_router": "13.1.0",
"google_fonts": "6.1.0",
"hooks_riverpod": "2.4.9",
"html": "0.15.4",
Expand All @@ -64,6 +70,7 @@
"mime": "1.0.5",
"nested": "1.0.0",
"node_preamble": "2.0.2",
"ordered_set": "5.0.2",
"package_config": "2.1.0",
"path": "1.9.0",
"path_parsing": "1.0.1",
Expand Down Expand Up @@ -111,6 +118,7 @@
"test": "1.24.9",
"test_api": "0.6.1",
"test_core": "0.5.9",
"tiled": "0.10.2",
"timezone": "0.9.2",
"tuple": "2.0.2",
"typed_data": "1.3.2",
Expand Down
12 changes: 10 additions & 2 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_stable.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@
"english_words": "4.0.0",
"equatable": "2.0.5",
"fake_async": "1.3.1",
"fast_immutable_collections": "10.0.0",
"fast_immutable_collections": "10.1.0",
"fast_noise": "1.0.1",
"ffi": "2.1.0",
"file": "7.0.0",
"fixnum": "1.1.0",
"flame": "1.14.0",
"flame_fire_atlas": "1.4.7",
"flame_forge2d": "0.16.0+4",
"flame_splash_screen": "0.2.0",
"flame_tiled": "1.18.3",
"flutter_adaptive_scaffold": "0.1.7+2",
"flutter_bloc": "8.1.3",
"flutter_hooks": "0.18.6",
Expand All @@ -36,9 +41,10 @@
"flutter_riverpod": "2.4.9",
"flutter_spinkit": "5.2.0",
"flutter_svg": "2.0.9",
"forge2d": "0.12.2",
"frontend_server_client": "3.2.0",
"glob": "2.1.2",
"go_router": "13.0.1",
"go_router": "13.1.0",
"google_fonts": "6.1.0",
"hooks_riverpod": "2.4.9",
"html": "0.15.4",
Expand All @@ -61,6 +67,7 @@
"mime": "1.0.5",
"nested": "1.0.0",
"node_preamble": "2.0.2",
"ordered_set": "5.0.2",
"package_config": "2.1.0",
"path": "1.8.3",
"path_parsing": "1.0.1",
Expand Down Expand Up @@ -108,6 +115,7 @@
"test": "1.24.9",
"test_api": "0.6.1",
"test_core": "0.5.9",
"tiled": "0.10.2",
"timezone": "0.9.2",
"tuple": "2.0.2",
"typed_data": "1.3.2",
Expand Down

0 comments on commit ccc9522

Please sign in to comment.