From 2258f301e82b28e6f372120262d7aeec4ece1aad Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Sat, 14 Dec 2024 11:55:13 -0700 Subject: [PATCH] refactor: refactored core package to foundation package --- packages/container/container/README.md | 4 +- packages/core/pubspec.lock | 685 ------------------ packages/{core => foundation}/.gitignore | 0 packages/{core => foundation}/AUTHORS.md | 0 packages/{core => foundation}/CHANGELOG.md | 0 packages/{core => foundation}/LICENSE | 0 packages/{core => foundation}/README.md | 0 .../analysis_options.yaml | 0 packages/{core => foundation}/dev.key | 0 packages/{core => foundation}/dev.pem | 0 .../example/controller.dart | 4 +- .../example/handle_error.dart | 4 +- .../example/hostname.dart | 4 +- .../example/http2/body_parsing.dart | 6 +- .../example/http2/common.dart | 0 .../example/http2/dev.key | 0 .../example/http2/dev.pem | 0 .../example/http2/main.dart | 6 +- .../example/http2/public/app.js | 0 .../example/http2/public/body_parsing.html | 0 .../example/http2/public/index.html | 0 .../example/http2/public/style.css | 0 .../example/http2/server_push.dart | 6 +- .../{core => foundation}/example/json.dart | 4 +- .../{core => foundation}/example/main.dart | 4 +- .../example/map_service.dart | 4 +- .../{core => foundation}/example/status.dart | 4 +- .../{core => foundation}/example/view.dart | 4 +- .../example/views/index.jl | 0 packages/{core => foundation}/lib/core.dart | 2 +- packages/{core => foundation}/lib/http.dart | 0 packages/{core => foundation}/lib/http2.dart | 0 .../lib/src/core/anonymous_service.dart | 0 .../lib/src/core/controller.dart | 2 +- .../lib/src/core/core.dart | 0 .../lib/src/core/driver.dart | 0 .../lib/src/core/env.dart | 0 .../lib/src/core/hooked_service.dart | 2 +- .../lib/src/core/hostname_parser.dart | 0 .../lib/src/core/hostname_router.dart | 0 .../lib/src/core/injection.dart | 0 .../lib/src/core/map_service.dart | 0 .../lib/src/core/metadata.dart | 0 .../lib/src/core/request_context.dart | 0 .../lib/src/core/response_context.dart | 2 +- .../lib/src/core/routable.dart | 0 .../lib/src/core/server.dart | 2 +- .../lib/src/core/service.dart | 2 +- .../lib/src/fast_name_from_symbol.dart | 0 .../lib/src/http/http.dart | 2 +- .../lib/src/http/http_request_context.dart | 0 .../lib/src/http/http_response_context.dart | 0 .../lib/src/http/protevus_http.dart | 2 +- .../lib/src/http2/http2_request_context.dart | 2 +- .../lib/src/http2/http2_response_context.dart | 2 +- .../lib/src/http2/protevus_http2.dart | 4 +- .../lib/src/safe_stream_controller.dart | 0 .../{core => foundation}/lib/src/util.dart | 0 .../performance/hello/angel.md | 0 .../performance/hello/main.dart | 4 +- .../performance/hello/raw.dart | 0 .../performance/hello/raw.md | 0 packages/{core => foundation}/pubspec.yaml | 2 +- .../test/accepts_test.dart | 4 +- packages/{core => foundation}/test/all.dart | 0 .../test/anonymous_service_test.dart | 2 +- .../{core => foundation}/test/body_test.dart | 4 +- .../{core => foundation}/test/common.dart | 2 +- .../test/controller_test.dart | 4 +- .../test/detach_test.dart | 4 +- .../{core => foundation}/test/di_test.dart | 4 +- .../test/encoders_buffer_test.dart | 4 +- .../{core => foundation}/test/env_test.dart | 2 +- .../test/exception_test.dart | 2 +- .../test/extension_test.dart | 4 +- .../test/find_one_test.dart | 2 +- .../test/general_test.dart | 4 +- packages/{core => foundation}/test/hm.dart | 0 .../test/hooked_test.dart | 4 +- .../test/http2/adapter_test.dart | 4 +- .../test/http2/http2_client.dart | 0 .../test/http_404_hole_test.dart | 4 +- .../{core => foundation}/test/jsonp_test.dart | 4 +- .../test/parameter_meta_test.dart | 4 +- .../test/parse_id_test.dart | 2 +- .../test/precontained_test.dart | 4 +- .../{core => foundation}/test/pretty_log.dart | 0 .../test/primitives_test.dart | 4 +- .../test/repeat_request_test.dart | 4 +- .../test/req_shutdown_test.dart | 4 +- .../test/response_header_test.dart | 4 +- .../test/routing_test.dart | 4 +- .../test/serialize_test.dart | 4 +- .../test/server_test.dart | 4 +- .../test/service_map_test.dart | 2 +- .../test/services_test.dart | 4 +- .../test/streaming_test.dart | 4 +- .../test/view_generator_test.dart | 2 +- 98 files changed, 96 insertions(+), 781 deletions(-) delete mode 100644 packages/core/pubspec.lock rename packages/{core => foundation}/.gitignore (100%) rename packages/{core => foundation}/AUTHORS.md (100%) rename packages/{core => foundation}/CHANGELOG.md (100%) rename packages/{core => foundation}/LICENSE (100%) rename packages/{core => foundation}/README.md (100%) rename packages/{core => foundation}/analysis_options.yaml (100%) rename packages/{core => foundation}/dev.key (100%) rename packages/{core => foundation}/dev.pem (100%) rename packages/{core => foundation}/example/controller.dart (93%) rename packages/{core => foundation}/example/handle_error.dart (88%) rename packages/{core => foundation}/example/hostname.dart (92%) rename packages/{core => foundation}/example/http2/body_parsing.dart (89%) rename packages/{core => foundation}/example/http2/common.dart (100%) rename packages/{core => foundation}/example/http2/dev.key (100%) rename packages/{core => foundation}/example/http2/dev.pem (100%) rename packages/{core => foundation}/example/http2/main.dart (87%) rename packages/{core => foundation}/example/http2/public/app.js (100%) rename packages/{core => foundation}/example/http2/public/body_parsing.html (100%) rename packages/{core => foundation}/example/http2/public/index.html (100%) rename packages/{core => foundation}/example/http2/public/style.css (100%) rename packages/{core => foundation}/example/http2/server_push.dart (92%) rename packages/{core => foundation}/example/json.dart (91%) rename packages/{core => foundation}/example/main.dart (94%) rename packages/{core => foundation}/example/map_service.dart (84%) rename packages/{core => foundation}/example/status.dart (70%) rename packages/{core => foundation}/example/view.dart (84%) rename packages/{core => foundation}/example/views/index.jl (100%) rename packages/{core => foundation}/lib/core.dart (88%) rename packages/{core => foundation}/lib/http.dart (100%) rename packages/{core => foundation}/lib/http2.dart (100%) rename packages/{core => foundation}/lib/src/core/anonymous_service.dart (100%) rename packages/{core => foundation}/lib/src/core/controller.dart (99%) rename packages/{core => foundation}/lib/src/core/core.dart (100%) rename packages/{core => foundation}/lib/src/core/driver.dart (100%) rename packages/{core => foundation}/lib/src/core/env.dart (100%) rename packages/{core => foundation}/lib/src/core/hooked_service.dart (99%) rename packages/{core => foundation}/lib/src/core/hostname_parser.dart (100%) rename packages/{core => foundation}/lib/src/core/hostname_router.dart (100%) rename packages/{core => foundation}/lib/src/core/injection.dart (100%) rename packages/{core => foundation}/lib/src/core/map_service.dart (100%) rename packages/{core => foundation}/lib/src/core/metadata.dart (100%) rename packages/{core => foundation}/lib/src/core/request_context.dart (100%) rename packages/{core => foundation}/lib/src/core/response_context.dart (99%) rename packages/{core => foundation}/lib/src/core/routable.dart (100%) rename packages/{core => foundation}/lib/src/core/server.dart (99%) rename packages/{core => foundation}/lib/src/core/service.dart (99%) rename packages/{core => foundation}/lib/src/fast_name_from_symbol.dart (100%) rename packages/{core => foundation}/lib/src/http/http.dart (94%) rename packages/{core => foundation}/lib/src/http/http_request_context.dart (100%) rename packages/{core => foundation}/lib/src/http/http_response_context.dart (100%) rename packages/{core => foundation}/lib/src/http/protevus_http.dart (98%) rename packages/{core => foundation}/lib/src/http2/http2_request_context.dart (99%) rename packages/{core => foundation}/lib/src/http2/http2_response_context.dart (99%) rename packages/{core => foundation}/lib/src/http2/protevus_http2.dart (98%) rename packages/{core => foundation}/lib/src/safe_stream_controller.dart (100%) rename packages/{core => foundation}/lib/src/util.dart (100%) rename packages/{core => foundation}/performance/hello/angel.md (100%) rename packages/{core => foundation}/performance/hello/main.dart (85%) rename packages/{core => foundation}/performance/hello/raw.dart (100%) rename packages/{core => foundation}/performance/hello/raw.md (100%) rename packages/{core => foundation}/pubspec.yaml (97%) rename packages/{core => foundation}/test/accepts_test.dart (95%) rename packages/{core => foundation}/test/all.dart (100%) rename packages/{core => foundation}/test/anonymous_service_test.dart (96%) rename packages/{core => foundation}/test/body_test.dart (97%) rename packages/{core => foundation}/test/common.dart (95%) rename packages/{core => foundation}/test/controller_test.dart (98%) rename packages/{core => foundation}/test/detach_test.dart (89%) rename packages/{core => foundation}/test/di_test.dart (97%) rename packages/{core => foundation}/test/encoders_buffer_test.dart (96%) rename packages/{core => foundation}/test/env_test.dart (93%) rename packages/{core => foundation}/test/exception_test.dart (98%) rename packages/{core => foundation}/test/extension_test.dart (89%) rename packages/{core => foundation}/test/find_one_test.dart (93%) rename packages/{core => foundation}/test/general_test.dart (91%) rename packages/{core => foundation}/test/hm.dart (100%) rename packages/{core => foundation}/test/hooked_test.dart (97%) rename packages/{core => foundation}/test/http2/adapter_test.dart (98%) rename packages/{core => foundation}/test/http2/http2_client.dart (100%) rename packages/{core => foundation}/test/http_404_hole_test.dart (95%) rename packages/{core => foundation}/test/jsonp_test.dart (94%) rename packages/{core => foundation}/test/parameter_meta_test.dart (97%) rename packages/{core => foundation}/test/parse_id_test.dart (93%) rename packages/{core => foundation}/test/precontained_test.dart (89%) rename packages/{core => foundation}/test/pretty_log.dart (100%) rename packages/{core => foundation}/test/primitives_test.dart (95%) rename packages/{core => foundation}/test/repeat_request_test.dart (91%) rename packages/{core => foundation}/test/req_shutdown_test.dart (91%) rename packages/{core => foundation}/test/response_header_test.dart (93%) rename packages/{core => foundation}/test/routing_test.dart (98%) rename packages/{core => foundation}/test/serialize_test.dart (92%) rename packages/{core => foundation}/test/server_test.dart (98%) rename packages/{core => foundation}/test/service_map_test.dart (97%) rename packages/{core => foundation}/test/services_test.dart (97%) rename packages/{core => foundation}/test/streaming_test.dart (97%) rename packages/{core => foundation}/test/view_generator_test.dart (83%) diff --git a/packages/container/container/README.md b/packages/container/container/README.md index 2aaf571..b386e2f 100644 --- a/packages/container/container/README.md +++ b/packages/container/container/README.md @@ -9,8 +9,8 @@ A better IoC container for Protevus, ultimately allowing Protevus to be used wit ```dart import 'package:platform_container/mirrors.dart'; - import 'package:platform_core/core.dart'; - import 'package:platform_core/http.dart'; + import 'package:platform_foundation/core.dart'; + import 'package:platform_foundation/http.dart'; @Expose('/sales', middleware: [process1]) class SalesController extends Controller { diff --git a/packages/core/pubspec.lock b/packages/core/pubspec.lock deleted file mode 100644 index 991a8bf..0000000 --- a/packages/core/pubspec.lock +++ /dev/null @@ -1,685 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - sha256: "45cfa8471b89fb6643fe9bf51bd7931a76b8f5ec2d65de4fb176dba8d4f22c77" - url: "https://pub.dev" - source: hosted - version: "73.0.0" - _macros: - dependency: transitive - description: dart - source: sdk - version: "0.3.2" - analyzer: - dependency: transitive - description: - name: analyzer - sha256: "4959fec185fe70cce007c57e9ab6983101dbe593d2bf8bbfb4453aaec0cf470a" - url: "https://pub.dev" - source: hosted - version: "6.8.0" - args: - dependency: transitive - description: - name: args - sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 - url: "https://pub.dev" - source: hosted - version: "2.6.0" - async: - dependency: transitive - description: - name: async - sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63 - url: "https://pub.dev" - source: hosted - version: "2.12.0" - belatuk_code_buffer: - dependency: transitive - description: - name: belatuk_code_buffer - sha256: "147d68b24f099ccc6230f354cc05c4f8df1be2a95c26daebb859cbe2096d83f4" - url: "https://pub.dev" - source: hosted - version: "5.2.0" - belatuk_combinator: - dependency: "direct main" - description: - name: belatuk_combinator - sha256: "04bfb2c6f667cdb668529ecf2060a2fa2c79c22c6d85793a76d1cd6d73acf68e" - url: "https://pub.dev" - source: hosted - version: "5.2.0" - belatuk_http_server: - dependency: "direct main" - description: - name: belatuk_http_server - sha256: "3a4cfea80835e7feec47c1cf3f0ce17b3b80433b65f2b48f940d3f95f8ffe9d9" - url: "https://pub.dev" - source: hosted - version: "4.4.0" - belatuk_merge_map: - dependency: "direct main" - description: - name: belatuk_merge_map - sha256: a05dc05da77e7be4a34adeb863c62b44bcd846ff6efa00cf60d17ae91e809a21 - url: "https://pub.dev" - source: hosted - version: "5.2.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - build: - dependency: transitive - description: - name: build - sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - build_config: - dependency: transitive - description: - name: build_config - sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 - url: "https://pub.dev" - source: hosted - version: "1.1.1" - build_daemon: - dependency: transitive - description: - name: build_daemon - sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" - url: "https://pub.dev" - source: hosted - version: "4.0.2" - build_resolvers: - dependency: transitive - description: - name: build_resolvers - sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" - url: "https://pub.dev" - source: hosted - version: "2.4.2" - build_runner: - dependency: "direct dev" - description: - name: build_runner - sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d" - url: "https://pub.dev" - source: hosted - version: "2.4.13" - build_runner_core: - dependency: transitive - description: - name: build_runner_core - sha256: e3c79f69a64bdfcd8a776a3c28db4eb6e3fb5356d013ae5eb2e52007706d5dbe - url: "https://pub.dev" - source: hosted - version: "7.3.1" - built_collection: - dependency: transitive - description: - name: built_collection - sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" - url: "https://pub.dev" - source: hosted - version: "5.1.1" - built_value: - dependency: transitive - description: - name: built_value - sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb - url: "https://pub.dev" - source: hosted - version: "8.9.2" - charcode: - dependency: "direct main" - description: - name: charcode - sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306 - url: "https://pub.dev" - source: hosted - version: "1.3.1" - checked_yaml: - dependency: transitive - description: - name: checked_yaml - sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff - url: "https://pub.dev" - source: hosted - version: "2.0.3" - code_builder: - dependency: transitive - description: - name: code_builder - sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 - url: "https://pub.dev" - source: hosted - version: "4.10.0" - collection: - dependency: "direct main" - description: - name: collection - sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" - url: "https://pub.dev" - source: hosted - version: "1.19.1" - convert: - dependency: transitive - description: - name: convert - sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 - url: "https://pub.dev" - source: hosted - version: "3.1.2" - coverage: - dependency: transitive - description: - name: coverage - sha256: "88b0fddbe4c92910fefc09cc0248f5e7f0cd23e450ded4c28f16ab8ee8f83268" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - crypto: - dependency: transitive - description: - name: crypto - sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" - url: "https://pub.dev" - source: hosted - version: "3.0.6" - dart_style: - dependency: transitive - description: - name: dart_style - sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" - url: "https://pub.dev" - source: hosted - version: "2.3.7" - file: - dependency: "direct main" - description: - name: file - sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 - url: "https://pub.dev" - source: hosted - version: "7.0.1" - fixnum: - dependency: transitive - description: - name: fixnum - sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be - url: "https://pub.dev" - source: hosted - version: "1.1.1" - frontend_server_client: - dependency: transitive - description: - name: frontend_server_client - sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 - url: "https://pub.dev" - source: hosted - version: "4.0.0" - glob: - dependency: transitive - description: - name: glob - sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - graphs: - dependency: transitive - description: - name: graphs - sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" - url: "https://pub.dev" - source: hosted - version: "2.3.2" - http: - dependency: "direct dev" - description: - name: http - sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 - url: "https://pub.dev" - source: hosted - version: "1.2.2" - http2: - dependency: "direct main" - description: - name: http2 - sha256: "9ced024a160b77aba8fb8674e38f70875e321d319e6f303ec18e87bd5a4b0c1d" - url: "https://pub.dev" - source: hosted - version: "2.3.0" - http_multi_server: - dependency: transitive - description: - name: http_multi_server - sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" - url: "https://pub.dev" - source: hosted - version: "3.2.1" - http_parser: - dependency: "direct main" - description: - name: http_parser - sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360" - url: "https://pub.dev" - source: hosted - version: "4.1.1" - io: - dependency: "direct dev" - description: - name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" - url: "https://pub.dev" - source: hosted - version: "4.9.0" - lints: - dependency: "direct dev" - description: - name: lints - sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" - url: "https://pub.dev" - source: hosted - version: "4.0.0" - logging: - dependency: "direct main" - description: - name: logging - sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 - url: "https://pub.dev" - source: hosted - version: "1.3.0" - macros: - dependency: transitive - description: - name: macros - sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" - url: "https://pub.dev" - source: hosted - version: "0.1.2-main.4" - matcher: - dependency: "direct main" - description: - name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb - url: "https://pub.dev" - source: hosted - version: "0.12.16+1" - meta: - dependency: "direct main" - description: - name: meta - sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c - url: "https://pub.dev" - source: hosted - version: "1.16.0" - mime: - dependency: "direct main" - description: - name: mime - sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" - url: "https://pub.dev" - source: hosted - version: "1.0.6" - mockito: - dependency: "direct dev" - description: - name: mockito - sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917" - url: "https://pub.dev" - source: hosted - version: "5.4.4" - node_preamble: - dependency: transitive - description: - name: node_preamble - sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" - url: "https://pub.dev" - source: hosted - version: "2.0.2" - package_config: - dependency: transitive - description: - name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - path: - dependency: "direct main" - description: - name: path - sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" - url: "https://pub.dev" - source: hosted - version: "1.9.1" - platform_container: - dependency: "direct main" - description: - path: "../container/container" - relative: true - source: path - version: "9.0.0" - platform_model: - dependency: "direct main" - description: - path: "../model" - relative: true - source: path - version: "9.0.0" - platform_route: - dependency: "direct main" - description: - path: "../route" - relative: true - source: path - version: "9.0.0" - platform_support: - dependency: "direct main" - description: - path: "../support" - relative: true - source: path - version: "9.0.0" - platform_testing: - dependency: "direct main" - description: - path: "../testing" - relative: true - source: path - version: "9.0.0" - pool: - dependency: transitive - description: - name: pool - sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" - url: "https://pub.dev" - source: hosted - version: "1.5.1" - pub_semver: - dependency: transitive - description: - name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - pubspec_parse: - dependency: transitive - description: - name: pubspec_parse - sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 - url: "https://pub.dev" - source: hosted - version: "1.3.0" - quiver: - dependency: "direct main" - description: - name: quiver - sha256: ea0b925899e64ecdfbf9c7becb60d5b50e706ade44a85b2363be2a22d88117d2 - url: "https://pub.dev" - source: hosted - version: "3.2.2" - recase: - dependency: "direct main" - description: - name: recase - sha256: e4eb4ec2dcdee52dcf99cb4ceabaffc631d7424ee55e56f280bc039737f89213 - url: "https://pub.dev" - source: hosted - version: "4.1.0" - shelf: - dependency: transitive - description: - name: shelf - sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 - url: "https://pub.dev" - source: hosted - version: "1.4.2" - shelf_packages_handler: - dependency: transitive - description: - name: shelf_packages_handler - sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - shelf_static: - dependency: transitive - description: - name: shelf_static - sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 - url: "https://pub.dev" - source: hosted - version: "1.1.3" - shelf_web_socket: - dependency: transitive - description: - name: shelf_web_socket - sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" - url: "https://pub.dev" - source: hosted - version: "2.0.0" - source_gen: - dependency: transitive - description: - name: source_gen - sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" - url: "https://pub.dev" - source: hosted - version: "1.5.0" - source_map_stack_trace: - dependency: transitive - description: - name: source_map_stack_trace - sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b - url: "https://pub.dev" - source: hosted - version: "2.1.2" - source_maps: - dependency: transitive - description: - name: source_maps - sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" - url: "https://pub.dev" - source: hosted - version: "0.10.12" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - sprintf: - dependency: transitive - description: - name: sprintf - sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - stack_trace: - dependency: "direct main" - description: - name: stack_trace - sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" - url: "https://pub.dev" - source: hosted - version: "1.12.0" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - stream_transform: - dependency: transitive - description: - name: stream_transform - sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - string_scanner: - dependency: "direct main" - description: - name: string_scanner - sha256: "0bd04f5bb74fcd6ff0606a888a30e917af9bd52820b178eaa464beb11dca84b6" - url: "https://pub.dev" - source: hosted - version: "1.4.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test: - dependency: "direct dev" - description: - name: test - sha256: "713a8789d62f3233c46b4a90b174737b2c04cb6ae4500f2aa8b1be8f03f5e67f" - url: "https://pub.dev" - source: hosted - version: "1.25.8" - test_api: - dependency: transitive - description: - name: test_api - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" - url: "https://pub.dev" - source: hosted - version: "0.7.3" - test_core: - dependency: transitive - description: - name: test_core - sha256: "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d" - url: "https://pub.dev" - source: hosted - version: "0.6.5" - timing: - dependency: transitive - description: - name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" - url: "https://pub.dev" - source: hosted - version: "1.0.1" - tuple: - dependency: "direct main" - description: - name: tuple - sha256: a97ce2013f240b2f3807bcbaf218765b6f301c3eff91092bcfa23a039e7dd151 - url: "https://pub.dev" - source: hosted - version: "2.0.2" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c - url: "https://pub.dev" - source: hosted - version: "1.3.2" - uuid: - dependency: "direct main" - description: - name: uuid - sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff - url: "https://pub.dev" - source: hosted - version: "4.5.1" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b - url: "https://pub.dev" - source: hosted - version: "14.3.0" - watcher: - dependency: transitive - description: - name: watcher - sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - web: - dependency: transitive - description: - name: web - sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb - url: "https://pub.dev" - source: hosted - version: "1.1.0" - web_socket: - dependency: transitive - description: - name: web_socket - sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" - url: "https://pub.dev" - source: hosted - version: "0.1.6" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" - url: "https://pub.dev" - source: hosted - version: "3.0.1" - webkit_inspection_protocol: - dependency: transitive - description: - name: webkit_inspection_protocol - sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" - url: "https://pub.dev" - source: hosted - version: "1.2.1" - yaml: - dependency: transitive - description: - name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" - url: "https://pub.dev" - source: hosted - version: "3.1.2" -sdks: - dart: ">=3.5.0 <4.0.0" diff --git a/packages/core/.gitignore b/packages/foundation/.gitignore similarity index 100% rename from packages/core/.gitignore rename to packages/foundation/.gitignore diff --git a/packages/core/AUTHORS.md b/packages/foundation/AUTHORS.md similarity index 100% rename from packages/core/AUTHORS.md rename to packages/foundation/AUTHORS.md diff --git a/packages/core/CHANGELOG.md b/packages/foundation/CHANGELOG.md similarity index 100% rename from packages/core/CHANGELOG.md rename to packages/foundation/CHANGELOG.md diff --git a/packages/core/LICENSE b/packages/foundation/LICENSE similarity index 100% rename from packages/core/LICENSE rename to packages/foundation/LICENSE diff --git a/packages/core/README.md b/packages/foundation/README.md similarity index 100% rename from packages/core/README.md rename to packages/foundation/README.md diff --git a/packages/core/analysis_options.yaml b/packages/foundation/analysis_options.yaml similarity index 100% rename from packages/core/analysis_options.yaml rename to packages/foundation/analysis_options.yaml diff --git a/packages/core/dev.key b/packages/foundation/dev.key similarity index 100% rename from packages/core/dev.key rename to packages/foundation/dev.key diff --git a/packages/core/dev.pem b/packages/foundation/dev.pem similarity index 100% rename from packages/core/dev.pem rename to packages/foundation/dev.pem diff --git a/packages/core/example/controller.dart b/packages/foundation/example/controller.dart similarity index 93% rename from packages/core/example/controller.dart rename to packages/foundation/example/controller.dart index 583bece..fda1120 100644 --- a/packages/core/example/controller.dart +++ b/packages/foundation/example/controller.dart @@ -1,6 +1,6 @@ import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:logging/logging.dart'; void main() async { diff --git a/packages/core/example/handle_error.dart b/packages/foundation/example/handle_error.dart similarity index 88% rename from packages/core/example/handle_error.dart rename to packages/foundation/example/handle_error.dart index 05a9e36..160d675 100644 --- a/packages/core/example/handle_error.dart +++ b/packages/foundation/example/handle_error.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:logging/logging.dart'; void main() async { diff --git a/packages/core/example/hostname.dart b/packages/foundation/example/hostname.dart similarity index 92% rename from packages/core/example/hostname.dart rename to packages/foundation/example/hostname.dart index d485725..7d312d4 100644 --- a/packages/core/example/hostname.dart +++ b/packages/foundation/example/hostname.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:logging/logging.dart'; Future apiConfigurer(Application app) async { diff --git a/packages/core/example/http2/body_parsing.dart b/packages/foundation/example/http2/body_parsing.dart similarity index 89% rename from packages/core/example/http2/body_parsing.dart rename to packages/foundation/example/http2/body_parsing.dart index 1592b5e..e874448 100644 --- a/packages/core/example/http2/body_parsing.dart +++ b/packages/foundation/example/http2/body_parsing.dart @@ -1,7 +1,7 @@ import 'dart:io'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; -import 'package:platform_core/http2.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; +import 'package:platform_foundation/http2.dart'; import 'package:file/local.dart'; import 'package:logging/logging.dart'; diff --git a/packages/core/example/http2/common.dart b/packages/foundation/example/http2/common.dart similarity index 100% rename from packages/core/example/http2/common.dart rename to packages/foundation/example/http2/common.dart diff --git a/packages/core/example/http2/dev.key b/packages/foundation/example/http2/dev.key similarity index 100% rename from packages/core/example/http2/dev.key rename to packages/foundation/example/http2/dev.key diff --git a/packages/core/example/http2/dev.pem b/packages/foundation/example/http2/dev.pem similarity index 100% rename from packages/core/example/http2/dev.pem rename to packages/foundation/example/http2/dev.pem diff --git a/packages/core/example/http2/main.dart b/packages/foundation/example/http2/main.dart similarity index 87% rename from packages/core/example/http2/main.dart rename to packages/foundation/example/http2/main.dart index 395ac38..7cb1f32 100644 --- a/packages/core/example/http2/main.dart +++ b/packages/foundation/example/http2/main.dart @@ -1,7 +1,7 @@ import 'dart:io'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; -import 'package:platform_core/http2.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; +import 'package:platform_foundation/http2.dart'; import 'package:logging/logging.dart'; import 'common.dart'; diff --git a/packages/core/example/http2/public/app.js b/packages/foundation/example/http2/public/app.js similarity index 100% rename from packages/core/example/http2/public/app.js rename to packages/foundation/example/http2/public/app.js diff --git a/packages/core/example/http2/public/body_parsing.html b/packages/foundation/example/http2/public/body_parsing.html similarity index 100% rename from packages/core/example/http2/public/body_parsing.html rename to packages/foundation/example/http2/public/body_parsing.html diff --git a/packages/core/example/http2/public/index.html b/packages/foundation/example/http2/public/index.html similarity index 100% rename from packages/core/example/http2/public/index.html rename to packages/foundation/example/http2/public/index.html diff --git a/packages/core/example/http2/public/style.css b/packages/foundation/example/http2/public/style.css similarity index 100% rename from packages/core/example/http2/public/style.css rename to packages/foundation/example/http2/public/style.css diff --git a/packages/core/example/http2/server_push.dart b/packages/foundation/example/http2/server_push.dart similarity index 92% rename from packages/core/example/http2/server_push.dart rename to packages/foundation/example/http2/server_push.dart index f3d16c6..d551966 100644 --- a/packages/core/example/http2/server_push.dart +++ b/packages/foundation/example/http2/server_push.dart @@ -1,7 +1,7 @@ import 'dart:io'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; -import 'package:platform_core/http2.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; +import 'package:platform_foundation/http2.dart'; import 'package:file/local.dart'; import 'package:logging/logging.dart'; diff --git a/packages/core/example/json.dart b/packages/foundation/example/json.dart similarity index 91% rename from packages/core/example/json.dart rename to packages/foundation/example/json.dart index 679c057..d9c3aa8 100644 --- a/packages/core/example/json.dart +++ b/packages/foundation/example/json.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:io'; import 'dart:isolate'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; void main() async { var x = 0; diff --git a/packages/core/example/main.dart b/packages/foundation/example/main.dart similarity index 94% rename from packages/core/example/main.dart rename to packages/foundation/example/main.dart index e8cf5a3..357ff39 100644 --- a/packages/core/example/main.dart +++ b/packages/foundation/example/main.dart @@ -1,6 +1,6 @@ import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:logging/logging.dart'; void main() async { diff --git a/packages/core/example/map_service.dart b/packages/foundation/example/map_service.dart similarity index 84% rename from packages/core/example/map_service.dart rename to packages/foundation/example/map_service.dart index f9aa9b1..271d57e 100644 --- a/packages/core/example/map_service.dart +++ b/packages/foundation/example/map_service.dart @@ -1,6 +1,6 @@ import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:logging/logging.dart'; void main() async { diff --git a/packages/core/example/status.dart b/packages/foundation/example/status.dart similarity index 70% rename from packages/core/example/status.dart rename to packages/foundation/example/status.dart index 3f8ac38..2db832d 100644 --- a/packages/core/example/status.dart +++ b/packages/foundation/example/status.dart @@ -1,5 +1,5 @@ -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; void main() async { var app = Application(); diff --git a/packages/core/example/view.dart b/packages/foundation/example/view.dart similarity index 84% rename from packages/core/example/view.dart rename to packages/foundation/example/view.dart index 4893053..7359cfb 100644 --- a/packages/core/example/view.dart +++ b/packages/foundation/example/view.dart @@ -1,6 +1,6 @@ import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; void main() async { var app = Application(reflector: MirrorsReflector()); diff --git a/packages/core/example/views/index.jl b/packages/foundation/example/views/index.jl similarity index 100% rename from packages/core/example/views/index.jl rename to packages/foundation/example/views/index.jl diff --git a/packages/core/lib/core.dart b/packages/foundation/lib/core.dart similarity index 88% rename from packages/core/lib/core.dart rename to packages/foundation/lib/core.dart index 83bb2f8..30fc78c 100644 --- a/packages/core/lib/core.dart +++ b/packages/foundation/lib/core.dart @@ -1,5 +1,5 @@ /// An easily-extensible web server framework in Dart. -library platform_core; +library platform_foundation; export 'package:platform_support/exceptions.dart'; export 'package:platform_model/model.dart'; diff --git a/packages/core/lib/http.dart b/packages/foundation/lib/http.dart similarity index 100% rename from packages/core/lib/http.dart rename to packages/foundation/lib/http.dart diff --git a/packages/core/lib/http2.dart b/packages/foundation/lib/http2.dart similarity index 100% rename from packages/core/lib/http2.dart rename to packages/foundation/lib/http2.dart diff --git a/packages/core/lib/src/core/anonymous_service.dart b/packages/foundation/lib/src/core/anonymous_service.dart similarity index 100% rename from packages/core/lib/src/core/anonymous_service.dart rename to packages/foundation/lib/src/core/anonymous_service.dart diff --git a/packages/core/lib/src/core/controller.dart b/packages/foundation/lib/src/core/controller.dart similarity index 99% rename from packages/core/lib/src/core/controller.dart rename to packages/foundation/lib/src/core/controller.dart index 3625164..842a5cd 100644 --- a/packages/core/lib/src/core/controller.dart +++ b/packages/foundation/lib/src/core/controller.dart @@ -1,4 +1,4 @@ -library platform_core.http.controller; +library platform_foundation.http.controller; import 'dart:async'; import 'package:platform_container/container.dart'; diff --git a/packages/core/lib/src/core/core.dart b/packages/foundation/lib/src/core/core.dart similarity index 100% rename from packages/core/lib/src/core/core.dart rename to packages/foundation/lib/src/core/core.dart diff --git a/packages/core/lib/src/core/driver.dart b/packages/foundation/lib/src/core/driver.dart similarity index 100% rename from packages/core/lib/src/core/driver.dart rename to packages/foundation/lib/src/core/driver.dart diff --git a/packages/core/lib/src/core/env.dart b/packages/foundation/lib/src/core/env.dart similarity index 100% rename from packages/core/lib/src/core/env.dart rename to packages/foundation/lib/src/core/env.dart diff --git a/packages/core/lib/src/core/hooked_service.dart b/packages/foundation/lib/src/core/hooked_service.dart similarity index 99% rename from packages/core/lib/src/core/hooked_service.dart rename to packages/foundation/lib/src/core/hooked_service.dart index 0cf31f3..d294d53 100644 --- a/packages/core/lib/src/core/hooked_service.dart +++ b/packages/foundation/lib/src/core/hooked_service.dart @@ -1,4 +1,4 @@ -library platform_core.core.hooked_service; +library platform_foundation.core.hooked_service; import 'dart:async'; diff --git a/packages/core/lib/src/core/hostname_parser.dart b/packages/foundation/lib/src/core/hostname_parser.dart similarity index 100% rename from packages/core/lib/src/core/hostname_parser.dart rename to packages/foundation/lib/src/core/hostname_parser.dart diff --git a/packages/core/lib/src/core/hostname_router.dart b/packages/foundation/lib/src/core/hostname_router.dart similarity index 100% rename from packages/core/lib/src/core/hostname_router.dart rename to packages/foundation/lib/src/core/hostname_router.dart diff --git a/packages/core/lib/src/core/injection.dart b/packages/foundation/lib/src/core/injection.dart similarity index 100% rename from packages/core/lib/src/core/injection.dart rename to packages/foundation/lib/src/core/injection.dart diff --git a/packages/core/lib/src/core/map_service.dart b/packages/foundation/lib/src/core/map_service.dart similarity index 100% rename from packages/core/lib/src/core/map_service.dart rename to packages/foundation/lib/src/core/map_service.dart diff --git a/packages/core/lib/src/core/metadata.dart b/packages/foundation/lib/src/core/metadata.dart similarity index 100% rename from packages/core/lib/src/core/metadata.dart rename to packages/foundation/lib/src/core/metadata.dart diff --git a/packages/core/lib/src/core/request_context.dart b/packages/foundation/lib/src/core/request_context.dart similarity index 100% rename from packages/core/lib/src/core/request_context.dart rename to packages/foundation/lib/src/core/request_context.dart diff --git a/packages/core/lib/src/core/response_context.dart b/packages/foundation/lib/src/core/response_context.dart similarity index 99% rename from packages/core/lib/src/core/response_context.dart rename to packages/foundation/lib/src/core/response_context.dart index 0ab77b6..88f0704 100644 --- a/packages/core/lib/src/core/response_context.dart +++ b/packages/foundation/lib/src/core/response_context.dart @@ -1,4 +1,4 @@ -library platform_core.http.response_context; +library platform_foundation.http.response_context; import 'dart:async'; import 'dart:convert'; diff --git a/packages/core/lib/src/core/routable.dart b/packages/foundation/lib/src/core/routable.dart similarity index 100% rename from packages/core/lib/src/core/routable.dart rename to packages/foundation/lib/src/core/routable.dart diff --git a/packages/core/lib/src/core/server.dart b/packages/foundation/lib/src/core/server.dart similarity index 99% rename from packages/core/lib/src/core/server.dart rename to packages/foundation/lib/src/core/server.dart index 37c682c..e6d2876 100644 --- a/packages/core/lib/src/core/server.dart +++ b/packages/foundation/lib/src/core/server.dart @@ -1,4 +1,4 @@ -library platform_core.http.server; +library platform_foundation.http.server; import 'dart:async'; import 'dart:collection' show HashMap; diff --git a/packages/core/lib/src/core/service.dart b/packages/foundation/lib/src/core/service.dart similarity index 99% rename from packages/core/lib/src/core/service.dart rename to packages/foundation/lib/src/core/service.dart index 894c96e..051d91a 100644 --- a/packages/core/lib/src/core/service.dart +++ b/packages/foundation/lib/src/core/service.dart @@ -1,4 +1,4 @@ -library platform_core.http.service; +library platform_foundation.http.service; import 'dart:async'; import 'package:platform_support/exceptions.dart'; diff --git a/packages/core/lib/src/fast_name_from_symbol.dart b/packages/foundation/lib/src/fast_name_from_symbol.dart similarity index 100% rename from packages/core/lib/src/fast_name_from_symbol.dart rename to packages/foundation/lib/src/fast_name_from_symbol.dart diff --git a/packages/core/lib/src/http/http.dart b/packages/foundation/lib/src/http/http.dart similarity index 94% rename from packages/core/lib/src/http/http.dart rename to packages/foundation/lib/src/http/http.dart index 27e7f73..a00e947 100644 --- a/packages/core/lib/src/http/http.dart +++ b/packages/foundation/lib/src/http/http.dart @@ -1,5 +1,5 @@ /// Various libraries useful for creating highly-extensible servers. -library platform_core.http; +library platform_foundation.http; import 'dart:async'; import 'dart:io'; diff --git a/packages/core/lib/src/http/http_request_context.dart b/packages/foundation/lib/src/http/http_request_context.dart similarity index 100% rename from packages/core/lib/src/http/http_request_context.dart rename to packages/foundation/lib/src/http/http_request_context.dart diff --git a/packages/core/lib/src/http/http_response_context.dart b/packages/foundation/lib/src/http/http_response_context.dart similarity index 100% rename from packages/core/lib/src/http/http_response_context.dart rename to packages/foundation/lib/src/http/http_response_context.dart diff --git a/packages/core/lib/src/http/protevus_http.dart b/packages/foundation/lib/src/http/protevus_http.dart similarity index 98% rename from packages/core/lib/src/http/protevus_http.dart rename to packages/foundation/lib/src/http/protevus_http.dart index bcc9bc5..ab083c3 100644 --- a/packages/core/lib/src/http/protevus_http.dart +++ b/packages/foundation/lib/src/http/protevus_http.dart @@ -8,7 +8,7 @@ import 'dart:io' HttpServer, Platform, SecurityContext; -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'http_request_context.dart'; import 'http_response_context.dart'; diff --git a/packages/core/lib/src/http2/http2_request_context.dart b/packages/foundation/lib/src/http2/http2_request_context.dart similarity index 99% rename from packages/core/lib/src/http2/http2_request_context.dart rename to packages/foundation/lib/src/http2/http2_request_context.dart index 8f38a3d..9860424 100644 --- a/packages/core/lib/src/http2/http2_request_context.dart +++ b/packages/foundation/lib/src/http2/http2_request_context.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:platform_container/container.dart'; -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:collection/collection.dart' show IterableExtension; import 'package:http2/transport.dart'; import 'package:platform_testing/http.dart'; diff --git a/packages/core/lib/src/http2/http2_response_context.dart b/packages/foundation/lib/src/http2/http2_response_context.dart similarity index 99% rename from packages/core/lib/src/http2/http2_response_context.dart rename to packages/foundation/lib/src/http2/http2_response_context.dart index 7e164c6..985a870 100644 --- a/packages/core/lib/src/http2/http2_response_context.dart +++ b/packages/foundation/lib/src/http2/http2_response_context.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io' hide BytesBuilder; import 'dart:typed_data'; -import 'package:platform_core/core.dart' hide Header; +import 'package:platform_foundation/core.dart' hide Header; import 'package:http2/transport.dart'; import 'http2_request_context.dart'; diff --git a/packages/core/lib/src/http2/protevus_http2.dart b/packages/foundation/lib/src/http2/protevus_http2.dart similarity index 98% rename from packages/core/lib/src/http2/protevus_http2.dart rename to packages/foundation/lib/src/http2/protevus_http2.dart index cd12b59..42d9860 100644 --- a/packages/core/lib/src/http2/protevus_http2.dart +++ b/packages/foundation/lib/src/http2/protevus_http2.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; -import 'package:platform_core/core.dart' hide Header; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart' hide Header; +import 'package:platform_foundation/http.dart'; import 'package:http2/transport.dart'; import 'package:platform_testing/http.dart'; import 'http2_request_context.dart'; diff --git a/packages/core/lib/src/safe_stream_controller.dart b/packages/foundation/lib/src/safe_stream_controller.dart similarity index 100% rename from packages/core/lib/src/safe_stream_controller.dart rename to packages/foundation/lib/src/safe_stream_controller.dart diff --git a/packages/core/lib/src/util.dart b/packages/foundation/lib/src/util.dart similarity index 100% rename from packages/core/lib/src/util.dart rename to packages/foundation/lib/src/util.dart diff --git a/packages/core/performance/hello/angel.md b/packages/foundation/performance/hello/angel.md similarity index 100% rename from packages/core/performance/hello/angel.md rename to packages/foundation/performance/hello/angel.md diff --git a/packages/core/performance/hello/main.dart b/packages/foundation/performance/hello/main.dart similarity index 85% rename from packages/core/performance/hello/main.dart rename to packages/foundation/performance/hello/main.dart index d8d83ef..ce59662 100644 --- a/packages/core/performance/hello/main.dart +++ b/packages/foundation/performance/hello/main.dart @@ -1,8 +1,8 @@ /// A basic server that prints "Hello, world!" library performance.hello; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; void main() async { var app = Application(); diff --git a/packages/core/performance/hello/raw.dart b/packages/foundation/performance/hello/raw.dart similarity index 100% rename from packages/core/performance/hello/raw.dart rename to packages/foundation/performance/hello/raw.dart diff --git a/packages/core/performance/hello/raw.md b/packages/foundation/performance/hello/raw.md similarity index 100% rename from packages/core/performance/hello/raw.md rename to packages/foundation/performance/hello/raw.md diff --git a/packages/core/pubspec.yaml b/packages/foundation/pubspec.yaml similarity index 97% rename from packages/core/pubspec.yaml rename to packages/foundation/pubspec.yaml index 2f57930..8d54cc3 100644 --- a/packages/core/pubspec.yaml +++ b/packages/foundation/pubspec.yaml @@ -1,4 +1,4 @@ -name: platform_core +name: platform_foundation version: 9.0.0 description: Protevus Platform high-powered HTTP server extensible framework with dependency injection, routing and much more. homepage: https://protevus.com diff --git a/packages/core/test/accepts_test.dart b/packages/foundation/test/accepts_test.dart similarity index 95% rename from packages/core/test/accepts_test.dart rename to packages/foundation/test/accepts_test.dart index dcf6fed..7d55085 100644 --- a/packages/core/test/accepts_test.dart +++ b/packages/foundation/test/accepts_test.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/all.dart b/packages/foundation/test/all.dart similarity index 100% rename from packages/core/test/all.dart rename to packages/foundation/test/all.dart diff --git a/packages/core/test/anonymous_service_test.dart b/packages/foundation/test/anonymous_service_test.dart similarity index 96% rename from packages/core/test/anonymous_service_test.dart rename to packages/foundation/test/anonymous_service_test.dart index 9785c1a..dfc7445 100644 --- a/packages/core/test/anonymous_service_test.dart +++ b/packages/foundation/test/anonymous_service_test.dart @@ -1,4 +1,4 @@ -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:test/test.dart'; void main() { diff --git a/packages/core/test/body_test.dart b/packages/foundation/test/body_test.dart similarity index 97% rename from packages/core/test/body_test.dart rename to packages/foundation/test/body_test.dart index f57e0a9..a02f03f 100644 --- a/packages/core/test/body_test.dart +++ b/packages/foundation/test/body_test.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/common.dart b/packages/foundation/test/common.dart similarity index 95% rename from packages/core/test/common.dart rename to packages/foundation/test/common.dart index 5d51d3c..3614e0c 100644 --- a/packages/core/test/common.dart +++ b/packages/foundation/test/common.dart @@ -1,6 +1,6 @@ library angel_framework.test.common; -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:matcher/matcher.dart'; class Todo extends Model { diff --git a/packages/core/test/controller_test.dart b/packages/foundation/test/controller_test.dart similarity index 98% rename from packages/core/test/controller_test.dart rename to packages/foundation/test/controller_test.dart index d8aa584..79424bc 100644 --- a/packages/core/test/controller_test.dart +++ b/packages/foundation/test/controller_test.dart @@ -3,8 +3,8 @@ import 'dart:convert'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:http/http.dart' as http; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/detach_test.dart b/packages/foundation/test/detach_test.dart similarity index 89% rename from packages/core/test/detach_test.dart rename to packages/foundation/test/detach_test.dart index fe2c696..7c1c469 100644 --- a/packages/core/test/detach_test.dart +++ b/packages/foundation/test/detach_test.dart @@ -1,6 +1,6 @@ import 'dart:convert'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/di_test.dart b/packages/foundation/test/di_test.dart similarity index 97% rename from packages/core/test/di_test.dart rename to packages/foundation/test/di_test.dart index 651a232..768e8a0 100644 --- a/packages/core/test/di_test.dart +++ b/packages/foundation/test/di_test.dart @@ -2,9 +2,9 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:platform_container/container.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:http/http.dart' as http; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/encoders_buffer_test.dart b/packages/foundation/test/encoders_buffer_test.dart similarity index 96% rename from packages/core/test/encoders_buffer_test.dart rename to packages/foundation/test/encoders_buffer_test.dart index b39078d..7158ee9 100644 --- a/packages/core/test/encoders_buffer_test.dart +++ b/packages/foundation/test/encoders_buffer_test.dart @@ -4,8 +4,8 @@ import 'dart:io' hide BytesBuilder; import 'dart:typed_data' show BytesBuilder; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/env_test.dart b/packages/foundation/test/env_test.dart similarity index 93% rename from packages/core/test/env_test.dart rename to packages/foundation/test/env_test.dart index d4ca038..05de049 100644 --- a/packages/core/test/env_test.dart +++ b/packages/foundation/test/env_test.dart @@ -1,5 +1,5 @@ import 'dart:io'; -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:test/test.dart'; void main() { diff --git a/packages/core/test/exception_test.dart b/packages/foundation/test/exception_test.dart similarity index 98% rename from packages/core/test/exception_test.dart rename to packages/foundation/test/exception_test.dart index 908541e..14b9000 100644 --- a/packages/core/test/exception_test.dart +++ b/packages/foundation/test/exception_test.dart @@ -1,4 +1,4 @@ -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'dart:convert'; import 'package:test/test.dart'; diff --git a/packages/core/test/extension_test.dart b/packages/foundation/test/extension_test.dart similarity index 89% rename from packages/core/test/extension_test.dart rename to packages/foundation/test/extension_test.dart index 0e077a3..aaa1e8f 100644 --- a/packages/core/test/extension_test.dart +++ b/packages/foundation/test/extension_test.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/find_one_test.dart b/packages/foundation/test/find_one_test.dart similarity index 93% rename from packages/core/test/find_one_test.dart rename to packages/foundation/test/find_one_test.dart index 645660c..9c6297b 100644 --- a/packages/core/test/find_one_test.dart +++ b/packages/foundation/test/find_one_test.dart @@ -1,4 +1,4 @@ -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:test/test.dart'; import 'common.dart'; diff --git a/packages/core/test/general_test.dart b/packages/foundation/test/general_test.dart similarity index 91% rename from packages/core/test/general_test.dart rename to packages/foundation/test/general_test.dart index 20b7fe9..e2359a2 100644 --- a/packages/core/test/general_test.dart +++ b/packages/foundation/test/general_test.dart @@ -1,7 +1,7 @@ import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:test/test.dart'; diff --git a/packages/core/test/hm.dart b/packages/foundation/test/hm.dart similarity index 100% rename from packages/core/test/hm.dart rename to packages/foundation/test/hm.dart diff --git a/packages/core/test/hooked_test.dart b/packages/foundation/test/hooked_test.dart similarity index 97% rename from packages/core/test/hooked_test.dart rename to packages/foundation/test/hooked_test.dart index daa5030..365d818 100644 --- a/packages/core/test/hooked_test.dart +++ b/packages/foundation/test/hooked_test.dart @@ -1,8 +1,8 @@ import 'dart:convert'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:http/http.dart' as http; import 'package:test/test.dart'; import 'common.dart'; diff --git a/packages/core/test/http2/adapter_test.dart b/packages/foundation/test/http2/adapter_test.dart similarity index 98% rename from packages/core/test/http2/adapter_test.dart rename to packages/foundation/test/http2/adapter_test.dart index ad26840..60eb05e 100644 --- a/packages/core/test/http2/adapter_test.dart +++ b/packages/foundation/test/http2/adapter_test.dart @@ -3,8 +3,8 @@ import 'dart:convert'; import 'dart:io' hide BytesBuilder; import 'dart:typed_data'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart' hide Header; -import 'package:platform_core/http2.dart'; +import 'package:platform_foundation/core.dart' hide Header; +import 'package:platform_foundation/http2.dart'; import 'package:collection/collection.dart' show IterableExtension; import 'package:http/src/multipart_file.dart' as http; import 'package:http/src/multipart_request.dart' as http; diff --git a/packages/core/test/http2/http2_client.dart b/packages/foundation/test/http2/http2_client.dart similarity index 100% rename from packages/core/test/http2/http2_client.dart rename to packages/foundation/test/http2/http2_client.dart diff --git a/packages/core/test/http_404_hole_test.dart b/packages/foundation/test/http_404_hole_test.dart similarity index 95% rename from packages/core/test/http_404_hole_test.dart rename to packages/foundation/test/http_404_hole_test.dart index 433fae6..adca55a 100644 --- a/packages/core/test/http_404_hole_test.dart +++ b/packages/foundation/test/http_404_hole_test.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:charcode/ascii.dart'; import 'package:http/io_client.dart' as http; import 'package:logging/logging.dart'; diff --git a/packages/core/test/jsonp_test.dart b/packages/foundation/test/jsonp_test.dart similarity index 94% rename from packages/core/test/jsonp_test.dart rename to packages/foundation/test/jsonp_test.dart index 3b67add..4af0f3e 100644 --- a/packages/core/test/jsonp_test.dart +++ b/packages/foundation/test/jsonp_test.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'dart:convert'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:http_parser/http_parser.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/parameter_meta_test.dart b/packages/foundation/test/parameter_meta_test.dart similarity index 97% rename from packages/core/test/parameter_meta_test.dart rename to packages/foundation/test/parameter_meta_test.dart index a0b01ae..6a77a5d 100644 --- a/packages/core/test/parameter_meta_test.dart +++ b/packages/foundation/test/parameter_meta_test.dart @@ -2,8 +2,8 @@ import 'dart:async'; import 'dart:convert'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:logging/logging.dart'; diff --git a/packages/core/test/parse_id_test.dart b/packages/foundation/test/parse_id_test.dart similarity index 93% rename from packages/core/test/parse_id_test.dart rename to packages/foundation/test/parse_id_test.dart index 95f6732..e8b27c7 100644 --- a/packages/core/test/parse_id_test.dart +++ b/packages/foundation/test/parse_id_test.dart @@ -1,4 +1,4 @@ -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:test/test.dart'; void main() { diff --git a/packages/core/test/precontained_test.dart b/packages/foundation/test/precontained_test.dart similarity index 89% rename from packages/core/test/precontained_test.dart rename to packages/foundation/test/precontained_test.dart index fa6d015..ae747b0 100644 --- a/packages/core/test/precontained_test.dart +++ b/packages/foundation/test/precontained_test.dart @@ -1,8 +1,8 @@ import 'dart:convert'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/pretty_log.dart b/packages/foundation/test/pretty_log.dart similarity index 100% rename from packages/core/test/pretty_log.dart rename to packages/foundation/test/pretty_log.dart diff --git a/packages/core/test/primitives_test.dart b/packages/foundation/test/primitives_test.dart similarity index 95% rename from packages/core/test/primitives_test.dart rename to packages/foundation/test/primitives_test.dart index f0f2288..0e85799 100644 --- a/packages/core/test/primitives_test.dart +++ b/packages/foundation/test/primitives_test.dart @@ -2,8 +2,8 @@ import 'dart:convert'; import 'dart:io' show stderr; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/repeat_request_test.dart b/packages/foundation/test/repeat_request_test.dart similarity index 91% rename from packages/core/test/repeat_request_test.dart rename to packages/foundation/test/repeat_request_test.dart index b6d09e3..ea6fd55 100644 --- a/packages/core/test/repeat_request_test.dart +++ b/packages/foundation/test/repeat_request_test.dart @@ -2,8 +2,8 @@ import 'dart:async'; import 'dart:convert'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/req_shutdown_test.dart b/packages/foundation/test/req_shutdown_test.dart similarity index 91% rename from packages/core/test/req_shutdown_test.dart rename to packages/foundation/test/req_shutdown_test.dart index 778e654..76fb3fb 100644 --- a/packages/core/test/req_shutdown_test.dart +++ b/packages/foundation/test/req_shutdown_test.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:http/io_client.dart' as http; import 'package:logging/logging.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/response_header_test.dart b/packages/foundation/test/response_header_test.dart similarity index 93% rename from packages/core/test/response_header_test.dart rename to packages/foundation/test/response_header_test.dart index 151b374..5b7bba0 100644 --- a/packages/core/test/response_header_test.dart +++ b/packages/foundation/test/response_header_test.dart @@ -1,8 +1,8 @@ import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/src/http/protevus_http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/src/http/protevus_http.dart'; import 'package:test/test.dart'; void main() { diff --git a/packages/core/test/routing_test.dart b/packages/foundation/test/routing_test.dart similarity index 98% rename from packages/core/test/routing_test.dart rename to packages/foundation/test/routing_test.dart index dce777e..978a82c 100644 --- a/packages/core/test/routing_test.dart +++ b/packages/foundation/test/routing_test.dart @@ -2,8 +2,8 @@ import 'dart:convert'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:http/http.dart' as http; import 'package:io/ansi.dart'; import 'package:logging/logging.dart'; diff --git a/packages/core/test/serialize_test.dart b/packages/foundation/test/serialize_test.dart similarity index 92% rename from packages/core/test/serialize_test.dart rename to packages/foundation/test/serialize_test.dart index 23a8e54..fff29a5 100644 --- a/packages/core/test/serialize_test.dart +++ b/packages/foundation/test/serialize_test.dart @@ -1,8 +1,8 @@ import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:http/http.dart' as http; import 'package:http_parser/http_parser.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/server_test.dart b/packages/foundation/test/server_test.dart similarity index 98% rename from packages/core/test/server_test.dart rename to packages/foundation/test/server_test.dart index 236d5f0..fcd0134 100644 --- a/packages/core/test/server_test.dart +++ b/packages/foundation/test/server_test.dart @@ -3,8 +3,8 @@ import 'dart:convert'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:platform_testing/http.dart'; import 'package:test/test.dart'; diff --git a/packages/core/test/service_map_test.dart b/packages/foundation/test/service_map_test.dart similarity index 97% rename from packages/core/test/service_map_test.dart rename to packages/foundation/test/service_map_test.dart index 3c08c2b..6954798 100644 --- a/packages/core/test/service_map_test.dart +++ b/packages/foundation/test/service_map_test.dart @@ -1,4 +1,4 @@ -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:test/test.dart'; import 'package:quiver/core.dart'; diff --git a/packages/core/test/services_test.dart b/packages/foundation/test/services_test.dart similarity index 97% rename from packages/core/test/services_test.dart rename to packages/foundation/test/services_test.dart index 9fb276b..6dd2658 100644 --- a/packages/core/test/services_test.dart +++ b/packages/foundation/test/services_test.dart @@ -1,6 +1,6 @@ import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:stack_trace/stack_trace.dart'; diff --git a/packages/core/test/streaming_test.dart b/packages/foundation/test/streaming_test.dart similarity index 97% rename from packages/core/test/streaming_test.dart rename to packages/foundation/test/streaming_test.dart index ffd9b5a..d218301 100644 --- a/packages/core/test/streaming_test.dart +++ b/packages/foundation/test/streaming_test.dart @@ -3,8 +3,8 @@ import 'dart:convert'; import 'dart:io'; import 'package:platform_container/mirrors.dart'; -import 'package:platform_core/core.dart'; -import 'package:platform_core/http.dart'; +import 'package:platform_foundation/core.dart'; +import 'package:platform_foundation/http.dart'; import 'package:logging/logging.dart'; import 'package:platform_testing/http.dart'; diff --git a/packages/core/test/view_generator_test.dart b/packages/foundation/test/view_generator_test.dart similarity index 83% rename from packages/core/test/view_generator_test.dart rename to packages/foundation/test/view_generator_test.dart index 7d39711..374c5e0 100644 --- a/packages/core/test/view_generator_test.dart +++ b/packages/foundation/test/view_generator_test.dart @@ -1,4 +1,4 @@ -import 'package:platform_core/core.dart'; +import 'package:platform_foundation/core.dart'; import 'package:test/test.dart'; void main() {