-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(mason_logger): v0.2.16 (#1377): Add cspell
Add cspell dictionary and make it pass. Originally I was just trying to fix spelling of "delimeter", but added cspell as practice for myself and figured it might be useful to you. - [ ] ✨ New feature (non-breaking change which adds functionality) - [ ] 🛠️ Bug fix (non-breaking change which fixes an issue) - [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change) - [X] 🧹 Code refactor - [ ] ✅ Build configuration change - [ ] 📝 Documentation - [ ] 🗑️ Chore
- Loading branch information
Showing
21 changed files
with
80 additions
and
28 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,42 @@ | ||
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json | ||
version: "0.2" | ||
words: | ||
- APPDATA | ||
- LOCALAPPDATA | ||
- mocktail | ||
- buildroot | ||
- endtemplate | ||
- writeln | ||
- recase | ||
- ints | ||
- combinators | ||
- tearoffs | ||
- pubspec | ||
- unawaited | ||
- interps | ||
- livestream | ||
- angelov | ||
- podfile | ||
- PANA | ||
- recompile | ||
- dartaotruntime | ||
- unbundle | ||
- xlink | ||
- struct | ||
- brickhub | ||
- felangel | ||
- Verdana | ||
- vscodeignore | ||
- nosources | ||
- recompiles | ||
- unbundling | ||
- sublist | ||
- Flutterly | ||
- antiprioritize # This might be an api mistake? | ||
- Yyna | ||
- dylib | ||
- libc | ||
- calloc | ||
- nullptr | ||
- xmit | ||
- keypress |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ A Dart API client used by [package:mason_cli](https://github.com/felangel/mason) | |
import 'package:mason_api/mason_api.dart'; | ||
const email = '[email protected]'; | ||
const password = 't0pS3cret!'; | ||
const password = 'top-secret!'; | ||
Future<void> main() async { | ||
final masonApi = MasonApi(); | ||
|
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,7 +1,7 @@ | ||
import 'package:mason_api/mason_api.dart'; | ||
|
||
const email = '[email protected]'; | ||
const password = 't0pS3cret!'; | ||
const password = 't0pS3cret!'; // cspell:disable-line | ||
|
||
Future<void> main() async { | ||
final masonApi = MasonApi(); | ||
|
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 |
---|---|---|
|
@@ -11,12 +11,12 @@ import 'package:test/test.dart'; | |
|
||
class _MockHttpClient extends Mock implements http.Client {} | ||
|
||
const token = | ||
const token = // cspell:disable-next-line | ||
'''eyJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAZW1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlfQ.SaCs1BJ2Oib4TkUeR6p1uh_XnWjJnJpm-dZkL8Whsc_g-NrDKeHhkuVa8fNIbfLtdVeXjVSSi_ZjQDAJho039HSrrdhQAgrRY04cJ6IZCF1HKvJeWDcIihPdl2Zl_V5u9xBxU3ImfGpJ-0O0vCpKHIuDwZsmfN3h_CkDv3SK7lA'''; | ||
const authority = 'registry.brickhub.dev'; | ||
const credentialsFileName = 'mason-credentials.json'; | ||
const email = '[email protected]'; | ||
const password = 'T0pS3cret!'; | ||
const password = 'T0pS3cret!'; // cspell:disable-line | ||
|
||
class TestMasonApiException extends MasonApiException { | ||
const TestMasonApiException({required super.message, super.details}); | ||
|
@@ -274,7 +274,7 @@ void main() { | |
).thenAnswer( | ||
(_) async => http.Response( | ||
json.encode({ | ||
'access_token': | ||
'access_token': // cspell:disable-next-line | ||
'''eyJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJmb28iOiJiYXIifQ.LaR0JfOiDrS1AuABC38kzxpSjRLJ_OtfOkZ8hL6I1GPya-cJYwsmqhi5eMBwEbpYHcJhguG5l56XM6dW8xjdK7JbUN6_53gHBosSnL-Ccf29oW71Ado9sxO17YFQyihyMofJ_v78BPVy2H5O10hNjRn_M0JnnAe0Fvd2VrInlIE''', | ||
'refresh_token': '__refresh_token__', | ||
'expires_in': '3600', | ||
|
@@ -526,7 +526,7 @@ void main() { | |
).thenAnswer( | ||
(_) async => http.Response( | ||
json.encode({ | ||
'access_token': | ||
'access_token': // cspell:disable-next-line | ||
'''eyJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJmb28iOiJiYXIifQ.LaR0JfOiDrS1AuABC38kzxpSjRLJ_OtfOkZ8hL6I1GPya-cJYwsmqhi5eMBwEbpYHcJhguG5l56XM6dW8xjdK7JbUN6_53gHBosSnL-Ccf29oW71Ado9sxO17YFQyihyMofJ_v78BPVy2H5O10hNjRn_M0JnnAe0Fvd2VrInlIE''', | ||
'refresh_token': '__refresh_token__', | ||
'expires_in': '3600', | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 +1,4 @@ | ||
// cspell:ignore SGkge3tuYW1lfX0h | ||
import 'dart:convert'; | ||
import 'dart:io'; | ||
|
||
|
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 |
---|---|---|
|
@@ -53,7 +53,7 @@ void main() { | |
|
||
test('exits with code 70 when MasonApiLoginFailure occurs', () async { | ||
const email = '[email protected]'; | ||
const password = 'T0pS3cret!'; | ||
const password = 'T0pS3cret!'; // cspell:disable-line | ||
const message = 'oops something went wrong!'; | ||
when( | ||
() => logger.prompt('email:', defaultValue: any(named: 'defaultValue')), | ||
|
@@ -86,7 +86,7 @@ void main() { | |
|
||
test('exits with code 0 when logged in successfully', () async { | ||
const email = '[email protected]'; | ||
const password = 'T0pS3cret!'; | ||
const password = 'T0pS3cret!'; // cspell:disable-line | ||
final user = _MockUser(); | ||
when(() => user.email).thenReturn(email); | ||
when( | ||
|
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