Skip to content

Commit cc6bc58

Browse files
authored
chore: Improve spanner routing (#139)
* remove pharaoh next, too much work * remove shelf interop * revert back to one part at a time * remove unused props * include early breaks * _ * _ * _ * add cache for route segments * _
1 parent fd75d39 commit cc6bc58

File tree

39 files changed

+189
-2444
lines changed

39 files changed

+189
-2444
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ jobs:
3131
run: melos format -- --set-exit-if-changed
3232

3333
- name: Check linting
34-
run: |
35-
cd packages/pharaoh && dart run build_runner build --delete-conflicting-outputs
36-
melos analyze
34+
run: melos analyze
3735

3836
test:
3937
name: Test Packages
@@ -44,13 +42,7 @@ jobs:
4442

4543
- uses: dart-lang/setup-dart@v1.3
4644
- uses: bluefireteam/melos-action@v3
47-
48-
- name: Bootstrap
49-
run: |
50-
dart pub global activate melos
51-
melos bootstrap
52-
cd packages/pharaoh && dart run build_runner build --delete-conflicting-outputs
53-
45+
5446
- name: Run Unit tests
5547
run: melos tests:ci
5648

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Pharaoh 🏇
22

3-
[![Dart](https://github.com/codekeyz/pharaoh/workflows/Dart/badge.svg)](https://github.com/codekeyz/pharaoh/actions/workflows/test.yml)
3+
[![Test Pipeline](https://github.com/codekeyz/pharaoh/actions/workflows/test.yaml/badge.svg)](https://github.com/codekeyz/pharaoh/actions/workflows/test.yaml)
44
[![codecov](https://codecov.io/gh/codekeyz/pharaoh/graph/badge.svg?token=4CJTGP1U2M)](https://codecov.io/gh/codekeyz/pharaoh)
55
[![Pub Version](https://img.shields.io/pub/v/pharaoh?color=green)](https://pub.dev/packages/pharaoh)
6-
[![popularity](https://img.shields.io/pub/popularity/pharaoh?logo=dart)](https://pub.dev/packages/pharaoh/score)
76
[![likes](https://img.shields.io/pub/likes/pharaoh?logo=dart)](https://pub.dev/packages/pharaoh/score)
87
[![melos](https://img.shields.io/badge/maintained%20with-melos-f700ff.svg?style=flat-square)](https://github.com/invertase/melos)
98

packages/pharaoh/lib/pharaoh.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ export 'src/http/request.dart';
66
export 'src/http/response.dart';
77
export 'src/http/router.dart';
88

9-
export 'src/shelf_interop/adapter.dart';
10-
export 'src/shelf_interop/shelf.dart' show ShelfBody;
11-
129
export 'src/utils/utils.dart';
1310
export 'src/utils/exceptions.dart';
1411

packages/pharaoh/lib/pharaoh_next.dart

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/pharaoh/lib/src/_next/_core/config.dart

Lines changed: 0 additions & 68 deletions
This file was deleted.

packages/pharaoh/lib/src/_next/_core/container.dart

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/pharaoh/lib/src/_next/_core/core_impl.dart

Lines changed: 0 additions & 47 deletions
This file was deleted.

packages/pharaoh/lib/src/_next/_core/reflector.dart

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)