Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
79 lines (70 loc) · 2.23 KB
/
Copy pathpubspec.yaml
File metadata and controls
79 lines (70 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: supabase_flutter_packages
repository: https://github.com/supabase/supabase-flutter
publish_to: none
environment:
sdk: '>=3.9.0 <4.0.0'
workspace:
- packages/supabase_functions
- packages/iceberg
- packages/supabase_auth
- packages/postgrest
- packages/supabase_realtime
- packages/supabase_storage
- packages/supabase
- packages/supabase/example
- packages/supabase_flutter
- packages/supabase_flutter/example
- packages/supabase_flutter_web_auth
- packages/supabase_flutter_web_auth/example
- packages/supabase_common
- packages/supabase_lints
- packages/supabase_test
- packages/supabase_typegen
- packages/yet_another_json_isolate
- examples/authentication
- examples/database_crud
- examples/edge_functions
- examples/launcher
- examples/passkeys
- examples/realtime_room
- examples/storage_transforms
- tool/skill_snippets
dev_dependencies:
melos: ^8.2.1
melos:
ide:
intellij: false
command:
version:
linkToCommits: true
workspaceChangelog: true
hooks:
preCommit: melos run update-version
format:
lineLength: 80
scripts:
update-version:
description: Updates the version.dart file for each package except yet_another_json_isolate
run: |
for d in packages/*/ ; do
[ -f "${d}lib/src/version.dart" ] || continue
version=$(awk '/version:/ {
pos=match($2, /[0-9]+\.[0-9]+\.[0-9]+/);
print substr($2, pos); }' $d/pubspec.yaml)
{
echo "import 'package:meta/meta.dart';"
echo
echo "@internal"
echo "const version = '$version';"
} > $d/lib/src/version.dart
done
git add packages/*/lib/src/version.dart
sync-skills:
description: Renders the package skills in skills_src/ into the packages that ship them
run: dart scripts/sync_skills.dart
check-skill-snippets:
description: Analyzes every Dart snippet of the package skills, READMEs and MIGRATION.md against the workspace
run: dart scripts/check_skill_snippets.dart
check-markdown:
description: Checks the line length and table padding of every Markdown file, --fix pads the tables
run: dart scripts/check_markdown.dart