ember-cli 4.0.0 → 4.2.0-beta.1

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 (115) hide show
  1. package/.github/workflows/ci.yml +8 -4
  2. package/CHANGELOG.md +43 -2
  3. package/README.md +1 -1
  4. package/blueprints/addon/additional-dev-dependencies.json +1 -1
  5. package/blueprints/addon/files/CONTRIBUTING.md +1 -1
  6. package/blueprints/app/files/README.md +2 -2
  7. package/blueprints/app/files/package.json +8 -8
  8. package/docs/build/data.json +64 -3
  9. package/lib/debug/assert.js +37 -0
  10. package/lib/debug/deprecate.js +111 -0
  11. package/lib/debug/index.js +6 -0
  12. package/lib/models/host-info-cache.js +3 -5
  13. package/lib/models/per-bundle-addon-cache/index.js +2 -3
  14. package/lib/tasks/npm-task.js +1 -1
  15. package/lib/utilities/get-lang-arg.js +45 -45
  16. package/package.json +31 -31
  17. package/.github/ISSUE_TEMPLATE.md +0 -12
  18. package/.github/dependabot.yml +0 -15
  19. package/.github/workflows/coverage.yml +0 -31
  20. package/docs/analytics.md +0 -44
  21. package/docs/architecture.md +0 -316
  22. package/docs/assets/architecture/Ember-CLI architecture.png +0 -0
  23. package/docs/assets/architecture/Ember-CLI architecture.xml +0 -1
  24. package/docs/assets/architecture/README.md +0 -5
  25. package/docs/brocfile-transition.md +0 -46
  26. package/docs/build/api.js +0 -44
  27. package/docs/build/assets/css/external-small.png +0 -0
  28. package/docs/build/assets/css/logo.png +0 -0
  29. package/docs/build/assets/css/main.css +0 -555
  30. package/docs/build/assets/favicon.ico +0 -0
  31. package/docs/build/assets/img/spinner.gif +0 -0
  32. package/docs/build/assets/index.html +0 -10
  33. package/docs/build/assets/js/api-filter.js +0 -56
  34. package/docs/build/assets/js/api-list.js +0 -255
  35. package/docs/build/assets/js/api-search.js +0 -98
  36. package/docs/build/assets/js/apidocs.js +0 -376
  37. package/docs/build/assets/js/yui-prettify.js +0 -17
  38. package/docs/build/assets/vendor/prettify/CHANGES.html +0 -130
  39. package/docs/build/assets/vendor/prettify/COPYING +0 -202
  40. package/docs/build/assets/vendor/prettify/README.html +0 -203
  41. package/docs/build/assets/vendor/prettify/prettify-min.css +0 -1
  42. package/docs/build/assets/vendor/prettify/prettify-min.js +0 -1
  43. package/docs/build/classes/Addon.html +0 -4318
  44. package/docs/build/classes/AmdTransformAddon.html +0 -202
  45. package/docs/build/classes/Blueprint.html +0 -4796
  46. package/docs/build/classes/Builder.html +0 -611
  47. package/docs/build/classes/CLI.html +0 -810
  48. package/docs/build/classes/Command.html +0 -1655
  49. package/docs/build/classes/DefaultPackager.html +0 -202
  50. package/docs/build/classes/EmberAddon.html +0 -2207
  51. package/docs/build/classes/EmberApp.html +0 -2225
  52. package/docs/build/classes/HardwareInfo.html +0 -620
  53. package/docs/build/classes/HistorySupportAddon.html +0 -203
  54. package/docs/build/classes/Instrumentation.html +0 -695
  55. package/docs/build/classes/NodeModulesList.html +0 -460
  56. package/docs/build/classes/NpmTask.html +0 -333
  57. package/docs/build/classes/PackageInfo.html +0 -1390
  58. package/docs/build/classes/PackageInfoCache.html +0 -963
  59. package/docs/build/classes/PerBundleAddonCache {.html +0 -1010
  60. package/docs/build/classes/Project.html +0 -2083
  61. package/docs/build/classes/ServeFilesAddon.html +0 -260
  62. package/docs/build/classes/TestsServerAddon.html +0 -203
  63. package/docs/build/classes/WatcherAddon.html +0 -204
  64. package/docs/build/classes/WindowsSymlinkChecker.html +0 -1505
  65. package/docs/build/files/lib_broccoli_default-packager.js.html +0 -1426
  66. package/docs/build/files/lib_broccoli_ember-addon.js.html +0 -159
  67. package/docs/build/files/lib_broccoli_ember-app.js.html +0 -1913
  68. package/docs/build/files/lib_cli_cli.js.html +0 -417
  69. package/docs/build/files/lib_models_addon-info.js.html +0 -112
  70. package/docs/build/files/lib_models_addon.js.html +0 -1866
  71. package/docs/build/files/lib_models_blueprint.js.html +0 -1678
  72. package/docs/build/files/lib_models_builder.js.html +0 -417
  73. package/docs/build/files/lib_models_command.js.html +0 -804
  74. package/docs/build/files/lib_models_hardware-info.js.html +0 -479
  75. package/docs/build/files/lib_models_host-info-cache.js.html +0 -428
  76. package/docs/build/files/lib_models_installation-checker.js.html +0 -181
  77. package/docs/build/files/lib_models_instantiate-addons.js.html +0 -191
  78. package/docs/build/files/lib_models_instrumentation.js.html +0 -433
  79. package/docs/build/files/lib_models_package-info-cache_index.js.html +0 -793
  80. package/docs/build/files/lib_models_package-info-cache_node-modules-list.js.html +0 -208
  81. package/docs/build/files/lib_models_package-info-cache_package-info.js.html +0 -661
  82. package/docs/build/files/lib_models_per-bundle-addon-cache_addon-proxy.js.html +0 -252
  83. package/docs/build/files/lib_models_per-bundle-addon-cache_index.js.html +0 -485
  84. package/docs/build/files/lib_models_per-bundle-addon-cache_target-instance.js.html +0 -108
  85. package/docs/build/files/lib_models_project.js.html +0 -913
  86. package/docs/build/files/lib_models_task.js.html +0 -117
  87. package/docs/build/files/lib_tasks_build-watch.js.html +0 -157
  88. package/docs/build/files/lib_tasks_npm-task.js.html +0 -463
  89. package/docs/build/files/lib_tasks_serve.js.html +0 -207
  90. package/docs/build/files/lib_tasks_server_middleware_broccoli-serve-files_index.js.html +0 -127
  91. package/docs/build/files/lib_tasks_server_middleware_broccoli-watcher_index.js.html +0 -158
  92. package/docs/build/files/lib_tasks_server_middleware_history-support_index.js.html +0 -181
  93. package/docs/build/files/lib_tasks_server_middleware_tests-server_index.js.html +0 -171
  94. package/docs/build/files/lib_tasks_test-server.js.html +0 -167
  95. package/docs/build/files/lib_tasks_transforms_amd_index.js.html +0 -143
  96. package/docs/build/files/lib_utilities_ember-app-utils.js.html +0 -292
  97. package/docs/build/files/lib_utilities_insert-into-file.js.html +0 -219
  98. package/docs/build/files/lib_utilities_is-lazy-engine.js.html +0 -125
  99. package/docs/build/files/lib_utilities_is-yarn-project.js.html +0 -120
  100. package/docs/build/files/lib_utilities_valid-project-name.js.html +0 -142
  101. package/docs/build/files/lib_utilities_will-interrupt-process.js.html +0 -290
  102. package/docs/build/files/lib_utilities_windows-admin.js.html +0 -230
  103. package/docs/build/index.html +0 -125
  104. package/docs/build/modules/ember-cli.html +0 -152
  105. package/docs/build/modules/is-lazy-engine.html +0 -106
  106. package/docs/build-concurrency.md +0 -15
  107. package/docs/build-pipeline-debugging.md +0 -33
  108. package/docs/code-coverage.md +0 -14
  109. package/docs/error-propagation.md +0 -136
  110. package/docs/experiments.md +0 -53
  111. package/docs/node-support.md +0 -43
  112. package/docs/perf-guide.md +0 -250
  113. package/docs/project_version_preprocessor.js +0 -8
  114. package/docs/sourcemaps.md +0 -60
  115. package/docs/yuidoc.json +0 -13
@@ -1,6 +1,6 @@
1
- /*
1
+ /*
2
2
 
3
- This utility processes the argument passed with the `lang` option
3
+ This utility processes the argument passed with the `lang` option
4
4
  in ember-cli, i.e. `ember (new||init||addon) app-name --lang=langArg`
5
5
 
6
6
  Execution Context (usage, input, output, error handling, etc.):
@@ -35,11 +35,11 @@ Warning Messages (if necessary):
35
35
 
36
36
  'use strict';
37
37
 
38
- const getLangCodeInfo = require('is-language-code');
38
+ const { isLangCode } = require('is-language-code');
39
39
 
40
40
  // Primary language code validation function (boolean)
41
41
  function isValidLangCode(langArg) {
42
- return getLangCodeInfo(langArg).res;
42
+ return isLangCode(langArg).res;
43
43
  }
44
44
 
45
45
  // Generates the result to pass back to `init`
@@ -48,29 +48,29 @@ function getResult(langArg) {
48
48
  }
49
49
 
50
50
  /*
51
- Misuse case: attempt to set application programming language via `lang`
51
+ Misuse case: attempt to set application programming language via `lang`
52
52
  AND
53
53
  Edge case: valid language code AND a common programming language abbreviation
54
54
  -------------------------------------------------------------------------------
55
- It is possible that a user might mis-interpret the type of `language` that is
56
- specified by the `--lang` flag. One notable potential `misuse case` is one in
57
- which the user thinks `--lang` specifies the application's programming
58
- language. For example, the user might call `ember new my-app --lang=typescript`
59
- expecting to achieve an effect similar to the one provided by the
55
+ It is possible that a user might mis-interpret the type of `language` that is
56
+ specified by the `--lang` flag. One notable potential `misuse case` is one in
57
+ which the user thinks `--lang` specifies the application's programming
58
+ language. For example, the user might call `ember new my-app --lang=typescript`
59
+ expecting to achieve an effect similar to the one provided by the
60
60
  `ember-cli-typescript` addon.
61
61
 
62
- This misuse case is handled by checking the input `langArg` against an Array
63
- containing notable programming language-related values: language names
64
- (e.g. `JavaScript`), abbreviations (e.g. `js`), file extensions (e.g. `.js`),
65
- or versions (e.g. `ES6`), etc. Specifically, if `langArg` is found within this
66
- reference list, a WARNING message that describes correct `--lang` usage will
67
- be emitted. The `lang` attribute will not be assigned in `index.html`, and the
62
+ This misuse case is handled by checking the input `langArg` against an Array
63
+ containing notable programming language-related values: language names
64
+ (e.g. `JavaScript`), abbreviations (e.g. `js`), file extensions (e.g. `.js`),
65
+ or versions (e.g. `ES6`), etc. Specifically, if `langArg` is found within this
66
+ reference list, a WARNING message that describes correct `--lang` usage will
67
+ be emitted. The `lang` attribute will not be assigned in `index.html`, and the
68
68
  user will be notified with a corresponding STATUS message.
69
69
 
70
70
  There are several edge cases (marked) where `langArg` is both a commonly-used
71
- abbreviation for a programming language AND a valid language code. The behavior
72
- for these cases is to assume the user has used `--lang` correctly and set the
73
- `lang` attribute to the valid code in `index.html`. To cover for potential
71
+ abbreviation for a programming language AND a valid language code. The behavior
72
+ for these cases is to assume the user has used `--lang` correctly and set the
73
+ `lang` attribute to the valid code in `index.html`. To cover for potential
74
74
  misuage, several helpful messages will also be emitted:
75
75
  - `ts` is a valid language code AND a common programming language abbreviation
76
76
  - the `lang` attribute will be set to `ts` in the application
@@ -141,44 +141,44 @@ function isValidCodeAndProg(langArg) {
141
141
  return isValidLangCode(langArg) && isProgLang(langArg);
142
142
  }
143
143
 
144
- /*
144
+ /*
145
145
  Misuse case: `--lang` called without `langArg` (NB: parser bug workaround)
146
146
  -------------------------------------------------------------------------------
147
- This is a workaround for handling an existing bug in the ember-cli parser
148
- where the `--lang` option is specified in the command without a corresponding
149
- value for `langArg`.
147
+ This is a workaround for handling an existing bug in the ember-cli parser
148
+ where the `--lang` option is specified in the command without a corresponding
149
+ value for `langArg`.
150
150
 
151
- As examples, the parser behavior would likely affect the following usages:
151
+ As examples, the parser behavior would likely affect the following usages:
152
152
  1. `ember new app-name --lang --skip-npm
153
153
  2. `ember new app-name --lang`
154
154
 
155
- In this context, the unintended parser behavior is that `langArg` will be
156
- assingned to the String that immediately follows `--lang` in the command. If
157
- `--lang` is the last explicitly defined part of the command (as in the second
158
- example above), the first of any any `hidden` options pushed onto the command
159
- after the initial parse (e.g. `--disable-analytics`, `--no-watcher`) will be
160
- used when assigning `langArg`.
155
+ In this context, the unintended parser behavior is that `langArg` will be
156
+ assingned to the String that immediately follows `--lang` in the command. If
157
+ `--lang` is the last explicitly defined part of the command (as in the second
158
+ example above), the first of any any `hidden` options pushed onto the command
159
+ after the initial parse (e.g. `--disable-analytics`, `--no-watcher`) will be
160
+ used when assigning `langArg`.
161
161
 
162
162
  In the above examples, `langArg` would likely be assigned as follows:
163
163
  1. `ember new app-name --lang --skip-npm => `langArg='--skip-npm'`
164
164
  2. `ember new app-name --lang` => `langArg='--disable-analytics'`
165
165
 
166
- The workaround impelemented herein is to check whether or not the value of
167
- `langArg` starts with a hyphen. The rationale for this approach is based on
166
+ The workaround impelemented herein is to check whether or not the value of
167
+ `langArg` starts with a hyphen. The rationale for this approach is based on
168
168
  the following underlying assumptions:
169
169
  - ALL CLI options start with (at least one) hyphen
170
170
  - NO valid language codes start with a hyphen
171
171
 
172
- If the leading hyphen is detected, the current behavior is to assume `--lang`
173
- was declared without a corresponding specification. A WARNING message that
174
- describes correct `--lang` usage will be emitted. The `lang` attribute will not
175
- be assigned in `index.html`, and the user will be notified with a corresponding
172
+ If the leading hyphen is detected, the current behavior is to assume `--lang`
173
+ was declared without a corresponding specification. A WARNING message that
174
+ describes correct `--lang` usage will be emitted. The `lang` attribute will not
175
+ be assigned in `index.html`, and the user will be notified with a corresponding
176
176
  STATUS message. Execution will not be halted.
177
177
 
178
- Other complications related to this parser behavior are considered out-of-scope
179
- and not handled here. In the first example above, this workaround would ensure
180
- that `lang` is not assigned to `--skip-npm`, but it would not guarantee that
181
- `--skip-npm` is correctly processed as a command option. That is, `npm` may or
178
+ Other complications related to this parser behavior are considered out-of-scope
179
+ and not handled here. In the first example above, this workaround would ensure
180
+ that `lang` is not assigned to `--skip-npm`, but it would not guarantee that
181
+ `--skip-npm` is correctly processed as a command option. That is, `npm` may or
182
182
  may not get skipped during execution.
183
183
  */
184
184
 
@@ -194,12 +194,12 @@ const MSG_HEAD = `An issue with the \`--lang\` flag returned the following messa
194
194
 
195
195
  // Message context from language code validation (valid: null, invalid: reason)
196
196
  function getLangCodeMsg(langArg) {
197
- return getLangCodeInfo(langArg).message;
197
+ return isLangCode(langArg).message;
198
198
  }
199
199
 
200
200
  // Edge case: valid language code AND a common programming language abbreviation
201
201
  function getValidAndProgMsg(langArg) {
202
- return `The \`--lang\` flag has been used with argument \`${langArg}\`,
202
+ return `The \`--lang\` flag has been used with argument \`${langArg}\`,
203
203
  which is BOTH a valid language code AND an abbreviation for a programming language.
204
204
  ${getProgLangMsg(langArg)}`;
205
205
  }
@@ -218,15 +218,15 @@ function getCliMsg() {
218
218
 
219
219
  // 3. `STATUS` message: report if `lang` will be set in `index.html`
220
220
  function getStatusMsg(langArg, willSet) {
221
- return `The human language of the application will ${willSet ? `be set to ${langArg}` : `NOT be set`} in
221
+ return `The human language of the application will ${willSet ? `be set to ${langArg}` : `NOT be set`} in
222
222
  the \`<html>\` element's \`lang\` attribute in \`index.html\`.`;
223
223
  }
224
224
 
225
225
  // 4. `HELP` message: template for all `--lang`-related warnings emitted
226
- const MSG_HELP = `If this was not your intention, you may edit the \`<html>\` element's
226
+ const MSG_HELP = `If this was not your intention, you may edit the \`<html>\` element's
227
227
  \`lang\` attribute in \`index.html\` manually after the process is complete.
228
228
  Information about using the \`--lang\` flag:
229
- The \`--lang\` flag sets the base human language of an app or test app:
229
+ The \`--lang\` flag sets the base human language of an app or test app:
230
230
  - \`app/index.html\` (app)
231
231
  - \`tests/dummy/app/index.html\` (addon test app)
232
232
  If used, the lang option must specfify a valid language code.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-cli",
3
- "version": "4.0.0",
3
+ "version": "4.2.0-beta.1",
4
4
  "description": "Command line tool for developing ambitious ember.js apps",
5
5
  "keywords": [
6
6
  "app",
@@ -12,7 +12,7 @@
12
12
  "ember.js",
13
13
  "kit"
14
14
  ],
15
- "homepage": "https://ember-cli.com/",
15
+ "homepage": "https://cli.emberjs.com/release/",
16
16
  "bugs": {
17
17
  "url": "https://github.com/ember-cli/ember-cli/issues"
18
18
  },
@@ -37,13 +37,13 @@
37
37
  "test:slow": "node --unhandled-rejections=strict tests/runner slow"
38
38
  },
39
39
  "dependencies": {
40
- "@babel/core": "^7.13.8",
41
- "@babel/plugin-transform-modules-amd": "^7.12.1",
40
+ "@babel/core": "^7.16.7",
41
+ "@babel/plugin-transform-modules-amd": "^7.16.7",
42
42
  "amd-name-resolver": "^1.3.1",
43
43
  "babel-plugin-module-resolver": "^4.1.0",
44
44
  "bower-config": "^1.4.3",
45
45
  "bower-endpoint-parser": "0.2.2",
46
- "broccoli": "^3.5.1",
46
+ "broccoli": "^3.5.2",
47
47
  "broccoli-amd-funnel": "^2.0.1",
48
48
  "broccoli-babel-transpiler": "^7.8.0",
49
49
  "broccoli-builder": "^0.18.14",
@@ -51,17 +51,17 @@
51
51
  "broccoli-config-loader": "^1.0.1",
52
52
  "broccoli-config-replace": "^1.1.2",
53
53
  "broccoli-debug": "^0.6.5",
54
- "broccoli-funnel": "^3.0.5",
54
+ "broccoli-funnel": "^3.0.8",
55
55
  "broccoli-funnel-reducer": "^1.0.0",
56
56
  "broccoli-merge-trees": "^3.0.2",
57
57
  "broccoli-middleware": "^2.1.1",
58
58
  "broccoli-slow-trees": "^3.1.0",
59
- "broccoli-source": "^3.0.0",
59
+ "broccoli-source": "^3.0.1",
60
60
  "broccoli-stew": "^3.0.0",
61
61
  "calculate-cache-key-for-tree": "^2.0.0",
62
62
  "capture-exit": "^2.0.0",
63
63
  "chalk": "^4.1.0",
64
- "ci-info": "^2.0.0",
64
+ "ci-info": "^3.3.0",
65
65
  "clean-base-url": "^1.0.0",
66
66
  "compression": "^1.7.4",
67
67
  "configstore": "^5.0.1",
@@ -76,10 +76,10 @@
76
76
  "ember-cli-string-utils": "^1.1.0",
77
77
  "ember-source-channel-url": "^3.0.0",
78
78
  "ensure-posix-path": "^1.1.1",
79
- "execa": "^5.0.0",
79
+ "execa": "^5.1.1",
80
80
  "exit": "^0.1.2",
81
- "express": "^4.17.1",
82
- "filesize": "^6.1.0",
81
+ "express": "^4.17.2",
82
+ "filesize": "^8.0.6",
83
83
  "find-up": "^5.0.0",
84
84
  "find-yarn-workspace-root": "^2.0.0",
85
85
  "fixturify-project": "^2.1.1",
@@ -87,16 +87,16 @@
87
87
  "fs-tree-diff": "^2.0.1",
88
88
  "get-caller-file": "^2.0.5",
89
89
  "git-repo-info": "^2.1.1",
90
- "glob": "^7.1.6",
90
+ "glob": "^7.2.0",
91
91
  "heimdalljs": "^0.2.6",
92
- "heimdalljs-fs-monitor": "^1.1.0",
92
+ "heimdalljs-fs-monitor": "^1.1.1",
93
93
  "heimdalljs-graph": "^1.0.0",
94
94
  "heimdalljs-logger": "^0.1.10",
95
95
  "http-proxy": "^1.18.1",
96
- "inflection": "^1.12.0",
96
+ "inflection": "^1.13.1",
97
97
  "is-git-url": "^1.0.0",
98
- "is-language-code": "^2.0.0",
99
- "isbinaryfile": "^4.0.6",
98
+ "is-language-code": "^3.1.0",
99
+ "isbinaryfile": "^4.0.8",
100
100
  "js-yaml": "^3.14.0",
101
101
  "json-stable-stringify": "^1.0.1",
102
102
  "leek": "0.0.24",
@@ -106,7 +106,7 @@
106
106
  "minimatch": "^3.0.4",
107
107
  "morgan": "^1.10.0",
108
108
  "nopt": "^3.0.6",
109
- "npm-package-arg": "^8.1.1",
109
+ "npm-package-arg": "^8.1.5",
110
110
  "p-defer": "^3.0.0",
111
111
  "portfinder": "^1.0.28",
112
112
  "promise-map-series": "^0.3.0",
@@ -114,13 +114,13 @@
114
114
  "quick-temp": "^0.1.8",
115
115
  "resolve": "^1.20.0",
116
116
  "resolve-package-path": "^3.1.0",
117
- "sane": "^4.1.0",
117
+ "sane": "^5.0.1",
118
118
  "semver": "^7.3.4",
119
119
  "silent-error": "^1.1.1",
120
120
  "sort-package-json": "^1.49.0",
121
121
  "symlink-or-copy": "^1.3.1",
122
122
  "temp": "0.9.4",
123
- "testem": "^3.2.0",
123
+ "testem": "^3.6.0",
124
124
  "tiny-lr": "^2.0.0",
125
125
  "tree-sync": "^2.1.0",
126
126
  "uuid": "^8.3.2",
@@ -131,33 +131,33 @@
131
131
  },
132
132
  "devDependencies": {
133
133
  "@ember/edition-utils": "^1.2.0",
134
- "@octokit/rest": "^18.0.15",
134
+ "@octokit/rest": "^18.12.0",
135
135
  "broccoli-plugin": "^4.0.3",
136
136
  "broccoli-test-helper": "^2.0.0",
137
137
  "chai": "^4.3.4",
138
138
  "chai-as-promised": "^7.1.1",
139
139
  "chai-files": "^1.4.0",
140
+ "chai-jest-snapshot": "^2.0.0",
140
141
  "ember-cli-blueprint-test-helpers": "^0.19.2",
141
142
  "ember-cli-internal-test-helpers": "^0.9.1",
142
- "eslint": "^7.11.0",
143
+ "eslint": "^8.6.0",
143
144
  "eslint-config-prettier": "^7.2.0",
144
- "eslint-plugin-chai-expect": "^2.2.0",
145
- "eslint-plugin-mocha": "^8.1.0",
145
+ "eslint-plugin-chai-expect": "^3.0.0",
146
+ "eslint-plugin-mocha": "^9.0.0",
146
147
  "eslint-plugin-node": "^11.1.0",
147
148
  "eslint-plugin-prettier": "^3.3.1",
148
149
  "fixturify": "^2.1.0",
149
- "is-language-code": "^2.0.0",
150
- "jsdom": "^16.4.0",
150
+ "jsdom": "^19.0.0",
151
151
  "latest-version": "^5.1.0",
152
- "mocha": "^8.3.2",
153
- "nock": "^13.0.5",
152
+ "mocha": "^9.1.3",
153
+ "nock": "^13.2.1",
154
154
  "nyc": "^15.1.0",
155
- "prettier": "2.2.1",
156
- "release-it": "^14.4.1",
155
+ "prettier": "2.5.1",
156
+ "release-it": "^14.11.8",
157
157
  "rimraf": "^3.0.2",
158
158
  "strip-ansi": "^6.0.0",
159
- "supertest": "^6.1.3",
160
- "testdouble": "^3.16.1",
159
+ "supertest": "^6.1.6",
160
+ "testdouble": "^3.16.4",
161
161
  "tmp": "^0.2.1",
162
162
  "websocket": "^1.0.32",
163
163
  "which": "2.0.2",
@@ -1,12 +0,0 @@
1
- Thank you for taking the time to open an issue!
2
-
3
- For bug reports please include the following section in your issue details.
4
- If you include instructions on how to reproduce the bug or a failing test case
5
- it will make it easier for us to track down the issue you're having.
6
-
7
- ---
8
-
9
- Output from `ember version --verbose && npm --version && yarn --version`:
10
- ```
11
- [Replace this line with the output.]
12
- ```
@@ -1,15 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: "/"
5
- schedule:
6
- interval: monthly
7
- time: "03:00"
8
- open-pull-requests-limit: 10
9
- versioning-strategy: increase
10
- - package-ecosystem: github-actions
11
- directory: "/"
12
- schedule:
13
- interval: monthly
14
- time: "03:00"
15
- open-pull-requests-limit: 10
@@ -1,31 +0,0 @@
1
- name: Code Coverage
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
-
8
- jobs:
9
- coverage:
10
- runs-on: ubuntu-latest
11
-
12
- steps:
13
- - uses: actions/checkout@v1
14
- - uses: actions/setup-node@v2.1.5
15
- with:
16
- node-version: 12.x
17
-
18
- - run: yarn install --frozen-lockfile --non-interactive
19
-
20
- - name: Test && Report to Code Climate
21
- uses: paambaati/codeclimate-action@v2.7.5
22
- env:
23
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
24
- with:
25
- coverageCommand: yarn test:cover
26
- coverageLocations: "coverage/lcov.info:lcov"
27
-
28
- - name: Coveralls
29
- uses: coverallsapp/github-action@master
30
- with:
31
- github-token: ${{ secrets.GITHUB_TOKEN }}
package/docs/analytics.md DELETED
@@ -1,44 +0,0 @@
1
- # Analytics:
2
-
3
- Ember-cli tracks (only) the following data points:
4
-
5
- * ember-cli version
6
- * build/rebuild/live-reload times
7
- * how many errors occurred
8
-
9
- ** note: no personally identifying information is tracked, if something is
10
- being leaked please [disclose responsibly](https://emberjs.com/security) **
11
-
12
- This information is used to:
13
-
14
- * See if there are upgrade blockers (users stuck on old version)
15
- * Have a broad idea for build performance (to make sure we don't regress, and how to prioritize)
16
- * See which high-level features are used (serve/test/build/generate etc.)
17
- * See an increase/decrease in error rates
18
-
19
- ## Still Not comfortable?
20
-
21
- We understand! To permanently disable any analytics gathering you can update your project's `.ember-cli` file (or `$HOME/.ember-cli` for user-wide):
22
-
23
- ```json
24
- {
25
- "disableAnalytics": true
26
- }
27
- ```
28
-
29
- ## Who has access
30
-
31
- The ember and ember-cli core teams.
32
-
33
- ## Links to each code-point where ember-cli emits tracking information
34
-
35
- * command name (ember server, ember exam, etc.): to understand what high-level features are used
36
- * https://github.com/ember-cli/ember-cli/blob/2da9de596370c0e78ea0c0c3ffcd6a551d2863a9/lib/models/command.js#L277
37
- * build error: the name of the error
38
- * https://github.com/ember-cli/ember-cli/blob/6ec50a1fd21d961f0b0e2ca4daf66a8e7dea6417/lib/models/watcher.js#L32-L34
39
- * build/rebuild time
40
- * https://github.com/ember-cli/ember-cli/blob/503ede1fcb5224d54dc36f82af84550a91d90f26/lib/tasks/build.js#L33
41
- * https://github.com/ember-cli/ember-cli/blob/503ede1fcb5224d54dc36f82af84550a91d90f26/lib/tasks/build.js#L44
42
- * live reload
43
- * https://github.com/ember-cli/ember-cli/blob/503ede1fcb5224d54dc36f82af84550a91d90f26/lib/tasks/server/livereload-server.js#L167
44
- * https://github.com/ember-cli/ember-cli/blob/503ede1fcb5224d54dc36f82af84550a91d90f26/lib/tasks/server/livereload-server.js#L181