Skip to content

Commit

Permalink
Merging from dart3a
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Nov 5, 2023
2 parents e78ab2a + 4176084 commit eac5dce
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 14 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dependabot configuration file.
# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
version: 2

enable-beta-ecosystems: true
updates:
- package-ecosystem: "pub"
directory: "."
schedule:
interval: "monthly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
2 changes: 1 addition & 1 deletion .github/workflows/run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
sdk: ${{ matrix.dart }}
- run: dart --version
- run: dart pub get
- run: dart run tool/run_ci.dart
- run: dart run tool/run_ci.dart
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# tekartik analysis_options extension to pedantic
include: package:tekartik_common_utils/pedantic/analysis_options.strong_mode.yaml
include: package:tekartik_lints/strict.yaml
3 changes: 3 additions & 0 deletions dart_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
platforms:
- vm
- chrome
2 changes: 1 addition & 1 deletion example/component-handler/list_sample.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ Future main() async {
jsComponentHandler.upgradeDom();

createList();
await Future.delayed(const Duration(milliseconds: 100));
await Future<void>.delayed(const Duration(milliseconds: 100));
createList();
}
2 changes: 1 addition & 1 deletion lib/mdl_js.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ComponentHandler {
*/
upgradeElement(element);
if (!mdl.isComponentUpgraded(element)) {
throw 'element not upgrade $element ${Map.from(element.attributes)}';
throw 'element not upgrade $element ${Map<String, String>.from(element.attributes)}';
}
//return completer.future;
return Future.value();
Expand Down
16 changes: 6 additions & 10 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,23 @@ description: Material design lite base resources and wrappers
homepage: https://github.com/tekartik/mdl_js.dart
publish_to: none
environment:
sdk: '>=2.12.0-0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
js: any
tekartik_browser_utils:
git:
url: https://github.com/tekartik/browser_utils.dart
ref: dart2_3
ref: dart3a
version: '>=0.6.8+1'
chrome_travis:
pub_semver:
tekartik_common_utils:
git:
url: https://github.com/tekartik/chrome_travis.dart
ref: dart2_3
pub_semver:
url: https://github.com/tekartik/common_utils.dart
ref: dart3a
dev_dependencies:
test: any
dev_test: any
build_runner: '>=0.9.0'
build_test: '>=0.10.2'
build_web_compilers: '>=0.4.0'
process_run: '>=0.10.1'
tekartik_common_utils:
git:
url: https://github.com/tekartik/common_utils.dart
ref: dart2_3

0 comments on commit eac5dce

Please sign in to comment.