forked from angulardart-community/angular_components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from leftyio/sync_master_compatible
Sync master compatible
- Loading branch information
Showing
124 changed files
with
721 additions
and
532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"projects": { | ||
"default": "angulardart-community" | ||
}, | ||
"targets": { | ||
"angulardart-community": { | ||
"hosting": { | ||
"main": [ | ||
"www.angulardart.xyz" | ||
], | ||
"gallery": [ | ||
"angulardart-gallery" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ name: Dart CI | |
on: | ||
push: | ||
branches: | ||
- compatible | ||
# - dev | ||
- dev | ||
- master | ||
pull_request: | ||
|
||
defaults: | ||
|
@@ -18,5 +18,9 @@ jobs: | |
steps: | ||
- uses: dart-lang/[email protected] | ||
- uses: actions/[email protected] | ||
- name: Install mono_repo | ||
run: dart pub global activate mono_repo | ||
- name: Fetch dependencies | ||
run: dart pub global run mono_repo pub get | ||
- name: Analyze files | ||
run: dart analyze | ||
run: dart analyze |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This file was auto-generated by the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
|
||
name: Deploy to Firebase Hosting on merge | ||
'on': | ||
push: | ||
branches: | ||
- master | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Dart SDK | ||
uses: dart-lang/[email protected] | ||
|
||
- run: dart pub get && dart run build_runner build -o build --release | ||
working-directory: examples/angular_components_example | ||
|
||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ANGULARDART_COMMUNITY }}' | ||
channelId: live | ||
projectId: angulardart-community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This file was auto-generated by the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
|
||
name: Deploy to Firebase Hosting on PR | ||
'on': pull_request | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build_and_preview: | ||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Dart SDK | ||
uses: dart-lang/[email protected] | ||
|
||
- run: dart pub get && dart run build_runner build -o build | ||
working-directory: examples/angular_components_example | ||
|
||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ANGULARDART_COMMUNITY }}' | ||
projectId: angulardart-community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,7 @@ doc/api/ | |
|
||
## Misc ## | ||
.metals/ | ||
.vscode | ||
|
||
# Firebase related | ||
.firebase/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"indent_size": 2, | ||
"indent_char": " ", | ||
"wrap_attributes": "preserve-aligned" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
include: package:lints/recommended.yaml | ||
|
||
#include: package:pedantic/analysis_options.1.8.0.yaml | ||
#analyzer: | ||
# errors: | ||
# dead_code: warning | ||
# todo: ignore | ||
# unused_element: warning | ||
# unused_import: warning | ||
# unused_local_variable: warning | ||
# uri_has_not_been_generated: ignore | ||
# deprecated_member_use_from_same_package: ignore | ||
#linter: | ||
# rules: | ||
# - prefer_generic_function_type_aliases | ||
analyzer: | ||
errors: | ||
# Happen a lots with angular | ||
uri_has_not_been_generated: ignore | ||
############### | ||
constant_identifier_names: ignore | ||
annotate_overrides: ignore | ||
unnecessary_this: ignore | ||
unnecessary_brace_in_string_interps: ignore | ||
prefer_final_fields: ignore | ||
prefer_collection_literals: ignore | ||
prefer_conditional_assignment: ignore | ||
use_function_type_syntax_for_parameters: ignore | ||
prefer_void_to_null: ignore | ||
implementation_imports: ignore | ||
avoid_function_literals_in_foreach_calls: ignore | ||
unused_field: ignore | ||
prefer_typing_uninitialized_variables: ignore | ||
avoid_renaming_method_parameters: ignore | ||
non_constant_identifier_names: ignore | ||
prefer_function_declarations_over_variables: ignore | ||
unnecessary_string_interpolations: ignore | ||
avoid_returning_null_for_void: ignore | ||
prefer_if_null_operators: ignore | ||
overridden_fields: ignore | ||
prefer_for_elements_to_map_fromIterable: ignore | ||
prefer_spread_collections: ignore | ||
prefer_initializing_formals: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.