Skip to content

Commit

Permalink
chore: Rename Celest project package (#8)
Browse files Browse the repository at this point in the history
Renames Celest project package to `celest_backend` by convention.
  • Loading branch information
dnys1 authored Jan 22, 2024
1 parent efd9ed6 commit 778f635
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/celest/example/celest/lib/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import 'package:http/http.dart' as http;

import 'src/client/functions.dart';

export 'exceptions.dart';
export 'models.dart';

final Celest celest = Celest();

class Celest {
Expand Down
2 changes: 2 additions & 0 deletions packages/celest/example/celest/lib/exceptions.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// By convention, any custom exception types thrown by an API must be defined
// in this file or exported from this file.
2 changes: 2 additions & 0 deletions packages/celest/example/celest/lib/models.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// By convention, any custom types used within an API request/response must be
// defined in this file or exported from this file.
2 changes: 1 addition & 1 deletion packages/celest/example/celest/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: example_app_celest
name: celest_backend
description: The Celest backend for example_app.
publish_to: none

Expand Down
2 changes: 1 addition & 1 deletion packages/celest/example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:example_app_celest/client.dart';
import 'package:celest_backend/client.dart';
import 'package:flutter/material.dart';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion packages/celest/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
sdk: '>=3.2.5 <4.0.0'

dependencies:
example_app_celest:
celest_backend:
path: celest/
flutter:
sdk: flutter
Expand Down

0 comments on commit 778f635

Please sign in to comment.