ember-cli 6.10.0-alpha.1 → 6.11.0-alpha.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.
- package/CHANGELOG.md +41 -0
- package/CONTRIBUTING.md +30 -34
- package/README.md +9 -21
- package/RELEASE.md +11 -9
- package/bin/ember +16 -13
- package/blueprints/addon-import/index.js +4 -4
- package/docs/build/data.json +9 -9
- package/lib/broccoli/ember-app.js +1 -1
- package/lib/commands/generate.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/new.js +1 -1
- package/lib/commands/test.js +0 -3
- package/lib/commands/unknown.js +1 -1
- package/lib/debug/deprecate.js +1 -1
- package/lib/models/asset-size-printer.js +3 -3
- package/lib/models/blueprint.js +6 -6
- package/lib/models/builder.js +1 -1
- package/lib/models/command.js +2 -2
- package/lib/models/hardware-info.js +5 -2
- package/lib/models/instrumentation.js +2 -2
- package/lib/models/project.js +3 -3
- package/lib/models/watcher.js +1 -1
- package/lib/models/worker.js +2 -2
- package/lib/tasks/addon-install.js +1 -1
- package/lib/tasks/build-watch.js +2 -2
- package/lib/tasks/build.js +1 -1
- package/lib/tasks/git-init.js +2 -2
- package/lib/tasks/install-blueprint.js +1 -1
- package/lib/tasks/interactive-new.js +5 -5
- package/lib/tasks/npm-task.js +2 -2
- package/lib/tasks/serve.js +1 -1
- package/lib/tasks/server/express-server.js +1 -1
- package/lib/tasks/test-server.js +1 -1
- package/lib/utilities/find-build-file.js +2 -2
- package/lib/utilities/get-lang-arg.js +4 -4
- package/lib/utilities/heimdall-progress.js +5 -2
- package/lib/utilities/lint-fix.js +1 -1
- package/lib/utilities/markdown-color.js +1 -1
- package/lib/utilities/print-command.js +1 -1
- package/lib/utilities/require-as-hash.js +10 -8
- package/lib/utilities/windows-admin.js +1 -1
- package/package.json +57 -52
- package/packages/addon-blueprint/additional-package.json +1 -3
- package/packages/addon-blueprint/index.js +1 -1
- package/packages/addon-blueprint/package.json +2 -2
- package/packages/app-blueprint/files/package.json +9 -9
- package/packages/app-blueprint/index.js +1 -1
- package/packages/app-blueprint/package.json +2 -2
- package/packages/blueprint-model/package.json +2 -2
- package/packages/blueprint-model/utilities/edit-file-diff.js +3 -3
- package/packages/blueprint-model/utilities/experiments.js +1 -1
- package/packages/blueprint-model/utilities/file-info.js +6 -6
- package/tests/helpers/acceptance.js +1 -1
- package/tests/helpers/command-generator.js +2 -2
- package/tests/helpers/package-cache.js +1 -1
- package/tests/helpers/process-help-string.js +3 -3
- package/tests/helpers/run-command.js +1 -1
- package/lib/utilities/execa.js +0 -20
package/lib/models/builder.js
CHANGED
|
@@ -4,7 +4,7 @@ const fs = require('fs-extra');
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const CoreObject = require('core-object');
|
|
6
6
|
const SilentError = require('silent-error');
|
|
7
|
-
const chalk = require('chalk');
|
|
7
|
+
const { default: chalk } = require('chalk');
|
|
8
8
|
const findBuildFile = require('../utilities/find-build-file');
|
|
9
9
|
const _resetTreeCache = require('./addon')._resetTreeCache;
|
|
10
10
|
const Sync = require('tree-sync');
|
package/lib/models/command.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const nopt = require('nopt');
|
|
4
|
-
const chalk = require('chalk');
|
|
4
|
+
const { default: chalk } = require('chalk');
|
|
5
5
|
const path = require('path');
|
|
6
6
|
const isGitRepo = require('is-git-url');
|
|
7
7
|
const camelize = require('ember-cli-string-utils').camelize;
|
|
@@ -312,7 +312,7 @@ let Command = CoreObject.extend({
|
|
|
312
312
|
|
|
313
313
|
let options = commandOptions.options;
|
|
314
314
|
|
|
315
|
-
if (this.hasOption('watcher')) {
|
|
315
|
+
if (this.hasOption('watcher') || process.env.EMBROIDER_PREBUILD) {
|
|
316
316
|
// Do stuff to try and provide a good experience when it comes to file watching:
|
|
317
317
|
let watchPreference = detector.findBestWatcherOption(options);
|
|
318
318
|
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { execaSync } = require('execa');
|
|
4
4
|
const fs = require('fs');
|
|
5
5
|
const logger = require('heimdalljs-logger')('ember-cli:hardware-info');
|
|
6
6
|
const os = require('os');
|
|
7
7
|
|
|
8
|
+
// For testing purposes:
|
|
9
|
+
const execa = { sync: execaSync };
|
|
10
|
+
|
|
8
11
|
function isUsingBatteryAcpi() {
|
|
9
12
|
try {
|
|
10
13
|
const { stdout } = execa.sync('acpi', ['--ac-adapter']);
|
|
@@ -382,4 +385,4 @@ const hwinfo = {
|
|
|
382
385
|
},
|
|
383
386
|
};
|
|
384
387
|
|
|
385
|
-
module.exports = hwinfo;
|
|
388
|
+
module.exports = { execa, hwinfo };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const fs = require('fs-extra');
|
|
4
|
-
const chalk = require('chalk');
|
|
4
|
+
const { default: chalk } = require('chalk');
|
|
5
5
|
const heimdallGraph = require('heimdalljs-graph');
|
|
6
6
|
const getConfig = require('../utilities/get-config');
|
|
7
7
|
const utilsInstrumentation = require('../utilities/instrumentation');
|
|
8
8
|
const logger = require('heimdalljs-logger')('ember-cli:instrumentation');
|
|
9
|
-
const hwinfo = require('./hardware-info');
|
|
9
|
+
const { hwinfo } = require('./hardware-info');
|
|
10
10
|
|
|
11
11
|
let vizEnabled = utilsInstrumentation.vizEnabled;
|
|
12
12
|
let instrumentationEnabled = utilsInstrumentation.instrumentationEnabled;
|
package/lib/models/project.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
const util = require('util');
|
|
7
7
|
const path = require('path');
|
|
8
|
-
const
|
|
8
|
+
const { findUpSync } = require('find-up');
|
|
9
9
|
const resolve = util.promisify(require('resolve'));
|
|
10
10
|
const fs = require('fs-extra');
|
|
11
11
|
const cloneDeep = require('lodash/cloneDeep');
|
|
@@ -717,7 +717,7 @@ class Project {
|
|
|
717
717
|
@return {String} The project root directory
|
|
718
718
|
*/
|
|
719
719
|
static getProjectRoot() {
|
|
720
|
-
let packagePath =
|
|
720
|
+
let packagePath = findUpSync('package.json');
|
|
721
721
|
if (!packagePath) {
|
|
722
722
|
logger.info('getProjectRoot: not found. Will use cwd: %s', process.cwd());
|
|
723
723
|
return process.cwd();
|
|
@@ -777,7 +777,7 @@ function ensureUI(_ui) {
|
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
function findupPath(pathName) {
|
|
780
|
-
let pkgPath =
|
|
780
|
+
let pkgPath = findUpSync('package.json', { cwd: pathName });
|
|
781
781
|
if (!pkgPath) {
|
|
782
782
|
throw new NotFoundError(`No project found at or up from: \`${pathName}\``);
|
|
783
783
|
}
|
package/lib/models/watcher.js
CHANGED
package/lib/models/worker.js
CHANGED
|
@@ -14,7 +14,7 @@ class AddonInstallTask extends Task {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
run(options) {
|
|
17
|
-
const chalk = require('chalk');
|
|
17
|
+
const { default: chalk } = require('chalk');
|
|
18
18
|
let ui = this.ui;
|
|
19
19
|
let packageNames = options.packages || [];
|
|
20
20
|
let blueprintOptions = options.blueprintOptions || {};
|
package/lib/tasks/build-watch.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const chalk = require('chalk');
|
|
3
|
+
const { default: chalk } = require('chalk');
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const Task = require('../models/task');
|
|
6
6
|
const Watcher = require('../models/watcher');
|
|
7
7
|
const Builder = require('../models/builder');
|
|
8
|
-
const pDefer = require('p-defer');
|
|
8
|
+
const { default: pDefer } = require('p-defer');
|
|
9
9
|
|
|
10
10
|
class BuildWatchTask extends Task {
|
|
11
11
|
constructor(options) {
|
package/lib/tasks/build.js
CHANGED
package/lib/tasks/git-init.js
CHANGED
|
@@ -4,12 +4,12 @@ const Task = require('../models/task');
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const pkg = require('../../package.json');
|
|
6
6
|
const fs = require('fs');
|
|
7
|
-
const execa = require('
|
|
7
|
+
const { execa } = require('execa');
|
|
8
8
|
|
|
9
9
|
module.exports = class GitInitTask extends Task {
|
|
10
10
|
async run(_commandOptions) {
|
|
11
11
|
let commandOptions = _commandOptions || {};
|
|
12
|
-
const chalk = require('chalk');
|
|
12
|
+
const { default: chalk } = require('chalk');
|
|
13
13
|
let ui = this.ui;
|
|
14
14
|
|
|
15
15
|
if (commandOptions.skipGit) {
|
|
@@ -7,7 +7,7 @@ const util = require('util');
|
|
|
7
7
|
const temp = require('temp');
|
|
8
8
|
const path = require('path');
|
|
9
9
|
const merge = require('lodash/merge');
|
|
10
|
-
const execa = require('
|
|
10
|
+
const { execa } = require('execa');
|
|
11
11
|
const SilentError = require('silent-error');
|
|
12
12
|
const npa = require('npm-package-arg');
|
|
13
13
|
const lintFix = require('../utilities/lint-fix');
|
|
@@ -27,7 +27,7 @@ class InteractiveNewTask extends Task {
|
|
|
27
27
|
return [
|
|
28
28
|
{
|
|
29
29
|
name: 'blueprint',
|
|
30
|
-
type: '
|
|
30
|
+
type: 'select',
|
|
31
31
|
message: 'Is this an app or an addon?',
|
|
32
32
|
choices: [
|
|
33
33
|
{
|
|
@@ -59,7 +59,7 @@ class InteractiveNewTask extends Task {
|
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
name: 'langSelection',
|
|
62
|
-
type: '
|
|
62
|
+
type: 'select',
|
|
63
63
|
message: ({ blueprint }) => `Please provide the spoken/content language of your ${blueprint}:`,
|
|
64
64
|
when: !newCommandOptions.lang,
|
|
65
65
|
choices: await this.getLangChoices(),
|
|
@@ -79,7 +79,7 @@ class InteractiveNewTask extends Task {
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
name: 'packageManager',
|
|
82
|
-
type: '
|
|
82
|
+
type: 'select',
|
|
83
83
|
message: 'Pick the package manager to use when installing dependencies:',
|
|
84
84
|
when: !newCommandOptions.packageManager,
|
|
85
85
|
choices: [
|
|
@@ -103,7 +103,7 @@ class InteractiveNewTask extends Task {
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
name: 'ciProvider',
|
|
106
|
-
type: '
|
|
106
|
+
type: 'select',
|
|
107
107
|
message: 'Which CI provider do you want to use?',
|
|
108
108
|
when: !newCommandOptions.ciProvider,
|
|
109
109
|
choices: [
|
|
@@ -165,7 +165,7 @@ class InteractiveNewTask extends Task {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
getUserLocale() {
|
|
168
|
-
const osLocale = require('os-locale');
|
|
168
|
+
const { osLocale } = require('os-locale');
|
|
169
169
|
|
|
170
170
|
return osLocale();
|
|
171
171
|
}
|
package/lib/tasks/npm-task.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const chalk = require('chalk');
|
|
4
|
-
const execa = require('
|
|
3
|
+
const { default: chalk } = require('chalk');
|
|
4
|
+
const { execa } = require('execa');
|
|
5
5
|
const semver = require('semver');
|
|
6
6
|
const SilentError = require('silent-error');
|
|
7
7
|
const { isPnpmProject, isYarnProject } = require('../utilities/package-managers');
|
package/lib/tasks/serve.js
CHANGED
|
@@ -9,7 +9,7 @@ const ServerWatcher = require('../models/server-watcher');
|
|
|
9
9
|
const Builder = require('../models/builder');
|
|
10
10
|
const SilentError = require('silent-error');
|
|
11
11
|
const serveURL = require('../utilities/get-serve-url');
|
|
12
|
-
const pDefer = require('p-defer');
|
|
12
|
+
const { default: pDefer } = require('p-defer');
|
|
13
13
|
|
|
14
14
|
function mockWatcher(distDir) {
|
|
15
15
|
let watcher = Promise.resolve({ directory: distDir });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const path = require('path');
|
|
4
4
|
const EventEmitter = require('events').EventEmitter;
|
|
5
|
-
const chalk = require('chalk');
|
|
5
|
+
const { default: chalk } = require('chalk');
|
|
6
6
|
const fs = require('fs');
|
|
7
7
|
const debounce = require('lodash/debounce');
|
|
8
8
|
const mapSeries = require('promise-map-series');
|
package/lib/tasks/test-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
const
|
|
2
|
+
const { findUpSync } = require('find-up');
|
|
3
3
|
const path = require('path');
|
|
4
4
|
const url = require('url');
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ module.exports = async function (dir) {
|
|
|
7
7
|
let buildFilePath = null;
|
|
8
8
|
|
|
9
9
|
for (let ext of ['js', 'mjs', 'cjs']) {
|
|
10
|
-
let candidate =
|
|
10
|
+
let candidate = findUpSync(`ember-cli-build.${ext}`, { cwd: dir });
|
|
11
11
|
if (candidate) {
|
|
12
12
|
buildFilePath = candidate;
|
|
13
13
|
break;
|
|
@@ -236,10 +236,10 @@ function getBodyMsg(langArg) {
|
|
|
236
236
|
return isValidCodeAndProg(langArg)
|
|
237
237
|
? getValidAndProgMsg(langArg)
|
|
238
238
|
: isProgLang(langArg)
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
? getProgLangMsg(langArg)
|
|
240
|
+
: startsWithHyphen(langArg)
|
|
241
|
+
? getCliMsg(langArg)
|
|
242
|
+
: getLangCodeMsg(langArg);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
function getFullMsg(langArg) {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const { default: chalk } = require('chalk');
|
|
4
|
+
|
|
3
5
|
module.exports = function progress(heimdalljs = require('heimdalljs')) {
|
|
4
6
|
let current = heimdalljs.current;
|
|
5
7
|
const stack = [current.id.name];
|
|
6
8
|
|
|
7
|
-
while (current = current.parent) {
|
|
9
|
+
while ((current = current.parent)) {
|
|
10
|
+
// eslint-disable-line
|
|
8
11
|
stack.push(current.id.name);
|
|
9
12
|
}
|
|
10
13
|
|
|
@@ -15,5 +18,5 @@ module.exports = function progress(heimdalljs = require('heimdalljs')) {
|
|
|
15
18
|
};
|
|
16
19
|
|
|
17
20
|
module.exports.format = function (text) {
|
|
18
|
-
return
|
|
21
|
+
return chalk.green('building... ') + (text ? `[${text}]` : '');
|
|
19
22
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const execa = require('
|
|
3
|
+
const { execa } = require('execa');
|
|
4
4
|
const { isPnpmProject, isYarnProject } = require('../utilities/package-managers');
|
|
5
5
|
const prependEmoji = require('@ember-tooling/blueprint-model/utilities/prepend-emoji');
|
|
6
6
|
|
|
@@ -13,18 +13,20 @@ const stringUtils = require('ember-cli-string-utils');
|
|
|
13
13
|
// Hamster: Hamster // Same as require('./hamster.js')
|
|
14
14
|
// }
|
|
15
15
|
|
|
16
|
-
const globSync = require('glob')
|
|
16
|
+
const { globSync } = require('glob');
|
|
17
17
|
const path = require('path');
|
|
18
18
|
const getCallerFile = require('get-caller-file');
|
|
19
19
|
|
|
20
20
|
module.exports = requireAsHash;
|
|
21
21
|
function requireAsHash(pattern, type) {
|
|
22
22
|
let callerFileDir = path.dirname(getCallerFile());
|
|
23
|
-
return globSync(pattern, { cwd: callerFileDir })
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
return globSync(pattern, { cwd: callerFileDir })
|
|
24
|
+
.sort()
|
|
25
|
+
.reduce((hash, file) => {
|
|
26
|
+
const klass = require(`${callerFileDir}/${file}`);
|
|
27
|
+
if (!type || klass.prototype instanceof type) {
|
|
28
|
+
hash[stringUtils.classify(path.basename(file, '.js'))] = klass;
|
|
29
|
+
}
|
|
30
|
+
return hash;
|
|
31
|
+
}, {});
|
|
30
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.11.0-alpha.1",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"publishTag": "alpha"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@ember/app-blueprint": "~6.
|
|
39
|
-
"@pnpm/find-workspace-dir": "^1000.1.
|
|
40
|
-
"babel-remove-types": "^1.0.
|
|
38
|
+
"@ember/app-blueprint": "~6.11.0-alpha.1",
|
|
39
|
+
"@pnpm/find-workspace-dir": "^1000.1.3",
|
|
40
|
+
"babel-remove-types": "^1.0.2",
|
|
41
41
|
"broccoli": "^4.0.0",
|
|
42
42
|
"broccoli-concat": "^4.2.5",
|
|
43
43
|
"broccoli-config-loader": "^1.0.1",
|
|
@@ -52,115 +52,115 @@
|
|
|
52
52
|
"broccoli-stew": "^3.0.0",
|
|
53
53
|
"calculate-cache-key-for-tree": "^2.0.0",
|
|
54
54
|
"capture-exit": "^2.0.0",
|
|
55
|
-
"chalk": "^
|
|
56
|
-
"ci-info": "^4.
|
|
55
|
+
"chalk": "^5.6.2",
|
|
56
|
+
"ci-info": "^4.3.1",
|
|
57
57
|
"clean-base-url": "^1.0.0",
|
|
58
|
-
"compression": "^1.8.
|
|
59
|
-
"configstore": "^
|
|
58
|
+
"compression": "^1.8.1",
|
|
59
|
+
"configstore": "^7.1.0",
|
|
60
60
|
"console-ui": "^3.1.2",
|
|
61
|
-
"content-tag": "^
|
|
61
|
+
"content-tag": "^4.0.0",
|
|
62
62
|
"core-object": "^3.1.5",
|
|
63
63
|
"dag-map": "^2.0.2",
|
|
64
|
-
"diff": "^
|
|
64
|
+
"diff": "^8.0.2",
|
|
65
65
|
"ember-cli-is-package-missing": "^1.0.0",
|
|
66
66
|
"ember-cli-normalize-entity-name": "^1.0.0",
|
|
67
67
|
"ember-cli-preprocess-registry": "^5.0.1",
|
|
68
68
|
"ember-cli-string-utils": "^1.1.0",
|
|
69
69
|
"ensure-posix-path": "^1.1.1",
|
|
70
|
-
"execa": "^
|
|
70
|
+
"execa": "^9.6.1",
|
|
71
71
|
"exit": "^0.1.2",
|
|
72
|
-
"express": "^
|
|
73
|
-
"filesize": "^
|
|
74
|
-
"find-up": "^
|
|
72
|
+
"express": "^5.2.1",
|
|
73
|
+
"filesize": "^11.0.13",
|
|
74
|
+
"find-up": "^8.0.0",
|
|
75
75
|
"find-yarn-workspace-root": "^2.0.0",
|
|
76
76
|
"fixturify-project": "^2.1.1",
|
|
77
|
-
"fs-extra": "^11.3.
|
|
77
|
+
"fs-extra": "^11.3.3",
|
|
78
78
|
"fs-tree-diff": "^2.0.1",
|
|
79
79
|
"get-caller-file": "^2.0.5",
|
|
80
80
|
"git-repo-info": "^2.1.1",
|
|
81
|
-
"glob": "^
|
|
81
|
+
"glob": "^13.0.0",
|
|
82
82
|
"heimdalljs": "^0.2.6",
|
|
83
83
|
"heimdalljs-fs-monitor": "^1.1.2",
|
|
84
84
|
"heimdalljs-graph": "^1.0.0",
|
|
85
85
|
"heimdalljs-logger": "^0.1.10",
|
|
86
86
|
"http-proxy": "^1.18.1",
|
|
87
|
-
"inflection": "^
|
|
88
|
-
"inquirer": "^
|
|
87
|
+
"inflection": "^3.0.2",
|
|
88
|
+
"inquirer": "^13.1.0",
|
|
89
89
|
"is-git-url": "^1.0.0",
|
|
90
|
-
"is-language-code": "^
|
|
91
|
-
"isbinaryfile": "^
|
|
90
|
+
"is-language-code": "^5.1.0",
|
|
91
|
+
"isbinaryfile": "^6.0.0",
|
|
92
92
|
"lodash": "^4.17.21",
|
|
93
93
|
"markdown-it": "^14.1.0",
|
|
94
94
|
"markdown-it-terminal": "^0.4.0",
|
|
95
|
-
"minimatch": "^
|
|
96
|
-
"morgan": "^1.10.
|
|
95
|
+
"minimatch": "^10.1.1",
|
|
96
|
+
"morgan": "^1.10.1",
|
|
97
97
|
"nopt": "^3.0.6",
|
|
98
|
-
"npm-package-arg": "^
|
|
99
|
-
"os-locale": "^
|
|
100
|
-
"p-defer": "^
|
|
98
|
+
"npm-package-arg": "^13.0.2",
|
|
99
|
+
"os-locale": "^6.0.2",
|
|
100
|
+
"p-defer": "^4.0.1",
|
|
101
101
|
"portfinder": "^1.0.32",
|
|
102
102
|
"promise-map-series": "^0.3.0",
|
|
103
103
|
"promise.hash.helper": "^1.0.8",
|
|
104
|
-
"quick-temp": "^0.1.
|
|
105
|
-
"resolve": "^1.22.
|
|
104
|
+
"quick-temp": "^0.1.9",
|
|
105
|
+
"resolve": "^1.22.11",
|
|
106
106
|
"resolve-package-path": "^4.0.3",
|
|
107
107
|
"safe-stable-stringify": "^2.4.3",
|
|
108
108
|
"sane": "^5.0.1",
|
|
109
|
-
"semver": "^7.7.
|
|
109
|
+
"semver": "^7.7.3",
|
|
110
110
|
"silent-error": "^1.1.1",
|
|
111
|
-
"sort-package-json": "^
|
|
111
|
+
"sort-package-json": "^3.6.0",
|
|
112
112
|
"symlink-or-copy": "^1.3.1",
|
|
113
113
|
"temp": "0.9.4",
|
|
114
|
-
"testem": "^3.
|
|
114
|
+
"testem": "^3.17.0",
|
|
115
115
|
"tiny-lr": "^2.0.0",
|
|
116
116
|
"tree-sync": "^2.1.0",
|
|
117
|
-
"walk-sync": "^
|
|
117
|
+
"walk-sync": "^4.0.1",
|
|
118
118
|
"watch-detector": "^1.0.2",
|
|
119
|
-
"workerpool": "^
|
|
119
|
+
"workerpool": "^10.0.1",
|
|
120
120
|
"yam": "^1.0.0",
|
|
121
121
|
"@ember-tooling/blueprint-blueprint": "0.3.0",
|
|
122
|
-
"@ember-tooling/
|
|
123
|
-
"@ember-tooling/classic-build-
|
|
124
|
-
"@ember-tooling/blueprint
|
|
122
|
+
"@ember-tooling/blueprint-model": "0.6.0",
|
|
123
|
+
"@ember-tooling/classic-build-addon-blueprint": "6.11.0-alpha.1",
|
|
124
|
+
"@ember-tooling/classic-build-app-blueprint": "6.11.0-alpha.1"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"broccoli-plugin": "^4.0.3",
|
|
128
128
|
"broccoli-test-helper": "^2.0.0",
|
|
129
|
-
"chai": "^
|
|
130
|
-
"chai-as-promised": "^
|
|
129
|
+
"chai": "^6.2.1",
|
|
130
|
+
"chai-as-promised": "^8.0.2",
|
|
131
131
|
"chai-files": "^1.4.0",
|
|
132
132
|
"chai-jest-snapshot": "^2.0.0",
|
|
133
|
+
"concurrently": "^9.2.1",
|
|
133
134
|
"ember-cli-blueprint-test-helpers": "^0.19.2",
|
|
134
135
|
"ember-cli-internal-test-helpers": "^0.9.1",
|
|
135
136
|
"eslint": "^8.44.0",
|
|
136
|
-
"eslint-config-prettier": "^
|
|
137
|
+
"eslint-config-prettier": "^10.1.8",
|
|
137
138
|
"eslint-plugin-chai-expect": "^3.0.0",
|
|
138
139
|
"eslint-plugin-mocha": "^10.5.0",
|
|
139
|
-
"eslint-plugin-n": "^
|
|
140
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
140
|
+
"eslint-plugin-n": "^17.23.1",
|
|
141
141
|
"fixturify": "^3.0.0",
|
|
142
142
|
"jsdom": "^21.1.1",
|
|
143
|
-
"latest-version": "^
|
|
144
|
-
"mocha": "^11.
|
|
145
|
-
"nock": "^
|
|
146
|
-
"nyc": "^
|
|
147
|
-
"prettier": "
|
|
143
|
+
"latest-version": "^9.0.0",
|
|
144
|
+
"mocha": "^11.7.5",
|
|
145
|
+
"nock": "^14.0.10",
|
|
146
|
+
"nyc": "^17.1.0",
|
|
147
|
+
"prettier": "3.7.4",
|
|
148
148
|
"release-plan": "^0.17.2",
|
|
149
|
-
"strip-ansi": "^
|
|
150
|
-
"supertest": "^7.1.
|
|
149
|
+
"strip-ansi": "^7.1.2",
|
|
150
|
+
"supertest": "^7.1.4",
|
|
151
151
|
"testdouble": "^3.18.0",
|
|
152
|
-
"tmp": "^0.2.
|
|
152
|
+
"tmp": "^0.2.5",
|
|
153
153
|
"tmp-promise": "^3.0.3",
|
|
154
154
|
"websocket": "^1.0.32",
|
|
155
|
-
"which": "
|
|
155
|
+
"which": "6.0.0",
|
|
156
156
|
"yuidoc-ember-cli-theme": "^1.0.4",
|
|
157
157
|
"yuidocjs": "0.10.2"
|
|
158
158
|
},
|
|
159
159
|
"engines": {
|
|
160
|
-
"node": ">= 20.
|
|
160
|
+
"node": ">= 20.19.0"
|
|
161
161
|
},
|
|
162
162
|
"volta": {
|
|
163
|
-
"node": "20.
|
|
163
|
+
"node": "20.19.6",
|
|
164
164
|
"pnpm": "10.12.1"
|
|
165
165
|
},
|
|
166
166
|
"publishConfig": {
|
|
@@ -168,7 +168,12 @@
|
|
|
168
168
|
},
|
|
169
169
|
"scripts": {
|
|
170
170
|
"docs": "yuidoc",
|
|
171
|
-
"
|
|
171
|
+
"format": "prettier . --cache --write",
|
|
172
|
+
"lint": "concurrently \"pnpm:lint:*(!fix)\" --group --names \"lint:\" --prefixColors auto --timings",
|
|
173
|
+
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --group --names \"fix:\" --prefixColors auto --timings && pnpm format",
|
|
174
|
+
"lint:format": "prettier . --cache --check",
|
|
175
|
+
"lint:js": "eslint . --cache",
|
|
176
|
+
"lint:js:fix": "eslint . --fix",
|
|
172
177
|
"mocha": "pnpm exec mocha --require ./tests/bootstrap.js tests/**/*-test.js",
|
|
173
178
|
"test": "node --unhandled-rejections=strict tests/runner",
|
|
174
179
|
"test:all": "node --unhandled-rejections=strict tests/runner all",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const fs = require('fs-extra');
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const walkSync = require('walk-sync');
|
|
6
|
-
const chalk = require('chalk');
|
|
6
|
+
const { default: chalk } = require('chalk');
|
|
7
7
|
const stringUtil = require('ember-cli-string-utils');
|
|
8
8
|
const merge = require('lodash/merge');
|
|
9
9
|
const uniq = require('lodash/uniq');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-tooling/classic-build-addon-blueprint",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.11.0-alpha.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@ember-tooling/blueprint-model": "workspace:*",
|
|
15
|
-
"chalk": "^
|
|
15
|
+
"chalk": "^5.6.2",
|
|
16
16
|
"ember-cli-normalize-entity-name": "^1.0.0",
|
|
17
17
|
"ember-cli-string-utils": "^1.1.0",
|
|
18
18
|
"fs-extra": "^11.3.0",
|