mirror of https://github.com/flutter/pinball.git
feat: adding pinball components scaffold project (#82)
* refactor: removed findNested extensions (#77) * feat: bootstraping the components package Co-authored-by: Alejandro Santiago <dev@alestiago.com>pull/88/head
parent
5bbfd0c362
commit
92404fbdba
@ -0,0 +1,19 @@
|
||||
name: pinball_components
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "packages/pinball_components/**"
|
||||
- ".github/workflows/pinball_components.yaml"
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- "packages/pinball_components/**"
|
||||
- ".github/workflows/pinball_components.yaml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
working_directory: packages/pinball_components
|
||||
coverage_excludes: "lib/src/generated/*.dart"
|
@ -0,0 +1,39 @@
|
||||
# Miscellaneous
|
||||
*.class
|
||||
*.log
|
||||
*.pyc
|
||||
*.swp
|
||||
.DS_Store
|
||||
.atom/
|
||||
.buildlog/
|
||||
.history
|
||||
.svn/
|
||||
|
||||
# IntelliJ related
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
.idea/
|
||||
|
||||
# VSCode related
|
||||
.vscode/
|
||||
|
||||
# Flutter/Dart/Pub related
|
||||
**/doc/api/
|
||||
**/ios/Flutter/.last_build_id
|
||||
.dart_tool/
|
||||
.flutter-plugins
|
||||
.flutter-plugins-dependencies
|
||||
.packages
|
||||
.pub-cache/
|
||||
.pub/
|
||||
/build/
|
||||
|
||||
# Web related
|
||||
lib/generated_plugin_registrant.dart
|
||||
|
||||
# Symbolication related
|
||||
app.*.symbols
|
||||
|
||||
# Obfuscation related
|
||||
app.*.map.json
|
@ -0,0 +1,11 @@
|
||||
# pinball_components
|
||||
|
||||
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
|
||||
[![License: MIT][license_badge]][license_link]
|
||||
|
||||
Package with the UI game components for the Pinball Game
|
||||
|
||||
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||
[license_link]: https://opensource.org/licenses/MIT
|
||||
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
|
||||
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
|
@ -0,0 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.2.4.0.yaml
|
@ -0,0 +1,3 @@
|
||||
library pinball_components;
|
||||
|
||||
export 'src/pinball_components.dart';
|
@ -0,0 +1,7 @@
|
||||
/// {@template pinball_components}
|
||||
/// Package with the UI game components for the Pinball Game
|
||||
/// {@endtemplate}
|
||||
class PinballComponents {
|
||||
/// {@macro pinball_components}
|
||||
const PinballComponents();
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
name: pinball_components
|
||||
description: Package with the UI game components for the Pinball Game
|
||||
version: 1.0.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.16.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
very_good_analysis: ^2.4.0
|
@ -0,0 +1,11 @@
|
||||
// ignore_for_file: prefer_const_constructors
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:pinball_components/pinball_components.dart';
|
||||
|
||||
void main() {
|
||||
group('PinballComponents', () {
|
||||
test('can be instantiated', () {
|
||||
expect(PinballComponents(), isNotNull);
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Reference in new issue