Skip to content

Commit

Permalink
feat!: connect everything together (#25)
Browse files Browse the repository at this point in the history
* started implementation

* wip dependency injection

* fixes

* more fixes

* tested config provider

* tested settings provider

* so many changes

* new commas

* added a test

* more tests

* removed untracked file

* more coverage

* wip test

* mock notifier override

* roadblock with variables

* feat: styles importer (#26)

* added all kinds of styles

* small fixes

* remove token

* removed test file

* so many changessss

* smaller changes

* many fixes

* added integration test

* delete path

* it generates something!!!

* simplified util

* feat: better token fetching (#27)

* added constructors everywhere

* fixing around

* fixed tests

* more coverage

* linter love

* allow coverage decrease for now

* FULL COVERAGE

* optimized tests in figmage package generator

* removed post gen hook from package generator

* post gen commands

* added tests for post gen

* removed top level folder from generated package

* fixes

* dir fix

* sort alphabetically

* better logging

* better exception message

* linter love

* implemented review changes
  • Loading branch information
timcreatedit authored Dec 18, 2023
1 parent c029ab8 commit 85f1009
Show file tree
Hide file tree
Showing 124 changed files with 5,144 additions and 4,878 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ jobs:
uses: whynotmake-it/dart-coverage-assistant@5df622b0cf8ad8eca6baba5af82d49e140f785df
with:
enforce_threshold: 'single'
enforce_forbidden_decrease: 'none'
lower_threshold: 50
upper_threshold: 90
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ build/
pubspec.lock
pubspec_overrides.yaml
.idea

# Don't skip build test in CI
dart_test.yaml

.vscode/settings.json
.vscode/launch.json
6 changes: 4 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include: package:lintervention/analysis_options.yaml

analyzer:
exclude:
- 'lib/src/version.dart'
exclude:
- "lib/src/version.dart"
language:
strict-raw-types: false
4 changes: 3 additions & 1 deletion bin/figmage.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import 'dart:io';

import 'package:figmage/src/command_runner.dart';
import 'package:riverpod/riverpod.dart';

Future<void> main(List<String> args) async {
await _flushThenExit(await FigmageCommandRunner().run(args));
final container = ProviderContainer();
await _flushThenExit(await FigmageCommandRunner(container).run(args));
}

/// Flushes the stdout and stderr streams, then exits the program with the given
Expand Down
Loading

0 comments on commit 85f1009

Please sign in to comment.