forked from genkit-ai/genkit-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
83 lines (72 loc) · 2.2 KB
/
pubspec.yaml
File metadata and controls
83 lines (72 loc) · 2.2 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
80
81
82
83
name: genkit_workspace
description: Genkit Dart Monorepo
publish_to: none
environment:
sdk: ^3.10.0
workspace:
# NOTE: This list is intentionally incomplete.
# Packages that depend on flutter are excluded!
- packages/_schema_generator
- packages/genkit
- packages/genkit_mcp
- packages/genkit_google_genai
- packages/genkit_vertexai
- packages/genkit_vertex_auth
- packages/genkit_openai
- packages/genkit_anthropic
- packages/genkit_shelf
- packages/genkit_chrome
- packages/schemantic
- packages/genkit_middleware
- testapps/agentic_patterns
- testapps/ai_features
- testapps/anthropic_vertex
- testapps/basic
- testapps/chrome_example
- testapps/openai_sample
- testapps/mcp_server
- testapps/middleware
- testapps/remote_models
- testapps/gemini
- testapps/evals
dev_dependencies:
args: ^2.7.0
dart_flutter_team_lints: ^3.0.0
glob: ^2.1.3
melos: ^7.0.0
path: ^1.9.1
pub_semver: ^2.2.0
yaml: ^3.1.2
test: ^1.30.0
melos:
name: genkit_workspace
packages:
- packages/**
scripts:
test:
exec: dart test
packageFilters:
dirExists: test
analyze:
exec: dart analyze --fatal-infos .
build-gen:
run: |
melos run build-gen-core
melos run build-gen-plugins
melos run build-gen-testapps
description: Run build_runner in topological order (core -> plugins -> app) to avoid race conditions.
build-gen-core:
run: melos exec --scope="schemantic,genkit" -o -- dart run build_runner build && dart run tools/apply_license.dart
description: Run build_runner for genkit.
build-gen-plugins:
run: |
melos exec --scope="genkit_google_genai,genkit_openai,genkit_shelf,genkit_firebase_ai" --depends-on="build_runner" -- dart run build_runner build
description: Run build_runner for plugins.
build-gen-testapps:
exec: dart run build_runner build
packageFilters:
scope: "{agentic_patterns,ai_features,basic_sample,openai_sample}"
description: Run build_runner for testapps (except the flutter one!)
dartdoc-check:
run: dart tools/check_dartdoc.dart
description: Run dartdoc over all non-private packages and check for warnings.