From 829fcce5d8778e25a04dfb0308196df56605aa13 Mon Sep 17 00:00:00 2001 From: Auto Doc Publisher Date: Tue, 9 Apr 2019 03:15:30 +0000 Subject: [PATCH] docs: auto generate by ci docs: change egg-init to `npm init egg` (#3588) --- api/Agent.html | 2 +- api/AgentWorkerLoader.html | 2 +- api/AppInfo.html | 2 +- api/AppWorkerLoader.html | 2 +- api/Application.html | 2 +- api/BaseContextLogger.html | 2 +- api/Config.html | 2 +- api/Context.html | 2 +- api/ContextLoader.html | 2 +- api/Egg.html | 2 +- api/EggApplication.html | 2 +- api/EggCore.html | 2 +- api/EggLoader.html | 2 +- api/FileLoader.html | 2 +- api/Helper.html | 2 +- api/I18n.html | 2 +- api/Lifecycle.html | 2 +- api/Messenger.html | 2 +- api/Request.html | 2 +- api/Response.html | 2 +- api/app_extend_context.js.html | 2 +- api/app_extend_helper.js.html | 2 +- api/app_extend_request.js.html | 2 +- api/app_extend_response.js.html | 2 +- api/config_config.default.js.html | 2 +- api/config_plugin.js.html | 2 +- api/global.html | 2 +- api/global.html#BaseContextClass | 2 +- api/global.html#Controller | 2 +- api/global.html#Service | 2 +- api/index.html | 2 +- api/index.js.html | 2 +- api/lib_agent.js.html | 2 +- api/lib_application.js.html | 2 +- api/lib_core_base_context_class.js.html | 2 +- api/lib_core_base_context_logger.js.html | 2 +- api/lib_core_context_httpclient.js.html | 2 +- api/lib_core_messenger_ipc.js.html | 2 +- api/lib_core_messenger_local.js.html | 2 +- api/lib_egg.js.html | 2 +- api/lib_jsdoc_context.jsdoc.html | 2 +- api/lib_jsdoc_request.jsdoc.html | 2 +- api/lib_jsdoc_response.jsdoc.html | 2 +- api/lib_loader_agent_worker_loader.js.html | 2 +- api/lib_loader_app_worker_loader.js.html | 2 +- ...s__egg-development@2.4.2@egg-development_agent.js.html | 2 +- ...nt@2.4.2@egg-development_config_config.default.js.html | 2 +- api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html | 2 +- ...es__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html | 2 +- ..._egg-i18n@2.0.0@egg-i18n_config_config.default.js.html | 2 +- ...g-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html | 2 +- ...__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html | 2 +- ...gg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html | 2 +- ...tor@3.0.7@egg-logrotator_config_config.default.js.html | 2 +- ...ltipart@2.4.0@egg-multipart_app_extend_context.js.html | 2 +- ...part@2.4.0@egg-multipart_config_config.default.js.html | 2 +- ...g-schedule@3.6.1@egg-schedule_app_extend_agent.js.html | 2 +- ...security@2.5.0@egg-security_app_extend_context.js.html | 2 +- ...urity@2.5.0@egg-security_config_config.default.js.html | 2 +- ...ssion@3.1.0@egg-session_app_extend_application.js.html | 2 +- ...-static@2.2.0@egg-static_config_config.default.js.html | 2 +- ...egg-view@2.1.2@egg-view_app_extend_application.js.html | 2 +- ...es__egg-view@2.1.2@egg-view_app_extend_context.js.html | 2 +- ..._egg-view@2.1.2@egg-view_config_config.default.js.html | 2 +- ...atcher@3.1.0@egg-watcher_config_config.default.js.html | 2 +- api/node_modules_egg-core_lib_egg.js.html | 2 +- api/node_modules_egg-core_lib_lifecycle.js.html | 2 +- ...ode_modules_egg-core_lib_loader_context_loader.js.html | 2 +- api/node_modules_egg-core_lib_loader_egg_loader.js.html | 2 +- api/node_modules_egg-core_lib_loader_file_loader.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_config.js.html | 2 +- ...e_modules_egg-core_lib_loader_mixin_controller.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_custom.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_extend.js.html | 2 +- ...e_modules_egg-core_lib_loader_mixin_middleware.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_plugin.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_router.js.html | 2 +- ...node_modules_egg-core_lib_loader_mixin_service.js.html | 2 +- ..._modules_egg-core_lib_utils_base_context_class.js.html | 2 +- api/node_modules_egg-core_lib_utils_index.js.html | 2 +- en/advanced/framework.html | 4 ++-- en/advanced/plugin.html | 4 ++-- en/contributing.html | 2 +- en/faq.html | 2 +- en/intro/quickstart.html | 4 ++-- en/style-guide.html | 2 +- en/tutorials/index.html | 2 +- en/tutorials/passport.html | 2 +- en/tutorials/restful.html | 4 ++-- en/tutorials/sequelize.html | 8 ++++---- en/tutorials/typescript.html | 2 +- zh-cn/advanced/framework.html | 4 ++-- zh-cn/advanced/plugin.html | 4 ++-- zh-cn/contributing.html | 2 +- zh-cn/faq.html | 2 +- zh-cn/intro/quickstart.html | 4 ++-- zh-cn/style-guide.html | 2 +- zh-cn/tutorials/index.html | 2 +- zh-cn/tutorials/passport.html | 2 +- zh-cn/tutorials/restful.html | 4 ++-- zh-cn/tutorials/sequelize.html | 8 ++++---- zh-cn/tutorials/typescript.html | 2 +- 102 files changed, 116 insertions(+), 116 deletions(-) diff --git a/api/Agent.html b/api/Agent.html index fef18e4679..f2697672d6 100644 --- a/api/Agent.html +++ b/api/Agent.html @@ -1729,7 +1729,7 @@
Example

diff --git a/api/AgentWorkerLoader.html b/api/AgentWorkerLoader.html index 97357bd193..2294cabd6c 100644 --- a/api/AgentWorkerLoader.html +++ b/api/AgentWorkerLoader.html @@ -263,7 +263,7 @@

loadConfig<
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/AppInfo.html b/api/AppInfo.html index c809f0a61a..7e58838690 100644 --- a/api/AppInfo.html +++ b/api/AppInfo.html @@ -634,7 +634,7 @@

scope
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/AppWorkerLoader.html b/api/AppWorkerLoader.html index c38f273fbf..15ada94327 100644 --- a/api/AppWorkerLoader.html +++ b/api/AppWorkerLoader.html @@ -349,7 +349,7 @@

loadConfig<
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Application.html b/api/Application.html index 1e59a262b7..436e38547c 100644 --- a/api/Application.html +++ b/api/Application.html @@ -2113,7 +2113,7 @@

Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/BaseContextLogger.html b/api/BaseContextLogger.html index 0945db002f..0a236fd5ab 100644 --- a/api/BaseContextLogger.html +++ b/api/BaseContextLogger.html @@ -546,7 +546,7 @@

warn
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Config.html b/api/Config.html index 207bcaae15..da6eca6496 100644 --- a/api/Config.html +++ b/api/Config.html @@ -5188,7 +5188,7 @@
Properties:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Context.html b/api/Context.html index 8d87f7ff57..b06b246f05 100644 --- a/api/Context.html +++ b/api/Context.html @@ -2070,7 +2070,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/ContextLoader.html b/api/ContextLoader.html index 7affa0aec8..85d104eccc 100644 --- a/api/ContextLoader.html +++ b/api/ContextLoader.html @@ -476,7 +476,7 @@

parse
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Egg.html b/api/Egg.html index 4931efec84..7a9ecf9cde 100644 --- a/api/Egg.html +++ b/api/Egg.html @@ -616,7 +616,7 @@

Subscript
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/EggApplication.html b/api/EggApplication.html index 82390eddf3..50435e39ff 100644 --- a/api/EggApplication.html +++ b/api/EggApplication.html @@ -3758,7 +3758,7 @@

Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/EggCore.html b/api/EggCore.html index fa4a4623fc..eca7d60744 100644 --- a/api/EggCore.html +++ b/api/EggCore.html @@ -2336,7 +2336,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/EggLoader.html b/api/EggLoader.html index 58665eee47..fcc3a0b875 100644 --- a/api/EggLoader.html +++ b/api/EggLoader.html @@ -2786,7 +2786,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/FileLoader.html b/api/FileLoader.html index bb1daf63a0..02b7da670a 100644 --- a/api/FileLoader.html +++ b/api/FileLoader.html @@ -695,7 +695,7 @@

parse
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Helper.html b/api/Helper.html index 2e7aac0016..302d6b673f 100644 --- a/api/Helper.html +++ b/api/Helper.html @@ -508,7 +508,7 @@
Example

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/I18n.html b/api/I18n.html index 3d2cde108e..3ab56210ce 100644 --- a/api/I18n.html +++ b/api/I18n.html @@ -259,7 +259,7 @@
Example

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Lifecycle.html b/api/Lifecycle.html index 9a1cdb012d..36cd424d18 100644 --- a/api/Lifecycle.html +++ b/api/Lifecycle.html @@ -404,7 +404,7 @@

init
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Messenger.html b/api/Messenger.html index 7b52b4d3e5..1062ba5f44 100644 --- a/api/Messenger.html +++ b/api/Messenger.html @@ -4261,7 +4261,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Request.html b/api/Request.html index eb55ea89ea..227affe073 100644 --- a/api/Request.html +++ b/api/Request.html @@ -1246,7 +1246,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Response.html b/api/Response.html index f67cbbe442..44df5b74f3 100644 --- a/api/Response.html +++ b/api/Response.html @@ -372,7 +372,7 @@

type
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_context.js.html b/api/app_extend_context.js.html index be68f93fab..21006cc599 100644 --- a/api/app_extend_context.js.html +++ b/api/app_extend_context.js.html @@ -338,7 +338,7 @@

app/extend/context.js


- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_helper.js.html b/api/app_extend_helper.js.html index e4f685fc68..b7213e2717 100644 --- a/api/app_extend_helper.js.html +++ b/api/app_extend_helper.js.html @@ -104,7 +104,7 @@

app/extend/helper.js


- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_request.js.html b/api/app_extend_request.js.html index 4ff50899fe..15eb3a21ce 100644 --- a/api/app_extend_request.js.html +++ b/api/app_extend_request.js.html @@ -323,7 +323,7 @@

app/extend/request.js


- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_response.js.html b/api/app_extend_response.js.html index 11b0f67b38..d5c5987718 100644 --- a/api/app_extend_response.js.html +++ b/api/app_extend_response.js.html @@ -152,7 +152,7 @@

app/extend/response.js


- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/config_config.default.js.html b/api/config_config.default.js.html index c829069276..7e84246da8 100644 --- a/api/config_config.default.js.html +++ b/api/config_config.default.js.html @@ -424,7 +424,7 @@

config/config.default.js


- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/config_plugin.js.html b/api/config_plugin.js.html index ef2d1f2549..d779c50a94 100644 --- a/api/config_plugin.js.html +++ b/api/config_plugin.js.html @@ -197,7 +197,7 @@

config/plugin.js


- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html b/api/global.html index 392dfcf0b9..b2fc1902d6 100644 --- a/api/global.html +++ b/api/global.html @@ -890,7 +890,7 @@

- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html#BaseContextClass b/api/global.html#BaseContextClass index 23ca94ac76..bc494098e8 100644 --- a/api/global.html#BaseContextClass +++ b/api/global.html#BaseContextClass @@ -829,7 +829,7 @@ it's instantiated in context level,
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html#Controller b/api/global.html#Controller index 629d190b7d..3862e2b45e 100644 --- a/api/global.html#Controller +++ b/api/global.html#Controller @@ -448,7 +448,7 @@
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html#Service b/api/global.html#Service index 6539ea6d55..5c7669cb0b 100644 --- a/api/global.html#Service +++ b/api/global.html#Service @@ -448,7 +448,7 @@
- Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/index.html b/api/index.html index b04d5aba45..023b019159 100644 --- a/api/index.html +++ b/api/index.html @@ -67,7 +67,7 @@

Classes

  • Agent
    • - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/index.js.html b/api/index.js.html index deb4b64337..9b99d28b7e 100644 --- a/api/index.js.html +++ b/api/index.js.html @@ -126,7 +126,7 @@

      index.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_agent.js.html b/api/lib_agent.js.html index d03e5b9fb7..8bbe85b989 100644 --- a/api/lib_agent.js.html +++ b/api/lib_agent.js.html @@ -146,7 +146,7 @@

      lib/agent.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_application.js.html b/api/lib_application.js.html index b393cfcdb8..f56f548ce1 100644 --- a/api/lib_application.js.html +++ b/api/lib_application.js.html @@ -377,7 +377,7 @@

      lib/application.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_base_context_class.js.html b/api/lib_core_base_context_class.js.html index afc268e052..48047ba956 100644 --- a/api/lib_core_base_context_class.js.html +++ b/api/lib_core_base_context_class.js.html @@ -81,7 +81,7 @@

      lib/core/base_context_class.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_base_context_logger.js.html b/api/lib_core_base_context_logger.js.html index 47fc497556..61da30b825 100644 --- a/api/lib_core_base_context_logger.js.html +++ b/api/lib_core_base_context_logger.js.html @@ -124,7 +124,7 @@

      lib/core/base_context_logger.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_context_httpclient.js.html b/api/lib_core_context_httpclient.js.html index 01b9798355..e37b03f414 100644 --- a/api/lib_core_context_httpclient.js.html +++ b/api/lib_core_context_httpclient.js.html @@ -89,7 +89,7 @@

      lib/core/context_httpclient.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_messenger_ipc.js.html b/api/lib_core_messenger_ipc.js.html index ee2d543e85..3de81d6a86 100644 --- a/api/lib_core_messenger_ipc.js.html +++ b/api/lib_core_messenger_ipc.js.html @@ -198,7 +198,7 @@

      lib/core/messenger/ipc.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_messenger_local.js.html b/api/lib_core_messenger_local.js.html index ffcaffbc60..6df3329c08 100644 --- a/api/lib_core_messenger_local.js.html +++ b/api/lib_core_messenger_local.js.html @@ -202,7 +202,7 @@

      lib/core/messenger/local.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_egg.js.html b/api/lib_egg.js.html index eb9c9e35bb..1a55272af9 100644 --- a/api/lib_egg.js.html +++ b/api/lib_egg.js.html @@ -601,7 +601,7 @@

      lib/egg.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_jsdoc_context.jsdoc.html b/api/lib_jsdoc_context.jsdoc.html index 1c677e01b8..a1c472a3a2 100644 --- a/api/lib_jsdoc_context.jsdoc.html +++ b/api/lib_jsdoc_context.jsdoc.html @@ -103,7 +103,7 @@

      lib/jsdoc/context.jsdoc


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_jsdoc_request.jsdoc.html b/api/lib_jsdoc_request.jsdoc.html index 1164f1d3b2..b5cc8a0462 100644 --- a/api/lib_jsdoc_request.jsdoc.html +++ b/api/lib_jsdoc_request.jsdoc.html @@ -109,7 +109,7 @@

      lib/jsdoc/request.jsdoc


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_jsdoc_response.jsdoc.html b/api/lib_jsdoc_response.jsdoc.html index f826a2aaaa..1bdd2961bd 100644 --- a/api/lib_jsdoc_response.jsdoc.html +++ b/api/lib_jsdoc_response.jsdoc.html @@ -66,7 +66,7 @@

      lib/jsdoc/response.jsdoc


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_loader_agent_worker_loader.js.html b/api/lib_loader_agent_worker_loader.js.html index 8efb565154..98ead5544b 100644 --- a/api/lib_loader_agent_worker_loader.js.html +++ b/api/lib_loader_agent_worker_loader.js.html @@ -88,7 +88,7 @@

      lib/loader/agent_worker_loader.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_loader_app_worker_loader.js.html b/api/lib_loader_app_worker_loader.js.html index 6931ca7692..31956debef 100644 --- a/api/lib_loader_app_worker_loader.js.html +++ b/api/lib_loader_app_worker_loader.js.html @@ -109,7 +109,7 @@

      lib/loader/app_worker_loader.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-development@2.4.2@egg-development_agent.js.html b/api/node_modules__egg-development@2.4.2@egg-development_agent.js.html index ba296c3f40..d2aef72039 100644 --- a/api/node_modules__egg-development@2.4.2@egg-development_agent.js.html +++ b/api/node_modules__egg-development@2.4.2@egg-development_agent.js.html @@ -150,7 +150,7 @@

      node_modules/_egg-development@2.4.2@egg-development/agent
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-development@2.4.2@egg-development_config_config.default.js.html b/api/node_modules__egg-development@2.4.2@egg-development_config_config.default.js.html index 60b7fa8ede..845c9d3ac6 100644 --- a/api/node_modules__egg-development@2.4.2@egg-development_config_config.default.js.html +++ b/api/node_modules__egg-development@2.4.2@egg-development_config_config.default.js.html @@ -80,7 +80,7 @@

      node_modules/_egg-development@2.4.2@egg-development/confi
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html index 96e513d252..d12245bb09 100644 --- a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html +++ b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html @@ -199,7 +199,7 @@

      node_modules/_egg-i18n@2.0.0@egg-i18n/app.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html index 8cb6345dcc..fa9272dcac 100644 --- a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html +++ b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html @@ -73,7 +73,7 @@

      node_modules/_egg-i18n@2.0.0@egg-i18n/app/extend/context.
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html b/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html index b2279eba7d..62a7f6da32 100644 --- a/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html +++ b/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html @@ -89,7 +89,7 @@

      node_modules/_egg-i18n@2.0.0@egg-i18n/config/config.defau
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html index 1559dab01a..bbb1795535 100644 --- a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html +++ b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html @@ -174,7 +174,7 @@

      node_modules/_egg-jsonp@2.0.0@egg-jsonp/app/extend/applic
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html index aad603647f..61b0c9b795 100644 --- a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html +++ b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html @@ -95,7 +95,7 @@

      node_modules/_egg-jsonp@2.0.0@egg-jsonp/app/extend/contex
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html index d81ac51030..c0528e5484 100644 --- a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html +++ b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html @@ -77,7 +77,7 @@

      node_modules/_egg-jsonp@2.0.0@egg-jsonp/config/config.def
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-logrotator@3.0.7@egg-logrotator_config_config.default.js.html b/api/node_modules__egg-logrotator@3.0.7@egg-logrotator_config_config.default.js.html index 7a2eebddd3..54689b2bd8 100644 --- a/api/node_modules__egg-logrotator@3.0.7@egg-logrotator_config_config.default.js.html +++ b/api/node_modules__egg-logrotator@3.0.7@egg-logrotator_config_config.default.js.html @@ -86,7 +86,7 @@

      node_modules/_egg-logrotator@3.0.7@egg-logrotator/config/
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-multipart@2.4.0@egg-multipart_app_extend_context.js.html b/api/node_modules__egg-multipart@2.4.0@egg-multipart_app_extend_context.js.html index 86fb15808e..b3dd9e3988 100644 --- a/api/node_modules__egg-multipart@2.4.0@egg-multipart_app_extend_context.js.html +++ b/api/node_modules__egg-multipart@2.4.0@egg-multipart_app_extend_context.js.html @@ -185,7 +185,7 @@

      node_modules/_egg-multipart@2.4.0@egg-multipart/app/exten
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-multipart@2.4.0@egg-multipart_config_config.default.js.html b/api/node_modules__egg-multipart@2.4.0@egg-multipart_config_config.default.js.html index 3732c28cfd..8b0e17fe12 100644 --- a/api/node_modules__egg-multipart@2.4.0@egg-multipart_config_config.default.js.html +++ b/api/node_modules__egg-multipart@2.4.0@egg-multipart_config_config.default.js.html @@ -108,7 +108,7 @@

      node_modules/_egg-multipart@2.4.0@egg-multipart/config/co
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-schedule@3.6.1@egg-schedule_app_extend_agent.js.html b/api/node_modules__egg-schedule@3.6.1@egg-schedule_app_extend_agent.js.html index a91f1a3472..410d23a310 100644 --- a/api/node_modules__egg-schedule@3.6.1@egg-schedule_app_extend_agent.js.html +++ b/api/node_modules__egg-schedule@3.6.1@egg-schedule_app_extend_agent.js.html @@ -93,7 +93,7 @@

      node_modules/_egg-schedule@3.6.1@egg-schedule/app/extend/
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-security@2.5.0@egg-security_app_extend_context.js.html b/api/node_modules__egg-security@2.5.0@egg-security_app_extend_context.js.html index d7ef418e84..aaddc04b23 100644 --- a/api/node_modules__egg-security@2.5.0@egg-security_app_extend_context.js.html +++ b/api/node_modules__egg-security@2.5.0@egg-security_app_extend_context.js.html @@ -229,7 +229,7 @@

      node_modules/_egg-security@2.5.0@egg-security/app/extend/
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-security@2.5.0@egg-security_config_config.default.js.html b/api/node_modules__egg-security@2.5.0@egg-security_config_config.default.js.html index 082803f90f..7e55598853 100644 --- a/api/node_modules__egg-security@2.5.0@egg-security_config_config.default.js.html +++ b/api/node_modules__egg-security@2.5.0@egg-security_config_config.default.js.html @@ -158,7 +158,7 @@

      node_modules/_egg-security@2.5.0@egg-security/config/conf
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html b/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html index 6d83477282..127613bacc 100644 --- a/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html +++ b/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html @@ -116,7 +116,7 @@

      node_modules/_egg-session@3.1.0@egg-session/app/extend/ap
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-static@2.2.0@egg-static_config_config.default.js.html b/api/node_modules__egg-static@2.2.0@egg-static_config_config.default.js.html index 8830488562..5b6616a614 100644 --- a/api/node_modules__egg-static@2.2.0@egg-static_config_config.default.js.html +++ b/api/node_modules__egg-static@2.2.0@egg-static_config_config.default.js.html @@ -89,7 +89,7 @@

      node_modules/_egg-static@2.2.0@egg-static/config/config.d
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-view@2.1.2@egg-view_app_extend_application.js.html b/api/node_modules__egg-view@2.1.2@egg-view_app_extend_application.js.html index 5d7f95b1fc..35fcd9d745 100644 --- a/api/node_modules__egg-view@2.1.2@egg-view_app_extend_application.js.html +++ b/api/node_modules__egg-view@2.1.2@egg-view_app_extend_application.js.html @@ -78,7 +78,7 @@

      node_modules/_egg-view@2.1.2@egg-view/app/extend/applicat
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-view@2.1.2@egg-view_app_extend_context.js.html b/api/node_modules__egg-view@2.1.2@egg-view_app_extend_context.js.html index aceeb0c5cc..fedbcf921b 100644 --- a/api/node_modules__egg-view@2.1.2@egg-view_app_extend_context.js.html +++ b/api/node_modules__egg-view@2.1.2@egg-view_app_extend_context.js.html @@ -107,7 +107,7 @@

      node_modules/_egg-view@2.1.2@egg-view/app/extend/context.
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-view@2.1.2@egg-view_config_config.default.js.html b/api/node_modules__egg-view@2.1.2@egg-view_config_config.default.js.html index a12f14cca9..b82517216b 100644 --- a/api/node_modules__egg-view@2.1.2@egg-view_config_config.default.js.html +++ b/api/node_modules__egg-view@2.1.2@egg-view_config_config.default.js.html @@ -83,7 +83,7 @@

      node_modules/_egg-view@2.1.2@egg-view/config/config.defau
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-watcher@3.1.0@egg-watcher_config_config.default.js.html b/api/node_modules__egg-watcher@3.1.0@egg-watcher_config_config.default.js.html index dcb6055503..90287f99f0 100644 --- a/api/node_modules__egg-watcher@3.1.0@egg-watcher_config_config.default.js.html +++ b/api/node_modules__egg-watcher@3.1.0@egg-watcher_config_config.default.js.html @@ -77,7 +77,7 @@

      node_modules/_egg-watcher@3.1.0@egg-watcher/config/config
      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_egg.js.html b/api/node_modules_egg-core_lib_egg.js.html index a950804031..70bba4189b 100644 --- a/api/node_modules_egg-core_lib_egg.js.html +++ b/api/node_modules_egg-core_lib_egg.js.html @@ -442,7 +442,7 @@

      node_modules/egg-core/lib/egg.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_lifecycle.js.html b/api/node_modules_egg-core_lib_lifecycle.js.html index 82705b077d..69da84f43f 100644 --- a/api/node_modules_egg-core_lib_lifecycle.js.html +++ b/api/node_modules_egg-core_lib_lifecycle.js.html @@ -320,7 +320,7 @@

      node_modules/egg-core/lib/lifecycle.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_context_loader.js.html b/api/node_modules_egg-core_lib_loader_context_loader.js.html index 49d5fffe00..320cecfb7b 100644 --- a/api/node_modules_egg-core_lib_loader_context_loader.js.html +++ b/api/node_modules_egg-core_lib_loader_context_loader.js.html @@ -166,7 +166,7 @@

      node_modules/egg-core/lib/loader/context_loader.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_egg_loader.js.html b/api/node_modules_egg-core_lib_loader_egg_loader.js.html index 38e76bbc89..6617b81cfc 100644 --- a/api/node_modules_egg-core_lib_loader_egg_loader.js.html +++ b/api/node_modules_egg-core_lib_loader_egg_loader.js.html @@ -536,7 +536,7 @@

      node_modules/egg-core/lib/loader/egg_loader.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_file_loader.js.html b/api/node_modules_egg-core_lib_loader_file_loader.js.html index 686ce1097b..9472e784fe 100644 --- a/api/node_modules_egg-core_lib_loader_file_loader.js.html +++ b/api/node_modules_egg-core_lib_loader_file_loader.js.html @@ -318,7 +318,7 @@

      node_modules/egg-core/lib/loader/file_loader.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_config.js.html b/api/node_modules_egg-core_lib_loader_mixin_config.js.html index e115b5aa2b..6c8c2eb567 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_config.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_config.js.html @@ -174,7 +174,7 @@

      node_modules/egg-core/lib/loader/mixin/config.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_controller.js.html b/api/node_modules_egg-core_lib_loader_mixin_controller.js.html index 50a8699bf4..1403b96b2f 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_controller.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_controller.js.html @@ -183,7 +183,7 @@

      node_modules/egg-core/lib/loader/mixin/controller.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_custom.js.html b/api/node_modules_egg-core_lib_loader_mixin_custom.js.html index 6cade748f7..98ee6f2ee1 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_custom.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_custom.js.html @@ -137,7 +137,7 @@

      node_modules/egg-core/lib/loader/mixin/custom.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_extend.js.html b/api/node_modules_egg-core_lib_loader_mixin_extend.js.html index 4f39227011..34368ccfc9 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_extend.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_extend.js.html @@ -212,7 +212,7 @@

      node_modules/egg-core/lib/loader/mixin/extend.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html b/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html index a6aaf1f1c2..89d7a6d790 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html @@ -173,7 +173,7 @@

      node_modules/egg-core/lib/loader/mixin/middleware.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html b/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html index 5de65aa0c5..6a6b28a5f0 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html @@ -459,7 +459,7 @@

      node_modules/egg-core/lib/loader/mixin/plugin.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_router.js.html b/api/node_modules_egg-core_lib_loader_mixin_router.js.html index 651629add8..9f519098d4 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_router.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_router.js.html @@ -81,7 +81,7 @@

      node_modules/egg-core/lib/loader/mixin/router.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_loader_mixin_service.js.html b/api/node_modules_egg-core_lib_loader_mixin_service.js.html index fc9cf8a720..5cd2e18ef0 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_service.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_service.js.html @@ -89,7 +89,7 @@

      node_modules/egg-core/lib/loader/mixin/service.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_utils_base_context_class.js.html b/api/node_modules_egg-core_lib_utils_base_context_class.js.html index 6443e80d1a..63b7f69199 100644 --- a/api/node_modules_egg-core_lib_utils_base_context_class.js.html +++ b/api/node_modules_egg-core_lib_utils_base_context_class.js.html @@ -100,7 +100,7 @@

      node_modules/egg-core/lib/utils/base_context_class.js

      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules_egg-core_lib_utils_index.js.html b/api/node_modules_egg-core_lib_utils_index.js.html index 63847c5190..ba9e97345e 100644 --- a/api/node_modules_egg-core_lib_utils_index.js.html +++ b/api/node_modules_egg-core_lib_utils_index.js.html @@ -161,7 +161,7 @@

      node_modules/egg-core/lib/utils/index.js


      - Documentation generated by JSDoc 3.5.5 on Thu Apr 04 2019 01:19:50 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Tue Apr 09 2019 03:15:11 GMT+0000 (UTC) using the Minami theme.
      diff --git a/en/advanced/framework.html b/en/advanced/framework.html index 0c0af580f6..e1718b46c0 100644 --- a/en/advanced/framework.html +++ b/en/advanced/framework.html @@ -201,8 +201,8 @@

      LoaderRouter and asynchronous launch.

            Koa Application
      ^
      EggCore
      ^
      ┌──────┴───────┐
      │ │
      Egg Agent Egg Application
      ^ ^
      agent worker app worker

      # How to Customize a Framework

      -

      To setup by egg-init with the framework option is a good way, in which generates a scaffold for you.

      -
      $ egg-init --type=framework yadan
      $ cd yadan
      $ npm i
      $ npm test
      +

      Just use egg-boilerplate-framework to generates a scaffold for you.

      +
      $ mkdir yadan && cd yadan
      $ npm init egg --type=framework
      $ npm i
      $ npm test

      But in order to illustrate details, let's do it step by step. Here is the sample code.

      # Framework API

      Each of those APIs is required to be implemented almost twice - one for Agent and another for Application.

      diff --git a/en/advanced/plugin.html b/en/advanced/plugin.html index 5db2dcc25a..c756b1a4ca 100644 --- a/en/advanced/plugin.html +++ b/en/advanced/plugin.html @@ -190,8 +190,8 @@

      Plugin Development

      As we've already explained some these points in chapter using plugins before. Now we are going through how to build a plugin.

      # Plugin Development

      # Quick Start with Scaffold

      -

      You can choose plugin scaffold in egg-init for quick start.

      -
      $ egg-init --type=plugin egg-hello
      $ cd egg-hello
      $ npm i
      $ npm test
      +

      Just use egg-boilerplate-plugin to generates a scaffold for you.

      +
      $ mkdir egg-hello && cd egg-hello
      $ npm init egg --type=plugin
      $ npm i
      $ npm test

      # Directory of Plugin

      Plugin is actually a mini application, directory of plugin is as below:

      . egg-hello
      ├── package.json
      ├── app.js (optional)
      ├── agent.js (optional)
      ├── app
      │ ├── extend (optional)
      │ | ├── helper.js (optional)
      │ | ├── request.js (optional)
      │ | ├── response.js (optional)
      │ | ├── context.js (optional)
      │ | ├── application.js (optional)
      │ | └── agent.js (optional)
      │ ├── service (optional)
      │ └── middleware (optional)
      │ └── mw.js
      ├── config
      | ├── config.default.js
      │ ├── config.prod.js
      | ├── config.test.js (optional)
      | ├── config.local.js (optional)
      | └── config.unittest.js (optional)
      └── test
      └── middleware
      └── mw.test.js
      diff --git a/en/contributing.html b/en/contributing.html index 464b2df4b2..7d1e84b9e0 100644 --- a/en/contributing.html +++ b/en/contributing.html @@ -256,7 +256,7 @@

      fix($compile): [BREAKING_CHANGE] couple of unit tests for IE9

      Older IEs serialize html uppercased, but IE9 does not...
      Would be better to expect case insensitive, unfortunately jasmine does
      not allow to user regexps for throw expectations.

      Document change on eggjs/egg#123

      Closes #392

      BREAKING CHANGE:

      Breaks foo.bar api, foo.baz should be used instead
      diff --git a/en/faq.html b/en/faq.html index b328c15d9c..899ed8ed95 100644 --- a/en/faq.html +++ b/en/faq.html @@ -186,7 +186,7 @@

      # Pr

      # The Quick Way

      To begin with, let's quickly initialize the project by using a scaffold, which will quickly generate some of the major pieces of the application.

      -
      $ npm i egg-init -g
      $ egg-init egg-example --type=simple
      $ cd egg-example
      $ npm i
      +
      $ mkdir egg-example && cd egg-example
      $ npm init egg --type=simple
      $ npm i

      Then get up and run by using the following commands.

      $ npm run dev
      $ open localhost:7001

      # Step by Step

      -

      Usually you can just use egg-init of the previous section, +

      Usually you can just use npm init egg of the previous section, choose a scaffold that best fits your business model and quickly generate a project, then get started with the development.

      However, in this section, instead of using scaffolds we will build a project called Egg HackerNews step by step, for a better understanding of how it works.

      diff --git a/en/style-guide.html b/en/style-guide.html index 0433504fe4..19e1467d85 100644 --- a/en/style-guide.html +++ b/en/style-guide.html @@ -179,7 +179,7 @@

      Code Style Guide

      -

      Developers are advised to use egg-init --type=simple showcase to generate and observe the recommended project structure and configuration.

      +

      Developers are advised to use npm init egg --type=simple showcase to generate and observe the recommended project structure and configuration.

      # Classify

      Old Style:

      module.exports = app => {
      class UserService extends app.Service {
      async list() {
      return await this.ctx.curl('https://eggjs.org');
      }
      }
      return UserService;
      };
      diff --git a/en/tutorials/index.html b/en/tutorials/index.html index 04532d0256..5b22b9cb08 100644 --- a/en/tutorials/index.html +++ b/en/tutorials/index.html @@ -186,7 +186,7 @@

      Tutorials

    # Boilerplate Type Description

    You can use boilerplate type like this:

    -
    $ egg-init --type=simple
    +
    $ npm init egg --type=simple

    # Options

    diff --git a/en/tutorials/passport.html b/en/tutorials/passport.html index 1cd9b0b2e3..be94235c24 100644 --- a/en/tutorials/passport.html +++ b/en/tutorials/passport.html @@ -258,7 +258,7 @@

    # How to develop an egg-passport plugin

    In the previous section, we learned how to use a Passport middleware in the framework. We can further encapsulate it as a plugin and give back to the community.

    initialization:

    -

    $ egg-init --type=plugin egg-passport-local
    +
    $ npm init egg --type=plugin egg-passport-local

    Configure dependencies in package.json:

    {
    "name": "egg-passport-local",
    "version": "1.0.0",
    "eggPlugin": {
    "name": "passportLocal",
    "dependencies": ["passport"]
    },
    "dependencies": {
    "passport-local": "^1.0.0"
    }
    }

    Configuration:

    diff --git a/en/tutorials/restful.html b/en/tutorials/restful.html index a10ecc5166..e3844f233d 100644 --- a/en/tutorials/restful.html +++ b/en/tutorials/restful.html @@ -218,8 +218,8 @@

    #

    # Getting Started

    After interface convention, we begin to create a RESTful API.

    # Application Initialization

    -

    Initializes the application using egg-init in the quickstart

    -
    $ egg-init cnode-api --type=simple
    $ cd cnode-api
    $ npm i
    +

    Initializes the application using npm in the quickstart

    +
    $ mkdir cnode-api && cd cnode-api
    $ npm init egg --type=simple
    $ npm i

    # Enable validate plugin

    egg-validate is used to present the validate plugin.

    // config/plugin.js
    exports.validate = {
    enable: true,
    package: 'egg-validate',
    };
    diff --git a/en/tutorials/sequelize.html b/en/tutorials/sequelize.html index 4b14b7c3ae..c08624e4ad 100644 --- a/en/tutorials/sequelize.html +++ b/en/tutorials/sequelize.html @@ -183,10 +183,10 @@

    Sequelize

    In this chapter, we will walk through the steps of how to use sequelize in an egg project by developing an example of doing CURD on the data in the users table in MySQL.

    # Preparing

    In this example, we will use sequelize to connect to the MySQL data source, so we need to install MySQL on the machine before we start writing code. If it is MacOS, we can quickly install it via homebrew:

    -
    brew install mysql
    brew service start mysql
    +
    brew install mysql
    brew services start mysql

    # Initialization

    -

    Init project by egg-init:

    -
    egg-init --type=simple --dir=sequelize-project
    cd sequelize-project
    npm i
    +

    Init project by npm:

    +
    $ mkdir sequelize-project && cd sequelize-project
    $ npm init egg --type=simple
    $ npm i

    Install and configure the egg-sequelize plugin (which will help us load the defined Model object onto app and ctx ) and the mysql2 module:

    • Install
    • @@ -262,7 +262,7 @@

      # Unit Test<

      # Full Example

      A more complete example can be found in eggjs/examples/sequelize.

      # Boilerplate

      -

      We also provide sequelize boilerplate that integrates the modules egg-sequelize, sequelize-cli and factory-girl provided in this documentation. You can quickly initialize a new application based on it by egg-init --type=sequelize.

      +

      We also provide sequelize boilerplate that integrates the modules egg-sequelize, sequelize-cli and factory-girl provided in this documentation. You can quickly initialize a new application based on it by npm init egg --type=sequelize.

      diff --git a/en/tutorials/typescript.html b/en/tutorials/typescript.html index 4960d7e531..96585ffac4 100644 --- a/en/tutorials/typescript.html +++ b/en/tutorials/typescript.html @@ -199,7 +199,7 @@

      TypeScript


      # Quick Start

      A quick initialization through the boilerplate:

      -
      $ npx egg-init --type=ts showcase
      $ cd showcase && npm i
      $ npm run dev
      +
      $ mkdir showcase && cd showcase
      $ npm init egg --type=ts
      $ npm i
      $ npm run dev

      The boilerplate above will create a very simple example, for a detailed one please see eggjs/examples/hackernews-async-ts

      tegg.gif


      diff --git a/zh-cn/advanced/framework.html b/zh-cn/advanced/framework.html index 062b8efd05..b81958d599 100644 --- a/zh-cn/advanced/framework.html +++ b/zh-cn/advanced/framework.html @@ -201,8 +201,8 @@

      LoaderRouter 及应用异步启动等功能,可以看做是支持 Loader 的 Koa。

            Koa Application
      ^
      EggCore
      ^
      ┌──────┴───────┐
      │ │
      Egg Agent Egg Application
      ^ ^
      agent worker app worker

      # 如何定制一个框架

      -

      你可以直接通过 [egg-init] 选择 framework 脚手架来快速上手。

      -
      $ egg-init --type=framework yadan
      $ cd yadan
      $ npm i
      $ npm test
      +

      你可以直接通过 egg-boilerplate-framework 脚手架来快速上手。

      +
      $ mkdir yadan && cd yadan
      $ npm init egg --type=framework
      $ npm i
      $ npm test

      但同样,为了让大家了解细节,接下来我们还是手把手来定制一个框架,具体代码可以查看示例

      # 框架 API

      Egg 框架提供了一些 API,所有继承的框架都需要提供,只增不减。这些 API 基本都有 Agent 和 Application 两份。

      diff --git a/zh-cn/advanced/plugin.html b/zh-cn/advanced/plugin.html index a11dbbf721..941c5288d2 100644 --- a/zh-cn/advanced/plugin.html +++ b/zh-cn/advanced/plugin.html @@ -190,8 +190,8 @@

      插件开发

      使用插件章节我们已经讨论过前几点,接下来我们来看看如何开发一个插件。

      # 插件开发

      # 使用脚手架快速开发

      -

      你可以直接通过 egg-init 选择 plugin 脚手架来快速上手。

      -
      $ egg-init --type=plugin egg-hello
      $ cd egg-hello
      $ npm i
      $ npm test
      +

      你可以直接使用 egg-boilerplate-plugin 脚手架来快速上手。

      +
      $ mkdir egg-hello && cd egg-hello
      $ npm init egg --type=plugin
      $ npm i
      $ npm test

      # 插件的目录结构

      一个插件其实就是一个『迷你的应用』,下面展示的是一个插件的目录结构,和应用(app)几乎一样。

      . egg-hello
      ├── package.json
      ├── app.js (可选)
      ├── agent.js (可选)
      ├── app
      │ ├── extend (可选)
      │ | ├── helper.js (可选)
      │ | ├── request.js (可选)
      │ | ├── response.js (可选)
      │ | ├── context.js (可选)
      │ | ├── application.js (可选)
      │ | └── agent.js (可选)
      │ ├── service (可选)
      │ └── middleware (可选)
      │ └── mw.js
      ├── config
      | ├── config.default.js
      │ ├── config.prod.js
      | ├── config.test.js (可选)
      | ├── config.local.js (可选)
      | └── config.unittest.js (可选)
      └── test
      └── middleware
      └── mw.test.js
      diff --git a/zh-cn/contributing.html b/zh-cn/contributing.html index 25538dff9d..54666c78c5 100644 --- a/zh-cn/contributing.html +++ b/zh-cn/contributing.html @@ -259,7 +259,7 @@

      fix($compile): [BREAKING_CHANGE] couple of unit tests for IE9

      Older IEs serialize html uppercased, but IE9 does not...
      Would be better to expect case insensitive, unfortunately jasmine does
      not allow to user regexps for throw expectations.

      Document change on eggjs/egg#123

      Closes #392

      BREAKING CHANGE:

      Breaks foo.bar api, foo.baz should be used instead
      diff --git a/zh-cn/faq.html b/zh-cn/faq.html index 91455a11ec..b19ff353b7 100644 --- a/zh-cn/faq.html +++ b/zh-cn/faq.html @@ -186,7 +186,7 @@

      如何向开源项目提交无法解答的问题

      最重要的是,请明白一件事:开源项目的用户和维护者之间并不是甲方和乙方的关系,issue 也不是客服工单。在开 issue 的时候,请抱着一种『一起合作来解决这个问题』的心态,不要期待我们单方面地为你服务。

      diff --git a/zh-cn/intro/quickstart.html b/zh-cn/intro/quickstart.html index a33dde8568..03fda8ccaa 100644 --- a/zh-cn/intro/quickstart.html +++ b/zh-cn/intro/quickstart.html @@ -187,11 +187,11 @@

      #

    # 快速初始化

    我们推荐直接使用脚手架,只需几条简单指令,即可快速生成项目:

    -
    $ npm i egg-init -g
    $ egg-init egg-example --type=simple
    $ cd egg-example
    $ npm i
    +
    $ mkdir egg-example && cd egg-example
    $ npm init egg --type=simple
    $ npm i

    启动项目:

    $ npm run dev
    $ open localhost:7001

    # 逐步搭建

    -

    通常你可以通过上一节的方式,使用 egg-init 快速选择适合对应业务模型的脚手架,快速启动 Egg.js 项目的开发。

    +

    通常你可以通过上一节的方式,使用 npm init egg 快速选择适合对应业务模型的脚手架,快速启动 Egg.js 项目的开发。

    但为了让大家更好的了解 Egg.js,接下来,我们将跳过脚手架,手动一步步的搭建出一个 Hacker News

    注意:实际项目中,我们推荐使用上一节的脚手架直接初始化。

    Egg HackerNews Snapshoot

    diff --git a/zh-cn/style-guide.html b/zh-cn/style-guide.html index 3db70cfbfd..bfdefd3de2 100644 --- a/zh-cn/style-guide.html +++ b/zh-cn/style-guide.html @@ -179,7 +179,7 @@

    代码风格指南

    -

    建议开发者使用 egg-init --type=simple showcase 来生成并观察推荐的项目结构和配置。

    +

    建议开发者使用 npm init egg --type=simple showcase 来生成并观察推荐的项目结构和配置。

    # 用类的形式呈现(Classify)

    旧写法:

    module.exports = app => {
    class UserService extends app.Service {
    async list() {
    return await this.ctx.curl('https://eggjs.org');
    }
    }
    return UserService;
    };
    diff --git a/zh-cn/tutorials/index.html b/zh-cn/tutorials/index.html index d2128d3b65..1bb824a0ef 100644 --- a/zh-cn/tutorials/index.html +++ b/zh-cn/tutorials/index.html @@ -186,7 +186,7 @@

    教程

# 骨架类型说明

你可以使用骨架类型,像下面这样:

-
$ egg-init --type=simple
+
$ npm init egg --type=simple

# 选项

diff --git a/zh-cn/tutorials/passport.html b/zh-cn/tutorials/passport.html index 01c7eb4992..46e2d4bdb3 100644 --- a/zh-cn/tutorials/passport.html +++ b/zh-cn/tutorials/passport.html @@ -270,7 +270,7 @@

#

# 如何开发一个 egg-passport 插件

在上一节中,我们学会了如何在框架中使用 Passport 中间件,我们可以进一步把它封装成插件,回馈社区。

初始化:

-
$ egg-init --type=plugin egg-passport-local
+
$ npm init egg --type=plugin egg-passport-local

package.json配置依赖:

{
"name": "egg-passport-local",
"version": "1.0.0",
"eggPlugin": {
"name": "passportLocal",
"dependencies": [
"passport"
]
},
"dependencies": {
"passport-local": "^1.0.0"
}
}

配置:

diff --git a/zh-cn/tutorials/restful.html b/zh-cn/tutorials/restful.html index a37dbadb5d..c9e38d2a93 100644 --- a/zh-cn/tutorials/restful.html +++ b/zh-cn/tutorials/restful.html @@ -217,8 +217,8 @@

#

# 实现

在约定好接口之后,我们可以开始动手实现了。

# 初始化项目

-

还是通过快速入门章节介绍的 egg-init 工具来初始化我们的应用

-
$ egg-init cnode-api --type=simple
$ cd cnode-api
$ npm i
+

还是通过快速入门章节介绍的 npm 来初始化我们的应用

+
$ mkdir cnode-api && cd cnode-api
$ npm init egg --type=simple
$ npm i

# 开启 validate 插件

我们选择 egg-validate 作为 validate 插件的示例。

// config/plugin.js
exports.validate = {
enable: true,
package: 'egg-validate',
};
diff --git a/zh-cn/tutorials/sequelize.html b/zh-cn/tutorials/sequelize.html index e06ccf489a..b9fe74f33f 100644 --- a/zh-cn/tutorials/sequelize.html +++ b/zh-cn/tutorials/sequelize.html @@ -183,10 +183,10 @@

Sequelize

本章节我们会通过开发一个对 MySQL 中 users 表的数据做 CURD 的例子来一步步介绍如何在 egg 项目中使用 sequelize。

# 准备工作

在这个例子中,我们会使用 sequelize 连接到 MySQL 数据源,因此在开始编写代码之前,我们需要先在本机上安装好 MySQL,如果是 MacOS,可以通过 homebrew 快速安装:

-
brew install mysql
brew service start mysql
+
brew install mysql
brew services start mysql

# 初始化项目

-

通过 egg-init 初始化一个项目:

-
egg-init --type=simple --dir=sequelize-project
cd sequelize-project
npm i
+

通过 npm 初始化一个项目:

+
$ mkdir sequelize-project && cd sequelize-project
$ npm init egg --type=simple
$ npm i

安装并配置 egg-sequelize 插件(它会辅助我们将定义好的 Model 对象加载到 app 和 ctx 上)和 mysql2 模块:

  • 安装
  • @@ -262,7 +262,7 @@

    #

    # 完整示例

    更完整的示例可以查看 eggjs/examples/sequelize

    # 脚手架

    -

    我们也提供了 sequelize 的脚手架,集成了文档中提供的 egg-sequelize, sequelize-clifactory-girl 等模块。可以通过 egg-init --type=sequelize 来基于它快速初始化一个新的应用。

    +

    我们也提供了 sequelize 的脚手架,集成了文档中提供的 egg-sequelize, sequelize-clifactory-girl 等模块。可以通过 npm init egg --type=sequelize 来基于它快速初始化一个新的应用。

    diff --git a/zh-cn/tutorials/typescript.html b/zh-cn/tutorials/typescript.html index c91d500c98..3995526cb6 100644 --- a/zh-cn/tutorials/typescript.html +++ b/zh-cn/tutorials/typescript.html @@ -199,7 +199,7 @@

    TypeScript


    # 快速入门

    通过骨架快速初始化:

    -
    $ npx egg-init --type=ts showcase
    $ cd showcase && npm i
    $ npm run dev
    +
    $ mkdir showcase && cd showcase
    $ npm init egg --type=ts
    $ npm i
    $ npm run dev

    上述骨架会生成一个极简版的示例,更完整的示例参见:eggjs/examples/hackernews-async-ts

    tegg.gif