ember-cli 4.0.0-beta.4 → 4.1.0
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.
- package/.github/workflows/ci.yml +4 -4
- package/CHANGELOG.md +28 -17
- package/bin/ember +0 -0
- package/blueprints/addon/additional-dev-dependencies.json +1 -1
- package/blueprints/addon/files/.github/workflows/ci.yml +5 -1
- package/blueprints/addon/files/.travis.yml +1 -1
- package/blueprints/addon/files/README.md +2 -2
- package/blueprints/addon/files/addon-config/ember-try.js +4 -4
- package/blueprints/app/files/.github/workflows/ci.yml +4 -0
- package/blueprints/app/files/package.json +8 -8
- package/blueprints/in-repo-addon/files/__root__/__name__/index.js +0 -0
- package/blueprints/in-repo-addon/index.js +0 -0
- package/blueprints/lib/index.js +0 -0
- package/docs/build/data.json +413 -413
- package/lib/models/host-info-cache.js +3 -5
- package/lib/models/per-bundle-addon-cache/index.js +2 -3
- package/lib/tasks/npm-task.js +1 -1
- package/lib/utilities/get-lang-arg.js +45 -45
- package/package.json +25 -25
- package/.github/ISSUE_TEMPLATE.md +0 -12
- package/.github/dependabot.yml +0 -15
- package/.github/workflows/coverage.yml +0 -31
- package/docs/analytics.md +0 -44
- package/docs/architecture.md +0 -316
- package/docs/assets/architecture/Ember-CLI architecture.png +0 -0
- package/docs/assets/architecture/Ember-CLI architecture.xml +0 -1
- package/docs/assets/architecture/README.md +0 -5
- package/docs/brocfile-transition.md +0 -46
- package/docs/build/api.js +0 -44
- package/docs/build/assets/css/external-small.png +0 -0
- package/docs/build/assets/css/logo.png +0 -0
- package/docs/build/assets/css/main.css +0 -555
- package/docs/build/assets/favicon.ico +0 -0
- package/docs/build/assets/img/spinner.gif +0 -0
- package/docs/build/assets/index.html +0 -10
- package/docs/build/assets/js/api-filter.js +0 -56
- package/docs/build/assets/js/api-list.js +0 -255
- package/docs/build/assets/js/api-search.js +0 -98
- package/docs/build/assets/js/apidocs.js +0 -376
- package/docs/build/assets/js/yui-prettify.js +0 -17
- package/docs/build/assets/vendor/prettify/CHANGES.html +0 -130
- package/docs/build/assets/vendor/prettify/COPYING +0 -202
- package/docs/build/assets/vendor/prettify/README.html +0 -203
- package/docs/build/assets/vendor/prettify/prettify-min.css +0 -1
- package/docs/build/assets/vendor/prettify/prettify-min.js +0 -1
- package/docs/build/classes/Addon.html +0 -4318
- package/docs/build/classes/AmdTransformAddon.html +0 -202
- package/docs/build/classes/Blueprint.html +0 -4796
- package/docs/build/classes/Builder.html +0 -611
- package/docs/build/classes/CLI.html +0 -810
- package/docs/build/classes/Command.html +0 -1655
- package/docs/build/classes/DefaultPackager.html +0 -202
- package/docs/build/classes/EmberAddon.html +0 -2207
- package/docs/build/classes/EmberApp.html +0 -2225
- package/docs/build/classes/HardwareInfo.html +0 -620
- package/docs/build/classes/HistorySupportAddon.html +0 -203
- package/docs/build/classes/Instrumentation.html +0 -695
- package/docs/build/classes/NodeModulesList.html +0 -460
- package/docs/build/classes/NpmTask.html +0 -333
- package/docs/build/classes/PackageInfo.html +0 -1390
- package/docs/build/classes/PackageInfoCache.html +0 -963
- package/docs/build/classes/PerBundleAddonCache {.html +0 -1010
- package/docs/build/classes/Project.html +0 -2083
- package/docs/build/classes/ServeFilesAddon.html +0 -260
- package/docs/build/classes/TestsServerAddon.html +0 -203
- package/docs/build/classes/WatcherAddon.html +0 -204
- package/docs/build/classes/WindowsSymlinkChecker.html +0 -1505
- package/docs/build/files/lib_broccoli_default-packager.js.html +0 -1426
- package/docs/build/files/lib_broccoli_ember-addon.js.html +0 -159
- package/docs/build/files/lib_broccoli_ember-app.js.html +0 -1913
- package/docs/build/files/lib_cli_cli.js.html +0 -417
- package/docs/build/files/lib_models_addon-info.js.html +0 -112
- package/docs/build/files/lib_models_addon.js.html +0 -1866
- package/docs/build/files/lib_models_blueprint.js.html +0 -1678
- package/docs/build/files/lib_models_builder.js.html +0 -417
- package/docs/build/files/lib_models_command.js.html +0 -804
- package/docs/build/files/lib_models_hardware-info.js.html +0 -479
- package/docs/build/files/lib_models_host-info-cache.js.html +0 -428
- package/docs/build/files/lib_models_installation-checker.js.html +0 -181
- package/docs/build/files/lib_models_instantiate-addons.js.html +0 -191
- package/docs/build/files/lib_models_instrumentation.js.html +0 -433
- package/docs/build/files/lib_models_package-info-cache_index.js.html +0 -793
- package/docs/build/files/lib_models_package-info-cache_node-modules-list.js.html +0 -208
- package/docs/build/files/lib_models_package-info-cache_package-info.js.html +0 -661
- package/docs/build/files/lib_models_per-bundle-addon-cache_addon-proxy.js.html +0 -252
- package/docs/build/files/lib_models_per-bundle-addon-cache_index.js.html +0 -485
- package/docs/build/files/lib_models_per-bundle-addon-cache_target-instance.js.html +0 -108
- package/docs/build/files/lib_models_project.js.html +0 -913
- package/docs/build/files/lib_models_task.js.html +0 -117
- package/docs/build/files/lib_tasks_build-watch.js.html +0 -157
- package/docs/build/files/lib_tasks_npm-task.js.html +0 -463
- package/docs/build/files/lib_tasks_serve.js.html +0 -207
- package/docs/build/files/lib_tasks_server_middleware_broccoli-serve-files_index.js.html +0 -127
- package/docs/build/files/lib_tasks_server_middleware_broccoli-watcher_index.js.html +0 -158
- package/docs/build/files/lib_tasks_server_middleware_history-support_index.js.html +0 -181
- package/docs/build/files/lib_tasks_server_middleware_tests-server_index.js.html +0 -171
- package/docs/build/files/lib_tasks_test-server.js.html +0 -167
- package/docs/build/files/lib_tasks_transforms_amd_index.js.html +0 -143
- package/docs/build/files/lib_utilities_ember-app-utils.js.html +0 -292
- package/docs/build/files/lib_utilities_insert-into-file.js.html +0 -219
- package/docs/build/files/lib_utilities_is-lazy-engine.js.html +0 -125
- package/docs/build/files/lib_utilities_is-yarn-project.js.html +0 -120
- package/docs/build/files/lib_utilities_valid-project-name.js.html +0 -142
- package/docs/build/files/lib_utilities_will-interrupt-process.js.html +0 -290
- package/docs/build/files/lib_utilities_windows-admin.js.html +0 -230
- package/docs/build/index.html +0 -125
- package/docs/build/modules/ember-cli.html +0 -152
- package/docs/build/modules/is-lazy-engine.html +0 -106
- package/docs/build-concurrency.md +0 -15
- package/docs/build-pipeline-debugging.md +0 -33
- package/docs/code-coverage.md +0 -14
- package/docs/error-propagation.md +0 -136
- package/docs/experiments.md +0 -53
- package/docs/node-support.md +0 -43
- package/docs/perf-guide.md +0 -250
- package/docs/project_version_preprocessor.js +0 -8
- package/docs/sourcemaps.md +0 -60
- package/docs/yuidoc.json +0 -13
|
@@ -242,11 +242,9 @@ class HostInfoCache {
|
|
|
242
242
|
path.push(currentPackageInfo);
|
|
243
243
|
|
|
244
244
|
queue.push(
|
|
245
|
-
...[
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
...Object.values(devDependencyPackages),
|
|
249
|
-
].map((pkgInfo) => ({ pkgInfo, path: [...path] }))
|
|
245
|
+
...[...inRepoAddons, ...Object.values(dependencyPackages), ...Object.values(devDependencyPackages)].map(
|
|
246
|
+
(pkgInfo) => ({ pkgInfo, path: [...path] })
|
|
247
|
+
)
|
|
250
248
|
);
|
|
251
249
|
}
|
|
252
250
|
}
|
|
@@ -234,9 +234,8 @@ class PerBundleAddonCache {
|
|
|
234
234
|
return bundleHost;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
let { hostPackageInfo, hostAndAncestorBundledPackageInfos } =
|
|
238
|
-
bundleHost
|
|
239
|
-
);
|
|
237
|
+
let { hostPackageInfo, hostAndAncestorBundledPackageInfos } =
|
|
238
|
+
this.project.hostInfoCache.getHostAddonInfo(bundleHost);
|
|
240
239
|
|
|
241
240
|
if (!hostAndAncestorBundledPackageInfos.has(addonPkgInfo)) {
|
|
242
241
|
return bundleHost;
|
package/lib/tasks/npm-task.js
CHANGED
|
@@ -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
|
|
38
|
+
const { isLangCode } = require('is-language-code');
|
|
39
39
|
|
|
40
40
|
// Primary language code validation function (boolean)
|
|
41
41
|
function isValidLangCode(langArg) {
|
|
42
|
-
return
|
|
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
|
|
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.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"test:slow": "node --unhandled-rejections=strict tests/runner slow"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/core": "^7.
|
|
40
|
+
"@babel/core": "^7.16.0",
|
|
41
41
|
"@babel/plugin-transform-modules-amd": "^7.12.1",
|
|
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.
|
|
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.
|
|
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.
|
|
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": "^
|
|
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.
|
|
79
|
+
"execa": "^5.1.1",
|
|
80
80
|
"exit": "^0.1.2",
|
|
81
81
|
"express": "^4.17.1",
|
|
82
|
-
"filesize": "^
|
|
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.
|
|
90
|
+
"glob": "^7.2.0",
|
|
91
91
|
"heimdalljs": "^0.2.6",
|
|
92
|
-
"heimdalljs-fs-monitor": "^1.1.
|
|
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.
|
|
96
|
+
"inflection": "^1.13.1",
|
|
97
97
|
"is-git-url": "^1.0.0",
|
|
98
|
-
"is-language-code": "^
|
|
99
|
-
"isbinaryfile": "^4.0.
|
|
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.
|
|
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,7 +114,7 @@
|
|
|
114
114
|
"quick-temp": "^0.1.8",
|
|
115
115
|
"resolve": "^1.20.0",
|
|
116
116
|
"resolve-package-path": "^3.1.0",
|
|
117
|
-
"sane": "^
|
|
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",
|
|
@@ -131,33 +131,33 @@
|
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@ember/edition-utils": "^1.2.0",
|
|
134
|
-
"@octokit/rest": "^18.0
|
|
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
143
|
"eslint": "^7.11.0",
|
|
143
144
|
"eslint-config-prettier": "^7.2.0",
|
|
144
|
-
"eslint-plugin-chai-expect": "^
|
|
145
|
-
"eslint-plugin-mocha": "^
|
|
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
|
-
"
|
|
150
|
-
"jsdom": "^16.4.0",
|
|
150
|
+
"jsdom": "^19.0.0",
|
|
151
151
|
"latest-version": "^5.1.0",
|
|
152
152
|
"mocha": "^8.3.2",
|
|
153
|
-
"nock": "^13.
|
|
153
|
+
"nock": "^13.2.1",
|
|
154
154
|
"nyc": "^15.1.0",
|
|
155
|
-
"prettier": "2.
|
|
156
|
-
"release-it": "^14.
|
|
155
|
+
"prettier": "2.5.1",
|
|
156
|
+
"release-it": "^14.11.6",
|
|
157
157
|
"rimraf": "^3.0.2",
|
|
158
158
|
"strip-ansi": "^6.0.0",
|
|
159
|
-
"supertest": "^6.1.
|
|
160
|
-
"testdouble": "^3.16.
|
|
159
|
+
"supertest": "^6.1.6",
|
|
160
|
+
"testdouble": "^3.16.3",
|
|
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
|
-
```
|
package/.github/dependabot.yml
DELETED
|
@@ -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
|