@wix/create-app 0.0.241 → 0.0.242
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/bin/index.cjs +22 -0
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/bin/index.cjs
CHANGED
|
@@ -30,6 +30,28 @@
|
|
|
30
30
|
}
|
|
31
31
|
})();
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Opt non-interactive stdout into Ink's static render path.
|
|
35
|
+
*
|
|
36
|
+
* When stdout is not a TTY (piped to a file, captured by an AI agent, or
|
|
37
|
+
* otherwise redirected), Ink's animated spinner is emitted as a stream of ANSI
|
|
38
|
+
* cursor-control redraw frames, which piles up as thousands of near-identical
|
|
39
|
+
* lines in the captured output. Ink already renders statically (finalized
|
|
40
|
+
* lines only, no redraws) when it detects CI, so we opt into that same path.
|
|
41
|
+
*
|
|
42
|
+
* Real CI is untouched (`CI` is already set), and an explicit `CI=false` is
|
|
43
|
+
* respected, since Ink honors it.
|
|
44
|
+
*
|
|
45
|
+
* This has to live in the bin script rather than in `src`: Ink reads
|
|
46
|
+
* `process.env.CI` once at module-initialization time, and ESM evaluates every
|
|
47
|
+
* static import before any statement in the importing module's body. Inside
|
|
48
|
+
* the bundle there is no way to guarantee we run first once esbuild splits Ink
|
|
49
|
+
* into a shared chunk. This file is never bundled, so it always does.
|
|
50
|
+
*/
|
|
51
|
+
if (process.env.CI === undefined && process.stdout.isTTY !== true) {
|
|
52
|
+
process.env.CI = 'true';
|
|
53
|
+
}
|
|
54
|
+
|
|
33
55
|
process.setSourceMapsEnabled(true);
|
|
34
56
|
|
|
35
57
|
require('./import.cjs');
|
package/build/index.js
CHANGED
|
@@ -36386,7 +36386,7 @@ init_esm_shims();
|
|
|
36386
36386
|
// ../../node_modules/ink/build/render-node-to-output.js
|
|
36387
36387
|
init_esm_shims();
|
|
36388
36388
|
|
|
36389
|
-
// ../../node_modules/
|
|
36389
|
+
// ../../node_modules/indent-string/index.js
|
|
36390
36390
|
init_esm_shims();
|
|
36391
36391
|
function indentString(string, count = 1, options = {}) {
|
|
36392
36392
|
const {
|
|
@@ -56796,7 +56796,7 @@ init_esm_shims();
|
|
|
56796
56796
|
var package_default = {
|
|
56797
56797
|
name: "@wix/create-app",
|
|
56798
56798
|
description: "Create Wix apps",
|
|
56799
|
-
version: "0.0.
|
|
56799
|
+
version: "0.0.242",
|
|
56800
56800
|
author: "Ihor Machuzhak",
|
|
56801
56801
|
bin: "bin/index.cjs",
|
|
56802
56802
|
devDependencies: {
|