Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/celest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
channel: beta
cache: true
- name: Install Turso CLI
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/celest_ast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
channel: beta
cache: true
- name: Get Packages
working-directory: packages/celest_ast
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/celest_auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
channel: beta
cache: true
- name: Get Packages
working-directory: packages/celest_auth
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/celest_cli.release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
cache: true
channel: beta # Needed for cross-compilation

- name: Fix pub cache
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/celest_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: dart pub upgrade
- name: Test
working-directory: apps/cli
run: dart test -x e2e --fail-fast -j 1
run: dart test -x e2e --fail-fast -j 1 --reporter=failures-only
- name: Test (Fixtures)
working-directory: apps/cli
run: dart test fixtures/fixtures_test.dart --fail-fast -j 1
run: dart test fixtures/fixtures_test.dart --fail-fast -j 1 --reporter=failures-only
1 change: 0 additions & 1 deletion .github/workflows/celest_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
channel: beta
cache: true
- name: Get Packages
working-directory: packages/celest_core
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/celest_db_studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
channel: beta
cache: true
- name: Get Packages
working-directory: packages/celest_db_studio
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/celest_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # 2.19.0
with:
channel: beta
cache: true
- name: Get Packages
working-directory: packages/celest_test
Expand Down
1 change: 1 addition & 0 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## NEXT

- feat: Allow overriding client environment with Dart define
- chore: Update dependencies

## 1.0.13

Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/apps/firebase/celest/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
celest_core: ^1.0.0
firebase_auth: ^5.2.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/apps/supabase/celest/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/api/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/auth/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
4 changes: 0 additions & 4 deletions apps/cli/fixtures/standalone/auth/goldens/ast.resolved.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions apps/cli/fixtures/standalone/auth/goldens/celest.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions apps/cli/fixtures/standalone/data/client/lib/src/functions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ class CelestFunctionsTasks {
),
stackTrace,
);
case 'drift.CancellationException':
Error.throwWithStackTrace(
_$celest.Serializers.instance
.deserialize<_$drift_cancellation_zone.CancellationException>(
errorValue,
),
stackTrace,
);
case 'drift.DriftWrappedException':
Error.throwWithStackTrace(
_$celest.Serializers.instance
Expand Down Expand Up @@ -540,14 +548,6 @@ class CelestFunctionsTasks {
>(errorValue),
stackTrace,
);
case 'drift.CancellationException':
Error.throwWithStackTrace(
_$celest.Serializers.instance
.deserialize<_$drift_cancellation_zone.CancellationException>(
errorValue,
),
stackTrace,
);
case 'sqlite3.SqliteException':
Error.throwWithStackTrace(
_$celest.Serializers.instance
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/data/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
12 changes: 6 additions & 6 deletions apps/cli/fixtures/standalone/data/goldens/ast.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/cli/fixtures/standalone/data/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
celest: ^1.0.0
celest_cloud_auth: 'any'
celest_core: ^1.0.0
drift: '>=2.26.1 <2.27.0'
drift: '>=2.27.0 <2.28.0'
drift_hrana: ^1.0.5
meta: ^1.12.0

Expand All @@ -32,6 +32,6 @@ dependency_overrides:

dev_dependencies:
build_runner: ^2.4.13
drift_dev: '>=2.26.1 <2.27.0'
drift_dev: '>=2.27.0 <2.28.0'
lints: ^5.0.0
test: ^1.25.0
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/env_vars/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/flutter/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/http/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/marcelo/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/fixtures/standalone/streaming/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
path: ..
celest_core: ^1.0.0
http: ^1.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0

dependency_overrides:
celest:
Expand Down
6 changes: 3 additions & 3 deletions apps/cli/lib/src/pub/project_dependency.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ final class ProjectDependency {
DependencyType.dependency,
HostedDependency(
version: VersionRange(
min: Version.parse('2.26.1'),
max: Version.parse('2.27.0'),
min: Version.parse('2.27.0'),
max: Version.parse('2.28.0'),
includeMin: true,
includeMax: false,
),
Expand Down Expand Up @@ -178,7 +178,7 @@ final class ProjectDependency {
'native_storage',
DependencyType.dependency,
HostedDependency(
version: VersionConstraint.compatibleWith(Version.parse('0.2.2')),
version: VersionConstraint.compatibleWith(Version.parse('0.3.0')),
),
);

Expand Down
18 changes: 9 additions & 9 deletions apps/cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies:
dart_style: ^3.0.0
dcli: ^7.0.1
dcli_terminal: ^7.0.1
drift: '>=2.26.1 <2.27.0'
drift: '>=2.27.0 <2.28.0'
email_validator: ^3.0.0
ffi: ^2.1.4
file: ^7.0.0
Expand All @@ -47,15 +47,15 @@ dependencies:
html2md: ^1.3.1
http: ^1.1.2
http_parser: ^4.0.2
intl: ^0.19.0
intl: ^0.20.2
io: ^1.0.4
json_annotation: ^4.9.0
libcoder: ^0.0.1
logging: ^1.2.0
mason_logger: ^0.3.0
meta: ^1.10.0
mustache_template: ^2.0.0
native_storage: ^0.2.2
native_storage: ^0.3.0
os_detect: ^2.0.1
package_config: ^2.1.0
path: ^1.8.3
Expand All @@ -65,8 +65,8 @@ dependencies:
protobuf: ^4.0.0
pub_semver: ^2.1.4
pubspec_parse: ^1.2.3
sentry: ^8.5.0
sentry_logging: ^8.13.2
sentry: ^9.1.0
sentry_logging: ^9.1.0
shelf: ^1.4.1
shelf_static: ^1.1.2
shelf_web_socket: ">=2.0.0 <4.0.0"
Expand All @@ -89,17 +89,17 @@ dev_dependencies:
benchmark_harness: ^2.2.2
build: ^2.4.1
build_runner: ^2.4.7
build_test: ^2.2.1
build_test: ^3.2.1
built_value_generator: ^8.9.4
celest_lints:
path: ../../packages/celest_lints
celest_test: ^0.1.0
checks: ^0.3.0
dart_jsonwebtoken: ^3.1.1
drift_dev: '>=2.26.1 <2.27.0'
drift_dev: '>=2.27.0 <2.28.0'
gcloud: ^0.8.13
googleapis: ^13.2.0
googleapis_auth: ^1.4.1
googleapis: ^14.0.0
googleapis_auth: ^2.0.0
jose: ^0.3.4
json_serializable: ^6.8.0
mocktail: ^1.0.2
Expand Down
3 changes: 3 additions & 0 deletions apps/cli/test/types/type_checker_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ void main() {
);
},
inputId: AssetId('celest_cli', 'test/example.dart'),
nonInputsToReadFromFilesystem: {
AssetId('celest_cli', 'test/types/type_checker_test.dart'),
},
);

final staticIterable = core
Expand Down
4 changes: 2 additions & 2 deletions apps/distroless/dart/test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ environment:
sdk: ^3.5.0

dependencies:
drift: '>=2.26.1 <2.27.0'
drift: '>=2.27.0 <2.28.0'

dev_dependencies:
build_runner:
drift_dev: '>=2.26.1 <2.27.0'
drift_dev: '>=2.27.0 <2.28.0'
2 changes: 1 addition & 1 deletion apps/distroless/dart/test/test-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ echo "DART_VERSION: $DART_VERSION"
DART="$DART_HOME/bin/dartaotruntime"
FE_SNAPSHOT="$DART_HOME/bin/snapshots/frontend_server_aot.dart.snapshot"
VM_PLATFORM="$DART_HOME/lib/_internal/vm_platform_strong_product.dill"
if [ ! -f "$DART" ]; then
if [ ! -f "$VM_PLATFORM" ]; then
VM_PLATFORM="$DART_HOME/lib/_internal/vm_platform_product.dill"
fi

Expand Down
4 changes: 2 additions & 2 deletions apps/distroless/flutter/test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ environment:
flutter: '>=3.24.0'

dependencies:
drift: '>=2.26.1 <2.27.0'
drift: '>=2.27.0 <2.28.0'
flutter:
sdk: flutter
flutter_test:
sdk: flutter

dev_dependencies:
build_runner: ^2.4.13
drift_dev: '>=2.26.1 <2.27.0'
drift_dev: '>=2.27.0 <2.28.0'

flutter:
uses-material-design: true
Loading
Loading