@wix/create-new 0.0.101 → 0.0.103
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
|
@@ -29,6 +29,28 @@
|
|
|
29
29
|
}
|
|
30
30
|
})();
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Opt non-interactive stdout into Ink's static render path.
|
|
34
|
+
*
|
|
35
|
+
* When stdout is not a TTY (piped to a file, captured by an AI agent, or
|
|
36
|
+
* otherwise redirected), Ink's animated spinner is emitted as a stream of ANSI
|
|
37
|
+
* cursor-control redraw frames, which piles up as thousands of near-identical
|
|
38
|
+
* lines in the captured output. Ink already renders statically (finalized
|
|
39
|
+
* lines only, no redraws) when it detects CI, so we opt into that same path.
|
|
40
|
+
*
|
|
41
|
+
* Real CI is untouched (`CI` is already set), and an explicit `CI=false` is
|
|
42
|
+
* respected, since Ink honors it.
|
|
43
|
+
*
|
|
44
|
+
* This has to live in the bin script rather than in `src`: Ink reads
|
|
45
|
+
* `process.env.CI` once at module-initialization time, and ESM evaluates every
|
|
46
|
+
* static import before any statement in the importing module's body. Inside
|
|
47
|
+
* the bundle there is no way to guarantee we run first once esbuild splits Ink
|
|
48
|
+
* into a shared chunk. This file is never bundled, so it always does.
|
|
49
|
+
*/
|
|
50
|
+
if (process.env.CI === undefined && process.stdout.isTTY !== true) {
|
|
51
|
+
process.env.CI = 'true';
|
|
52
|
+
}
|
|
53
|
+
|
|
32
54
|
process.setSourceMapsEnabled(true);
|
|
33
55
|
|
|
34
56
|
require('./import.cjs');
|
package/build/index.js
CHANGED
|
@@ -52629,7 +52629,7 @@ init_esm_shims();
|
|
|
52629
52629
|
// ../../node_modules/ink/build/render-node-to-output.js
|
|
52630
52630
|
init_esm_shims();
|
|
52631
52631
|
|
|
52632
|
-
// ../../node_modules/
|
|
52632
|
+
// ../../node_modules/indent-string/index.js
|
|
52633
52633
|
init_esm_shims();
|
|
52634
52634
|
function indentString(string, count = 1, options = {}) {
|
|
52635
52635
|
const {
|
|
@@ -95295,7 +95295,7 @@ import { randomUUID as randomUUID3 } from "node:crypto";
|
|
|
95295
95295
|
var package_default = {
|
|
95296
95296
|
name: "@wix/create-new",
|
|
95297
95297
|
description: "General entry point for creating Wix projects",
|
|
95298
|
-
version: "0.0.
|
|
95298
|
+
version: "0.0.103",
|
|
95299
95299
|
bin: "bin/index.cjs",
|
|
95300
95300
|
devDependencies: {
|
|
95301
95301
|
"@commander-js/extra-typings": "^13.0.0",
|