ember-cli 6.4.0 → 6.6.0-alpha.2
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 +64 -0
- package/RELEASE.md +61 -135
- package/blueprints/addon/index.js +0 -1
- package/blueprints/app/files/package.json +12 -14
- package/blueprints/app/files/tsconfig.json +1 -1
- 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 +6672 -0
- package/lib/utilities/will-interrupt-process.js +13 -2
- package/package.json +25 -28
- package/tests/helpers/mk-tmp-dir-in.js +0 -14
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
// on `process.exit()` and control the final exit code.
|
|
13
13
|
|
|
14
14
|
const captureExit = require('capture-exit');
|
|
15
|
-
const EventEmitter = require('events');
|
|
16
15
|
|
|
17
16
|
const handlers = [];
|
|
18
17
|
|
|
@@ -24,7 +23,7 @@ module.exports = {
|
|
|
24
23
|
throw new Error(`process already captured at: \n\n${_processCapturedLocation.stack}`);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
if (outerProcess
|
|
26
|
+
if (isEventEmitterCompatible(outerProcess) === false) {
|
|
28
27
|
throw new Error('attempt to capture bad process instance');
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -194,3 +193,15 @@ function onMessage(message) {
|
|
|
194
193
|
exit();
|
|
195
194
|
}
|
|
196
195
|
}
|
|
196
|
+
|
|
197
|
+
function isEventEmitterCompatible(obj) {
|
|
198
|
+
return (
|
|
199
|
+
Boolean(obj) &&
|
|
200
|
+
typeof obj === 'object' &&
|
|
201
|
+
typeof obj.on === 'function' &&
|
|
202
|
+
typeof obj.emit === 'function' &&
|
|
203
|
+
typeof obj.removeListener === 'function' &&
|
|
204
|
+
typeof obj.setMaxListeners === 'function' &&
|
|
205
|
+
typeof obj.exit === 'function'
|
|
206
|
+
);
|
|
207
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0-alpha.2",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -26,16 +26,13 @@
|
|
|
26
26
|
"bin": {
|
|
27
27
|
"ember": "./bin/ember"
|
|
28
28
|
},
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"test:cover": "nyc --all --reporter=text --reporter=lcov node tests/runner all",
|
|
37
|
-
"test:debug": "node --unhandled-rejections=strict debug tests/runner",
|
|
38
|
-
"test:slow": "node --unhandled-rejections=strict tests/runner slow"
|
|
29
|
+
"release-plan": {
|
|
30
|
+
"semverIncrementAs": {
|
|
31
|
+
"minor": "prerelease",
|
|
32
|
+
"patch": "prerelease"
|
|
33
|
+
},
|
|
34
|
+
"semverIncrementTag": "alpha",
|
|
35
|
+
"publishTag": "alpha"
|
|
39
36
|
},
|
|
40
37
|
"dependencies": {
|
|
41
38
|
"@pnpm/find-workspace-dir": "^1000.1.0",
|
|
@@ -60,7 +57,7 @@
|
|
|
60
57
|
"compression": "^1.8.0",
|
|
61
58
|
"configstore": "^5.0.1",
|
|
62
59
|
"console-ui": "^3.1.2",
|
|
63
|
-
"content-tag": "^3.1.
|
|
60
|
+
"content-tag": "^3.1.2",
|
|
64
61
|
"core-object": "^3.1.5",
|
|
65
62
|
"dag-map": "^2.0.2",
|
|
66
63
|
"diff": "^7.0.0",
|
|
@@ -97,7 +94,7 @@
|
|
|
97
94
|
"minimatch": "^7.4.3",
|
|
98
95
|
"morgan": "^1.10.0",
|
|
99
96
|
"nopt": "^3.0.6",
|
|
100
|
-
"npm-package-arg": "^12.0.
|
|
97
|
+
"npm-package-arg": "^12.0.2",
|
|
101
98
|
"os-locale": "^5.0.0",
|
|
102
99
|
"p-defer": "^3.0.0",
|
|
103
100
|
"portfinder": "^1.0.32",
|
|
@@ -144,11 +141,12 @@
|
|
|
144
141
|
"nock": "^13.5.5",
|
|
145
142
|
"nyc": "^15.1.0",
|
|
146
143
|
"prettier": "2.8.7",
|
|
147
|
-
"release-
|
|
144
|
+
"release-plan": "^0.16.0",
|
|
148
145
|
"strip-ansi": "^6.0.0",
|
|
149
|
-
"supertest": "^7.
|
|
146
|
+
"supertest": "^7.1.0",
|
|
150
147
|
"testdouble": "^3.18.0",
|
|
151
148
|
"tmp": "^0.2.1",
|
|
149
|
+
"tmp-promise": "^3.0.3",
|
|
152
150
|
"websocket": "^1.0.32",
|
|
153
151
|
"which": "3.0.1",
|
|
154
152
|
"yuidoc-ember-cli-theme": "^1.0.4",
|
|
@@ -157,22 +155,21 @@
|
|
|
157
155
|
"engines": {
|
|
158
156
|
"node": ">= 18"
|
|
159
157
|
},
|
|
160
|
-
"packageManager": "pnpm@9.15.0",
|
|
161
158
|
"volta": {
|
|
162
|
-
"
|
|
163
|
-
"
|
|
159
|
+
"node": "18.12.0",
|
|
160
|
+
"pnpm": "10.12.1"
|
|
164
161
|
},
|
|
165
162
|
"publishConfig": {
|
|
166
163
|
"registry": "https://registry.npmjs.org"
|
|
167
164
|
},
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
165
|
+
"scripts": {
|
|
166
|
+
"docs": "yuidoc",
|
|
167
|
+
"lint": "eslint . --cache",
|
|
168
|
+
"mocha": "pnpm exec mocha --require ./tests/bootstrap.js tests/**/*-test.js",
|
|
169
|
+
"test": "node --unhandled-rejections=strict tests/runner",
|
|
170
|
+
"test:all": "node --unhandled-rejections=strict tests/runner all",
|
|
171
|
+
"test:cover": "nyc --all --reporter=text --reporter=lcov node tests/runner all",
|
|
172
|
+
"test:debug": "node --unhandled-rejections=strict debug tests/runner",
|
|
173
|
+
"test:slow": "node --unhandled-rejections=strict tests/runner slow"
|
|
177
174
|
}
|
|
178
|
-
}
|
|
175
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const fs = require('fs-extra');
|
|
4
|
-
const temp = require('temp');
|
|
5
|
-
const util = require('util');
|
|
6
|
-
|
|
7
|
-
const mkdirTemp = util.promisify(temp.mkdir);
|
|
8
|
-
|
|
9
|
-
async function mkTmpDirIn(dir) {
|
|
10
|
-
await fs.ensureDir(dir);
|
|
11
|
-
return mkdirTemp({ dir });
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
module.exports = mkTmpDirIn;
|