create-windy 0.6.16 → 0.6.18
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/dist/cli.js +43 -33
- package/package.json +1 -1
- package/template/.windy-template.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
33
33
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
34
34
|
var __require = import.meta.require;
|
|
35
35
|
|
|
36
|
-
// ../../node_modules
|
|
36
|
+
// ../../node_modules/cli-width/index.js
|
|
37
37
|
var require_cli_width = __commonJS((exports, module2) => {
|
|
38
38
|
module2.exports = cliWidth;
|
|
39
39
|
function normalizeOpts(options) {
|
|
@@ -73,7 +73,7 @@ var require_cli_width = __commonJS((exports, module2) => {
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
// ../../node_modules
|
|
76
|
+
// ../../node_modules/mute-stream/lib/index.js
|
|
77
77
|
var require_lib = __commonJS((exports, module2) => {
|
|
78
78
|
var Stream = __require("stream");
|
|
79
79
|
|
|
@@ -4666,7 +4666,7 @@ function isMissing6(error) {
|
|
|
4666
4666
|
import { createInterface as createInterface2 } from "readline/promises";
|
|
4667
4667
|
import { stdin, stdout } from "process";
|
|
4668
4668
|
|
|
4669
|
-
// ../../node_modules
|
|
4669
|
+
// ../../node_modules/@inquirer/core/dist/lib/key.js
|
|
4670
4670
|
var keybindings = ["emacs", "vim"];
|
|
4671
4671
|
var keybindingLookup = new Set(keybindings);
|
|
4672
4672
|
function isKeybinding(value) {
|
|
@@ -4683,7 +4683,7 @@ var isDownKey = (key, keybindings2 = []) => key.name === "down" || keybindings2.
|
|
|
4683
4683
|
var isSpaceKey = (key) => key.name === "space";
|
|
4684
4684
|
var isNumberKey = (key) => "1234567890".includes(key.name);
|
|
4685
4685
|
var isEnterKey = (key) => key.name === "enter" || key.name === "return";
|
|
4686
|
-
// ../../node_modules
|
|
4686
|
+
// ../../node_modules/@inquirer/core/dist/lib/errors.js
|
|
4687
4687
|
class AbortPromptError extends Error {
|
|
4688
4688
|
name = "AbortPromptError";
|
|
4689
4689
|
message = "Prompt was aborted";
|
|
@@ -4709,10 +4709,10 @@ class HookError extends Error {
|
|
|
4709
4709
|
class ValidationError extends Error {
|
|
4710
4710
|
name = "ValidationError";
|
|
4711
4711
|
}
|
|
4712
|
-
// ../../node_modules
|
|
4712
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-state.js
|
|
4713
4713
|
import { AsyncResource as AsyncResource2 } from "async_hooks";
|
|
4714
4714
|
|
|
4715
|
-
// ../../node_modules
|
|
4715
|
+
// ../../node_modules/@inquirer/core/dist/lib/hook-engine.js
|
|
4716
4716
|
import { AsyncLocalStorage, AsyncResource } from "async_hooks";
|
|
4717
4717
|
var hookStorage = new AsyncLocalStorage;
|
|
4718
4718
|
function createStore(rl) {
|
|
@@ -4817,7 +4817,7 @@ var effectScheduler = {
|
|
|
4817
4817
|
}
|
|
4818
4818
|
};
|
|
4819
4819
|
|
|
4820
|
-
// ../../node_modules
|
|
4820
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-state.js
|
|
4821
4821
|
function isFactory(value) {
|
|
4822
4822
|
return typeof value === "function";
|
|
4823
4823
|
}
|
|
@@ -4838,7 +4838,7 @@ function useState(defaultValue) {
|
|
|
4838
4838
|
});
|
|
4839
4839
|
}
|
|
4840
4840
|
|
|
4841
|
-
// ../../node_modules
|
|
4841
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-effect.js
|
|
4842
4842
|
function useEffect(cb, depArray) {
|
|
4843
4843
|
withPointer((pointer) => {
|
|
4844
4844
|
const oldDeps = pointer.get();
|
|
@@ -4850,10 +4850,10 @@ function useEffect(cb, depArray) {
|
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
4852
4852
|
|
|
4853
|
-
// ../../node_modules
|
|
4853
|
+
// ../../node_modules/@inquirer/core/dist/lib/theme.js
|
|
4854
4854
|
import { styleText } from "util";
|
|
4855
4855
|
|
|
4856
|
-
// ../../node_modules
|
|
4856
|
+
// ../../node_modules/@inquirer/figures/dist/index.js
|
|
4857
4857
|
import process2 from "process";
|
|
4858
4858
|
function isUnicodeSupported() {
|
|
4859
4859
|
if (!process2.platform.startsWith("win")) {
|
|
@@ -5142,7 +5142,7 @@ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
|
5142
5142
|
var dist_default = figures;
|
|
5143
5143
|
var replacements = Object.entries(specialMainSymbols);
|
|
5144
5144
|
|
|
5145
|
-
// ../../node_modules
|
|
5145
|
+
// ../../node_modules/@inquirer/core/dist/lib/theme.js
|
|
5146
5146
|
var defaultTheme = {
|
|
5147
5147
|
prefix: {
|
|
5148
5148
|
idle: styleText("blue", "?"),
|
|
@@ -5170,7 +5170,7 @@ function getDefaultTheme() {
|
|
|
5170
5170
|
};
|
|
5171
5171
|
}
|
|
5172
5172
|
|
|
5173
|
-
// ../../node_modules
|
|
5173
|
+
// ../../node_modules/@inquirer/core/dist/lib/make-theme.js
|
|
5174
5174
|
function isPlainObject(value) {
|
|
5175
5175
|
if (typeof value !== "object" || value === null)
|
|
5176
5176
|
return false;
|
|
@@ -5198,7 +5198,7 @@ function makeTheme(...themes) {
|
|
|
5198
5198
|
return deepMerge(...themesToMerge);
|
|
5199
5199
|
}
|
|
5200
5200
|
|
|
5201
|
-
// ../../node_modules
|
|
5201
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-prefix.js
|
|
5202
5202
|
function usePrefix({ status = "idle", theme }) {
|
|
5203
5203
|
const [showLoader, setShowLoader] = useState(false);
|
|
5204
5204
|
const [tick, setTick] = useState(0);
|
|
@@ -5228,7 +5228,7 @@ function usePrefix({ status = "idle", theme }) {
|
|
|
5228
5228
|
const iconName = status === "loading" ? "idle" : status;
|
|
5229
5229
|
return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
|
|
5230
5230
|
}
|
|
5231
|
-
// ../../node_modules
|
|
5231
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-memo.js
|
|
5232
5232
|
function useMemo(fn, dependencies) {
|
|
5233
5233
|
return withPointer((pointer) => {
|
|
5234
5234
|
const prev = pointer.get();
|
|
@@ -5240,12 +5240,12 @@ function useMemo(fn, dependencies) {
|
|
|
5240
5240
|
return prev.value;
|
|
5241
5241
|
});
|
|
5242
5242
|
}
|
|
5243
|
-
// ../../node_modules
|
|
5243
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-ref.js
|
|
5244
5244
|
function useRef(val) {
|
|
5245
5245
|
return useState({ current: val })[0];
|
|
5246
5246
|
}
|
|
5247
5247
|
|
|
5248
|
-
// ../../node_modules
|
|
5248
|
+
// ../../node_modules/@inquirer/core/dist/lib/use-keypress.js
|
|
5249
5249
|
function useKeypress(userHandler) {
|
|
5250
5250
|
const signal = useRef(userHandler);
|
|
5251
5251
|
signal.current = userHandler;
|
|
@@ -5263,10 +5263,10 @@ function useKeypress(userHandler) {
|
|
|
5263
5263
|
};
|
|
5264
5264
|
}, []);
|
|
5265
5265
|
}
|
|
5266
|
-
// ../../node_modules
|
|
5266
|
+
// ../../node_modules/@inquirer/core/dist/lib/utils.js
|
|
5267
5267
|
var import_cli_width = __toESM(require_cli_width(), 1);
|
|
5268
5268
|
|
|
5269
|
-
// ../../node_modules
|
|
5269
|
+
// ../../node_modules/fast-string-truncated-width/dist/utils.js
|
|
5270
5270
|
var getCodePointsLength = (() => {
|
|
5271
5271
|
const SURROGATE_PAIR_RE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
5272
5272
|
return (input) => {
|
|
@@ -5285,7 +5285,7 @@ var isWideNotCJKTNotEmoji = (x) => {
|
|
|
5285
5285
|
return x === 8987 || x === 9001 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
5286
5286
|
};
|
|
5287
5287
|
|
|
5288
|
-
// ../../node_modules
|
|
5288
|
+
// ../../node_modules/fast-string-truncated-width/dist/index.js
|
|
5289
5289
|
var ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]|\u001b\]8;[^;]*;.*?(?:\u0007|\u001b\u005c)/y;
|
|
5290
5290
|
var CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
|
|
5291
5291
|
var CJKT_WIDE_RE = /(?:(?![\uFF61-\uFF9F\uFF00-\uFFEF])[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Tangut}]){1,1000}/yu;
|
|
@@ -5384,7 +5384,7 @@ var getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {})
|
|
|
5384
5384
|
};
|
|
5385
5385
|
var dist_default2 = getStringTruncatedWidth;
|
|
5386
5386
|
|
|
5387
|
-
// ../../node_modules
|
|
5387
|
+
// ../../node_modules/fast-string-width/dist/index.js
|
|
5388
5388
|
var NO_TRUNCATION2 = {
|
|
5389
5389
|
limit: Infinity,
|
|
5390
5390
|
ellipsis: "",
|
|
@@ -5395,7 +5395,7 @@ var fastStringWidth = (input, options = {}) => {
|
|
|
5395
5395
|
};
|
|
5396
5396
|
var dist_default3 = fastStringWidth;
|
|
5397
5397
|
|
|
5398
|
-
// ../../node_modules
|
|
5398
|
+
// ../../node_modules/fast-wrap-ansi/lib/main.js
|
|
5399
5399
|
var ESC = "\x1B";
|
|
5400
5400
|
var CSI = "\x9B";
|
|
5401
5401
|
var END_CODE = 39;
|
|
@@ -5607,7 +5607,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
5607
5607
|
`);
|
|
5608
5608
|
}
|
|
5609
5609
|
|
|
5610
|
-
// ../../node_modules
|
|
5610
|
+
// ../../node_modules/@inquirer/core/dist/lib/utils.js
|
|
5611
5611
|
function breakLines(content, width) {
|
|
5612
5612
|
return content.split(`
|
|
5613
5613
|
`).flatMap((line) => wrapAnsi(line, width, { trim: false, wordWrap: false }).split(`
|
|
@@ -5618,7 +5618,7 @@ function readlineWidth() {
|
|
|
5618
5618
|
return import_cli_width.default({ defaultWidth: 80, output: readline().output });
|
|
5619
5619
|
}
|
|
5620
5620
|
|
|
5621
|
-
// ../../node_modules
|
|
5621
|
+
// ../../node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
|
|
5622
5622
|
function usePointerPosition({ active, renderedItems, pageSize, loop }) {
|
|
5623
5623
|
const state = useRef({
|
|
5624
5624
|
lastPointer: active,
|
|
@@ -5684,12 +5684,12 @@ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
|
|
|
5684
5684
|
return pageBuffer.filter((line) => typeof line === "string").join(`
|
|
5685
5685
|
`);
|
|
5686
5686
|
}
|
|
5687
|
-
// ../../node_modules
|
|
5687
|
+
// ../../node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
5688
5688
|
var import_mute_stream = __toESM(require_lib(), 1);
|
|
5689
5689
|
import * as readline2 from "readline";
|
|
5690
5690
|
import { AsyncResource as AsyncResource3 } from "async_hooks";
|
|
5691
5691
|
|
|
5692
|
-
// ../../node_modules
|
|
5692
|
+
// ../../node_modules/signal-exit/dist/mjs/signals.js
|
|
5693
5693
|
var signals = [];
|
|
5694
5694
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
5695
5695
|
if (process.platform !== "win32") {
|
|
@@ -5699,7 +5699,7 @@ if (process.platform === "linux") {
|
|
|
5699
5699
|
signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
5700
5700
|
}
|
|
5701
5701
|
|
|
5702
|
-
// ../../node_modules
|
|
5702
|
+
// ../../node_modules/signal-exit/dist/mjs/index.js
|
|
5703
5703
|
var processOk = (process3) => !!process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
|
|
5704
5704
|
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
5705
5705
|
var global = globalThis;
|
|
@@ -5897,10 +5897,10 @@ var {
|
|
|
5897
5897
|
unload
|
|
5898
5898
|
} = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback);
|
|
5899
5899
|
|
|
5900
|
-
// ../../node_modules
|
|
5900
|
+
// ../../node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
5901
5901
|
import { stripVTControlCharacters } from "util";
|
|
5902
5902
|
|
|
5903
|
-
// ../../node_modules
|
|
5903
|
+
// ../../node_modules/@inquirer/ansi/dist/index.js
|
|
5904
5904
|
var ESC2 = "\x1B[";
|
|
5905
5905
|
var cursorLeft = ESC2 + "G";
|
|
5906
5906
|
var cursorHide = ESC2 + "?25l";
|
|
@@ -5916,7 +5916,7 @@ var cursorTo = (x, y) => {
|
|
|
5916
5916
|
var eraseLine = ESC2 + "2K";
|
|
5917
5917
|
var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
|
|
5918
5918
|
|
|
5919
|
-
// ../../node_modules
|
|
5919
|
+
// ../../node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
5920
5920
|
var height = (content) => content.split(`
|
|
5921
5921
|
`).length;
|
|
5922
5922
|
var lastLine = (content) => content.split(`
|
|
@@ -5982,7 +5982,7 @@ class ScreenManager {
|
|
|
5982
5982
|
}
|
|
5983
5983
|
}
|
|
5984
5984
|
|
|
5985
|
-
// ../../node_modules
|
|
5985
|
+
// ../../node_modules/@inquirer/core/dist/lib/promise-polyfill.js
|
|
5986
5986
|
class PromisePolyfill extends Promise {
|
|
5987
5987
|
static withResolver() {
|
|
5988
5988
|
let resolve6;
|
|
@@ -5995,7 +5995,7 @@ class PromisePolyfill extends Promise {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
}
|
|
5997
5997
|
|
|
5998
|
-
// ../../node_modules
|
|
5998
|
+
// ../../node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
5999
5999
|
import path from "path";
|
|
6000
6000
|
var nativeSetImmediate = globalThis.setImmediate;
|
|
6001
6001
|
function getCallSites() {
|
|
@@ -6106,7 +6106,7 @@ function createPrompt(view) {
|
|
|
6106
6106
|
};
|
|
6107
6107
|
return prompt;
|
|
6108
6108
|
}
|
|
6109
|
-
// ../../node_modules
|
|
6109
|
+
// ../../node_modules/@inquirer/core/dist/lib/Separator.js
|
|
6110
6110
|
import { styleText as styleText2 } from "util";
|
|
6111
6111
|
class Separator {
|
|
6112
6112
|
separator = styleText2("dim", Array.from({ length: 15 }).join(dist_default.line));
|
|
@@ -6120,7 +6120,7 @@ class Separator {
|
|
|
6120
6120
|
return Boolean(choice && typeof choice === "object" && "type" in choice && choice.type === "separator");
|
|
6121
6121
|
}
|
|
6122
6122
|
}
|
|
6123
|
-
// ../../node_modules
|
|
6123
|
+
// ../../node_modules/@inquirer/checkbox/dist/index.js
|
|
6124
6124
|
import { styleText as styleText3 } from "util";
|
|
6125
6125
|
var checkboxTheme = {
|
|
6126
6126
|
icon: {
|
|
@@ -8482,6 +8482,16 @@ var recipes = [
|
|
|
8482
8482
|
id: "starter-0.6.15-to-0.6.16",
|
|
8483
8483
|
from: "0.6.15",
|
|
8484
8484
|
to: "0.6.16"
|
|
8485
|
+
},
|
|
8486
|
+
{
|
|
8487
|
+
id: "starter-0.6.16-to-0.6.17",
|
|
8488
|
+
from: "0.6.16",
|
|
8489
|
+
to: "0.6.17"
|
|
8490
|
+
},
|
|
8491
|
+
{
|
|
8492
|
+
id: "starter-0.6.17-to-0.6.18",
|
|
8493
|
+
from: "0.6.17",
|
|
8494
|
+
to: "0.6.18"
|
|
8485
8495
|
}
|
|
8486
8496
|
];
|
|
8487
8497
|
function resolveRecipeChain(sourceVersion, targetVersion) {
|
package/package.json
CHANGED