-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dart2_3
- Loading branch information
Showing
21 changed files
with
115 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ publish_to: none | |
#author: alex <[email protected]> | ||
|
||
environment: | ||
sdk: '>=2.18.0 <3.0.0' | ||
sdk: '>=2.18.0 <4.0.0' | ||
|
||
dependencies: | ||
collection: '>=1.14.10' | ||
|
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 was deleted.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>test_menu_starter</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="packages/tekartik_browser_utils/img/favicon.png"> | ||
</head> | ||
<body> | ||
<script src="main.dart.js"></script> | ||
</body> | ||
</html> |
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,52 @@ | ||
// ignore_for_file: depend_on_referenced_packages | ||
|
||
import 'package:http/http.dart'; | ||
import 'package:tekartik_http/http.dart'; | ||
import 'package:tekartik_test_menu_browser/test_menu_universal.dart'; | ||
|
||
Future main(List<String> arguments) async { | ||
await mainMenu(arguments, () { | ||
item('io http hello v2', () async { | ||
// This test cors on the web | ||
var client = Client(); | ||
var result = await httpClientRead( | ||
client, | ||
httpMethodGet, | ||
Uri.parse('http://localhost:4999/thelloworldv2'), | ||
); | ||
write('result: $result'); | ||
}); | ||
item('io http hello v2 cors', () async { | ||
// This test cors on the web | ||
var client = Client(); | ||
var result = await httpClientRead( | ||
client, | ||
httpMethodPost, | ||
Uri.parse('http://localhost:4999/thelloworldcorsv2'), | ||
); | ||
write('result: $result'); | ||
}); | ||
item('local firebase http hello v2', () async { | ||
// This test cors on the web | ||
var client = Client(); | ||
var result = await httpClientRead( | ||
client, | ||
httpMethodGet, | ||
Uri.parse( | ||
'http://localhost:5000/tekartik-eu-dev/europe-west1/thelloworldv2'), | ||
); | ||
write('result: $result'); | ||
}); | ||
item('local firebase http hello v2 cors', () async { | ||
// This test cors on the web | ||
var client = Client(); | ||
var result = await httpClientRead( | ||
client, | ||
httpMethodPost, | ||
Uri.parse( | ||
'http://localhost:5000/tekartik-eu-dev/europe-west1/thelloworldcorsv2'), | ||
); | ||
write('result: $result'); | ||
}); | ||
}); | ||
} |
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,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Index</title> | ||
</head> | ||
<body> | ||
<ul> | ||
<li> | ||
<a href="client/index.html">client/index.html</a> | ||
</li> | ||
</ul> | ||
</body> | ||
</html> |
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 |
---|---|---|
|
@@ -6,21 +6,21 @@ publish_to: none | |
#author: alex <[email protected]> | ||
|
||
environment: | ||
sdk: '>=2.18.0 <3.0.0' | ||
sdk: '>=2.18.0 <4.0.0' | ||
|
||
dependencies: | ||
tekartik_firebase_functions: | ||
git: | ||
url: https://github.com/tekartik/firebase_functions.dart | ||
path: firebase_functions | ||
ref: dart2_3 | ||
version: '>=0.4.0' | ||
version: '>=0.4.1' | ||
tekartik_firebase_functions_io: | ||
git: | ||
url: https://github.com/tekartik/firebase_functions.dart | ||
path: firebase_functions_io | ||
ref: dart2_3 | ||
version: '>=0.4.0' | ||
version: '>=0.4.1' | ||
tekartik_firebase_firestore_node: | ||
git: | ||
url: https://github.com/tekartik/firebase_node.dart | ||
|
@@ -57,6 +57,12 @@ dependencies: | |
ref: dart2_3 | ||
version: '>=0.4.0' | ||
dev_dependencies: | ||
tekartik_test_menu_browser: | ||
git: | ||
url: https://github.com/tekartik/test_menu.dart | ||
path: test_menu_browser | ||
ref: dart2_3 | ||
version: '>=0.4.7' | ||
tekartik_app_node_build: | ||
git: | ||
url: https://github.com/tekartik/app_node_utils.dart | ||
|
@@ -71,7 +77,6 @@ dev_dependencies: | |
version: '>=0.3.0' | ||
test: '>=1.2.0' | ||
dev_test: '>=0.13.3+12' | ||
grinder: any | ||
tekartik_build_utils: | ||
git: | ||
url: https://github.com/tekartik/build_utils.dart | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ publish_to: none | |
#author: alex <[email protected]> | ||
|
||
environment: | ||
sdk: '>=2.18.0 <3.0.0' | ||
sdk: '>=2.18.0 <4.0.0' | ||
|
||
dependencies: | ||
path: | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.