Skip to content

Commit

Permalink
fix: updates stacked_generator version to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
FilledStacks committed Apr 14, 2023
1 parent 1ecd560 commit 6f720c0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/templates/app/web/pubspec.yaml.stk
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dev_dependencies:
flutter_lints: ^1.0.0
build_runner: ^2.2.0

stacked_generator: 1.0.0
stacked_generator: ^1.3.0
mockito: ^5.3.2

# For information on the generic Dart part of this file, see the
Expand Down
4 changes: 4 additions & 0 deletions lib/src/templates/compiled_template_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ Map<String, Map<String, StackedTemplate>> kCompiledStackedTemplates = {
relativeOutputPath: kAppWebTemplatePubspecYamlStkPath,
content: kAppWebTemplatePubspecYamlStkContent,
fileType: FileType.text),
TemplateFile(
relativeOutputPath: kAppWebTemplateSettingsJsonStkPath,
content: kAppWebTemplateSettingsJsonStkContent,
fileType: FileType.text),
],
modificationFiles: [],
),
Expand Down
17 changes: 16 additions & 1 deletion lib/src/templates/compiled_templates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,7 @@ dev_dependencies:
flutter_lints: ^1.0.0
build_runner: ^2.2.0
stacked_generator: 1.0.0
stacked_generator: ^1.3.0
mockito: ^5.3.2
# For information on the generic Dart part of this file, see the
Expand Down Expand Up @@ -1880,6 +1880,21 @@ flutter:

// --------------------------------------------------

// -------- SettingsJsonStk Template Data ----------

const String kAppWebTemplateSettingsJsonStkPath = '.vscode/settings.json.stk';

const String kAppWebTemplateSettingsJsonStkContent = '''
{
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.dart": "\${capture}.mobile.dart, \${capture}.tablet.dart, \${capture}.desktop.dart, \${capture}.form.dart"
},
}
''';

// --------------------------------------------------

// -------- StackedJsonStk Template Data ----------

const String kAppMobileTemplateStackedJsonStkPath = 'stacked.json.stk';
Expand Down

0 comments on commit 6f720c0

Please sign in to comment.