@ionic/angular 7.6.2-dev.11702926577.1a448647 → 7.6.2-dev.11702954699.17da50be

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/LICENSE +21 -0
  2. package/directives/proxies.d.ts +1 -1
  3. package/esm2020/common/directives/control-value-accessors/value-accessor.mjs +4 -4
  4. package/esm2020/common/directives/navigation/back-button.mjs +4 -4
  5. package/esm2020/common/directives/navigation/nav.mjs +4 -4
  6. package/esm2020/common/directives/navigation/router-link-delegate.mjs +7 -7
  7. package/esm2020/common/directives/navigation/router-outlet.mjs +7 -7
  8. package/esm2020/common/directives/navigation/tabs.mjs +4 -4
  9. package/esm2020/common/overlays/modal.mjs +4 -4
  10. package/esm2020/common/overlays/popover.mjs +4 -4
  11. package/esm2020/common/providers/angular-delegate.mjs +4 -4
  12. package/esm2020/common/providers/config.mjs +4 -4
  13. package/esm2020/common/providers/dom-controller.mjs +4 -4
  14. package/esm2020/common/providers/nav-controller.mjs +4 -4
  15. package/esm2020/common/providers/platform.mjs +4 -4
  16. package/esm2020/directives/control-value-accessors/boolean-value-accessor.mjs +4 -4
  17. package/esm2020/directives/control-value-accessors/numeric-value-accessor.mjs +4 -4
  18. package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +4 -4
  19. package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +4 -4
  20. package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +4 -4
  21. package/esm2020/directives/navigation/ion-back-button.mjs +4 -4
  22. package/esm2020/directives/navigation/ion-nav.mjs +4 -4
  23. package/esm2020/directives/navigation/ion-router-outlet.mjs +4 -4
  24. package/esm2020/directives/navigation/ion-tabs.mjs +4 -4
  25. package/esm2020/directives/navigation/router-link-delegate.mjs +7 -7
  26. package/esm2020/directives/overlays/modal.mjs +4 -4
  27. package/esm2020/directives/overlays/popover.mjs +4 -4
  28. package/esm2020/directives/proxies.mjs +234 -234
  29. package/esm2020/directives/validators/max-validator.mjs +4 -4
  30. package/esm2020/directives/validators/min-validator.mjs +4 -4
  31. package/esm2020/ionic-module.mjs +5 -5
  32. package/esm2020/providers/action-sheet-controller.mjs +4 -4
  33. package/esm2020/providers/alert-controller.mjs +4 -4
  34. package/esm2020/providers/animation-controller.mjs +4 -4
  35. package/esm2020/providers/gesture-controller.mjs +4 -4
  36. package/esm2020/providers/loading-controller.mjs +4 -4
  37. package/esm2020/providers/menu-controller.mjs +4 -4
  38. package/esm2020/providers/modal-controller.mjs +4 -4
  39. package/esm2020/providers/picker-controller.mjs +4 -4
  40. package/esm2020/providers/toast-controller.mjs +4 -4
  41. package/esm2020/standalone/directives/checkbox.mjs +4 -4
  42. package/esm2020/standalone/directives/datetime.mjs +4 -4
  43. package/esm2020/standalone/directives/icon.mjs +4 -4
  44. package/esm2020/standalone/directives/input.mjs +4 -4
  45. package/esm2020/standalone/directives/proxies.mjs +198 -198
  46. package/esm2020/standalone/directives/radio-group.mjs +4 -4
  47. package/esm2020/standalone/directives/radio.mjs +4 -4
  48. package/esm2020/standalone/directives/range.mjs +4 -4
  49. package/esm2020/standalone/directives/searchbar.mjs +4 -4
  50. package/esm2020/standalone/directives/segment.mjs +4 -4
  51. package/esm2020/standalone/directives/select.mjs +4 -4
  52. package/esm2020/standalone/directives/textarea.mjs +4 -4
  53. package/esm2020/standalone/directives/toggle.mjs +4 -4
  54. package/esm2020/standalone/navigation/back-button.mjs +4 -4
  55. package/esm2020/standalone/navigation/nav.mjs +4 -4
  56. package/esm2020/standalone/navigation/router-link-delegate.mjs +7 -7
  57. package/esm2020/standalone/navigation/router-outlet.mjs +4 -4
  58. package/esm2020/standalone/navigation/tabs.mjs +4 -4
  59. package/esm2020/standalone/overlays/modal.mjs +4 -4
  60. package/esm2020/standalone/overlays/popover.mjs +4 -4
  61. package/esm2020/standalone/providers/action-sheet-controller.mjs +4 -4
  62. package/esm2020/standalone/providers/alert-controller.mjs +4 -4
  63. package/esm2020/standalone/providers/animation-controller.mjs +4 -4
  64. package/esm2020/standalone/providers/gesture-controller.mjs +4 -4
  65. package/esm2020/standalone/providers/loading-controller.mjs +4 -4
  66. package/esm2020/standalone/providers/menu-controller.mjs +4 -4
  67. package/esm2020/standalone/providers/modal-controller.mjs +4 -4
  68. package/esm2020/standalone/providers/picker-controller.mjs +4 -4
  69. package/esm2020/standalone/providers/toast-controller.mjs +4 -4
  70. package/fesm2015/ionic-angular-common.mjs +45 -45
  71. package/fesm2015/ionic-angular-common.mjs.map +1 -1
  72. package/fesm2015/ionic-angular-standalone.mjs +284 -284
  73. package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
  74. package/fesm2015/ionic-angular.mjs +309 -309
  75. package/fesm2015/ionic-angular.mjs.map +1 -1
  76. package/fesm2020/ionic-angular-common.mjs +45 -45
  77. package/fesm2020/ionic-angular-common.mjs.map +1 -1
  78. package/fesm2020/ionic-angular-standalone.mjs +284 -284
  79. package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
  80. package/fesm2020/ionic-angular.mjs +309 -309
  81. package/fesm2020/ionic-angular.mjs.map +1 -1
  82. package/package.json +2 -2
  83. package/standalone/directives/proxies.d.ts +1 -1
  84. package/test/apps/ng14/node_modules/@angular/animations/README.md +8 -0
  85. package/test/apps/ng14/node_modules/@angular/cli/README.md +5 -0
  86. package/test/apps/ng14/node_modules/@angular/common/README.md +8 -0
  87. package/test/apps/ng14/node_modules/@angular/compiler/README.md +8 -0
  88. package/test/apps/ng14/node_modules/@angular/core/README.md +8 -0
  89. package/test/apps/ng14/node_modules/@angular/forms/README.md +8 -0
  90. package/test/apps/ng14/node_modules/@angular/platform-browser/README.md +8 -0
  91. package/test/apps/ng14/node_modules/@angular/platform-browser-dynamic/README.md +8 -0
  92. package/test/apps/ng14/node_modules/@angular/platform-server/README.md +8 -0
  93. package/test/apps/ng14/node_modules/@angular/router/README.md +8 -0
  94. package/test/apps/ng14/node_modules/@angular-devkit/build-angular/README.md +20 -0
  95. package/test/apps/ng14/node_modules/@angular-eslint/builder/README.md +1 -0
  96. package/test/apps/ng14/node_modules/@angular-eslint/eslint-plugin/README.md +1 -0
  97. package/test/apps/ng14/node_modules/@angular-eslint/eslint-plugin-template/README.md +1 -0
  98. package/test/apps/ng14/node_modules/@angular-eslint/schematics/README.md +1 -0
  99. package/test/apps/ng14/node_modules/@angular-eslint/template-parser/README.md +1 -0
  100. package/test/apps/ng14/node_modules/@ionic/angular/README.md +74 -0
  101. package/test/apps/ng14/node_modules/@nguniversal/builders/README.md +76 -0
  102. package/test/apps/ng14/node_modules/@types/express/README.md +15 -0
  103. package/test/apps/ng14/node_modules/@types/node/README.md +16 -0
  104. package/test/apps/ng14/node_modules/@typescript-eslint/eslint-plugin/README.md +10 -0
  105. package/test/apps/ng14/node_modules/@typescript-eslint/parser/README.md +10 -0
  106. package/test/apps/ng14/node_modules/concurrently/README.md +315 -0
  107. package/test/apps/ng14/node_modules/core-js/README.md +2307 -0
  108. package/test/apps/ng14/node_modules/cypress/README.md +25 -0
  109. package/test/apps/ng14/node_modules/eslint/README.md +308 -0
  110. package/test/apps/ng14/node_modules/rxjs/README.md +107 -0
  111. package/test/apps/ng14/node_modules/ts-loader/README.md +731 -0
  112. package/test/apps/ng14/node_modules/ts-node/README.md +302 -0
  113. package/test/apps/ng14/node_modules/tslib/README.md +164 -0
  114. package/test/apps/ng14/node_modules/typescript/README.md +104 -0
  115. package/test/apps/ng14/node_modules/typescript-eslint-language-service/README.md +77 -0
  116. package/test/apps/ng14/node_modules/wait-on/README.md +297 -0
  117. package/test/apps/ng14/node_modules/webpack/README.md +721 -0
  118. package/test/apps/ng14/node_modules/webpack-cli/README.md +147 -0
  119. package/test/apps/ng14/node_modules/zone.js/README.md +141 -0
  120. package/test/apps/ng15/node_modules/@angular/animations/README.md +8 -0
  121. package/test/apps/ng15/node_modules/@angular/cli/README.md +5 -0
  122. package/test/apps/ng15/node_modules/@angular/common/README.md +8 -0
  123. package/test/apps/ng15/node_modules/@angular/compiler/README.md +8 -0
  124. package/test/apps/ng15/node_modules/@angular/core/README.md +8 -0
  125. package/test/apps/ng15/node_modules/@angular/forms/README.md +8 -0
  126. package/test/apps/ng15/node_modules/@angular/platform-browser/README.md +8 -0
  127. package/test/apps/ng15/node_modules/@angular/platform-browser-dynamic/README.md +8 -0
  128. package/test/apps/ng15/node_modules/@angular/platform-server/README.md +8 -0
  129. package/test/apps/ng15/node_modules/@angular/router/README.md +8 -0
  130. package/test/apps/ng15/node_modules/@angular-devkit/build-angular/README.md +20 -0
  131. package/test/apps/ng15/node_modules/@angular-eslint/builder/README.md +1 -0
  132. package/test/apps/ng15/node_modules/@angular-eslint/eslint-plugin/README.md +1 -0
  133. package/test/apps/ng15/node_modules/@angular-eslint/eslint-plugin-template/README.md +1 -0
  134. package/test/apps/ng15/node_modules/@angular-eslint/schematics/README.md +1 -0
  135. package/test/apps/ng15/node_modules/@angular-eslint/template-parser/README.md +1 -0
  136. package/test/apps/ng15/node_modules/@ionic/angular/README.md +74 -0
  137. package/test/apps/ng15/node_modules/@nguniversal/builders/README.md +76 -0
  138. package/test/apps/ng15/node_modules/@nguniversal/express-engine/README.md +118 -0
  139. package/test/apps/ng15/node_modules/@types/express/README.md +15 -0
  140. package/test/apps/ng15/node_modules/@types/node/README.md +16 -0
  141. package/test/apps/ng15/node_modules/@typescript-eslint/eslint-plugin/README.md +234 -0
  142. package/test/apps/ng15/node_modules/@typescript-eslint/parser/README.md +265 -0
  143. package/test/apps/ng15/node_modules/concurrently/README.md +315 -0
  144. package/test/apps/ng15/node_modules/core-js/README.md +2307 -0
  145. package/test/apps/ng15/node_modules/cypress/README.md +25 -0
  146. package/test/apps/ng15/node_modules/eslint/README.md +308 -0
  147. package/test/apps/ng15/node_modules/rxjs/README.md +107 -0
  148. package/test/apps/ng15/node_modules/ts-loader/README.md +731 -0
  149. package/test/apps/ng15/node_modules/ts-node/README.md +302 -0
  150. package/test/apps/ng15/node_modules/tslib/README.md +164 -0
  151. package/test/apps/ng15/node_modules/typescript/README.md +104 -0
  152. package/test/apps/ng15/node_modules/typescript-eslint-language-service/README.md +77 -0
  153. package/test/apps/ng15/node_modules/wait-on/README.md +297 -0
  154. package/test/apps/ng15/node_modules/webpack/README.md +721 -0
  155. package/test/apps/ng15/node_modules/webpack-cli/README.md +147 -0
  156. package/test/apps/ng15/node_modules/zone.js/README.md +141 -0
  157. package/test/apps/ng16/node_modules/@angular/animations/README.md +8 -0
  158. package/test/apps/ng16/node_modules/@angular/cli/README.md +5 -0
  159. package/test/apps/ng16/node_modules/@angular/common/README.md +8 -0
  160. package/test/apps/ng16/node_modules/@angular/compiler/README.md +8 -0
  161. package/test/apps/ng16/node_modules/@angular/core/README.md +8 -0
  162. package/test/apps/ng16/node_modules/@angular/forms/README.md +8 -0
  163. package/test/apps/ng16/node_modules/@angular/platform-browser/README.md +8 -0
  164. package/test/apps/ng16/node_modules/@angular/platform-browser-dynamic/README.md +8 -0
  165. package/test/apps/ng16/node_modules/@angular/platform-server/README.md +8 -0
  166. package/test/apps/ng16/node_modules/@angular/router/README.md +8 -0
  167. package/test/apps/ng16/node_modules/@angular-devkit/build-angular/README.md +20 -0
  168. package/test/apps/ng16/node_modules/@angular-eslint/builder/README.md +1 -0
  169. package/test/apps/ng16/node_modules/@angular-eslint/eslint-plugin/README.md +84 -0
  170. package/test/apps/ng16/node_modules/@angular-eslint/eslint-plugin-template/README.md +93 -0
  171. package/test/apps/ng16/node_modules/@angular-eslint/schematics/README.md +1 -0
  172. package/test/apps/ng16/node_modules/@angular-eslint/template-parser/README.md +1 -0
  173. package/test/apps/ng16/node_modules/@ionic/angular/README.md +74 -0
  174. package/test/apps/ng16/node_modules/@nguniversal/builders/README.md +76 -0
  175. package/test/apps/ng16/node_modules/@nguniversal/express-engine/README.md +118 -0
  176. package/test/apps/ng16/node_modules/@types/express/README.md +15 -0
  177. package/test/apps/ng16/node_modules/@types/node/README.md +16 -0
  178. package/test/apps/ng16/node_modules/@typescript-eslint/eslint-plugin/README.md +234 -0
  179. package/test/apps/ng16/node_modules/@typescript-eslint/parser/README.md +265 -0
  180. package/test/apps/ng16/node_modules/concurrently/README.md +315 -0
  181. package/test/apps/ng16/node_modules/core-js/README.md +2307 -0
  182. package/test/apps/ng16/node_modules/cypress/README.md +25 -0
  183. package/test/apps/ng16/node_modules/eslint/README.md +308 -0
  184. package/test/apps/ng16/node_modules/rxjs/README.md +107 -0
  185. package/test/apps/ng16/node_modules/ts-loader/README.md +731 -0
  186. package/test/apps/ng16/node_modules/ts-node/README.md +302 -0
  187. package/test/apps/ng16/node_modules/tslib/README.md +164 -0
  188. package/test/apps/ng16/node_modules/typescript/README.md +49 -0
  189. package/test/apps/ng16/node_modules/typescript-eslint-language-service/README.md +77 -0
  190. package/test/apps/ng16/node_modules/wait-on/README.md +297 -0
  191. package/test/apps/ng16/node_modules/webpack/README.md +721 -0
  192. package/test/apps/ng16/node_modules/webpack-cli/README.md +147 -0
  193. package/test/apps/ng16/node_modules/zone.js/README.md +141 -0
  194. package/test/apps/ng17/node_modules/@angular/animations/README.md +8 -0
  195. package/test/apps/ng17/node_modules/@angular/cli/README.md +5 -0
  196. package/test/apps/ng17/node_modules/@angular/common/README.md +8 -0
  197. package/test/apps/ng17/node_modules/@angular/compiler/README.md +8 -0
  198. package/test/apps/ng17/node_modules/@angular/core/README.md +8 -0
  199. package/test/apps/ng17/node_modules/@angular/forms/README.md +8 -0
  200. package/test/apps/ng17/node_modules/@angular/platform-browser/README.md +8 -0
  201. package/test/apps/ng17/node_modules/@angular/platform-browser-dynamic/README.md +8 -0
  202. package/test/apps/ng17/node_modules/@angular/platform-server/README.md +8 -0
  203. package/test/apps/ng17/node_modules/@angular/router/README.md +8 -0
  204. package/test/apps/ng17/node_modules/@angular-devkit/build-angular/README.md +24 -0
  205. package/test/apps/ng17/node_modules/@angular-eslint/builder/README.md +1 -0
  206. package/test/apps/ng17/node_modules/@angular-eslint/eslint-plugin/README.md +84 -0
  207. package/test/apps/ng17/node_modules/@angular-eslint/eslint-plugin-template/README.md +94 -0
  208. package/test/apps/ng17/node_modules/@angular-eslint/schematics/README.md +1 -0
  209. package/test/apps/ng17/node_modules/@angular-eslint/template-parser/README.md +1 -0
  210. package/test/apps/ng17/node_modules/@ionic/angular/README.md +74 -0
  211. package/test/apps/ng17/node_modules/@types/express/README.md +15 -0
  212. package/test/apps/ng17/node_modules/@types/ws/README.md +16 -0
  213. package/test/apps/ng17/node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
  214. package/test/apps/ng17/node_modules/@typescript-eslint/parser/README.md +12 -0
  215. package/test/apps/ng17/node_modules/concurrently/README.md +315 -0
  216. package/test/apps/ng17/node_modules/core-js/README.md +95 -0
  217. package/test/apps/ng17/node_modules/cypress/README.md +25 -0
  218. package/test/apps/ng17/node_modules/eslint/README.md +308 -0
  219. package/test/apps/ng17/node_modules/rxjs/README.md +107 -0
  220. package/test/apps/ng17/node_modules/ts-loader/README.md +731 -0
  221. package/test/apps/ng17/node_modules/ts-node/README.md +302 -0
  222. package/test/apps/ng17/node_modules/tslib/README.md +164 -0
  223. package/test/apps/ng17/node_modules/typescript/README.md +51 -0
  224. package/test/apps/ng17/node_modules/typescript-eslint-language-service/README.md +77 -0
  225. package/test/apps/ng17/node_modules/wait-on/README.md +297 -0
  226. package/test/apps/ng17/node_modules/webpack/README.md +721 -0
  227. package/test/apps/ng17/node_modules/webpack-cli/README.md +147 -0
  228. package/test/apps/ng17/node_modules/zone.js/README.md +141 -0
@@ -0,0 +1,147 @@
1
+ <div align="center">
2
+ <a href="https://github.com/webpack/webpack-cli">
3
+ <img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg">
4
+ </a>
5
+ </div>
6
+
7
+ # webpack CLI
8
+
9
+ The official CLI of webpack
10
+
11
+ ## About
12
+
13
+ webpack CLI provides a flexible set of commands for developers to increase speed when setting up a custom webpack project. As of webpack v4, webpack is not expecting a configuration file, but often developers want to create a more custom webpack configuration based on their use-cases and needs. webpack CLI addresses these needs by providing a set of tools to improve the setup of custom webpack configuration.
14
+
15
+ ## How to install
16
+
17
+ When you have followed the [Getting Started](https://webpack.js.org/guides/getting-started/) guide of webpack then webpack CLI is already installed!
18
+
19
+ Otherwise
20
+
21
+ ```bash
22
+ npm install --save-dev webpack-cli
23
+ ```
24
+
25
+ or
26
+
27
+ ```bash
28
+ yarn add webpack-cli --dev
29
+ ```
30
+
31
+ ## Supported arguments and commands
32
+
33
+ ### Usage
34
+
35
+ All interactions with webpack-cli are of the form
36
+
37
+ ```bash
38
+ npx webpack-cli [command] [options]
39
+ ```
40
+
41
+ If no command is specified then `bundle` command is used by default
42
+
43
+ ### Help Usage
44
+
45
+ To display basic commands and arguments -
46
+
47
+ ```bash
48
+ npx webpack-cli --help
49
+ ```
50
+
51
+ To display all supported commands and arguments -
52
+
53
+ ```bash
54
+ npx webpack-cli --help=verbose
55
+ ```
56
+
57
+ or
58
+
59
+ ```bash
60
+ npx webpack-cli --help verbose
61
+ ```
62
+
63
+ ### Available Commands
64
+
65
+ ```
66
+ build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
67
+ configtest|t [config-path] Validate a webpack configuration.
68
+ help|h [command] [option] Display help for commands and options.
69
+ info|i [options] Outputs information about your system.
70
+ init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
71
+ loader|l [output-path] [options] Scaffold a loader.
72
+ migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
73
+ plugin|p [output-path] [options] Scaffold a plugin.
74
+ serve|server|s [entries...] [options] Run the webpack dev server.
75
+ version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
76
+ watch|w [entries...] [options] Run webpack and watch for files changes.
77
+ ```
78
+
79
+ ### webpack 4
80
+
81
+ ```
82
+ Options:
83
+ --analyze It invokes webpack-bundle-analyzer plugin to get bundle information
84
+ -c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
85
+ --config-name <value...> Name of the configuration to use.
86
+ -m, --merge Merge two or more configurations using 'webpack-merge'.
87
+ --env <value...> Environment passed to the configuration when it is a function.
88
+ --node-env <value> Sets process.env.NODE_ENV to the specified value.
89
+ --progress [value] Print compilation progress during build.
90
+ -j, --json [value] Prints result as JSON or store it in a file.
91
+ -d, --devtool <value> Determine source maps to use.
92
+ --no-devtool Do not generate source maps.
93
+ --entry <value...> The entry point(s) of your application e.g. ./src/main.js.
94
+ -h, --hot [value] Enables Hot Module Replacement
95
+ --no-hot Disables Hot Module Replacement
96
+ --mode <value> Defines the mode to pass to webpack.
97
+ --name <value> Name of the configuration. Used when loading multiple configurations.
98
+ -o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
99
+ --prefetch <value> Prefetch this request
100
+ --stats [value] It instructs webpack on how to treat the stats e.g. verbose.
101
+ --no-stats Disable stats output.
102
+ -t, --target <value...> Sets the build target e.g. node.
103
+ -w, --watch Watch for files changes.
104
+ --no-watch Do not watch for file changes.
105
+ --watch-options-stdin Stop watching when stdin stream has ended.
106
+ --no-watch-options-stdin Do not stop watching when stdin stream has ended.
107
+
108
+ Global options:
109
+ --color Enable colors on console.
110
+ --no-color Disable colors on console.
111
+ -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
112
+ -h, --help [verbose] Display help for commands and options.
113
+ ```
114
+
115
+ ### webpack 5
116
+
117
+ Checkout [`OPTIONS.md`](https://github.com/webpack/webpack-cli/blob/master/OPTIONS.md) to see list of all available options.
118
+
119
+ ## Exit codes and their meanings
120
+
121
+ | Exit Code | Description |
122
+ | --------- | -------------------------------------------------- |
123
+ | `0` | Success |
124
+ | `1` | Errors from webpack |
125
+ | `2` | Configuration/options problem or an internal error |
126
+
127
+ ## CLI Environment Variables
128
+
129
+ | Environment Variable | Description |
130
+ | ----------------------------------- | ------------------------------------------------------------------- |
131
+ | `WEBPACK_CLI_SKIP_IMPORT_LOCAL` | when `true` it will skip using the local instance of `webpack-cli`. |
132
+ | `WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG` | when `true` it will force load the ESM config. |
133
+ | `WEBPACK_PACKAGE` | Use a custom webpack version in CLI. |
134
+ | `WEBPACK_DEV_SERVER_PACKAGE` | Use a custom webpack-dev-server version in CLI. |
135
+ | `WEBPACK_CLI_HELP_WIDTH` | Use custom width for help output. |
136
+
137
+ ## Configuration Environment Variables
138
+
139
+ You can use the following environment variables inside your webpack configuration:
140
+
141
+ | Environment Variable | Description |
142
+ | -------------------- | -------------------------------------------- |
143
+ | `WEBPACK_SERVE` | `true` if `serve\|s` is being used. |
144
+ | `WEBPACK_BUILD` | `true` if `build\|bundle\|b` is being used. |
145
+ | `WEBPACK_WATCH` | `true` if `--watch\|watch\|w` is being used. |
146
+
147
+ Checkout [webpack.js.org](https://webpack.js.org/api/cli/) for more detailed documentation of `webpack-cli`.
@@ -0,0 +1,141 @@
1
+ # Zone.js
2
+
3
+ [![CDNJS](https://img.shields.io/cdnjs/v/zone.js.svg)](https://cdnjs.com/libraries/zone.js)
4
+
5
+ Implements _Zones_ for JavaScript, inspired by [Dart](https://dart.dev/articles/archive/zones).
6
+
7
+ > If you're using zone.js via unpkg (i.e. using `https://unpkg.com/zone.js`)
8
+ > and you're using any of the following libraries, make sure you import them first
9
+
10
+ > * 'newrelic' as it patches global.Promise before zone.js does
11
+ > * 'async-listener' as it patches global.setTimeout, global.setInterval before zone.js does
12
+ > * 'continuation-local-storage' as it uses async-listener
13
+
14
+ # NEW Zone.js POST-v0.6.0
15
+
16
+ See the new API [here](./lib/zone.ts).
17
+
18
+ Read up on [Zone Primer](https://docs.google.com/document/d/1F5Ug0jcrm031vhSMJEOgp1l-Is-Vf0UCNDY-LsQtAIY).
19
+
20
+ # BREAKING CHANGES since Zone.js v0.11.1
21
+
22
+ Prior to `v0.11.1`, Zone.js provided two distribution bundle formats in the `dist` folder.
23
+ They were (1) `ES5` bundle distributed as `zone.js` and (2) `ES2015` bundle distributed as `zone-evergreen.js`.
24
+ Both of these bundles were in `UMD` format, and are used for Angular's differential-loading mechanism.
25
+
26
+ Starting with `v0.11.1`, Zone.js follows the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs). Therefor the new Zone.js file layout is:
27
+
28
+ - `bundles`: `ES5` bundle in `UMD` format.
29
+ - `fesm2015`: `ES5` bundle in `ESM` format.
30
+ - `dist`: `ES5` bundle in `UMD` format. This directory is present to keep backward compatibility.
31
+
32
+ If you are using `Angular CLI`, the `polyfills.ts` file will contain:
33
+
34
+ ```
35
+ import 'zone.js/dist/zone';
36
+ ```
37
+
38
+ Starting with Zone.js `v0.11.1+` the import changes to:
39
+
40
+ ```
41
+ import 'zone.js';
42
+ ```
43
+
44
+ Prior to `v0.11.1` the import would load the `ES5` bundle in `UMD` format from `dist/zone.js`.
45
+ Starting with `v0.11.1` the import loads the `ES2015` bundle in `ESM` format instead.
46
+
47
+ This is a breaking change for legacy browsers such as `IE11`.
48
+
49
+ For backwards compatibility `zone.js` continues to distribute the same bundles under `dist`.
50
+ To restore the old behavior import from the `dist` directory instead like so:
51
+
52
+ ```
53
+ import 'zone.js/dist/zone';
54
+ ```
55
+
56
+ For details, please refer the [changelog](./CHANGELOG.md) and the [PR](https://github.com/angular/angular/pull/36540).
57
+
58
+ ## What's a Zone?
59
+
60
+ A Zone is an execution context that persists across async tasks.
61
+ You can think of it as [thread-local storage](https://en.wikipedia.org/wiki/Thread-local_storage) for JavaScript VMs.
62
+
63
+ See this video from ng-conf 2014 for a detailed explanation:
64
+
65
+ [![screenshot of the zone.js presentation and ng-conf 2014](./presentation.png)](//www.youtube.com/watch?v=3IqtmUscE_U&t=150)
66
+
67
+ ## See also
68
+ * [async-listener](https://github.com/othiym23/async-listener) - a similar library for node
69
+ * [Async stack traces in Chrome](https://www.html5rocks.com/en/tutorials/developertools/async-call-stack/)
70
+ * [strongloop/zone](https://github.com/strongloop/zone) (Deprecated)
71
+ * [vizone](https://github.com/gilbox/vizone) - control flow visualizer that uses zone.js
72
+
73
+ ## Standard API support
74
+
75
+ zone.js patched most standard web APIs (such as DOM events, `XMLHttpRequest`, ...) and nodejs APIs
76
+ (`EventEmitter`, `fs`, ...), for more details, please see [STANDARD-APIS.md](STANDARD-APIS.md).
77
+
78
+ ## Nonstandard API support
79
+
80
+ We are adding support to some nonstandard APIs, such as MediaQuery and
81
+ Notification. Please see [NON-STANDARD-APIS.md](NON-STANDARD-APIS.md) for more details.
82
+
83
+ ## Examples
84
+
85
+ You can find some samples to describe how to use zone.js in [SAMPLE.md](SAMPLE.md).
86
+
87
+ ## Modules
88
+
89
+ zone.js patches the async APIs described above, but those patches will have some overhead.
90
+ Starting from zone.js v0.8.9, you can choose which web API module you want to patch.
91
+ For more details, please
92
+ see [MODULE.md](MODULE.md).
93
+
94
+ ## Bundles
95
+
96
+ Starting with `v0.11.0`, `zone.js` uses `Angular Package Format` for bundle distribution.
97
+ (For backwards compatibility, all bundles can still be accessed from `dist` folder.)
98
+
99
+ |Bundle|Summary|
100
+ |---|---|
101
+ |`zone.js`| The default bundle. Contains the most used APIs such as `setTimeout/Promise/EventTarget...`, it also supports differential loading by importing this bundle using `import zone.js`. In legacy browsers it includes some additional patches such as `registerElement` and `EventTarget` like APIs.|
102
+ |`zone-testing.js`| The bundle for zone testing support of `jasmine` / `mocha` / `jest`. Also includes test utility functions `async` / `fakeAsync` / `sync`.|
103
+ |`zone-node.js`|The NodeJS support bundle.|
104
+ |`zone-mix.js`|A mixed bundle which supports both browser and NodeJS. Useful for mixed environment such as Electron.|
105
+ |`zone-externs.js`|the API definitions for `closure compiler`.|
106
+
107
+ Additional optional patches not included in the `zone.js` bundles which extend functionality.
108
+ The additional bundles can be found under `zone.js/plugins` folder.
109
+ To use these bundles, add the following code after importing zone.js bundle.
110
+
111
+ ```
112
+ import 'zone.js';
113
+ // For example, import canvas patch
114
+ import 'zone.js/plugins/zone-patch-canvas';
115
+ ```
116
+
117
+ |Patch|Summary|
118
+ |---|---|
119
+ |`webapis-media-query.js`|patch for `MediaQuery APIs`|
120
+ |`webapis-notification.js`|patch for `Notification APIs`|
121
+ |`webapis-rtc-peer-connection.js`|patch for `RTCPeerConnection APIs`|
122
+ |`webapis-shadydom.js`|patch for `Shady DOM APIs`|
123
+ |`zone-bluebird.js`|patch for `Bluebird APIs`|
124
+ |`zone-error.js`|patch for `Error Global Object`, supports adding zone information to stack frame, and also removing unrelated stack frames from `zone.js` internally|
125
+ |`zone-patch-canvas.js`|patch for `Canvas API`|
126
+ |`zone-patch-cordova.js`|patch for `Cordova API`|
127
+ |`zone-patch-electron.js`|patch for `Electron API`|
128
+ |`zone-patch-fetch.js`|patch for `Fetch API`|
129
+ |`zone-patch-jsonp.js`|helper utility for `jsonp API`|
130
+ |`zone-patch-resize-observer.js`|patch for `ResizeObserver API`|
131
+ |`zone-patch-rxjs.js`|patch for `rxjs API`|
132
+ |`zone-patch-rxjs-fake-async.js`|patch for `rxjs fakeasync test`|
133
+ |`zone-patch-socket-io.js`|patch for `socket-io`|
134
+ |`zone-patch-user-media.js`|patch for `UserMedia API`|
135
+ |`zone-patch-message-port.js`|patch for `MessagePort API`|
136
+
137
+ ## Promise A+ test passed
138
+ [![Promises/A+ 1.1 compliant](https://promisesaplus.com/assets/logo-small.png)](https://promisesaplus.com/)
139
+
140
+ ## License
141
+ MIT