Skip to content

Commit

Permalink
chore: removed api env packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Gambley1 committed Aug 3, 2024
1 parent 28bb9a7 commit 22e91a0
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 126 deletions.
1 change: 1 addition & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build/
.dart_frog
*.env
.vscode
lib/src/common/config/env.g.dart

# Test related files
coverage/
2 changes: 1 addition & 1 deletion api/lib/api.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// Yandex Food Clone API Server-Side Library
library api;

export 'src/common/common.dart';
export 'src/common/common.dart' hide Env;
export 'src/common/remote/remote.dart';
export 'src/data/database/database.dart';
export 'src/data/db_menu_fake_data_view.dart';
Expand Down
3 changes: 1 addition & 2 deletions api/lib/client.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/// Yandex Food Clone API Client-Side Library
library client;

export 'package:env/env.dart';

export 'src/client/yandex_food_api_client.dart';
export 'src/common/config/env.dart';
export 'src/common/config/uuid_gen.dart';
export 'src/common/remote/app_dio.dart';
export 'src/common/utils/extensions/formatter_extension.dart';
Expand Down
1 change: 1 addition & 0 deletions api/lib/src/common/config/config.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export 'delivery_estimator.dart';
export 'env.dart';
export 'missing_fields.dart';
export 'url_builder.dart';
export 'uuid_gen.dart';
File renamed without changes.
1 change: 0 additions & 1 deletion api/lib/src/middleware/database_provider.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:dart_frog/dart_frog.dart';
import 'package:env/env.dart';
import 'package:stormberry/stormberry.dart';
import 'package:yandex_food_api/src/common/common.dart';

Expand Down
10 changes: 0 additions & 10 deletions api/packages/env/.gitignore

This file was deleted.

62 changes: 0 additions & 62 deletions api/packages/env/README.md

This file was deleted.

1 change: 0 additions & 1 deletion api/packages/env/analysis_options.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions api/packages/env/coverage_badge.svg

This file was deleted.

4 changes: 0 additions & 4 deletions api/packages/env/lib/env.dart

This file was deleted.

17 changes: 0 additions & 17 deletions api/packages/env/pubspec.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions api/packages/env/test/src/env_test.dart

This file was deleted.

4 changes: 2 additions & 2 deletions api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ dependencies:
dart_jsonwebtoken: ^2.14.0
dio: ^5.4.3
dotenv: ^4.2.0
env:
path: packages/env
envied: ^0.5.4+1
equatable: ^2.0.5
intl: ^0.19.0
json_annotation: ^4.9.0
Expand All @@ -26,6 +25,7 @@ dependencies:

dev_dependencies:
build_runner: ^2.4.11
envied_generator: ^0.5.4+1
json_serializable: ^6.8.0
mocktail: ^1.0.3
test: ^1.25.5
Expand Down

0 comments on commit 22e91a0

Please sign in to comment.