@quilted/create 0.1.30 → 0.1.31
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 +6 -0
- package/build/cjs/app.cjs +10 -12
- package/build/cjs/package.cjs +9 -9
- package/build/cjs/{package-manager.cjs → shared/package-manager.cjs} +44 -8
- package/build/esm/app.mjs +10 -12
- package/build/esm/package.mjs +9 -9
- package/build/esm/{package-manager.mjs → shared/package-manager.mjs} +43 -7
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/typescript/app.d.ts.map +1 -1
- package/build/typescript/package.d.ts.map +1 -1
- package/build/typescript/shared/prompts.d.ts +2 -2
- package/build/typescript/shared/prompts.d.ts.map +1 -1
- package/package.json +1 -1
- package/source/app.ts +10 -9
- package/source/package.ts +7 -6
- package/source/shared/prompts.ts +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @quilted/create
|
|
2
2
|
|
|
3
|
+
## 0.1.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`20390858`](https://github.com/lemonmade/quilt/commit/2039085884e75951ff020f63a4fcc94f6d06d135) Thanks [@lemonmade](https://github.com/lemonmade)! - Add package manager running utilities to cli-kit
|
|
8
|
+
|
|
3
9
|
## 0.1.30
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/build/cjs/app.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('node:fs');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var
|
|
6
|
-
var packageManager = require('./package-manager.cjs');
|
|
5
|
+
var packageManager = require('./shared/package-manager.cjs');
|
|
7
6
|
var index = require('./index.cjs');
|
|
8
7
|
require('node:tty');
|
|
8
|
+
require('node:child_process');
|
|
9
9
|
require('node:url');
|
|
10
10
|
require('node:readline');
|
|
11
11
|
require('node:events');
|
|
@@ -263,7 +263,9 @@ async function createApp() {
|
|
|
263
263
|
const template = await getTemplate(argv);
|
|
264
264
|
const createAsMonorepo = !inWorkspace && (await packageManager.getCreateAsMonorepo(argv));
|
|
265
265
|
const shouldInstall = await packageManager.getShouldInstall(argv);
|
|
266
|
-
const packageManager$1 = await packageManager.getPackageManager(argv
|
|
266
|
+
const packageManager$1 = await packageManager.getPackageManager(argv, {
|
|
267
|
+
root: directory
|
|
268
|
+
});
|
|
267
269
|
const setupExtras = await packageManager.getExtrasToSetup(argv, {
|
|
268
270
|
inWorkspace
|
|
269
271
|
});
|
|
@@ -303,7 +305,7 @@ async function createApp() {
|
|
|
303
305
|
const workspacePackageJson = JSON.parse(await workspaceTemplate.read('package.json'));
|
|
304
306
|
workspacePackageJson.name = packageManager.toValidPackageName(name);
|
|
305
307
|
|
|
306
|
-
if (packageManager$1 === 'pnpm') {
|
|
308
|
+
if (packageManager$1.type === 'pnpm') {
|
|
307
309
|
await outputRoot.write('pnpm-workspace.yaml', await packageManager.format(`
|
|
308
310
|
packages:
|
|
309
311
|
- './packages/*'
|
|
@@ -362,15 +364,13 @@ async function createApp() {
|
|
|
362
364
|
await outputRoot.write(path__namespace.join(appDirectory, 'package.json'), await packageManager.format(JSON.stringify(projectPackageJson), {
|
|
363
365
|
as: 'json-stringify'
|
|
364
366
|
}));
|
|
365
|
-
await Promise.all([packageManager.addToTsConfig(appDirectory, outputRoot), packageManager.addToPackageManagerWorkspaces(appDirectory, outputRoot, packageManager$1)]);
|
|
367
|
+
await Promise.all([packageManager.addToTsConfig(appDirectory, outputRoot), packageManager.addToPackageManagerWorkspaces(appDirectory, outputRoot, packageManager$1.type)]);
|
|
366
368
|
}
|
|
367
369
|
|
|
368
370
|
if (shouldInstall) {
|
|
369
371
|
process.stdout.write('\nInstalling dependencies...\n'); // TODO: better loading, handle errors
|
|
370
372
|
|
|
371
|
-
|
|
372
|
-
cwd: rootDirectory
|
|
373
|
-
});
|
|
373
|
+
await packageManager$1.install();
|
|
374
374
|
process.stdout.moveCursor(0, -1);
|
|
375
375
|
process.stdout.clearLine(1);
|
|
376
376
|
console.log('Installed dependencies.');
|
|
@@ -378,14 +378,12 @@ async function createApp() {
|
|
|
378
378
|
|
|
379
379
|
const commands = [];
|
|
380
380
|
|
|
381
|
-
const packageManagerRun = command => packageManager$1 === 'npm' ? `npm run ${command}` : `pnpm ${command}`;
|
|
382
|
-
|
|
383
381
|
if (!inWorkspace && directory !== process.cwd()) {
|
|
384
382
|
commands.push(`cd ${packageManager.cyan_1(packageManager.relativeDirectoryForDisplay(path__namespace.relative(process.cwd(), directory)))} ${packageManager.dim_1('# Move into your new app’s directory')}`);
|
|
385
383
|
}
|
|
386
384
|
|
|
387
385
|
if (!shouldInstall) {
|
|
388
|
-
commands.push(`${packageManager$1}
|
|
386
|
+
commands.push(`${packageManager$1.commands.install()} ${packageManager.dim_1('# Install all your dependencies')}`);
|
|
389
387
|
}
|
|
390
388
|
|
|
391
389
|
if (!inWorkspace) {
|
|
@@ -393,7 +391,7 @@ async function createApp() {
|
|
|
393
391
|
commands.push(`git init && git add -A && git commit -m "Initial commit" ${packageManager.dim_1('# Start your git history (optional)')}`);
|
|
394
392
|
}
|
|
395
393
|
|
|
396
|
-
commands.push(`${
|
|
394
|
+
commands.push(`${packageManager$1.commands.run('develop')} ${packageManager.dim_1('# Start the development server')}`);
|
|
397
395
|
const whatsNext = index.stripIndent(_t2 || (_t2 = _`
|
|
398
396
|
Your new app is ready to go! There’s just ${0} you’ll need to take
|
|
399
397
|
in order to start developing:
|
package/build/cjs/package.cjs
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('node:fs');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var node_child_process = require('node:child_process');
|
|
6
5
|
var index = require('./index.cjs');
|
|
7
|
-
var packageManager = require('./package-manager.cjs');
|
|
6
|
+
var packageManager = require('./shared/package-manager.cjs');
|
|
8
7
|
require('node:tty');
|
|
9
8
|
require('node:url');
|
|
10
9
|
require('node:readline');
|
|
11
10
|
require('node:events');
|
|
11
|
+
require('node:child_process');
|
|
12
12
|
|
|
13
13
|
function _interopNamespace(e) {
|
|
14
14
|
if (e && e.__esModule) return e;
|
|
@@ -73,7 +73,9 @@ async function createProject() {
|
|
|
73
73
|
const useReact = await getReact(args);
|
|
74
74
|
const createAsMonorepo = !inWorkspace && (await packageManager.getCreateAsMonorepo(args));
|
|
75
75
|
const shouldInstall = await packageManager.getShouldInstall(args);
|
|
76
|
-
const packageManager$1 = await packageManager.getPackageManager(args
|
|
76
|
+
const packageManager$1 = await packageManager.getPackageManager(args, {
|
|
77
|
+
root: directory
|
|
78
|
+
});
|
|
77
79
|
const setupExtras = await packageManager.getExtrasToSetup(args, {
|
|
78
80
|
inWorkspace
|
|
79
81
|
});
|
|
@@ -114,7 +116,7 @@ async function createProject() {
|
|
|
114
116
|
const workspacePackageJson = JSON.parse(await workspaceTemplate.read('package.json'));
|
|
115
117
|
workspacePackageJson.name = packageManager.toValidPackageName(name);
|
|
116
118
|
|
|
117
|
-
if (packageManager$1 === 'pnpm') {
|
|
119
|
+
if (packageManager$1.type === 'pnpm') {
|
|
118
120
|
await outputRoot.write('pnpm-workspace.yaml', await packageManager.format(`
|
|
119
121
|
packages:
|
|
120
122
|
- './packages/*'
|
|
@@ -198,15 +200,13 @@ async function createProject() {
|
|
|
198
200
|
as: 'json-stringify'
|
|
199
201
|
}));
|
|
200
202
|
await outputRoot.write(path__namespace.join(packageDirectory, 'quilt.project.ts'), quiltProject);
|
|
201
|
-
await Promise.all([packageManager.addToTsConfig(packageDirectory, outputRoot), packageManager.addToPackageManagerWorkspaces(packageDirectory, outputRoot, packageManager$1)]);
|
|
203
|
+
await Promise.all([packageManager.addToTsConfig(packageDirectory, outputRoot), packageManager.addToPackageManagerWorkspaces(packageDirectory, outputRoot, packageManager$1.type)]);
|
|
202
204
|
}
|
|
203
205
|
|
|
204
206
|
if (shouldInstall) {
|
|
205
207
|
process.stdout.write('\nInstalling dependencies...\n'); // TODO: better loading, handle errors
|
|
206
208
|
|
|
207
|
-
|
|
208
|
-
cwd: rootDirectory
|
|
209
|
-
});
|
|
209
|
+
await packageManager$1.install();
|
|
210
210
|
process.stdout.moveCursor(0, -1);
|
|
211
211
|
process.stdout.clearLine(1);
|
|
212
212
|
console.log('Installed dependencies.');
|
|
@@ -231,7 +231,7 @@ async function createProject() {
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
if (!shouldInstall) {
|
|
234
|
-
commands.push(
|
|
234
|
+
commands.push(`${packageManager$1.commands.install()} ${index.dim_1('# Install all your dependencies')}`);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
if (!inWorkspace) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var require$$0 = require('node:tty');
|
|
4
|
-
var index = require('
|
|
4
|
+
var index = require('../index.cjs');
|
|
5
5
|
var fs = require('node:fs');
|
|
6
|
+
var node_child_process = require('node:child_process');
|
|
6
7
|
var path = require('node:path');
|
|
7
8
|
var node_url = require('node:url');
|
|
8
9
|
|
|
@@ -31,6 +32,41 @@ var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
|
31
32
|
var path__namespace = /*#__PURE__*/_interopNamespace(path);
|
|
32
33
|
|
|
33
34
|
const VALID_PACKAGE_MANAGERS = new Set(['npm', 'pnpm', 'yarn']);
|
|
35
|
+
function createPackageManagerRunner(type, {
|
|
36
|
+
root = process.cwd()
|
|
37
|
+
} = {}) {
|
|
38
|
+
return {
|
|
39
|
+
type,
|
|
40
|
+
commands: {
|
|
41
|
+
run(command, ...args) {
|
|
42
|
+
return type === 'npm' ? `npm run ${command}${stringifyArgs(args)}` : `${type} ${command}${stringifyArgs(args)}`;
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
install(...args) {
|
|
46
|
+
return `${type} install${stringifyArgs(args)}`;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
async install() {
|
|
52
|
+
node_child_process.execSync(`${type} install`, {
|
|
53
|
+
cwd: root
|
|
54
|
+
});
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
async run(command, args) {
|
|
58
|
+
node_child_process.execSync(`${type} ${command} ${args.join(' ')}`, {
|
|
59
|
+
cwd: root
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function stringifyArgs(args) {
|
|
67
|
+
return args.length === 0 ? '' : ` ${args.join(' ')}`;
|
|
68
|
+
}
|
|
69
|
+
|
|
34
70
|
async function getPackageManager$1(explicitPackageManager) {
|
|
35
71
|
if (explicitPackageManager) {
|
|
36
72
|
const normalizedPackageManager = explicitPackageManager.toLowerCase();
|
|
@@ -110,9 +146,9 @@ async function getPackageRoot() {
|
|
|
110
146
|
packageRootPromise = (async () => {
|
|
111
147
|
const {
|
|
112
148
|
packageDirectory
|
|
113
|
-
} = await Promise.resolve().then(function () { return require('
|
|
149
|
+
} = await Promise.resolve().then(function () { return require('../index2.cjs'); });
|
|
114
150
|
return packageDirectory({
|
|
115
|
-
cwd: path__namespace.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('package-manager.cjs', document.baseURI).href))))
|
|
151
|
+
cwd: path__namespace.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('shared/package-manager.cjs', document.baseURI).href))))
|
|
116
152
|
});
|
|
117
153
|
})();
|
|
118
154
|
}
|
|
@@ -178,7 +214,7 @@ async function format(content, {
|
|
|
178
214
|
default: typescript
|
|
179
215
|
}, {
|
|
180
216
|
default: yaml
|
|
181
|
-
}] = await Promise.all([Promise.resolve().then(function () { return require('
|
|
217
|
+
}] = await Promise.all([Promise.resolve().then(function () { return require('../standalone.cjs'); }).then(function (n) { return n.standalone; }), Promise.resolve().then(function () { return require('../parser-babel.cjs'); }).then(function (n) { return n.parserBabel; }), Promise.resolve().then(function () { return require('../parser-typescript.cjs'); }).then(function (n) { return n.parserTypescript; }), Promise.resolve().then(function () { return require('../parser-yaml.cjs'); }).then(function (n) { return n.parserYaml; })]);
|
|
182
218
|
return format(content, {
|
|
183
219
|
arrowParens: 'always',
|
|
184
220
|
bracketSpacing: false,
|
|
@@ -451,9 +487,9 @@ async function getShouldInstall(argv) {
|
|
|
451
487
|
|
|
452
488
|
return shouldInstall;
|
|
453
489
|
}
|
|
454
|
-
async function getPackageManager(argv) {
|
|
490
|
+
async function getPackageManager(argv, options) {
|
|
455
491
|
const packageManager = await getPackageManager$1(argv['--package-manager']);
|
|
456
|
-
return packageManager !== null && packageManager !== void 0 ? packageManager : 'npm';
|
|
492
|
+
return createPackageManagerRunner(packageManager !== null && packageManager !== void 0 ? packageManager : 'npm', options);
|
|
457
493
|
}
|
|
458
494
|
const VALID_EXTRAS = new Set(['github', 'vscode']);
|
|
459
495
|
async function getExtrasToSetup(argv, {
|
|
@@ -570,7 +606,7 @@ async function addToPackageManagerWorkspaces(directory, output, packageManager)
|
|
|
570
606
|
const {
|
|
571
607
|
parse,
|
|
572
608
|
stringify
|
|
573
|
-
} = await Promise.resolve().then(function () { return require('
|
|
609
|
+
} = await Promise.resolve().then(function () { return require('../index3.cjs'); }).then(function (n) { return n.index; });
|
|
574
610
|
const workspaceYaml = parse(await output.read('pnpm-workspace.yaml'));
|
|
575
611
|
workspaceYaml.packages = await addToWorkspaces(path.relative(output.root, directory), (_workspaceYaml$packag = workspaceYaml.packages) !== null && _workspaceYaml$packag !== void 0 ? _workspaceYaml$packag : []);
|
|
576
612
|
await output.write('pnpm-workspace.yaml', await format(stringify(workspaceYaml), {
|
|
@@ -597,7 +633,7 @@ async function addToWorkspaces(relative, workspaces) {
|
|
|
597
633
|
let hasMatch = false;
|
|
598
634
|
const {
|
|
599
635
|
default: minimatch
|
|
600
|
-
} = await Promise.resolve().then(function () { return require('
|
|
636
|
+
} = await Promise.resolve().then(function () { return require('../minimatch.cjs'); }).then(function (n) { return n.minimatch; });
|
|
601
637
|
|
|
602
638
|
for (const pattern of workspaces) {
|
|
603
639
|
let normalizedPattern = pattern;
|
package/build/esm/app.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
|
-
import {
|
|
4
|
-
import { c as cyan_1, b as bold_1, g as getCreateAsMonorepo, a as getShouldInstall, d as getPackageManager, e as getExtrasToSetup, f as emptyDirectory, t as toValidPackageName, h as format, m as mergeDependencies, l as loadTemplate, i as addToTsConfig, j as addToPackageManagerWorkspaces, r as relativeDirectoryForDisplay, k as dim_1, u as underline_1, n as magenta_1, o as isEmpty, p as createOutputTarget } from './package-manager.mjs';
|
|
3
|
+
import { c as cyan_1, b as bold_1, g as getCreateAsMonorepo, a as getShouldInstall, d as getPackageManager, e as getExtrasToSetup, f as emptyDirectory, t as toValidPackageName, h as format, m as mergeDependencies, l as loadTemplate, i as addToTsConfig, j as addToPackageManagerWorkspaces, r as relativeDirectoryForDisplay, k as dim_1, u as underline_1, n as magenta_1, o as isEmpty, p as createOutputTarget } from './shared/package-manager.mjs';
|
|
5
4
|
import { s as stripIndent, p as printHelp, a as prompt } from './index.mjs';
|
|
6
5
|
import 'node:tty';
|
|
6
|
+
import 'node:child_process';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'node:readline';
|
|
9
9
|
import 'node:events';
|
|
@@ -240,7 +240,9 @@ async function createApp() {
|
|
|
240
240
|
const template = await getTemplate(argv);
|
|
241
241
|
const createAsMonorepo = !inWorkspace && (await getCreateAsMonorepo(argv));
|
|
242
242
|
const shouldInstall = await getShouldInstall(argv);
|
|
243
|
-
const packageManager = await getPackageManager(argv
|
|
243
|
+
const packageManager = await getPackageManager(argv, {
|
|
244
|
+
root: directory
|
|
245
|
+
});
|
|
244
246
|
const setupExtras = await getExtrasToSetup(argv, {
|
|
245
247
|
inWorkspace
|
|
246
248
|
});
|
|
@@ -280,7 +282,7 @@ async function createApp() {
|
|
|
280
282
|
const workspacePackageJson = JSON.parse(await workspaceTemplate.read('package.json'));
|
|
281
283
|
workspacePackageJson.name = toValidPackageName(name);
|
|
282
284
|
|
|
283
|
-
if (packageManager === 'pnpm') {
|
|
285
|
+
if (packageManager.type === 'pnpm') {
|
|
284
286
|
await outputRoot.write('pnpm-workspace.yaml', await format(`
|
|
285
287
|
packages:
|
|
286
288
|
- './packages/*'
|
|
@@ -339,15 +341,13 @@ async function createApp() {
|
|
|
339
341
|
await outputRoot.write(path.join(appDirectory, 'package.json'), await format(JSON.stringify(projectPackageJson), {
|
|
340
342
|
as: 'json-stringify'
|
|
341
343
|
}));
|
|
342
|
-
await Promise.all([addToTsConfig(appDirectory, outputRoot), addToPackageManagerWorkspaces(appDirectory, outputRoot, packageManager)]);
|
|
344
|
+
await Promise.all([addToTsConfig(appDirectory, outputRoot), addToPackageManagerWorkspaces(appDirectory, outputRoot, packageManager.type)]);
|
|
343
345
|
}
|
|
344
346
|
|
|
345
347
|
if (shouldInstall) {
|
|
346
348
|
process.stdout.write('\nInstalling dependencies...\n'); // TODO: better loading, handle errors
|
|
347
349
|
|
|
348
|
-
|
|
349
|
-
cwd: rootDirectory
|
|
350
|
-
});
|
|
350
|
+
await packageManager.install();
|
|
351
351
|
process.stdout.moveCursor(0, -1);
|
|
352
352
|
process.stdout.clearLine(1);
|
|
353
353
|
console.log('Installed dependencies.');
|
|
@@ -355,14 +355,12 @@ async function createApp() {
|
|
|
355
355
|
|
|
356
356
|
const commands = [];
|
|
357
357
|
|
|
358
|
-
const packageManagerRun = command => packageManager === 'npm' ? `npm run ${command}` : `pnpm ${command}`;
|
|
359
|
-
|
|
360
358
|
if (!inWorkspace && directory !== process.cwd()) {
|
|
361
359
|
commands.push(`cd ${cyan_1(relativeDirectoryForDisplay(path.relative(process.cwd(), directory)))} ${dim_1('# Move into your new app’s directory')}`);
|
|
362
360
|
}
|
|
363
361
|
|
|
364
362
|
if (!shouldInstall) {
|
|
365
|
-
commands.push(`${packageManager}
|
|
363
|
+
commands.push(`${packageManager.commands.install()} ${dim_1('# Install all your dependencies')}`);
|
|
366
364
|
}
|
|
367
365
|
|
|
368
366
|
if (!inWorkspace) {
|
|
@@ -370,7 +368,7 @@ async function createApp() {
|
|
|
370
368
|
commands.push(`git init && git add -A && git commit -m "Initial commit" ${dim_1('# Start your git history (optional)')}`);
|
|
371
369
|
}
|
|
372
370
|
|
|
373
|
-
commands.push(`${
|
|
371
|
+
commands.push(`${packageManager.commands.run('develop')} ${dim_1('# Start the development server')}`);
|
|
374
372
|
const whatsNext = stripIndent(_t2 || (_t2 = _`
|
|
375
373
|
Your new app is ready to go! There’s just ${0} you’ll need to take
|
|
376
374
|
in order to start developing:
|
package/build/esm/package.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
|
-
import { execSync } from 'node:child_process';
|
|
4
3
|
import { s as stripIndent, c as cyan_1, p as printHelp, b as bold_1, d as dim_1, u as underline_1, m as magenta_1, e as parseArguments, a as prompt } from './index.mjs';
|
|
5
|
-
import { g as getCreateAsMonorepo, a as getShouldInstall, d as getPackageManager, e as getExtrasToSetup, t as toValidPackageName, f as emptyDirectory, h as format, m as mergeDependencies, l as loadTemplate, i as addToTsConfig, j as addToPackageManagerWorkspaces, r as relativeDirectoryForDisplay, o as isEmpty, p as createOutputTarget } from './package-manager.mjs';
|
|
4
|
+
import { g as getCreateAsMonorepo, a as getShouldInstall, d as getPackageManager, e as getExtrasToSetup, t as toValidPackageName, f as emptyDirectory, h as format, m as mergeDependencies, l as loadTemplate, i as addToTsConfig, j as addToPackageManagerWorkspaces, r as relativeDirectoryForDisplay, o as isEmpty, p as createOutputTarget } from './shared/package-manager.mjs';
|
|
6
5
|
import 'node:tty';
|
|
7
6
|
import 'node:url';
|
|
8
7
|
import 'node:readline';
|
|
9
8
|
import 'node:events';
|
|
9
|
+
import 'node:child_process';
|
|
10
10
|
|
|
11
11
|
let _ = t => t,
|
|
12
12
|
_t,
|
|
@@ -50,7 +50,9 @@ async function createProject() {
|
|
|
50
50
|
const useReact = await getReact(args);
|
|
51
51
|
const createAsMonorepo = !inWorkspace && (await getCreateAsMonorepo(args));
|
|
52
52
|
const shouldInstall = await getShouldInstall(args);
|
|
53
|
-
const packageManager = await getPackageManager(args
|
|
53
|
+
const packageManager = await getPackageManager(args, {
|
|
54
|
+
root: directory
|
|
55
|
+
});
|
|
54
56
|
const setupExtras = await getExtrasToSetup(args, {
|
|
55
57
|
inWorkspace
|
|
56
58
|
});
|
|
@@ -91,7 +93,7 @@ async function createProject() {
|
|
|
91
93
|
const workspacePackageJson = JSON.parse(await workspaceTemplate.read('package.json'));
|
|
92
94
|
workspacePackageJson.name = toValidPackageName(name);
|
|
93
95
|
|
|
94
|
-
if (packageManager === 'pnpm') {
|
|
96
|
+
if (packageManager.type === 'pnpm') {
|
|
95
97
|
await outputRoot.write('pnpm-workspace.yaml', await format(`
|
|
96
98
|
packages:
|
|
97
99
|
- './packages/*'
|
|
@@ -175,15 +177,13 @@ async function createProject() {
|
|
|
175
177
|
as: 'json-stringify'
|
|
176
178
|
}));
|
|
177
179
|
await outputRoot.write(path.join(packageDirectory, 'quilt.project.ts'), quiltProject);
|
|
178
|
-
await Promise.all([addToTsConfig(packageDirectory, outputRoot), addToPackageManagerWorkspaces(packageDirectory, outputRoot, packageManager)]);
|
|
180
|
+
await Promise.all([addToTsConfig(packageDirectory, outputRoot), addToPackageManagerWorkspaces(packageDirectory, outputRoot, packageManager.type)]);
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
if (shouldInstall) {
|
|
182
184
|
process.stdout.write('\nInstalling dependencies...\n'); // TODO: better loading, handle errors
|
|
183
185
|
|
|
184
|
-
|
|
185
|
-
cwd: rootDirectory
|
|
186
|
-
});
|
|
186
|
+
await packageManager.install();
|
|
187
187
|
process.stdout.moveCursor(0, -1);
|
|
188
188
|
process.stdout.clearLine(1);
|
|
189
189
|
console.log('Installed dependencies.');
|
|
@@ -208,7 +208,7 @@ async function createProject() {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
if (!shouldInstall) {
|
|
211
|
-
commands.push(
|
|
211
|
+
commands.push(`${packageManager.commands.install()} ${dim_1('# Install all your dependencies')}`);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
if (!inWorkspace) {
|
|
@@ -1,12 +1,48 @@
|
|
|
1
1
|
import require$$0 from 'node:tty';
|
|
2
|
-
import { a as prompt } from '
|
|
2
|
+
import { a as prompt } from '../index.mjs';
|
|
3
3
|
import * as fs from 'node:fs';
|
|
4
4
|
import { existsSync } from 'node:fs';
|
|
5
|
+
import { execSync } from 'node:child_process';
|
|
5
6
|
import * as path from 'node:path';
|
|
6
7
|
import { relative } from 'node:path';
|
|
7
8
|
import { fileURLToPath } from 'node:url';
|
|
8
9
|
|
|
9
10
|
const VALID_PACKAGE_MANAGERS = new Set(['npm', 'pnpm', 'yarn']);
|
|
11
|
+
function createPackageManagerRunner(type, {
|
|
12
|
+
root = process.cwd()
|
|
13
|
+
} = {}) {
|
|
14
|
+
return {
|
|
15
|
+
type,
|
|
16
|
+
commands: {
|
|
17
|
+
run(command, ...args) {
|
|
18
|
+
return type === 'npm' ? `npm run ${command}${stringifyArgs(args)}` : `${type} ${command}${stringifyArgs(args)}`;
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
install(...args) {
|
|
22
|
+
return `${type} install${stringifyArgs(args)}`;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
async install() {
|
|
28
|
+
execSync(`${type} install`, {
|
|
29
|
+
cwd: root
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
async run(command, args) {
|
|
34
|
+
execSync(`${type} ${command} ${args.join(' ')}`, {
|
|
35
|
+
cwd: root
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function stringifyArgs(args) {
|
|
43
|
+
return args.length === 0 ? '' : ` ${args.join(' ')}`;
|
|
44
|
+
}
|
|
45
|
+
|
|
10
46
|
async function getPackageManager$1(explicitPackageManager) {
|
|
11
47
|
if (explicitPackageManager) {
|
|
12
48
|
const normalizedPackageManager = explicitPackageManager.toLowerCase();
|
|
@@ -86,7 +122,7 @@ async function getPackageRoot() {
|
|
|
86
122
|
packageRootPromise = (async () => {
|
|
87
123
|
const {
|
|
88
124
|
packageDirectory
|
|
89
|
-
} = await import('
|
|
125
|
+
} = await import('../index2.mjs');
|
|
90
126
|
return packageDirectory({
|
|
91
127
|
cwd: path.dirname(fileURLToPath(import.meta.url))
|
|
92
128
|
});
|
|
@@ -154,7 +190,7 @@ async function format(content, {
|
|
|
154
190
|
default: typescript
|
|
155
191
|
}, {
|
|
156
192
|
default: yaml
|
|
157
|
-
}] = await Promise.all([import('
|
|
193
|
+
}] = await Promise.all([import('../standalone.mjs').then(function (n) { return n.s; }), import('../parser-babel.mjs').then(function (n) { return n.p; }), import('../parser-typescript.mjs').then(function (n) { return n.p; }), import('../parser-yaml.mjs').then(function (n) { return n.p; })]);
|
|
158
194
|
return format(content, {
|
|
159
195
|
arrowParens: 'always',
|
|
160
196
|
bracketSpacing: false,
|
|
@@ -427,9 +463,9 @@ async function getShouldInstall(argv) {
|
|
|
427
463
|
|
|
428
464
|
return shouldInstall;
|
|
429
465
|
}
|
|
430
|
-
async function getPackageManager(argv) {
|
|
466
|
+
async function getPackageManager(argv, options) {
|
|
431
467
|
const packageManager = await getPackageManager$1(argv['--package-manager']);
|
|
432
|
-
return packageManager !== null && packageManager !== void 0 ? packageManager : 'npm';
|
|
468
|
+
return createPackageManagerRunner(packageManager !== null && packageManager !== void 0 ? packageManager : 'npm', options);
|
|
433
469
|
}
|
|
434
470
|
const VALID_EXTRAS = new Set(['github', 'vscode']);
|
|
435
471
|
async function getExtrasToSetup(argv, {
|
|
@@ -546,7 +582,7 @@ async function addToPackageManagerWorkspaces(directory, output, packageManager)
|
|
|
546
582
|
const {
|
|
547
583
|
parse,
|
|
548
584
|
stringify
|
|
549
|
-
} = await import('
|
|
585
|
+
} = await import('../index3.mjs').then(function (n) { return n.i; });
|
|
550
586
|
const workspaceYaml = parse(await output.read('pnpm-workspace.yaml'));
|
|
551
587
|
workspaceYaml.packages = await addToWorkspaces(relative(output.root, directory), (_workspaceYaml$packag = workspaceYaml.packages) !== null && _workspaceYaml$packag !== void 0 ? _workspaceYaml$packag : []);
|
|
552
588
|
await output.write('pnpm-workspace.yaml', await format(stringify(workspaceYaml), {
|
|
@@ -573,7 +609,7 @@ async function addToWorkspaces(relative, workspaces) {
|
|
|
573
609
|
let hasMatch = false;
|
|
574
610
|
const {
|
|
575
611
|
default: minimatch
|
|
576
|
-
} = await import('
|
|
612
|
+
} = await import('../minimatch.mjs').then(function (n) { return n.m; });
|
|
577
613
|
|
|
578
614
|
for (const pattern of workspaces) {
|
|
579
615
|
let normalizedPattern = pattern;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@quilted/typescript/definitions/assets.d.ts","../../../node_modules/@quilted/typescript/definitions/styles.d.ts","../../../node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.d.ts","../../../node_modules/.pnpm/@types+common-tags@1.8.1/node_modules/@types/common-tags/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.d.ts","../../events/build/typescript/abort.d.ts","../../events/build/typescript/types.d.ts","../../events/build/typescript/on.d.ts","../../events/build/typescript/once.d.ts","../../events/build/typescript/listeners.d.ts","../../events/build/typescript/emitter.d.ts","../../events/build/typescript/index.d.ts","../../../node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.4.1/node_modules/@types/prompts/index.d.ts","../../cli-kit/build/typescript/prompt.d.ts","../../cli-kit/build/typescript/template.d.ts","../../cli-kit/build/typescript/package-manager.d.ts","../../cli-kit/build/typescript/index.d.ts","../source/help.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/index.d.ts","../../../node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/standalone.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-babel.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-typescript.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-yaml.d.ts","../source/shared.ts","../source/shared/prompts.ts","../source/shared/tsconfig.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/line-counter.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/errors.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/applyReviver.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/log.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/toJS.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Scalar.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Collection.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLMap.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLSeq.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/types.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/Schema.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/createNode.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Pair.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/tags.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/options.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringify.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Node.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-scalar.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-stringify.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-visit.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Alias.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/Document.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/directives.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/composer.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/lexer.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/parser.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/public-api.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/visit.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/index.d.ts","../../../node_modules/.pnpm/@types+minimatch@3.0.5/node_modules/@types/minimatch/index.d.ts","../source/shared/package-manager.ts","../source/app.ts","../source/package.ts","../source/create.ts","../source/index.ts","../../../node_modules/.pnpm/@types+fs-extra@9.0.13/node_modules/@types/fs-extra/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.0.14/node_modules/@types/prompts/index.d.ts","../../../node_modules/.pnpm/@types+react@17.0.45/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.1.0/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+prop-types@15.7.5/node_modules/@types/prop-types/index.d.ts","../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/.pnpm/@types+react@17.0.45/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@17.0.17/node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","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":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"7e9f54acdee22b52308c4040b668e6f3d83c6795469802a10c7685151f8f137f","e578fd01e69fb19a5b4ad95f193128ef0a142ead8b61d9149cd767762f0cf27d","5fd321c200cd8891db9851493872f01075a3f1032349ed37c458d7f67d8051e2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","c5590caef278ad8ba2532ec93e29a32ac354dfb333277348acce18512891d3b2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","91420633166d9eb6efa614eac6eaeb5975108ed869efdd12e29475a2ed44af72","38e78ef3d6d2fb0d42f091cc4859ddcb65d12d5e7c7cd91079d2c93efef7fa1a","e38cda15170b7e69a52f92256f26ccfa79a43961286894f1b68380b11f9292e4","4d35e0a0f6dbe908b8b50ede27f8bf93b57f0a88db0288d079f7a8e8546af38b","c39cc7c51600ffe42f1fa0b1416121c93ea0836b78110956e9ce06830b3c4e92","64fb47816afad3cec4eabe61d48d4b3ba3aefbd2bb7e84c8b8d2722513d1700a","641507ee0ddc81f0d154484059a1e2c25fa6de51212dffd84ddc291875fb5f72","5faa5a81d34228d0ecb70b59ffca5b04fc5f6ec259f008d4d74098a6f0eeba91","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","90b94d3d2aa3432cc9dd2d15f56a38b166163fc555404c74243e1af29c5549d8","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","d2f5c67858e65ebb932c2f4bd2af646f5764e8ad7f1e4fbe942a0b5ea05dc0e7","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","7f249c599e7a9335dd8e94a4bfe63f00e911756c3c23f77cdb6ef0ec4d479e4a",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"2cabc86ea4f972f2c8386903eccb8c19e2f2370fb9808b66dd8759c1f2ab30c7","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"127803f77e0dfee84b031b83ea7776875c6c4c89e11a81d00299ff58f163f0e2","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","2d17c0dd1d8b821c4e43c9b68ce0619c44f8aabd8fb050b2921048f0e6161b72","6238596893282085d09ecdc71956730aa15be6e7ae3c1a32f772632053b81ff5","0d69d537e3e79d500e67be7979b41e084359d7b2b9fddaabc48971c9e389e2c4","6ab0802d96bd6535cf477a256866fc6d31f73fc5d9fbc969a0c23a61ad52d86f","c03824a6edec650f19d9400e25f91fe5d8a711fd94e229718b521a8118ed3fcc",{"version":"2b18d229047265aecfdf7c46ac0f8f8b23abb74f737f7da96e2a5db301b2890b","signature":"b1367a2230b500b09abfe9e14a79a1299f04dd06cc61bd30a30ceee5c0f29fdb"},"f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","c58eb580d75b517e64396a9aac843bad347f38481a1e64ca12998e92e12ceb08","88a3183e8e099a405861299a83ac855b99fef3985ed31e73016f61914b3a09ea","8592b3ee11de8e3d3257868571f52dfdcb973ec8af799c23681b41744934e3fd","2f49e129648fd071896ba9e98b59bd70f6ebad232507b95bbe06bce18ca36fa3","f83148c8ce30f74fd32c8e2d1d0ea5b1c2517ce78b6271bffa09fb9c482ee35c",{"version":"6fb52371a3b2826e53f90f8a8df91d432ce15e40ac90b95b0e1a1642c369f538","signature":"b08e5e303bcc2a722254e12e97466ffc0ac8f3afb8eba6bcdea97ce861d99322"},{"version":"52bcce1794f9f736039d93e0734917b0f530502aecce8cc33f1552e3d8c8a356","signature":"5d671988bb236d3920628fe93be53a352555b14fea407ce31b30fdc5b10cbb17"},{"version":"f8eaa8ce58bae9171182eb1a598c3a9e063f729453234dac7fca8ad84e8e0800","signature":"5b291c006689e8652c3c0784e425fe91c7ac34debe8d71079e7c3a591f2b6390"},"3dfcd0a3bfa70b53135db3cf2e4ddcb7eccc3e4418ce833ae24eecd06928328f","ed05b0475f45612ba60ec24d8d7ce267b1f430cc7d29803b34c59c50682ac39a","e110d49f8da0887aaf35aa39da8381d98c01d08ca59802851c4663be5e1a68d0","4abaa0c56f377b000a6258395bf5ddfaace4632ecc15c1fddb2ed2d630d01c25","2bb86e343b4109c784b11070735fa881af5c870a409a3b87b13800ca2afef421","fc9d4e784c9e7569911d8a6a01e1de90617942639c7c260beffdef1548b1ce06","37c1aeea4ec8df37bbe5d96bda46831acab3f70b2001ec9f51cb3146a101de89","dabffec26f82ad1fd038d0a50229f8039464f33f6662cf2c89d42ae9467a1681","df486e591f21d229d75df323fb9cf34f4b5cdbccee6a9b42227be738a13755d6","dcba47d8aae2966859192252382e76793104c16c615f2445bd3b9e1191082ae0","ae8189514ed306971ac9aa7d917487ee51dc3590aa5735f23c1d71811c373ea6","6de9d8858034d3197c1525e1c29c942cf7912f807d4d7f14dea247b7c05b59b0","1cb6887dfc7f376bc89e97f4cfd546255ed4f0fbe9274394fabd6457606d59d0","1adcc285d2d477ec6c51d0282d891fdf9d04a5fa8dfa479eab153ae17376f1b4","198f902c2fde1b362cb300f6fdbddc41613016352515c513e3b72810c06d0af8","fa42fa946bb5743076ef0b586281e2be5c282f5a102264c8f9a83996ff389cc0","2e19ef4f8860aecc4ca8dded229119910618f6615628da668ee1d730ca71a853","ebdafee23f4e1cec975aade893b7b68714c0e26cf6a3bbf98e7479b366432833","960923ce078ecfef6e5c34468cdba5c552b064c0db7cb0fdd3eafd1bb9d3d7e9","42f034630b3a866d4a88b37cf0f8357b36af2f7298b319d536b7413ba99f979b","defc90cd8bd3948b6584baad669b67528b8bf8374de012524ecc10fb290de00f","ea1b9887cd95358de9134117114674515cae5fd371fd7013a8ba4ccf19e1f570","f6189fb94671fc00350c3852bb9d4a9e3b1880c34cde30b45799d1e122b6e22b","293f78a187f91b0b9713e9aacce90e9fda4a88cea9fe6a8aa190ff45d9b48f28","325994b6f6c7598c73bbd0294bf1e3f1e229772669b3c8a08fe3170442f600b8","42003247f4b72318ce5dbe1929d59bc22717f435343ba49b91b5a021ca67ea31","843563f951d16e850a0be806010f630a4a71f0a55810bb9aced67c6d7774bf2f","9af1c478e5403b39b922df9132d779bc6e1ef88cafec17fcecf26356d90ecbd6","a95a6135f2d195c93d930ba01049c33579328e55612477c0ae5652429d3974ad","24ead5861f4400218aeaafa477082022f244e3df46d18831411f3a47fc3ff515","65ce9342063fcf793e7baea7526a5a9a2f6ce05dea0cf4ae726d02eae2b98fa3","927f1e5782f00bae2cf8bcb0d7fae24e161e56f6469c5b5c83844be0d38eadc0","5a1755f317ac2c0d708fbf7c1dbf076ba3a31f624c534b44275c9c43033fdc2e","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649",{"version":"5fd6c7fb4a9daed2c2f735fa665e7c155ea211b3bd1d2d6fb1008e21e6166557","signature":"5feaea855d81cc27c26e544cf5f9f8de5520751e94481ee065ce4c4f6d482c93"},{"version":"8d1adbb4f991952cac0de8c5c560c95870a09b5869e8a820bc7415b6522b12c9","signature":"a0fb1ca421ef9e52a14869f0070dfc14f61b82b0f364d2303281cb312d4f72e4"},{"version":"90f044e31405cd6455f7c41790c6c62cc926079c97f2fdaf83b0044f620b2ab3","signature":"faaadd501e12491f830501082ff3fac925a863ad3521e25b1aa5b2612c369a23"},{"version":"a437383a3ee33dd00b9ae0beaca31eb8046d717e73a76c68f478ed14f193324e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"ae23745daebdb580f8c730f1c1fd666ea95cd87a859406cd74a6892625e51559","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"a2037c0eea8dc883f41b8dcbc7e0f9b305f79989f4d310d77c9c321432a66411","affectsGlobalScope":true},"f02af84e409458d77baa712aaac7680635b47bd162a39367618ec744085f97be"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"module":99,"noEmitOnError":false,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./typescript","rootDir":"../source","skipLibCheck":true,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[58,60,112],[58,60,85,112,119],[58,60,69,112],[58,60,72,112],[58,60,73,78,112],[58,60,74,84,85,92,101,111,112],[58,60,74,75,84,92,112],[58,60,76,112],[58,60,77,78,85,93,112],[58,60,78,101,108,112],[58,60,79,81,84,92,112],[58,60,80,112],[58,60,81,82,112],[58,60,83,84,112],[58,60,84,112],[58,60,84,85,86,101,111,112],[58,60,84,85,86,101,112],[58,60,87,92,101,111,112],[58,60,84,85,87,88,92,101,108,111,112],[58,60,87,89,101,108,111,112],[58,60,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,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[58,60,84,90,112],[58,60,91,111,112],[58,60,81,84,92,101,112],[58,60,93,112],[58,60,94,112],[58,60,72,95,112],[58,60,96,110,112,116],[58,60,97,112],[58,60,98,112],[58,60,84,99,112],[58,60,99,100,112,114],[58,60,84,101,102,103,112],[58,60,101,103,112],[58,60,101,102,112],[58,60,104,112],[58,60,105,112],[58,60,84,106,107,112],[58,60,106,107,112],[58,60,78,92,108,112],[58,60,109,112],[58,60,92,110,112],[58,60,73,87,98,111,112],[58,60,78,112],[58,60,101,112,113],[58,60,112,114],[58,60,112,115],[58,60,73,78,84,86,95,101,111,112,114,116],[58,60,101,112,117],[58,60,112,126],[58,60,101,112,119],[58,60,112,180],[58,60,112,176,177,178,179],[60,112],[58,112],[58,60,112,136,150,152,156,158,159],[58,60,112,136,140,142,143,145,148,150,152,157,159],[58,60,112,144,145,152,158],[58,60,112,158],[58,60,112,135],[58,60,112,135,136,140,142,143,144,145,148,149,150,152,156,157,158,160,161,162,163,164,165,166],[58,60,112,139,140,142,143,151,152,156,158],[58,60,112,145,152],[58,60,112,140,142,143,148,151,156,157,158],[58,60,112,139,140,142,143,145,146,147,151,152,156,157],[58,60,112,139,152,156],[58,60,112,139,140,141,145,148,151,152,156],[58,60,112,139,148],[58,60,112,151,152,158],[58,60,112,135,137,138,140,144,145,148,149,152,159],[58,60,112,136,140,152,156],[58,60,112,156],[58,60,112,153,154,155],[58,60,112,137,150,152,158,160],[58,60,112,144,148,150,152],[58,60,112,144,150],[58,60,112,140,142,143,145,146,150,151,152],[58,60,112,139,143,144,167],[58,60,112,139,140,142,144,145,148,151],[58,60,112,150,157,158],[58,60,112,140,142,143,148,152,157,158],[58,59,60,67,68,112,121,122,123],[58,60,112,120],[57,58,59,60,74,85,94,112,125,132,133,134,169],[58,60,112,124,125,132,170,171],[58,60,112,124],[58,60,112,172],[58,60,74,85,94,112,124,125,132,133,134,169],[58,60,85,94,111,112,124,126,127,128,129,130,131],[58,60,94,112,132,167,168],[57,58,60,112,124],[58,60,94,112,132],[58,60,61,112],[58,60,61,62,63,64,65,66,112],[58,60,62,112],[58,60,61,62,112],[112],[85,112,119],[69,112],[72,112],[73,78,112],[74,84,85,92,101,111,112],[74,75,84,92,112],[76,112],[77,78,85,93,112],[78,101,108,112],[79,81,84,92,112],[80,112],[81,82,112],[83,84,112],[84,112],[84,85,86,101,111,112],[84,85,86,101,112],[87,92,101,111,112],[84,85,87,88,92,101,108,111,112],[87,89,101,108,111,112],[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,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[84,90,112],[91,111,112],[81,84,92,101,112],[93,112],[94,112],[72,95,112],[96,110,112,116],[97,112],[98,112],[84,99,112],[99,100,112,114],[84,101,102,103,112],[101,103,112],[101,102,112],[104,112],[105,112],[84,106,107,112],[106,107,112],[78,92,108,112],[109,112],[92,110,112],[73,87,98,111,112],[78,112],[101,112,113],[112,114],[112,115],[73,78,84,86,95,101,111,112,114,116],[101,112,117],[112,126],[101,112,119],[112,180],[112,176,177,178,179],[112,136,150,152,156,158,159],[112,136,140,142,143,145,148,150,152,157,159],[112,144,145,152,158],[112,158],[112,135],[112,135,136,140,142,143,144,145,148,149,150,152,156,157,158,160,161,162,163,164,165,166],[112,139,140,142,143,151,152,156,158],[112,145,152],[112,140,142,143,148,151,156,157,158],[112,139,140,142,143,145,146,147,151,152,156,157],[112,139,152,156],[112,139,140,141,145,148,151,152,156],[112,139,148],[112,151,152,158],[112,135,137,138,140,144,145,148,149,152,159],[112,136,140,152,156],[112,156],[112,153,154,155],[112,137,150,152,158,160],[112,144,148,150,152],[112,144,150],[112,140,142,143,145,146,150,151,152],[112,139,143,144,167],[112,139,140,142,144,145,148,151],[112,150,157,158],[112,140,142,143,148,152,157,158],[112,172],[124,126],[132],[57,124],[61,112],[61,62,63,64,65,66,112],[62,112],[61,62,112]],"referencedMap":[[59,1],[174,2],[168,1],[69,3],[70,3],[72,4],[73,5],[74,6],[75,7],[76,8],[77,9],[78,10],[79,11],[80,12],[81,13],[82,13],[83,14],[84,15],[85,16],[86,17],[71,1],[118,1],[87,18],[88,19],[89,20],[119,21],[90,22],[91,23],[92,24],[93,25],[94,26],[95,27],[96,28],[97,29],[98,30],[99,31],[100,32],[101,33],[103,34],[102,35],[104,36],[105,37],[106,38],[107,39],[108,40],[109,41],[110,42],[111,43],[112,44],[113,45],[114,46],[115,47],[116,48],[117,49],[126,1],[129,50],[130,50],[131,50],[128,50],[175,51],[120,51],[178,1],[181,52],[176,1],[180,53],[179,1],[57,1],[68,1],[58,54],[60,55],[177,1],[127,1],[11,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[34,1],[35,1],[36,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[8,1],[48,1],[45,1],[46,1],[47,1],[49,1],[9,1],[50,1],[51,1],[52,1],[53,1],[1,1],[10,1],[54,1],[160,56],[158,57],[137,1],[146,58],[159,59],[136,60],[167,61],[138,1],[157,62],[141,63],[152,64],[148,65],[140,66],[142,67],[143,67],[147,68],[139,69],[150,70],[153,71],[154,72],[155,72],[156,73],[161,1],[135,1],[162,72],[163,74],[145,75],[149,76],[144,77],[164,78],[165,79],[151,80],[166,81],[55,1],[56,1],[124,82],[123,1],[121,83],[122,1],[170,84],[172,85],[125,86],[173,87],[171,88],[132,89],[169,90],[133,91],[134,92],[61,1],[66,93],[67,94],[65,95],[63,96],[64,96],[62,1]],"exportedModulesMap":[[59,97],[174,98],[168,97],[69,99],[70,99],[72,100],[73,101],[74,102],[75,103],[76,104],[77,105],[78,106],[79,107],[80,108],[81,109],[82,109],[83,110],[84,111],[85,112],[86,113],[71,97],[118,97],[87,114],[88,115],[89,116],[119,117],[90,118],[91,119],[92,120],[93,121],[94,122],[95,123],[96,124],[97,125],[98,126],[99,127],[100,128],[101,129],[103,130],[102,131],[104,132],[105,133],[106,134],[107,135],[108,136],[109,137],[110,138],[111,139],[112,140],[113,141],[114,142],[115,143],[116,144],[117,145],[126,97],[129,146],[130,146],[131,146],[128,146],[175,147],[120,51],[178,97],[181,148],[176,97],[180,149],[179,97],[57,97],[68,1],[58,97],[60,55],[177,97],[127,97],[11,97],[12,97],[14,97],[13,97],[2,97],[15,97],[16,97],[17,97],[18,97],[19,97],[20,97],[21,97],[22,97],[3,97],[4,97],[26,97],[23,97],[24,97],[25,97],[27,97],[28,97],[29,97],[5,97],[30,97],[31,97],[32,97],[33,97],[6,97],[34,97],[35,97],[36,97],[37,97],[7,97],[38,97],[43,97],[44,97],[39,97],[40,97],[41,97],[42,97],[8,97],[48,97],[45,97],[46,97],[47,97],[49,97],[9,97],[50,97],[51,97],[52,97],[53,97],[1,97],[10,97],[54,97],[160,150],[158,151],[137,97],[146,152],[159,153],[136,154],[167,155],[138,97],[157,156],[141,157],[152,158],[148,159],[140,160],[142,161],[143,161],[147,162],[139,163],[150,164],[153,165],[154,166],[155,166],[156,167],[161,97],[135,97],[162,166],[163,168],[145,169],[149,170],[144,171],[164,172],[165,173],[151,174],[166,175],[55,97],[56,97],[124,82],[123,1],[121,83],[122,1],[173,176],[132,177],[169,178],[133,179],[134,178],[61,97],[66,180],[67,181],[65,182],[63,183],[64,183],[62,97]],"semanticDiagnosticsPerFile":[59,174,168,69,70,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,71,118,87,88,89,119,90,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,126,129,130,131,128,175,120,178,181,176,180,179,57,68,58,60,177,127,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,1,10,54,160,158,137,146,159,136,167,138,157,141,152,148,140,142,143,147,139,150,153,154,155,156,161,135,162,163,145,149,144,164,165,151,166,55,56,124,123,121,122,170,172,125,173,171,132,169,133,134,61,66,67,65,63,64,62]},"version":"4.7.2"}
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@quilted/typescript/definitions/assets.d.ts","../../../node_modules/@quilted/typescript/definitions/styles.d.ts","../../../node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.d.ts","../../../node_modules/.pnpm/@types+common-tags@1.8.1/node_modules/@types/common-tags/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.d.ts","../../events/build/typescript/abort.d.ts","../../events/build/typescript/types.d.ts","../../events/build/typescript/on.d.ts","../../events/build/typescript/once.d.ts","../../events/build/typescript/listeners.d.ts","../../events/build/typescript/emitter.d.ts","../../events/build/typescript/index.d.ts","../../../node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.4.1/node_modules/@types/prompts/index.d.ts","../../cli-kit/build/typescript/prompt.d.ts","../../cli-kit/build/typescript/template.d.ts","../../cli-kit/build/typescript/package-manager.d.ts","../../cli-kit/build/typescript/index.d.ts","../source/help.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/index.d.ts","../../../node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/standalone.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-babel.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-typescript.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-yaml.d.ts","../source/shared.ts","../source/shared/prompts.ts","../source/shared/tsconfig.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/line-counter.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/errors.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/applyReviver.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/log.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/toJS.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Scalar.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Collection.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLMap.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLSeq.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/types.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/Schema.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/createNode.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Pair.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/tags.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/options.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringify.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Node.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-scalar.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-stringify.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-visit.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Alias.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/Document.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/directives.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/composer.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/lexer.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/parser.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/public-api.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/visit.d.ts","../../../node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/index.d.ts","../../../node_modules/.pnpm/@types+minimatch@3.0.5/node_modules/@types/minimatch/index.d.ts","../source/shared/package-manager.ts","../source/app.ts","../source/package.ts","../source/create.ts","../source/index.ts","../../../node_modules/.pnpm/@types+fs-extra@9.0.13/node_modules/@types/fs-extra/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.0.14/node_modules/@types/prompts/index.d.ts","../../../node_modules/.pnpm/@types+react@17.0.45/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.1.0/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+prop-types@15.7.5/node_modules/@types/prop-types/index.d.ts","../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/.pnpm/@types+react@17.0.45/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@17.0.17/node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","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":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"7e9f54acdee22b52308c4040b668e6f3d83c6795469802a10c7685151f8f137f","e578fd01e69fb19a5b4ad95f193128ef0a142ead8b61d9149cd767762f0cf27d","5fd321c200cd8891db9851493872f01075a3f1032349ed37c458d7f67d8051e2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","c5590caef278ad8ba2532ec93e29a32ac354dfb333277348acce18512891d3b2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","91420633166d9eb6efa614eac6eaeb5975108ed869efdd12e29475a2ed44af72","38e78ef3d6d2fb0d42f091cc4859ddcb65d12d5e7c7cd91079d2c93efef7fa1a","e38cda15170b7e69a52f92256f26ccfa79a43961286894f1b68380b11f9292e4","4d35e0a0f6dbe908b8b50ede27f8bf93b57f0a88db0288d079f7a8e8546af38b","c39cc7c51600ffe42f1fa0b1416121c93ea0836b78110956e9ce06830b3c4e92","64fb47816afad3cec4eabe61d48d4b3ba3aefbd2bb7e84c8b8d2722513d1700a","641507ee0ddc81f0d154484059a1e2c25fa6de51212dffd84ddc291875fb5f72","5faa5a81d34228d0ecb70b59ffca5b04fc5f6ec259f008d4d74098a6f0eeba91","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","90b94d3d2aa3432cc9dd2d15f56a38b166163fc555404c74243e1af29c5549d8","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","d2f5c67858e65ebb932c2f4bd2af646f5764e8ad7f1e4fbe942a0b5ea05dc0e7","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","7f249c599e7a9335dd8e94a4bfe63f00e911756c3c23f77cdb6ef0ec4d479e4a",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"2cabc86ea4f972f2c8386903eccb8c19e2f2370fb9808b66dd8759c1f2ab30c7","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"127803f77e0dfee84b031b83ea7776875c6c4c89e11a81d00299ff58f163f0e2","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","2d17c0dd1d8b821c4e43c9b68ce0619c44f8aabd8fb050b2921048f0e6161b72","6238596893282085d09ecdc71956730aa15be6e7ae3c1a32f772632053b81ff5","3c5c91175c3adb831233bdce0baee95fe1216c615a9ebc29dee1fea87e1ac5ae","f0351280d77437b724836cc6804e720ffb2d7f15a2cdf52f3fd76855e9d1bdb9","224a1e47c6157085827eb513f4ec0cc50175d499ba598c726a8214d90113cd8b",{"version":"2b18d229047265aecfdf7c46ac0f8f8b23abb74f737f7da96e2a5db301b2890b","signature":"b1367a2230b500b09abfe9e14a79a1299f04dd06cc61bd30a30ceee5c0f29fdb"},"f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","c58eb580d75b517e64396a9aac843bad347f38481a1e64ca12998e92e12ceb08","88a3183e8e099a405861299a83ac855b99fef3985ed31e73016f61914b3a09ea","8592b3ee11de8e3d3257868571f52dfdcb973ec8af799c23681b41744934e3fd","2f49e129648fd071896ba9e98b59bd70f6ebad232507b95bbe06bce18ca36fa3","f83148c8ce30f74fd32c8e2d1d0ea5b1c2517ce78b6271bffa09fb9c482ee35c",{"version":"6fb52371a3b2826e53f90f8a8df91d432ce15e40ac90b95b0e1a1642c369f538","signature":"b08e5e303bcc2a722254e12e97466ffc0ac8f3afb8eba6bcdea97ce861d99322"},{"version":"373b23995eabcef96d77bb9b3550e9c6f4655a2d4ea1d46d2a66977e0b815a64","signature":"3019b47f8274019b022be38c4c6e4dd8fbc19baf05e2605fc0d3bb35041d4874"},{"version":"f8eaa8ce58bae9171182eb1a598c3a9e063f729453234dac7fca8ad84e8e0800","signature":"5b291c006689e8652c3c0784e425fe91c7ac34debe8d71079e7c3a591f2b6390"},"3dfcd0a3bfa70b53135db3cf2e4ddcb7eccc3e4418ce833ae24eecd06928328f","ed05b0475f45612ba60ec24d8d7ce267b1f430cc7d29803b34c59c50682ac39a","e110d49f8da0887aaf35aa39da8381d98c01d08ca59802851c4663be5e1a68d0","4abaa0c56f377b000a6258395bf5ddfaace4632ecc15c1fddb2ed2d630d01c25","2bb86e343b4109c784b11070735fa881af5c870a409a3b87b13800ca2afef421","fc9d4e784c9e7569911d8a6a01e1de90617942639c7c260beffdef1548b1ce06","37c1aeea4ec8df37bbe5d96bda46831acab3f70b2001ec9f51cb3146a101de89","dabffec26f82ad1fd038d0a50229f8039464f33f6662cf2c89d42ae9467a1681","df486e591f21d229d75df323fb9cf34f4b5cdbccee6a9b42227be738a13755d6","dcba47d8aae2966859192252382e76793104c16c615f2445bd3b9e1191082ae0","ae8189514ed306971ac9aa7d917487ee51dc3590aa5735f23c1d71811c373ea6","6de9d8858034d3197c1525e1c29c942cf7912f807d4d7f14dea247b7c05b59b0","1cb6887dfc7f376bc89e97f4cfd546255ed4f0fbe9274394fabd6457606d59d0","1adcc285d2d477ec6c51d0282d891fdf9d04a5fa8dfa479eab153ae17376f1b4","198f902c2fde1b362cb300f6fdbddc41613016352515c513e3b72810c06d0af8","fa42fa946bb5743076ef0b586281e2be5c282f5a102264c8f9a83996ff389cc0","2e19ef4f8860aecc4ca8dded229119910618f6615628da668ee1d730ca71a853","ebdafee23f4e1cec975aade893b7b68714c0e26cf6a3bbf98e7479b366432833","960923ce078ecfef6e5c34468cdba5c552b064c0db7cb0fdd3eafd1bb9d3d7e9","42f034630b3a866d4a88b37cf0f8357b36af2f7298b319d536b7413ba99f979b","defc90cd8bd3948b6584baad669b67528b8bf8374de012524ecc10fb290de00f","ea1b9887cd95358de9134117114674515cae5fd371fd7013a8ba4ccf19e1f570","f6189fb94671fc00350c3852bb9d4a9e3b1880c34cde30b45799d1e122b6e22b","293f78a187f91b0b9713e9aacce90e9fda4a88cea9fe6a8aa190ff45d9b48f28","325994b6f6c7598c73bbd0294bf1e3f1e229772669b3c8a08fe3170442f600b8","42003247f4b72318ce5dbe1929d59bc22717f435343ba49b91b5a021ca67ea31","843563f951d16e850a0be806010f630a4a71f0a55810bb9aced67c6d7774bf2f","9af1c478e5403b39b922df9132d779bc6e1ef88cafec17fcecf26356d90ecbd6","a95a6135f2d195c93d930ba01049c33579328e55612477c0ae5652429d3974ad","24ead5861f4400218aeaafa477082022f244e3df46d18831411f3a47fc3ff515","65ce9342063fcf793e7baea7526a5a9a2f6ce05dea0cf4ae726d02eae2b98fa3","927f1e5782f00bae2cf8bcb0d7fae24e161e56f6469c5b5c83844be0d38eadc0","5a1755f317ac2c0d708fbf7c1dbf076ba3a31f624c534b44275c9c43033fdc2e","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649",{"version":"5fd6c7fb4a9daed2c2f735fa665e7c155ea211b3bd1d2d6fb1008e21e6166557","signature":"5feaea855d81cc27c26e544cf5f9f8de5520751e94481ee065ce4c4f6d482c93"},{"version":"4a790825235dc3dcf4b65146b778003436b30e8034b4f3f22636397fc958d968","signature":"a0fb1ca421ef9e52a14869f0070dfc14f61b82b0f364d2303281cb312d4f72e4"},{"version":"bade682379ae4ca88bf64e4f0bb71793871381fcf8079f1e90ef60d0b7391399","signature":"faaadd501e12491f830501082ff3fac925a863ad3521e25b1aa5b2612c369a23"},{"version":"a437383a3ee33dd00b9ae0beaca31eb8046d717e73a76c68f478ed14f193324e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"ae23745daebdb580f8c730f1c1fd666ea95cd87a859406cd74a6892625e51559","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"a2037c0eea8dc883f41b8dcbc7e0f9b305f79989f4d310d77c9c321432a66411","affectsGlobalScope":true},"f02af84e409458d77baa712aaac7680635b47bd162a39367618ec744085f97be"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"module":99,"noEmitOnError":false,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./typescript","rootDir":"../source","skipLibCheck":true,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[58,60,112],[58,60,85,112,119],[58,60,69,112],[58,60,72,112],[58,60,73,78,112],[58,60,74,84,85,92,101,111,112],[58,60,74,75,84,92,112],[58,60,76,112],[58,60,77,78,85,93,112],[58,60,78,101,108,112],[58,60,79,81,84,92,112],[58,60,80,112],[58,60,81,82,112],[58,60,83,84,112],[58,60,84,112],[58,60,84,85,86,101,111,112],[58,60,84,85,86,101,112],[58,60,87,92,101,111,112],[58,60,84,85,87,88,92,101,108,111,112],[58,60,87,89,101,108,111,112],[58,60,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,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[58,60,84,90,112],[58,60,91,111,112],[58,60,81,84,92,101,112],[58,60,93,112],[58,60,94,112],[58,60,72,95,112],[58,60,96,110,112,116],[58,60,97,112],[58,60,98,112],[58,60,84,99,112],[58,60,99,100,112,114],[58,60,84,101,102,103,112],[58,60,101,103,112],[58,60,101,102,112],[58,60,104,112],[58,60,105,112],[58,60,84,106,107,112],[58,60,106,107,112],[58,60,78,92,108,112],[58,60,109,112],[58,60,92,110,112],[58,60,73,87,98,111,112],[58,60,78,112],[58,60,101,112,113],[58,60,112,114],[58,60,112,115],[58,60,73,78,84,86,95,101,111,112,114,116],[58,60,101,112,117],[58,60,112,126],[58,60,101,112,119],[58,60,112,180],[58,60,112,176,177,178,179],[60,112],[58,112],[58,60,112,136,150,152,156,158,159],[58,60,112,136,140,142,143,145,148,150,152,157,159],[58,60,112,144,145,152,158],[58,60,112,158],[58,60,112,135],[58,60,112,135,136,140,142,143,144,145,148,149,150,152,156,157,158,160,161,162,163,164,165,166],[58,60,112,139,140,142,143,151,152,156,158],[58,60,112,145,152],[58,60,112,140,142,143,148,151,156,157,158],[58,60,112,139,140,142,143,145,146,147,151,152,156,157],[58,60,112,139,152,156],[58,60,112,139,140,141,145,148,151,152,156],[58,60,112,139,148],[58,60,112,151,152,158],[58,60,112,135,137,138,140,144,145,148,149,152,159],[58,60,112,136,140,152,156],[58,60,112,156],[58,60,112,153,154,155],[58,60,112,137,150,152,158,160],[58,60,112,144,148,150,152],[58,60,112,144,150],[58,60,112,140,142,143,145,146,150,151,152],[58,60,112,139,143,144,167],[58,60,112,139,140,142,144,145,148,151],[58,60,112,150,157,158],[58,60,112,140,142,143,148,152,157,158],[58,59,60,67,68,112,121,122,123],[58,60,112,120],[57,58,59,60,85,94,112,125,132,133,134,169],[58,60,112,124,125,132,170,171],[58,60,112,124],[58,60,112,172],[58,60,85,94,112,124,125,132,133,134,169],[58,60,85,94,111,112,124,126,127,128,129,130,131],[58,60,94,112,132,167,168],[57,58,60,112,124],[58,60,94,112,132],[58,60,61,112],[58,60,61,62,63,64,65,66,112],[58,60,62,112],[58,60,61,62,112],[112],[85,112,119],[69,112],[72,112],[73,78,112],[74,84,85,92,101,111,112],[74,75,84,92,112],[76,112],[77,78,85,93,112],[78,101,108,112],[79,81,84,92,112],[80,112],[81,82,112],[83,84,112],[84,112],[84,85,86,101,111,112],[84,85,86,101,112],[87,92,101,111,112],[84,85,87,88,92,101,108,111,112],[87,89,101,108,111,112],[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,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[84,90,112],[91,111,112],[81,84,92,101,112],[93,112],[94,112],[72,95,112],[96,110,112,116],[97,112],[98,112],[84,99,112],[99,100,112,114],[84,101,102,103,112],[101,103,112],[101,102,112],[104,112],[105,112],[84,106,107,112],[106,107,112],[78,92,108,112],[109,112],[92,110,112],[73,87,98,111,112],[78,112],[101,112,113],[112,114],[112,115],[73,78,84,86,95,101,111,112,114,116],[101,112,117],[112,126],[101,112,119],[112,180],[112,176,177,178,179],[112,136,150,152,156,158,159],[112,136,140,142,143,145,148,150,152,157,159],[112,144,145,152,158],[112,158],[112,135],[112,135,136,140,142,143,144,145,148,149,150,152,156,157,158,160,161,162,163,164,165,166],[112,139,140,142,143,151,152,156,158],[112,145,152],[112,140,142,143,148,151,156,157,158],[112,139,140,142,143,145,146,147,151,152,156,157],[112,139,152,156],[112,139,140,141,145,148,151,152,156],[112,139,148],[112,151,152,158],[112,135,137,138,140,144,145,148,149,152,159],[112,136,140,152,156],[112,156],[112,153,154,155],[112,137,150,152,158,160],[112,144,148,150,152],[112,144,150],[112,140,142,143,145,146,150,151,152],[112,139,143,144,167],[112,139,140,142,144,145,148,151],[112,150,157,158],[112,140,142,143,148,152,157,158],[112,172],[124,126],[132],[57,124],[61,112],[61,62,63,64,65,66,112],[62,112],[61,62,112]],"referencedMap":[[59,1],[174,2],[168,1],[69,3],[70,3],[72,4],[73,5],[74,6],[75,7],[76,8],[77,9],[78,10],[79,11],[80,12],[81,13],[82,13],[83,14],[84,15],[85,16],[86,17],[71,1],[118,1],[87,18],[88,19],[89,20],[119,21],[90,22],[91,23],[92,24],[93,25],[94,26],[95,27],[96,28],[97,29],[98,30],[99,31],[100,32],[101,33],[103,34],[102,35],[104,36],[105,37],[106,38],[107,39],[108,40],[109,41],[110,42],[111,43],[112,44],[113,45],[114,46],[115,47],[116,48],[117,49],[126,1],[129,50],[130,50],[131,50],[128,50],[175,51],[120,51],[178,1],[181,52],[176,1],[180,53],[179,1],[57,1],[68,1],[58,54],[60,55],[177,1],[127,1],[11,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[34,1],[35,1],[36,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[8,1],[48,1],[45,1],[46,1],[47,1],[49,1],[9,1],[50,1],[51,1],[52,1],[53,1],[1,1],[10,1],[54,1],[160,56],[158,57],[137,1],[146,58],[159,59],[136,60],[167,61],[138,1],[157,62],[141,63],[152,64],[148,65],[140,66],[142,67],[143,67],[147,68],[139,69],[150,70],[153,71],[154,72],[155,72],[156,73],[161,1],[135,1],[162,72],[163,74],[145,75],[149,76],[144,77],[164,78],[165,79],[151,80],[166,81],[55,1],[56,1],[124,82],[123,1],[121,83],[122,1],[170,84],[172,85],[125,86],[173,87],[171,88],[132,89],[169,90],[133,91],[134,92],[61,1],[66,93],[67,94],[65,95],[63,96],[64,96],[62,1]],"exportedModulesMap":[[59,97],[174,98],[168,97],[69,99],[70,99],[72,100],[73,101],[74,102],[75,103],[76,104],[77,105],[78,106],[79,107],[80,108],[81,109],[82,109],[83,110],[84,111],[85,112],[86,113],[71,97],[118,97],[87,114],[88,115],[89,116],[119,117],[90,118],[91,119],[92,120],[93,121],[94,122],[95,123],[96,124],[97,125],[98,126],[99,127],[100,128],[101,129],[103,130],[102,131],[104,132],[105,133],[106,134],[107,135],[108,136],[109,137],[110,138],[111,139],[112,140],[113,141],[114,142],[115,143],[116,144],[117,145],[126,97],[129,146],[130,146],[131,146],[128,146],[175,147],[120,51],[178,97],[181,148],[176,97],[180,149],[179,97],[57,97],[68,1],[58,97],[60,55],[177,97],[127,97],[11,97],[12,97],[14,97],[13,97],[2,97],[15,97],[16,97],[17,97],[18,97],[19,97],[20,97],[21,97],[22,97],[3,97],[4,97],[26,97],[23,97],[24,97],[25,97],[27,97],[28,97],[29,97],[5,97],[30,97],[31,97],[32,97],[33,97],[6,97],[34,97],[35,97],[36,97],[37,97],[7,97],[38,97],[43,97],[44,97],[39,97],[40,97],[41,97],[42,97],[8,97],[48,97],[45,97],[46,97],[47,97],[49,97],[9,97],[50,97],[51,97],[52,97],[53,97],[1,97],[10,97],[54,97],[160,150],[158,151],[137,97],[146,152],[159,153],[136,154],[167,155],[138,97],[157,156],[141,157],[152,158],[148,159],[140,160],[142,161],[143,161],[147,162],[139,163],[150,164],[153,165],[154,166],[155,166],[156,167],[161,97],[135,97],[162,166],[163,168],[145,169],[149,170],[144,171],[164,172],[165,173],[151,174],[166,175],[55,97],[56,97],[124,82],[123,1],[121,83],[122,1],[173,176],[132,177],[169,178],[133,179],[134,178],[61,97],[66,180],[67,181],[65,182],[63,183],[64,183],[62,97]],"semanticDiagnosticsPerFile":[59,174,168,69,70,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,71,118,87,88,89,119,90,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,126,129,130,131,128,175,120,178,181,176,180,179,57,68,58,60,177,127,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,1,10,54,160,158,137,146,159,136,167,138,157,141,152,148,140,142,143,147,139,150,153,154,155,156,161,135,162,163,145,149,144,164,165,151,166,55,56,124,123,121,122,170,172,125,173,171,132,169,133,134,61,66,67,65,63,64,62]},"version":"4.7.2"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../source/app.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../source/app.ts"],"names":[],"mappings":"AA8BA,wBAAsB,SAAS,kBA6P9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../source/package.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../source/package.ts"],"names":[],"mappings":"AA2BA,wBAAsB,aAAa,kBAiUlC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Result as ArgvResult } from 'arg';
|
|
2
|
-
import { prompt } from '@quilted/cli-kit';
|
|
2
|
+
import { prompt, createPackageManagerRunner } from '@quilted/cli-kit';
|
|
3
3
|
declare type BaseArguments = ArgvResult<{
|
|
4
4
|
'--yes': BooleanConstructor;
|
|
5
5
|
'--install': BooleanConstructor;
|
|
@@ -13,7 +13,7 @@ declare type BaseArguments = ArgvResult<{
|
|
|
13
13
|
export { prompt };
|
|
14
14
|
export declare function getCreateAsMonorepo(argv: BaseArguments): Promise<boolean>;
|
|
15
15
|
export declare function getShouldInstall(argv: BaseArguments): Promise<boolean>;
|
|
16
|
-
export declare function getPackageManager(argv: BaseArguments): Promise<import("@quilted/cli-kit").
|
|
16
|
+
export declare function getPackageManager(argv: BaseArguments, options?: Parameters<typeof createPackageManagerRunner>[1]): Promise<import("@quilted/cli-kit").PackageManagerRunner>;
|
|
17
17
|
declare type Extra = 'github' | 'vscode';
|
|
18
18
|
export declare function getExtrasToSetup(argv: BaseArguments, { inWorkspace }: {
|
|
19
19
|
inWorkspace: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../source/shared/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,IAAI,UAAU,EAAC,MAAM,KAAK,CAAC;AAE9C,OAAO,EACL,MAAM,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../source/shared/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,IAAI,UAAU,EAAC,MAAM,KAAK,CAAC;AAE9C,OAAO,EACL,MAAM,EAEN,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAE1B,aAAK,aAAa,GAAG,UAAU,CAAC;IAC9B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,WAAW,EAAE,kBAAkB,CAAC;IAChC,cAAc,EAAE,kBAAkB,CAAC;IACnC,YAAY,EAAE,kBAAkB,CAAC;IACjC,eAAe,EAAE,kBAAkB,CAAC;IACpC,UAAU,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAChC,aAAa,EAAE,kBAAkB,CAAC;IAClC,mBAAmB,EAAE,iBAAiB,CAAC;CACxC,CAAC,CAAC;AAEH,OAAO,EAAC,MAAM,EAAC,CAAC;AAEhB,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,aAAa,oBAiB5D;AAED,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,aAAa,oBAiBzD;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,aAAa,EACnB,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC,CAAC,4DAI3D;AAED,aAAK,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAGjC,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,aAAa,EACnB,EAAC,WAAW,EAAC,EAAE;IAAC,WAAW,EAAE,OAAO,CAAA;CAAC,uBA6BtC"}
|
package/package.json
CHANGED
package/source/app.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as fs from 'fs';
|
|
2
2
|
import * as path from 'path';
|
|
3
|
-
import {execSync} from 'child_process';
|
|
4
3
|
|
|
5
4
|
import arg from 'arg';
|
|
6
5
|
import * as color from 'colorette';
|
|
@@ -58,7 +57,7 @@ export async function createApp() {
|
|
|
58
57
|
|
|
59
58
|
const createAsMonorepo = !inWorkspace && (await getCreateAsMonorepo(argv));
|
|
60
59
|
const shouldInstall = await getShouldInstall(argv);
|
|
61
|
-
const packageManager = await getPackageManager(argv);
|
|
60
|
+
const packageManager = await getPackageManager(argv, {root: directory});
|
|
62
61
|
const setupExtras = await getExtrasToSetup(argv, {inWorkspace});
|
|
63
62
|
|
|
64
63
|
const partOfMonorepo = inWorkspace || createAsMonorepo;
|
|
@@ -104,7 +103,7 @@ export async function createApp() {
|
|
|
104
103
|
|
|
105
104
|
workspacePackageJson.name = toValidPackageName(name!);
|
|
106
105
|
|
|
107
|
-
if (packageManager === 'pnpm') {
|
|
106
|
+
if (packageManager.type === 'pnpm') {
|
|
108
107
|
await outputRoot.write(
|
|
109
108
|
'pnpm-workspace.yaml',
|
|
110
109
|
await format(
|
|
@@ -206,22 +205,24 @@ export async function createApp() {
|
|
|
206
205
|
|
|
207
206
|
await Promise.all([
|
|
208
207
|
addToTsConfig(appDirectory, outputRoot),
|
|
209
|
-
addToPackageManagerWorkspaces(
|
|
208
|
+
addToPackageManagerWorkspaces(
|
|
209
|
+
appDirectory,
|
|
210
|
+
outputRoot,
|
|
211
|
+
packageManager.type,
|
|
212
|
+
),
|
|
210
213
|
]);
|
|
211
214
|
}
|
|
212
215
|
|
|
213
216
|
if (shouldInstall) {
|
|
214
217
|
process.stdout.write('\nInstalling dependencies...\n');
|
|
215
218
|
// TODO: better loading, handle errors
|
|
216
|
-
|
|
219
|
+
await packageManager.install();
|
|
217
220
|
process.stdout.moveCursor(0, -1);
|
|
218
221
|
process.stdout.clearLine(1);
|
|
219
222
|
console.log('Installed dependencies.');
|
|
220
223
|
}
|
|
221
224
|
|
|
222
225
|
const commands: string[] = [];
|
|
223
|
-
const packageManagerRun = (command: string) =>
|
|
224
|
-
packageManager === 'npm' ? `npm run ${command}` : `pnpm ${command}`;
|
|
225
226
|
|
|
226
227
|
if (!inWorkspace && directory !== process.cwd()) {
|
|
227
228
|
commands.push(
|
|
@@ -233,7 +234,7 @@ export async function createApp() {
|
|
|
233
234
|
|
|
234
235
|
if (!shouldInstall) {
|
|
235
236
|
commands.push(
|
|
236
|
-
`${packageManager}
|
|
237
|
+
`${packageManager.commands.install()} ${color.dim(
|
|
237
238
|
'# Install all your dependencies',
|
|
238
239
|
)}`,
|
|
239
240
|
);
|
|
@@ -249,7 +250,7 @@ export async function createApp() {
|
|
|
249
250
|
}
|
|
250
251
|
|
|
251
252
|
commands.push(
|
|
252
|
-
`${
|
|
253
|
+
`${packageManager.commands.run('develop')} ${color.dim(
|
|
253
254
|
'# Start the development server',
|
|
254
255
|
)}`,
|
|
255
256
|
);
|
package/source/package.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as fs from 'fs';
|
|
2
2
|
import * as path from 'path';
|
|
3
|
-
import {execSync} from 'child_process';
|
|
4
3
|
|
|
5
4
|
import {stripIndent, color, prompt, parseArguments} from '@quilted/cli-kit';
|
|
6
5
|
|
|
@@ -61,7 +60,7 @@ export async function createProject() {
|
|
|
61
60
|
|
|
62
61
|
const createAsMonorepo = !inWorkspace && (await getCreateAsMonorepo(args));
|
|
63
62
|
const shouldInstall = await getShouldInstall(args);
|
|
64
|
-
const packageManager = await getPackageManager(args);
|
|
63
|
+
const packageManager = await getPackageManager(args, {root: directory});
|
|
65
64
|
const setupExtras = await getExtrasToSetup(args, {inWorkspace});
|
|
66
65
|
|
|
67
66
|
const partOfMonorepo = inWorkspace || createAsMonorepo;
|
|
@@ -110,7 +109,7 @@ export async function createProject() {
|
|
|
110
109
|
|
|
111
110
|
workspacePackageJson.name = toValidPackageName(name!);
|
|
112
111
|
|
|
113
|
-
if (packageManager === 'pnpm') {
|
|
112
|
+
if (packageManager.type === 'pnpm') {
|
|
114
113
|
await outputRoot.write(
|
|
115
114
|
'pnpm-workspace.yaml',
|
|
116
115
|
await format(
|
|
@@ -251,7 +250,7 @@ export async function createProject() {
|
|
|
251
250
|
addToPackageManagerWorkspaces(
|
|
252
251
|
packageDirectory,
|
|
253
252
|
outputRoot,
|
|
254
|
-
packageManager,
|
|
253
|
+
packageManager.type,
|
|
255
254
|
),
|
|
256
255
|
]);
|
|
257
256
|
}
|
|
@@ -259,7 +258,7 @@ export async function createProject() {
|
|
|
259
258
|
if (shouldInstall) {
|
|
260
259
|
process.stdout.write('\nInstalling dependencies...\n');
|
|
261
260
|
// TODO: better loading, handle errors
|
|
262
|
-
|
|
261
|
+
await packageManager.install();
|
|
263
262
|
process.stdout.moveCursor(0, -1);
|
|
264
263
|
process.stdout.clearLine(1);
|
|
265
264
|
console.log('Installed dependencies.');
|
|
@@ -304,7 +303,9 @@ export async function createProject() {
|
|
|
304
303
|
|
|
305
304
|
if (!shouldInstall) {
|
|
306
305
|
commands.push(
|
|
307
|
-
|
|
306
|
+
`${packageManager.commands.install()} ${color.dim(
|
|
307
|
+
'# Install all your dependencies',
|
|
308
|
+
)}`,
|
|
308
309
|
);
|
|
309
310
|
}
|
|
310
311
|
|
package/source/shared/prompts.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as color from 'colorette';
|
|
|
3
3
|
import {
|
|
4
4
|
prompt,
|
|
5
5
|
getPackageManager as baseGetPackageManager,
|
|
6
|
+
createPackageManagerRunner,
|
|
6
7
|
} from '@quilted/cli-kit';
|
|
7
8
|
|
|
8
9
|
type BaseArguments = ArgvResult<{
|
|
@@ -56,9 +57,12 @@ export async function getShouldInstall(argv: BaseArguments) {
|
|
|
56
57
|
return shouldInstall;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
export async function getPackageManager(
|
|
60
|
+
export async function getPackageManager(
|
|
61
|
+
argv: BaseArguments,
|
|
62
|
+
options?: Parameters<typeof createPackageManagerRunner>[1],
|
|
63
|
+
) {
|
|
60
64
|
const packageManager = await baseGetPackageManager(argv['--package-manager']);
|
|
61
|
-
return packageManager ?? 'npm';
|
|
65
|
+
return createPackageManagerRunner(packageManager ?? 'npm', options);
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
type Extra = 'github' | 'vscode';
|