@underpeaks/generator-flutter 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pubspec.d.ts","sourceRoot":"","sources":["../../src/templates/pubspec.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,wBAAgB,eAAe,CAC7B,WAAW,EAAG,MAAM,EACpB,YAAY,EAAE,MAAM,EAKpB,aAAa,GAAE,OAAe,GAC7B,aAAa,
|
|
1
|
+
{"version":3,"file":"pubspec.d.ts","sourceRoot":"","sources":["../../src/templates/pubspec.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,wBAAgB,eAAe,CAC7B,WAAW,EAAG,MAAM,EACpB,YAAY,EAAE,MAAM,EAKpB,aAAa,GAAE,OAAe,GAC7B,aAAa,CAgGf"}
|
|
@@ -31,11 +31,11 @@ needsLocation = false) {
|
|
|
31
31
|
lines.push(` http: ^1.2.1`);
|
|
32
32
|
lines.push(``);
|
|
33
33
|
lines.push(` # Navigation`);
|
|
34
|
-
lines.push(` go_router: ^14.
|
|
34
|
+
lines.push(` go_router: ^14.8.1`);
|
|
35
35
|
lines.push(``);
|
|
36
36
|
lines.push(` # State management`);
|
|
37
37
|
if (stateManager === 'riverpod') {
|
|
38
|
-
lines.push(` flutter_riverpod: ^2.
|
|
38
|
+
lines.push(` flutter_riverpod: ^2.6.1`);
|
|
39
39
|
}
|
|
40
40
|
else if (stateManager === 'bloc') {
|
|
41
41
|
lines.push(` flutter_bloc: ^8.1.5`);
|
|
@@ -46,13 +46,13 @@ needsLocation = false) {
|
|
|
46
46
|
}
|
|
47
47
|
lines.push(``);
|
|
48
48
|
lines.push(` # Fonts`);
|
|
49
|
-
lines.push(` google_fonts: ^6.
|
|
49
|
+
lines.push(` google_fonts: ^6.3.3`);
|
|
50
50
|
lines.push(``);
|
|
51
51
|
lines.push(` # Local storage`);
|
|
52
|
-
lines.push(` shared_preferences: ^2.
|
|
52
|
+
lines.push(` shared_preferences: ^2.5.5`);
|
|
53
53
|
lines.push(``);
|
|
54
54
|
lines.push(` # Environment config`);
|
|
55
|
-
lines.push(` flutter_dotenv: ^5.1
|
|
55
|
+
lines.push(` flutter_dotenv: ^5.2.1`);
|
|
56
56
|
lines.push(``);
|
|
57
57
|
lines.push(` # Utils`);
|
|
58
58
|
lines.push(` intl: ^0.19.0`);
|
|
@@ -60,12 +60,18 @@ needsLocation = false) {
|
|
|
60
60
|
lines.push(` # Models — Freezed + json_serializable (build_runner runs`);
|
|
61
61
|
lines.push(` # automatically after \`nxf generate\`, see .g.dart/.freezed.dart`);
|
|
62
62
|
lines.push(` # companion files next to each model)`);
|
|
63
|
-
lines.push(`
|
|
64
|
-
lines.push(`
|
|
63
|
+
lines.push(` # FIX: bumped freezed_annotation/json_annotation/build_runner/freezed/`);
|
|
64
|
+
lines.push(` # json_serializable — the previously pinned versions' bundled 'analyzer'`);
|
|
65
|
+
lines.push(` # dependency didn't support newer Dart SDK language features`);
|
|
66
|
+
lines.push(` # (dot-shorthand property access), causing build_runner to crash with`);
|
|
67
|
+
lines.push(` # "Missing implementation of visitDotShorthandPropertyAccess" on any`);
|
|
68
|
+
lines.push(` # project using a recent Dart SDK (3.13+).`);
|
|
69
|
+
lines.push(` freezed_annotation: ^3.1.0`);
|
|
70
|
+
lines.push(` json_annotation: ^4.12.0`);
|
|
65
71
|
lines.push(``);
|
|
66
72
|
lines.push(` # File/image picking for upload-type form fields`);
|
|
67
|
-
lines.push(` image_picker: ^1.
|
|
68
|
-
lines.push(` file_picker: ^8.
|
|
73
|
+
lines.push(` image_picker: ^1.2.2`);
|
|
74
|
+
lines.push(` file_picker: ^8.3.7`);
|
|
69
75
|
if (needsLocation) {
|
|
70
76
|
lines.push(``);
|
|
71
77
|
lines.push(` # Maps for location-input fields — also needs GOOGLE_MAPS_API_KEY in`);
|
|
@@ -77,10 +83,10 @@ needsLocation = false) {
|
|
|
77
83
|
lines.push(`dev_dependencies:`);
|
|
78
84
|
lines.push(` flutter_test:`);
|
|
79
85
|
lines.push(` sdk: flutter`);
|
|
80
|
-
lines.push(` flutter_lints: ^
|
|
81
|
-
lines.push(` build_runner: ^2.
|
|
82
|
-
lines.push(` freezed: ^
|
|
83
|
-
lines.push(` json_serializable: ^6.
|
|
86
|
+
lines.push(` flutter_lints: ^6.0.0`);
|
|
87
|
+
lines.push(` build_runner: ^2.16.1`);
|
|
88
|
+
lines.push(` freezed: ^4.0.1`);
|
|
89
|
+
lines.push(` json_serializable: ^6.14.1`);
|
|
84
90
|
lines.push(``);
|
|
85
91
|
lines.push(`flutter:`);
|
|
86
92
|
lines.push(` uses-material-design: true`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pubspec.js","sourceRoot":"","sources":["../../src/templates/pubspec.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"pubspec.js","sourceRoot":"","sources":["../../src/templates/pubspec.ts"],"names":[],"mappings":";;AAGA,0CAwGC;AAxGD,SAAgB,eAAe,CAC7B,WAAoB,EACpB,YAAoB;AACpB,uEAAuE;AACvE,mEAAmE;AACnE,uEAAuE;AACvE,sDAAsD;AACtD,gBAAyB,KAAK;IAE9B,MAAM,IAAI,GAAG,WAAW;SACrB,WAAW,EAAE;SACb,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;SACpB,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAA;IAE7B,MAAM,KAAK,GAAa,EAAE,CAAA;IAC1B,KAAK,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAA;IACrD,KAAK,CAAC,IAAI,CAAC,0CAA0C,CAAC,CAAA;IACtD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACd,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE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