quickbundle 0.14.0 → 0.15.0

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/README.md CHANGED
@@ -16,6 +16,7 @@ Quickbundle allows you to bundle a library in a **quick**, **fast** and **easy**
16
16
  - Support of multiple module formats including `cjs` & `esm`
17
17
  - Bundling can be done for several platform targets including `browser` or `node`
18
18
  - Optimized build such as `peerDependencies` not bundled in the final output
19
+ - Serve and live reload support for `html` entrypoint
19
20
 
20
21
  <br>
21
22
 
@@ -43,6 +44,7 @@ yarn add quickbundle
43
44
  "scripts": {
44
45
  "build": "quickbundle build", // Production mode (optimizes bundle)
45
46
  "watch": "quickbundle watch", // Development mode (watches each file change)
47
+ "serve": "quickbundle watch --serve public/index.html", // Serve an html entrypoint with live reload capabilities (for more details, check examples folder)
46
48
  "build:fast": "quickbundle build --no-check", // Production mode with fast transpilation time. This mode disables TypeScript type checking (ie. not using `tsc`) and, consequently, the `types` asset is no more managed by the tool
47
49
  "watch:fast": "quickbundle watch --no-check" // Development mode with fast transpilation time
48
50
  }
@@ -2,6 +2,7 @@ declare type BundleParameters = {
2
2
  isProduction: boolean;
3
3
  isFast: boolean;
4
4
  onWatch?: (error: Error | null) => void;
5
+ serveEntryPoint?: string;
5
6
  };
6
- export declare const bundle: ({ isProduction, isFast, onWatch, }: BundleParameters) => Promise<(string | null)[]>;
7
+ export declare const bundle: ({ isProduction, isFast, onWatch, serveEntryPoint, }: BundleParameters) => Promise<(string | null)[]>;
7
8
  export {};
@@ -11,13 +11,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.bundle = void 0;
13
13
  const esbuild_1 = require("esbuild");
14
+ const http_1 = require("http");
14
15
  const constants_1 = require("../constants");
16
+ const helpers_1 = require("../helpers");
15
17
  const package_1 = require("./package");
16
18
  const plugins_1 = require("./plugins");
17
19
  const typescript_1 = require("./typescript");
18
- const bundle = ({ isProduction, isFast, onWatch, }) => __awaiter(void 0, void 0, void 0, function* () {
20
+ const bundle = ({ isProduction, isFast, onWatch, serveEntryPoint, }) => __awaiter(void 0, void 0, void 0, function* () {
19
21
  const { destination, externalDependencies, hasModule, platform, source, types, } = (0, package_1.getPackageMetadata)();
20
22
  const isWatching = typeof onWatch === "function";
23
+ const isLiveReloadable = serveEntryPoint && isWatching;
21
24
  const isTypingRequested = typeof types === "string" && !isFast;
22
25
  const tsConfig = yield (0, typescript_1.getTypeScriptConfiguration)();
23
26
  const getType = () => __awaiter(void 0, void 0, void 0, function* () {
@@ -31,43 +34,32 @@ const bundle = ({ isProduction, isFast, onWatch, }) => __awaiter(void 0, void 0,
31
34
  const outfile = destination[format];
32
35
  if (!outfile)
33
36
  return null;
34
- yield (0, esbuild_1.build)({
35
- absWorkingDir: constants_1.CWD,
36
- bundle: true,
37
- define: {
37
+ yield (0, esbuild_1.build)(Object.assign(Object.assign({}, (isLiveReloadable && {
38
+ banner: {
39
+ js: `;new EventSource("http://0.0.0.0:${servePort}").onmessage = function() { location.reload(); }; console.log("Live reload ✅ (port: ${servePort})");`,
40
+ },
41
+ })), { absWorkingDir: constants_1.CWD, bundle: true, define: {
38
42
  "process.env.NODE_ENV": isProduction
39
43
  ? '"production"'
40
44
  : '"development"',
41
- },
42
- entryPoints: [source],
43
- external: externalDependencies,
44
- format,
45
- loader: {
45
+ }, entryPoints: [source], external: externalDependencies, format, loader: {
46
46
  ".jpg": "file",
47
47
  ".jpeg": "file",
48
48
  ".png": "file",
49
49
  ".gif": "file",
50
50
  ".svg": "file",
51
51
  ".webp": "file",
52
- },
53
- logLevel: "silent",
54
- metafile: true,
55
- minify: isProduction,
56
- outfile,
57
- plugins: [(0, plugins_1.jsxPlugin)(tsConfig)],
58
- platform,
59
- sourcemap: true,
60
- target: (tsConfig === null || tsConfig === void 0 ? void 0 : tsConfig.target) || "esnext",
61
- treeShaking: true,
62
- watch: isWatching && {
52
+ }, logLevel: "silent", metafile: true, minify: isProduction, outfile, plugins: [(0, plugins_1.jsxPlugin)(tsConfig)], platform, sourcemap: true, target: (tsConfig === null || tsConfig === void 0 ? void 0 : tsConfig.target) || "esnext", treeShaking: true, watch: isWatching && {
63
53
  onRebuild(bundleError) {
64
54
  return __awaiter(this, void 0, void 0, function* () {
65
55
  let error = bundleError;
66
- if (error) {
67
- onWatch(error);
68
- return;
56
+ if (isLiveReloadable) {
57
+ clients.forEach((client) => {
58
+ client.write("data: update\n\n");
59
+ });
60
+ clients = [];
69
61
  }
70
- if (isTypingRequested) {
62
+ if (!error && isTypingRequested) {
71
63
  try {
72
64
  yield getType();
73
65
  }
@@ -78,10 +70,20 @@ const bundle = ({ isProduction, isFast, onWatch, }) => __awaiter(void 0, void 0,
78
70
  onWatch(error);
79
71
  });
80
72
  },
81
- },
82
- });
73
+ } }));
83
74
  return outfile;
84
75
  });
76
+ if (isLiveReloadable) {
77
+ servePort = yield (0, helpers_1.getAvailablePortFrom)(servePort);
78
+ (0, http_1.createServer)((_, res) => {
79
+ clients.push(res.writeHead(200, {
80
+ "Content-Type": "text/event-stream",
81
+ "Cache-Control": "no-cache",
82
+ "Access-Control-Allow-Origin": "*",
83
+ }));
84
+ }).listen(servePort);
85
+ (0, helpers_1.openBrowser)(serveEntryPoint);
86
+ }
85
87
  const promises = [
86
88
  ...(isWatching
87
89
  ? [getJavaScript(hasModule ? "esm" : "cjs")]
@@ -91,3 +93,5 @@ const bundle = ({ isProduction, isFast, onWatch, }) => __awaiter(void 0, void 0,
91
93
  return Promise.all(promises);
92
94
  });
93
95
  exports.bundle = bundle;
96
+ let clients = [];
97
+ let servePort = 9000;
package/bin/helpers.d.ts CHANGED
@@ -3,3 +3,5 @@ import { readFile as fsReadFile } from "fs";
3
3
  export declare const readFile: typeof fsReadFile.__promisify__;
4
4
  export declare const resolveModulePath: (path: string) => boolean;
5
5
  export declare function assert(condition: unknown, message: string): asserts condition;
6
+ export declare const getAvailablePortFrom: (port: number) => Promise<number>;
7
+ export declare const openBrowser: (filename: string) => void;
package/bin/helpers.js CHANGED
@@ -1,8 +1,19 @@
1
1
  "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assert = exports.resolveModulePath = exports.readFile = void 0;
12
+ exports.openBrowser = exports.getAvailablePortFrom = exports.assert = exports.resolveModulePath = exports.readFile = void 0;
4
13
  const util_1 = require("util");
5
14
  const fs_1 = require("fs");
15
+ const net_1 = require("net");
16
+ const child_process_1 = require("child_process");
6
17
  const constants_1 = require("./constants");
7
18
  exports.readFile = (0, util_1.promisify)(fs_1.readFile);
8
19
  const resolveModulePath = (path) => {
@@ -20,3 +31,29 @@ function assert(condition, message) {
20
31
  }
21
32
  }
22
33
  exports.assert = assert;
34
+ const getAvailablePortFrom = (port) => __awaiter(void 0, void 0, void 0, function* () {
35
+ return new Promise((resolve) => {
36
+ const server = (0, net_1.createServer)();
37
+ server.listen(port);
38
+ server.on("listening", () => server.close(() => resolve(port)));
39
+ server.on("error", () => {
40
+ server.listen(++port);
41
+ });
42
+ });
43
+ });
44
+ exports.getAvailablePortFrom = getAvailablePortFrom;
45
+ const openBrowser = (filename) => {
46
+ const bins = {
47
+ darwin: "open",
48
+ linux: "xdg-open",
49
+ };
50
+ const { platform } = process;
51
+ if (platform !== "darwin" && platform !== "linux") {
52
+ return;
53
+ }
54
+ if (!(0, fs_1.existsSync)(filename)) {
55
+ throw new Error(`Unable to find ${filename}.\nPotential solutions:\n1. Create the missing file\n2. Edit the serve entrypoint to match an existing html file`);
56
+ }
57
+ (0, child_process_1.spawn)(bins[platform], [filename]);
58
+ };
59
+ exports.openBrowser = openBrowser;
@@ -17,6 +17,12 @@ const createWatchCommand = (program) => {
17
17
  .command({
18
18
  name: "watch",
19
19
  description: "Watch and rebuild on any code change (development mode)",
20
+ })
21
+ .option({
22
+ key: "serve",
23
+ description: "Set the HTML entrypoint to enable and open a live reloadable client",
24
+ name: "serve",
25
+ defaultValue: undefined,
20
26
  })
21
27
  .task({
22
28
  key: "callbacks",
@@ -38,6 +44,7 @@ const createWatchCommand = (program) => {
38
44
  callbacks.onSuccess();
39
45
  }
40
46
  },
47
+ serveEntryPoint: context.serve,
41
48
  })
42
49
  .then(() => callbacks.onSuccess())
43
50
  .catch((error) => {
@@ -58,6 +65,9 @@ const createWatchCommand = (program) => {
58
65
  });
59
66
  return;
60
67
  }
68
+ if (context.serve) {
69
+ termost_1.helpers.message("Live reload enabled");
70
+ }
61
71
  termost_1.helpers.message(`Last update at ${new Date().toLocaleTimeString()}\n${message ? `\n${message}\n` : ""}`, { type });
62
72
  };
63
73
  context.callbacks.onSuccess = () => onNotify("success");
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es6.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/helpers.ts","../node_modules/termost/dist/types.d.ts","../node_modules/termost/dist/api/command/command.d.ts","../node_modules/termost/dist/api/command/controller/index.d.ts","../node_modules/termost/dist/api/command/index.d.ts","../node_modules/termost/dist/api/input/index.d.ts","../node_modules/termost/dist/api/option/index.d.ts","../node_modules/termost/dist/api/task/index.d.ts","../node_modules/termost/dist/termost.d.ts","../node_modules/termost/dist/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/gzip-size/index.d.ts","../node_modules/esbuild/lib/main.d.ts","../src/types.ts","../src/bundler/package.ts","../node_modules/typescript/lib/typescript.d.ts","../src/bundler/typescript.ts","../src/bundler/plugins.ts","../src/bundler/bundler.ts","../src/bundler/index.ts","../src/program/types.ts","../src/program/commands/build.ts","../src/program/commands/watch.ts","../src/program/index.ts","../src/index.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/minimist/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts","../node_modules/@types/parse-json/index.d.ts","../node_modules/@types/retry/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"6a6d2cb50edd9c74a0187c9e831887833f8421ebb000450ede029b98a055f4c1","c36119ffcc54f6828086253f0aa3641bc15aa756a6315b749a9b2c04dc6eb1f9","03b8387262de9ad4456d05285ae50a7b75290a4b2e8ca645334c236dbee0fae9","7535fb001c17f6e616fb43e3b3ec737317aaa1e04afc463644c030ebed4cd759","a0d7fe3720632526b71f045499c81543825f399812691e31aace32505287fc6e","b93db58ae819b77c2f7315d1002ecd2a971600a1c9c6381ec2a372706977ccdf","14f52ab5ad96a776756ccd3d0725d798f1082df12b56ab385a50a181d2eb6523","9b72bc8865e0f7c683208138db9a1f8009acc600fae4a7c99f08a4bd6eca29d2","77e94490f77549d6f1c2e84740724b8c8cd3032902cb1db66813be4073f2c05c","0daaf4c47c31f39d2d23dc7686f93037d83c8df3fdd605ef32f9933e7178be07","18942af75ca1b281bb83de00a29199de62c8fbb412ff0beb522c03cd5773bac0","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","aad03645286ed080d3727064df72eb785467053f04ed4460118a8ef45865574e","f6801b113c81e3b4ef0b2b27e457cd1a269b72339312bb716be93a199d8d0bc3","74fc8de25649a72263bbf34d7c83eedbd942ffefa6d8548400eeac4b85f2283e","b1688d27fceabc88947a1f499c84ff3cf5bfd4f3ec97e295de4ca6c804ff4316","ba00bb2ada9a5b7e0ab18c7282c0161f5af809112e4439b35c8b3853f7d436a7","6d36def13737619be5ebc21250eb9b20fa6bfca10fde8f8c4bad53fba4dd71ff","c3702d17568e25ad6e04c650bbd149bbb7c3dd4ca56250f96aae28ad4886f5fc","e0da38f8be5c498085f0dc9fb09ac06c1f59a051028e4e0b3ae3568e71fc36d7","a2ed2934be2573714b8813048816502690f52c7fc5ade4ad572e40d4d852986c","7f5c1d30755f7687c4bc68536321b3d35e5f0b9ab087988252507cd07ca7c2df","5502f73f14e9107ddcf4e883a928c3de49117dbae57f0c8cc81ded44aa2b69e0","74bafd872790b98fd1c4e8628f9fd67b8ba86031e74d7562aa7acedeb7c82bee","372aac5697ed2bde7d94beeab33c87741c9790cfbc6637e4ba85eb1de6470dce","d97a85dd1a2300ce93325a9675eb90f6dfaaa8d832991fb61e1a27b439d720e3","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":true,"jsx":4,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"strict":true,"target":2},"fileIdsList":[[98],[55,98],[58,98],[59,64,98],[60,70,71,78,87,97,98],[60,61,70,78,98],[62,98],[63,64,71,79,98],[64,87,94,98],[65,67,70,78,98],[66,98],[67,68,98],[69,70,98],[70,98],[70,71,72,87,97,98],[70,71,72,87,98],[73,78,87,97,98],[70,71,73,74,78,87,94,97,98],[73,75,87,94,97,98],[55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],[70,76,98],[77,97,98],[67,70,78,87,98],[79,98],[80,98],[58,81,98],[82,96,98,102],[83,98],[84,98],[70,85,98],[85,86,98,100],[70,87,88,89,98],[87,89,98],[87,88,98],[90,98],[91,98],[70,92,93,98],[92,93,98],[64,78,87,94,98],[95,98],[78,96,98],[59,73,84,97,98],[64,98],[87,98,99],[98,100],[98,101],[59,64,70,72,81,87,97,98,100,102],[87,98,103],[87,98,103,105],[46,98],[47,48,98],[46,49,98],[53,98],[46,49,50,51,52,98],[44,98,107,108,109,111,112],[98,113],[44,45,80,98],[45,98,107,111],[44,54,80,98,110],[44,71,98],[98,118],[45,54,98,106,114,115],[54,98,114,115],[54,98,115,116,117]],"referencedMap":[[120,1],[121,1],[122,1],[55,2],[56,2],[58,3],[59,4],[60,5],[61,6],[62,7],[63,8],[64,9],[65,10],[66,11],[67,12],[68,12],[69,13],[70,14],[71,15],[72,16],[57,1],[104,1],[73,17],[74,18],[75,19],[105,20],[76,21],[77,22],[78,23],[79,24],[80,25],[81,26],[82,27],[83,28],[84,29],[85,30],[86,31],[87,32],[89,33],[88,34],[90,35],[91,36],[92,37],[93,38],[94,39],[95,40],[96,41],[97,42],[98,43],[99,44],[100,45],[101,46],[102,47],[103,48],[123,1],[124,1],[125,1],[107,1],[106,49],[47,50],[48,50],[49,51],[50,50],[51,52],[52,50],[54,53],[53,54],[46,1],[9,1],[10,1],[14,1],[13,1],[3,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[4,1],[5,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[35,1],[36,1],[37,1],[8,1],[42,1],[38,1],[39,1],[40,1],[41,1],[2,1],[1,1],[43,1],[12,1],[11,1],[110,1],[113,55],[114,56],[109,57],[112,58],[111,59],[44,1],[45,60],[119,61],[116,62],[117,63],[118,64],[115,1],[108,1]],"exportedModulesMap":[[120,1],[121,1],[122,1],[55,2],[56,2],[58,3],[59,4],[60,5],[61,6],[62,7],[63,8],[64,9],[65,10],[66,11],[67,12],[68,12],[69,13],[70,14],[71,15],[72,16],[57,1],[104,1],[73,17],[74,18],[75,19],[105,20],[76,21],[77,22],[78,23],[79,24],[80,25],[81,26],[82,27],[83,28],[84,29],[85,30],[86,31],[87,32],[89,33],[88,34],[90,35],[91,36],[92,37],[93,38],[94,39],[95,40],[96,41],[97,42],[98,43],[99,44],[100,45],[101,46],[102,47],[103,48],[123,1],[124,1],[125,1],[107,1],[106,49],[47,50],[48,50],[49,51],[50,50],[51,52],[52,50],[54,53],[53,54],[46,1],[9,1],[10,1],[14,1],[13,1],[3,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[4,1],[5,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[35,1],[36,1],[37,1],[8,1],[42,1],[38,1],[39,1],[40,1],[41,1],[2,1],[1,1],[43,1],[12,1],[11,1],[110,1],[113,55],[114,56],[109,57],[112,58],[111,59],[44,1],[45,60],[119,61],[116,62],[117,63],[118,64],[115,1],[108,1]],"semanticDiagnosticsPerFile":[120,121,122,55,56,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,57,104,73,74,75,105,76,77,78,79,80,81,82,83,84,85,86,87,89,88,90,91,92,93,94,95,96,97,98,99,100,101,102,103,123,124,125,107,106,47,48,49,50,51,52,54,53,46,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,34,35,36,37,8,42,38,39,40,41,2,1,43,12,11,110,113,114,109,112,111,44,45,119,116,117,118,115,108]},"version":"4.6.3"}
1
+ {"program":{"fileNames":["../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es6.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.dom.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/helpers.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/types.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/api/command/command.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/api/command/controller/index.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/api/command/index.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/api/input/index.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/api/option/index.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/api/task/index.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/termost.d.ts","../node_modules/.pnpm/termost@0.9.0/node_modules/termost/dist/index.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/assert.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/assert/strict.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/globals.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/async_hooks.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/buffer.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/child_process.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/cluster.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/console.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/constants.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/crypto.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/dgram.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/dns.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/dns/promises.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/domain.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/events.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/fs.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/fs/promises.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/http.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/http2.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/https.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/inspector.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/module.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/net.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/os.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/path.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/perf_hooks.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/process.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/punycode.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/querystring.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/readline.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/repl.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/stream.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/stream/promises.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/stream/consumers.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/stream/web.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/string_decoder.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/timers.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/timers/promises.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/tls.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/trace_events.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/tty.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/url.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/util.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/v8.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/vm.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/wasi.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/worker_threads.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/zlib.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/globals.global.d.ts","../node_modules/.pnpm/@types+node@17.0.23/node_modules/@types/node/index.d.ts","../node_modules/.pnpm/gzip-size@6.0.0/node_modules/gzip-size/index.d.ts","../node_modules/.pnpm/esbuild@0.14.30/node_modules/esbuild/lib/main.d.ts","../src/types.ts","../src/bundler/package.ts","../node_modules/.pnpm/typescript@4.6.3/node_modules/typescript/lib/typescript.d.ts","../src/bundler/typescript.ts","../src/bundler/plugins.ts","../src/bundler/bundler.ts","../src/bundler/index.ts","../src/program/types.ts","../src/program/commands/build.ts","../src/program/commands/watch.ts","../src/program/index.ts","../src/index.ts","../node_modules/.pnpm/@types+json-schema@7.0.11/node_modules/@types/json-schema/index.d.ts","../node_modules/.pnpm/@types+json5@0.0.29/node_modules/@types/json5/index.d.ts","../node_modules/.pnpm/@types+minimist@1.2.2/node_modules/@types/minimist/index.d.ts","../node_modules/.pnpm/@types+normalize-package-data@2.4.1/node_modules/@types/normalize-package-data/index.d.ts","../node_modules/.pnpm/@types+parse-json@4.0.0/node_modules/@types/parse-json/index.d.ts","../node_modules/.pnpm/@types+retry@0.12.1/node_modules/@types/retry/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"6a6d2cb50edd9c74a0187c9e831887833f8421ebb000450ede029b98a055f4c1","be34bfb2d9fd96600c4718940a1a3b8891deb9dddbd6ea50e3b41d819a44aea2","03b8387262de9ad4456d05285ae50a7b75290a4b2e8ca645334c236dbee0fae9","7535fb001c17f6e616fb43e3b3ec737317aaa1e04afc463644c030ebed4cd759","a0d7fe3720632526b71f045499c81543825f399812691e31aace32505287fc6e","b93db58ae819b77c2f7315d1002ecd2a971600a1c9c6381ec2a372706977ccdf","14f52ab5ad96a776756ccd3d0725d798f1082df12b56ab385a50a181d2eb6523","9b72bc8865e0f7c683208138db9a1f8009acc600fae4a7c99f08a4bd6eca29d2","77e94490f77549d6f1c2e84740724b8c8cd3032902cb1db66813be4073f2c05c","0daaf4c47c31f39d2d23dc7686f93037d83c8df3fdd605ef32f9933e7178be07","18942af75ca1b281bb83de00a29199de62c8fbb412ff0beb522c03cd5773bac0","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","aad03645286ed080d3727064df72eb785467053f04ed4460118a8ef45865574e","f6801b113c81e3b4ef0b2b27e457cd1a269b72339312bb716be93a199d8d0bc3","74fc8de25649a72263bbf34d7c83eedbd942ffefa6d8548400eeac4b85f2283e","b1688d27fceabc88947a1f499c84ff3cf5bfd4f3ec97e295de4ca6c804ff4316","ba00bb2ada9a5b7e0ab18c7282c0161f5af809112e4439b35c8b3853f7d436a7","6d36def13737619be5ebc21250eb9b20fa6bfca10fde8f8c4bad53fba4dd71ff","c3702d17568e25ad6e04c650bbd149bbb7c3dd4ca56250f96aae28ad4886f5fc","10f01fcc53d332e17f1e911cc88b0b5904446ef29423fcfbfe8de9b5713ad699","a2ed2934be2573714b8813048816502690f52c7fc5ade4ad572e40d4d852986c","7f5c1d30755f7687c4bc68536321b3d35e5f0b9ab087988252507cd07ca7c2df","5502f73f14e9107ddcf4e883a928c3de49117dbae57f0c8cc81ded44aa2b69e0","6def69fe742c851d86451abfe44db93360edfbfc7d3916a609ca93d6b6aad37c","372aac5697ed2bde7d94beeab33c87741c9790cfbc6637e4ba85eb1de6470dce","d97a85dd1a2300ce93325a9675eb90f6dfaaa8d832991fb61e1a27b439d720e3","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":true,"jsx":4,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"strict":true,"target":2},"fileIdsList":[[98],[55,98],[58,98],[59,64,98],[60,70,71,78,87,97,98],[60,61,70,78,98],[62,98],[63,64,71,79,98],[64,87,94,98],[65,67,70,78,98],[66,98],[67,68,98],[69,70,98],[70,98],[70,71,72,87,97,98],[70,71,72,87,98],[73,78,87,97,98],[70,71,73,74,78,87,94,97,98],[73,75,87,94,97,98],[55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],[70,76,98],[77,97,98],[67,70,78,87,98],[79,98],[80,98],[58,81,98],[82,96,98,102],[83,98],[84,98],[70,85,98],[85,86,98,100],[70,87,88,89,98],[87,89,98],[87,88,98],[90,98],[91,98],[70,92,93,98],[92,93,98],[64,78,87,94,98],[95,98],[78,96,98],[59,73,84,97,98],[64,98],[87,98,99],[98,100],[98,101],[59,64,70,72,81,87,97,98,100,102],[87,98,103],[87,98,103,105],[46,98],[47,48,98],[46,49,98],[53,98],[46,49,50,51,52,98],[44,45,73,98,107,108,109,111,112],[98,113],[44,45,80,98],[45,98,107,111],[44,54,80,98,110],[44,60,71,78,98],[98,118],[45,54,98,106,114,115],[54,98,114,115],[54,98,115,116,117]],"referencedMap":[[120,1],[121,1],[122,1],[55,2],[56,2],[58,3],[59,4],[60,5],[61,6],[62,7],[63,8],[64,9],[65,10],[66,11],[67,12],[68,12],[69,13],[70,14],[71,15],[72,16],[57,1],[104,1],[73,17],[74,18],[75,19],[105,20],[76,21],[77,22],[78,23],[79,24],[80,25],[81,26],[82,27],[83,28],[84,29],[85,30],[86,31],[87,32],[89,33],[88,34],[90,35],[91,36],[92,37],[93,38],[94,39],[95,40],[96,41],[97,42],[98,43],[99,44],[100,45],[101,46],[102,47],[103,48],[123,1],[124,1],[125,1],[107,1],[106,49],[47,50],[48,50],[49,51],[50,50],[51,52],[52,50],[54,53],[53,54],[46,1],[9,1],[10,1],[14,1],[13,1],[3,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[4,1],[5,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[35,1],[36,1],[37,1],[8,1],[42,1],[38,1],[39,1],[40,1],[41,1],[2,1],[1,1],[43,1],[12,1],[11,1],[110,1],[113,55],[114,56],[109,57],[112,58],[111,59],[44,1],[45,60],[119,61],[116,62],[117,63],[118,64],[115,1],[108,1]],"exportedModulesMap":[[120,1],[121,1],[122,1],[55,2],[56,2],[58,3],[59,4],[60,5],[61,6],[62,7],[63,8],[64,9],[65,10],[66,11],[67,12],[68,12],[69,13],[70,14],[71,15],[72,16],[57,1],[104,1],[73,17],[74,18],[75,19],[105,20],[76,21],[77,22],[78,23],[79,24],[80,25],[81,26],[82,27],[83,28],[84,29],[85,30],[86,31],[87,32],[89,33],[88,34],[90,35],[91,36],[92,37],[93,38],[94,39],[95,40],[96,41],[97,42],[98,43],[99,44],[100,45],[101,46],[102,47],[103,48],[123,1],[124,1],[125,1],[107,1],[106,49],[47,50],[48,50],[49,51],[50,50],[51,52],[52,50],[54,53],[53,54],[46,1],[9,1],[10,1],[14,1],[13,1],[3,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[4,1],[5,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[35,1],[36,1],[37,1],[8,1],[42,1],[38,1],[39,1],[40,1],[41,1],[2,1],[1,1],[43,1],[12,1],[11,1],[110,1],[113,55],[114,56],[109,57],[112,58],[111,59],[44,1],[45,60],[119,61],[116,62],[117,63],[118,64],[115,1],[108,1]],"semanticDiagnosticsPerFile":[120,121,122,55,56,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,57,104,73,74,75,105,76,77,78,79,80,81,82,83,84,85,86,87,89,88,90,91,92,93,94,95,96,97,98,99,100,101,102,103,123,124,125,107,106,47,48,49,50,51,52,54,53,46,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,34,35,36,37,8,42,38,39,40,41,2,1,43,12,11,110,113,114,109,112,111,44,45,119,116,117,118,115,108]},"version":"4.6.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quickbundle",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "bin": {
5
5
  "quickbundle": "bin/index.js"
6
6
  },
@@ -28,20 +28,20 @@
28
28
  ],
29
29
  "main": "bin/index.js",
30
30
  "scripts": {
31
- "prepublishOnly": "yarn verify && yarn build",
32
- "prestart": "yarn build",
31
+ "prepublishOnly": "pnpm verify && pnpm build",
32
+ "prestart": "pnpm build",
33
33
  "start": "bin/index.js",
34
34
  "clean": "rm -rf bin",
35
35
  "build": "tsc && chmod +x bin/index.js",
36
36
  "watch": "tsc -w",
37
37
  "release": "semantic-release",
38
- "verify": "yarn lint & tsc --noEmit",
39
- "fix": "yarn lint --fix",
38
+ "verify": "pnpm lint & tsc --noEmit",
39
+ "fix": "pnpm lint --fix",
40
40
  "lint": "eslint . --ignore-path .gitignore",
41
41
  "format": "prettier . --ignore-path .gitignore --ignore-path .prettierignore --write"
42
42
  },
43
43
  "dependencies": {
44
- "esbuild": "0.14.29",
44
+ "esbuild": "0.14.30",
45
45
  "gzip-size": "6.0.0",
46
46
  "termost": "0.9.0"
47
47
  },
@@ -85,10 +85,10 @@
85
85
  },
86
86
  "lint-staged": {
87
87
  "**/*.{js,jsx,ts,tsx}": [
88
- "yarn lint"
88
+ "pnpm lint"
89
89
  ],
90
90
  "**/*.{json,md,mdx,html,css}": [
91
- "yarn format"
91
+ "pnpm format"
92
92
  ]
93
93
  },
94
94
  "release": {