mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-25 05:59:55 +00:00
start implement generator code
This commit is contained in:
4
cherrypick_annotations/.gitignore
vendored
4
cherrypick_annotations/.gitignore
vendored
@@ -21,4 +21,6 @@ doc/api/
|
||||
*.js.map
|
||||
|
||||
# FVM Version Cache
|
||||
.fvm/
|
||||
.fvm/
|
||||
|
||||
melos_cherrypick_annotations.iml
|
||||
@@ -1,3 +0,0 @@
|
||||
void main() {
|
||||
print('awesome');
|
||||
}
|
||||
@@ -3,6 +3,6 @@
|
||||
/// More dartdocs go here.
|
||||
library;
|
||||
|
||||
export 'src/cherrypick_annotations_base.dart';
|
||||
export 'injectable.dart';
|
||||
|
||||
// TODO: Export any libraries intended for clients of this package.
|
||||
|
||||
6
cherrypick_annotations/lib/injectable.dart
Normal file
6
cherrypick_annotations/lib/injectable.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
library;
|
||||
|
||||
/// Отмечает класс как injectable для автоматической регистрации.
|
||||
class Injectable {
|
||||
const Injectable();
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
// Define the Inject annotation
|
||||
class Inject {
|
||||
final String? named;
|
||||
const Inject({this.named});
|
||||
}
|
||||
@@ -4,12 +4,13 @@ version: 1.0.0
|
||||
# repository: https://github.com/my_org/my_repo
|
||||
|
||||
environment:
|
||||
sdk: ^3.5.2
|
||||
sdk: ">=3.5.2 <4.0.0"
|
||||
|
||||
# Add regular dependencies here.
|
||||
dependencies:
|
||||
meta: ^1.15.0
|
||||
# path: ^1.8.0
|
||||
|
||||
dev_dependencies:
|
||||
lints: ^4.0.0
|
||||
test: ^1.24.0
|
||||
lints: ^5.0.0
|
||||
test: ^1.25.8
|
||||
|
||||
Reference in New Issue
Block a user