Skip to content

Commit 2ee652b

Browse files
authored
feat: add Flutter project files (#63)
1 parent 3af86c2 commit 2ee652b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

update.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,15 @@ const dotnetProject = [
214214
'bundleconfig.json',
215215
]
216216

217+
const pubspecYAML = [
218+
'.metadata',
219+
'.packages',
220+
'all_lint_rules.yaml',
221+
'analysis_options.yaml',
222+
'build.yaml',
223+
'pubspec.lock',
224+
]
225+
217226
const base = {
218227
'.gitignore': '.gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*',
219228
'*.js': '$(capture).js.map, $(capture).min.js, $(capture).d.ts',
@@ -240,6 +249,7 @@ const base = {
240249
'*.aspx': '$(capture).*.cs, $(capture).*.vb',
241250
'*.master': '$(capture).*.cs, $(capture).*.vb',
242251
'*.resx': '$(capture).*.resx, $(capture).designer.cs, $(capture).designer.vb',
252+
'*.dart': '$(capture).freezed.dart, $(capture).g.dart',
243253
}
244254

245255
function stringify(items) {
@@ -252,6 +262,7 @@ const full = {
252262
'dockerfile': stringify(docker),
253263
'package.json': stringify(packageJSON),
254264
'rush.json': stringify(packageJSON),
265+
'pubspec.yaml': stringify(pubspecYAML),
255266
'readme.*': stringify(readme),
256267
'cargo.toml': stringify(cargo),
257268
'gemfile': stringify(gemfile),

0 commit comments

Comments
 (0)