Skip to content

Commit 892a5af

Browse files
committed
change: Removed the catalyst_builder_container package
1 parent b244e7c commit 892a5af

20 files changed

Lines changed: 4 additions & 544 deletions

File tree

.github/workflows/dart.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -61,27 +61,3 @@ jobs:
6161

6262
- name: Run tests
6363
run: dart test
64-
test_catalyst_builder_container:
65-
runs-on: ubuntu-latest
66-
defaults:
67-
run:
68-
working-directory: packages/catalyst_builder_container
69-
70-
steps:
71-
- uses: actions/checkout@v2
72-
73-
- uses: dart-lang/setup-dart@v1
74-
with:
75-
sdk: 'stable'
76-
77-
- name: Install dependencies
78-
run: dart pub get
79-
80-
- name: Verify formatting
81-
run: dart format --output=none --set-exit-if-changed lib
82-
83-
- name: Analyze project source
84-
run: dart analyze lib
85-
86-
- name: Run tests
87-
run: dart test

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ This is the workspace root, select a specific package for more details.
1010
| Package | Description | Badges |
1111
|-----------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1212
| [`catalyst_builder`](./packages/catalyst_builder) | The builder package. Use this in your root package or plugin package to generate the ServiceContainerPlugin. | [![Pub](https://img.shields.io/pub/v/catalyst_builder.svg)](https://pub.dartlang.org/packages/catalyst_builder)<br> ![Pub Points](https://img.shields.io/pub/points/catalyst_builder)<br> ![Pub Likes](https://img.shields.io/pub/likes/catalyst_builder)<br> ![Pub Monthly Downloads](https://img.shields.io/pub/dm/catalyst_builder) |
13-
| [`catalyst_builder_container`](./packages/catalyst_builder_container) | The container package. Use this package to resolve services from the container. | [![Pub](https://img.shields.io/pub/v/catalyst_builder_container.svg)](https://pub.dartlang.org/packages/catalyst_builder_container) <br> ![Pub Points](https://img.shields.io/pub/points/catalyst_builder_container) <br> ![Pub Likes](https://img.shields.io/pub/likes/catalyst_builder_container) <br> ![Pub Monthly Downloads](https://img.shields.io/pub/dm/catalyst_builder_container) |
1413
| [`catalyst_builder_contracts`](./packages/catalyst_builder_contracts) | The contracts package. Use this in packages that don't need to generate a service provider but provide services that can be resolved. | [![Pub](https://img.shields.io/pub/v/catalyst_builder_contracts.svg)](https://pub.dartlang.org/packages/catalyst_builder_contracts) <br> ![Pub Points](https://img.shields.io/pub/points/catalyst_builder_contracts) <br> ![Pub Likes](https://img.shields.io/pub/likes/catalyst_builder_contracts) <br> ![Pub Monthly Downloads](https://img.shields.io/pub/dm/catalyst_builder_contracts) |
1514

1615
## Roadmap
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const String preflightExtension = '.catalyst_builder.preflight.json';
2-
const String serviceProviderExtension = '.catalyst_builder.g.dart';
32
const String oldAnnotationsPrefix = 'package:catalyst_builder/src/annotation/';
4-
const String serviceProviderPluginExtension = '.catalyst_builder.plugin.g.dart';
3+
const String serviceContainerPluginExtension = '.catalyst_builder.plugin.g.dart';
54
const String annotationsPrefix =
65
'package:catalyst_builder_contracts/src/annotation/';

packages/catalyst_builder/lib/src/builder/service_provider_plugin_builder.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ServiceProviderPluginBuilder implements Builder {
4444

4545
var content = await _generateCode(buildStep, pluginClassName);
4646
await buildStep.writeAsString(
47-
buildStep.inputId.changeExtension(serviceProviderPluginExtension),
47+
buildStep.inputId.changeExtension(serviceContainerPluginExtension),
4848
content,
4949
);
5050
}
@@ -88,6 +88,6 @@ class ServiceProviderPluginBuilder implements Builder {
8888
@override
8989
Map<String, List<String>> get buildExtensions => {
9090
r'$lib$': [],
91-
r'.dart': [serviceProviderPluginExtension],
91+
r'.dart': [serviceContainerPluginExtension],
9292
};
9393
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export 'service_container.dart';

packages/catalyst_builder_container/lib/src/service_container.dart renamed to packages/catalyst_builder/lib/src/service_container.dart

File renamed without changes.

packages/catalyst_builder_container/.gitignore

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

packages/catalyst_builder_container/CHANGELOG.md

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

packages/catalyst_builder_container/LICENSE

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

packages/catalyst_builder_container/README.md

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

0 commit comments

Comments
 (0)