Skip to content

Commit

Permalink
Fix: Remove appwrite environment config from service
Browse files Browse the repository at this point in the history
  • Loading branch information
rkishan516 committed Nov 27, 2024
1 parent 6dbbb03 commit 6413ee9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.0+1

* Update homepage link for pub.dev
* Update Readme file
* Remove appwrite environment config from appwrite service

## 1.0.0

* Add documentation with starlight
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@

### Dolphin CLI

<a href="https://pub.dev/packages/dolphin_cli" target="_blank">
<img src="https://img.shields.io/pub/v/dolphin_cli.svg?style=for-the-badge&label=pub&logo=dart"/>
</a>
<a href="https://dolphincli.netlify.app/" target="_blank">
<img src="https://img.shields.io/badge/starlight-d.svg?style=for-the-badge&label=Documentation&color=8f0595"/>
</a>
<a href="https://pub.dev/packages/dolphin_cli/score" target="_blank">
<img src="https://img.shields.io/pub/likes/dolphin_cli.svg?style=for-the-badge&color=1e7b34&label=likes&labelColor=black"/>
<img src="https://img.shields.io/pub/points/dolphin_cli?style=for-the-badge&color=0056b3&label=Points&labelColor=black"/>
</a>
<a href="https://github.com/rkishan516/dolphin_cli/stargazers" target="_blank">
<img src="https://img.shields.io/github/stars/rkishan516/dolphin_cli.svg?style=for-the-badge&label=GitHub Stars&color=gold"/>
</a>

The official CLI (Command Line Interface) dev tools for working with the Dolphin framework. Dolphin is a framework built in Flutter for production teams. It is built for maintenance, readability, and scaleability.

Expand Down
11 changes: 0 additions & 11 deletions lib/src/templates/appwrite/mini/appwrite_service.dart.stk
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ import 'package:test_magic_app/app/common/services/environment_config_service.da

part 'appwrite_service.g.dart';

class EnvironmentConfigService {
final appwriteEndpoint = String.fromEnvironment(
'APPWRITE_ENDPOINT',
defaultValue: 'https://localhost/v1',
);

final appWriteProjectId = String.fromEnvironment(
'APPWRITE_PROJECT_ID',
);
}

@Riverpod(keepAlive: true)
Client appwriteClient(Ref ref) {
final envConfig = ref.read(environmentConfigProvider);
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: dolphin_cli
description: The official command-line interface for the Dolphin framework, tailored for Flutter developers.
version: 1.0.0
homepage: https://github.com/rkishan516/dolphin_cli
version: 1.0.0+1
homepage: https://dolphincli.netlify.app/
repository: https://github.com/rkishan516/dolphin_cli
topics: [cli, codegen, template, boilerplate]

Expand Down

0 comments on commit 6413ee9

Please sign in to comment.