create-docusaurus 2.0.0-beta.10 → 2.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +7 -10
- package/lib/index.js +49 -45
- package/package.json +3 -3
- package/templates/classic/docusaurus.config.js +2 -2
- package/templates/classic/package.json +3 -3
- package/templates/classic-typescript/package.json +4 -4
- package/templates/facebook/docusaurus.config.js +3 -2
- package/templates/facebook/package.json +3 -3
- package/lib/.tsbuildinfo +0 -1
- package/src/index.ts +0 -322
- package/tsconfig.json +0 -11
package/bin/index.js
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// @ts-check
|
|
10
|
+
|
|
11
|
+
const logger = require('@docusaurus/logger').default;
|
|
10
12
|
const semver = require('semver');
|
|
11
13
|
const path = require('path');
|
|
12
14
|
const program = require('commander');
|
|
@@ -14,19 +16,15 @@ const {default: init} = require('../lib');
|
|
|
14
16
|
const requiredVersion = require('../package.json').engines.node;
|
|
15
17
|
|
|
16
18
|
if (!semver.satisfies(process.version, requiredVersion)) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
chalk.yellow(
|
|
20
|
-
`\nYou are using Node.js ${process.version}, Requirement: Node.js ${requiredVersion}.\n`,
|
|
21
|
-
),
|
|
22
|
-
);
|
|
19
|
+
logger.error('Minimum Node.js version not met :(');
|
|
20
|
+
logger.info`You are using Node.js number=${process.version}, Requirement: Node.js number=${requiredVersion}.`;
|
|
23
21
|
process.exit(1);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
function wrapCommand(fn) {
|
|
27
25
|
return (...args) =>
|
|
28
26
|
fn(...args).catch((err) => {
|
|
29
|
-
|
|
27
|
+
logger.error(err.stack);
|
|
30
28
|
process.exitCode = 1;
|
|
31
29
|
});
|
|
32
30
|
}
|
|
@@ -58,8 +56,7 @@ program
|
|
|
58
56
|
|
|
59
57
|
program.arguments('<command>').action((cmd) => {
|
|
60
58
|
program.outputHelp();
|
|
61
|
-
|
|
62
|
-
console.log();
|
|
59
|
+
logger.error`Unknown command code=${cmd}.`;
|
|
63
60
|
});
|
|
64
61
|
|
|
65
62
|
program.parse(process.argv);
|
package/lib/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const tslib_1 = require("tslib");
|
|
10
|
-
const
|
|
10
|
+
const logger_1 = (0, tslib_1.__importDefault)(require("@docusaurus/logger"));
|
|
11
11
|
const fs_extra_1 = (0, tslib_1.__importDefault)(require("fs-extra"));
|
|
12
12
|
const child_process_1 = require("child_process");
|
|
13
13
|
const prompts_1 = (0, tslib_1.__importDefault)(require("prompts"));
|
|
@@ -96,11 +96,13 @@ async function init(rootDir, siteName, reqTemplate, cliOptions = {}) {
|
|
|
96
96
|
name = prompt.name;
|
|
97
97
|
}
|
|
98
98
|
if (!name) {
|
|
99
|
-
|
|
99
|
+
logger_1.default.error('A website name is required.');
|
|
100
|
+
process.exit(1);
|
|
100
101
|
}
|
|
101
102
|
const dest = path_1.default.resolve(rootDir, name);
|
|
102
103
|
if (fs_extra_1.default.existsSync(dest)) {
|
|
103
|
-
|
|
104
|
+
logger_1.default.error `Directory already exists at path=${dest}!`;
|
|
105
|
+
process.exit(1);
|
|
104
106
|
}
|
|
105
107
|
let template = reqTemplate;
|
|
106
108
|
let useTS = cliOptions.typescript;
|
|
@@ -132,9 +134,10 @@ async function init(rootDir, siteName, reqTemplate, cliOptions = {}) {
|
|
|
132
134
|
if (url && isValidGitRepoUrl(url)) {
|
|
133
135
|
return true;
|
|
134
136
|
}
|
|
135
|
-
return
|
|
137
|
+
return logger_1.default.red('Invalid repository URL');
|
|
136
138
|
},
|
|
137
|
-
message:
|
|
139
|
+
message: logger_1.default.interpolate `Enter a repository URL from GitHub, Bitbucket, GitLab, or any other public repo.
|
|
140
|
+
(e.g: path=${'https://github.com/ownerName/repoName.git'})`,
|
|
138
141
|
});
|
|
139
142
|
template = repoPrompt.gitRepoUrl;
|
|
140
143
|
}
|
|
@@ -148,32 +151,33 @@ async function init(rootDir, siteName, reqTemplate, cliOptions = {}) {
|
|
|
148
151
|
if (fs_extra_1.default.existsSync(fullDir)) {
|
|
149
152
|
return true;
|
|
150
153
|
}
|
|
151
|
-
return
|
|
154
|
+
return logger_1.default.red(logger_1.default.interpolate `path=${fullDir} does not exist.`);
|
|
152
155
|
}
|
|
153
|
-
return
|
|
156
|
+
return logger_1.default.red('Please enter a valid path.');
|
|
154
157
|
},
|
|
155
158
|
message: 'Enter a local folder path, relative to the current working directory.',
|
|
156
159
|
});
|
|
157
160
|
template = dirPrompt.templateDir;
|
|
158
161
|
}
|
|
159
162
|
if (!template) {
|
|
160
|
-
|
|
163
|
+
logger_1.default.error('Template should not be empty');
|
|
164
|
+
process.exit(1);
|
|
161
165
|
}
|
|
162
|
-
|
|
163
|
-
${chalk_1.default.cyan('Creating new Docusaurus project...')}
|
|
164
|
-
`);
|
|
166
|
+
logger_1.default.info('Creating new Docusaurus project...');
|
|
165
167
|
if (isValidGitRepoUrl(template)) {
|
|
166
|
-
|
|
168
|
+
logger_1.default.info `Cloning Git template path=${template}...`;
|
|
167
169
|
if (shelljs_1.default.exec(`git clone --recursive ${template} ${dest}`, { silent: true })
|
|
168
170
|
.code !== 0) {
|
|
169
|
-
|
|
171
|
+
logger_1.default.error `Cloning Git template name=${template} failed!`;
|
|
172
|
+
process.exit(1);
|
|
170
173
|
}
|
|
171
174
|
}
|
|
172
175
|
else if (templates.includes(template)) {
|
|
173
176
|
// Docusaurus templates.
|
|
174
177
|
if (useTS) {
|
|
175
178
|
if (!hasTS(template)) {
|
|
176
|
-
|
|
179
|
+
logger_1.default.error `Template name=${template} doesn't provide the Typescript variant.`;
|
|
180
|
+
process.exit(1);
|
|
177
181
|
}
|
|
178
182
|
template = `${template}${TypeScriptTemplateSuffix}`;
|
|
179
183
|
}
|
|
@@ -181,7 +185,7 @@ ${chalk_1.default.cyan('Creating new Docusaurus project...')}
|
|
|
181
185
|
await copyTemplate(templatesDir, template, dest);
|
|
182
186
|
}
|
|
183
187
|
catch (err) {
|
|
184
|
-
|
|
188
|
+
logger_1.default.error `Copying Docusaurus template name=${template} failed!`;
|
|
185
189
|
throw err;
|
|
186
190
|
}
|
|
187
191
|
}
|
|
@@ -191,12 +195,13 @@ ${chalk_1.default.cyan('Creating new Docusaurus project...')}
|
|
|
191
195
|
await fs_extra_1.default.copy(templateDir, dest);
|
|
192
196
|
}
|
|
193
197
|
catch (err) {
|
|
194
|
-
|
|
198
|
+
logger_1.default.error `Copying local template path=${templateDir} failed!`;
|
|
195
199
|
throw err;
|
|
196
200
|
}
|
|
197
201
|
}
|
|
198
202
|
else {
|
|
199
|
-
|
|
203
|
+
logger_1.default.error('Invalid template.');
|
|
204
|
+
process.exit(1);
|
|
200
205
|
}
|
|
201
206
|
// Update package.json info.
|
|
202
207
|
try {
|
|
@@ -207,7 +212,7 @@ ${chalk_1.default.cyan('Creating new Docusaurus project...')}
|
|
|
207
212
|
});
|
|
208
213
|
}
|
|
209
214
|
catch (err) {
|
|
210
|
-
|
|
215
|
+
logger_1.default.error('Failed to update package.json.');
|
|
211
216
|
throw err;
|
|
212
217
|
}
|
|
213
218
|
// We need to rename the gitignore file to .gitignore
|
|
@@ -219,49 +224,48 @@ ${chalk_1.default.cyan('Creating new Docusaurus project...')}
|
|
|
219
224
|
fs_extra_1.default.removeSync(path_1.default.join(dest, 'gitignore'));
|
|
220
225
|
}
|
|
221
226
|
const pkgManager = useYarn ? 'yarn' : 'npm';
|
|
222
|
-
if (!cliOptions.skipInstall) {
|
|
223
|
-
console.log(`Installing dependencies with ${chalk_1.default.cyan(pkgManager)}...`);
|
|
224
|
-
try {
|
|
225
|
-
// Use force coloring the output, since the command is invoked by shelljs, which is not the interactive shell
|
|
226
|
-
shelljs_1.default.exec(`cd "${name}" && ${useYarn ? 'yarn' : 'npm install --color always'}`, {
|
|
227
|
-
env: {
|
|
228
|
-
...process.env,
|
|
229
|
-
...(supports_color_1.default.stdout ? { FORCE_COLOR: '1' } : {}),
|
|
230
|
-
},
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
catch (err) {
|
|
234
|
-
console.log(chalk_1.default.red('Installation failed.'));
|
|
235
|
-
throw err;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
console.log();
|
|
239
227
|
// Display the most elegant way to cd.
|
|
240
228
|
const cdpath = path_1.default.join(process.cwd(), name) === dest
|
|
241
229
|
? name
|
|
242
230
|
: path_1.default.relative(process.cwd(), name);
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
231
|
+
if (!cliOptions.skipInstall) {
|
|
232
|
+
logger_1.default.info `Installing dependencies with name=${pkgManager}...`;
|
|
233
|
+
if (shelljs_1.default.exec(`cd "${name}" && ${useYarn ? 'yarn' : 'npm install --color always'}`, {
|
|
234
|
+
env: {
|
|
235
|
+
...process.env,
|
|
236
|
+
// Force coloring the output, since the command is invoked by shelljs, which is not the interactive shell
|
|
237
|
+
...(supports_color_1.default.stdout ? { FORCE_COLOR: '1' } : {}),
|
|
238
|
+
},
|
|
239
|
+
}).code !== 0) {
|
|
240
|
+
logger_1.default.error('Dependency installation failed.');
|
|
241
|
+
logger_1.default.info `The site directory has already been created, and you can retry by typing:
|
|
242
|
+
|
|
243
|
+
code=${`cd ${cdpath}`}
|
|
244
|
+
code=${`${pkgManager} install`}`;
|
|
245
|
+
process.exit(0);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
logger_1.default.success `Created path=${cdpath}.`;
|
|
249
|
+
logger_1.default.info `Inside that directory, you can run several commands:
|
|
246
250
|
|
|
247
|
-
|
|
251
|
+
code=${`${pkgManager} start`}
|
|
248
252
|
Starts the development server.
|
|
249
253
|
|
|
250
|
-
|
|
254
|
+
code=${`${pkgManager} ${useYarn ? '' : 'run '}build`}
|
|
251
255
|
Bundles your website into static files for production.
|
|
252
256
|
|
|
253
|
-
|
|
257
|
+
code=${`${pkgManager} ${useYarn ? '' : 'run '}serve`}
|
|
254
258
|
Serves the built website locally.
|
|
255
259
|
|
|
256
|
-
|
|
260
|
+
code=${`${pkgManager} deploy`}
|
|
257
261
|
Publishes the website to GitHub pages.
|
|
258
262
|
|
|
259
263
|
We recommend that you begin by typing:
|
|
260
264
|
|
|
261
|
-
|
|
262
|
-
|
|
265
|
+
code=${`cd ${cdpath}`}
|
|
266
|
+
code=${`${pkgManager} start`}
|
|
263
267
|
|
|
264
268
|
Happy building awesome websites!
|
|
265
|
-
|
|
269
|
+
`;
|
|
266
270
|
}
|
|
267
271
|
exports.default = init;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-docusaurus",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.14",
|
|
4
4
|
"description": "Create Docusaurus apps easily.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"
|
|
26
|
+
"@docusaurus/logger": "2.0.0-beta.14",
|
|
27
27
|
"commander": "^5.1.0",
|
|
28
28
|
"fs-extra": "^10.0.0",
|
|
29
29
|
"lodash": "^4.17.20",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/supports-color": "^8.1.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "c4824a8937d8f1aa0806667749cbc74058e2b294"
|
|
43
43
|
}
|
|
@@ -24,13 +24,13 @@ const config = {
|
|
|
24
24
|
docs: {
|
|
25
25
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
26
26
|
// Please change this to your repo.
|
|
27
|
-
editUrl: 'https://github.com/facebook/docusaurus/
|
|
27
|
+
editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
28
28
|
},
|
|
29
29
|
blog: {
|
|
30
30
|
showReadingTime: true,
|
|
31
31
|
// Please change this to your repo.
|
|
32
32
|
editUrl:
|
|
33
|
-
'https://github.com/facebook/docusaurus/
|
|
33
|
+
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
34
34
|
},
|
|
35
35
|
theme: {
|
|
36
36
|
customCss: require.resolve('./src/css/custom.css'),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-2-classic-template",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"docusaurus": "docusaurus",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "2.0.0-beta.
|
|
18
|
-
"@docusaurus/preset-classic": "2.0.0-beta.
|
|
17
|
+
"@docusaurus/core": "2.0.0-beta.14",
|
|
18
|
+
"@docusaurus/preset-classic": "2.0.0-beta.14",
|
|
19
19
|
"@mdx-js/react": "^1.6.21",
|
|
20
20
|
"clsx": "^1.1.1",
|
|
21
21
|
"prism-react-renderer": "^1.2.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-2-classic-typescript-template",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"docusaurus": "docusaurus",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"typecheck": "tsc"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@docusaurus/core": "2.0.0-beta.
|
|
19
|
-
"@docusaurus/preset-classic": "2.0.0-beta.
|
|
18
|
+
"@docusaurus/core": "2.0.0-beta.14",
|
|
19
|
+
"@docusaurus/preset-classic": "2.0.0-beta.14",
|
|
20
20
|
"@mdx-js/react": "^1.6.21",
|
|
21
21
|
"clsx": "^1.1.1",
|
|
22
22
|
"prism-react-renderer": "^1.2.1",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"react-dom": "^17.0.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@docusaurus/module-type-aliases": "2.0.0-beta.
|
|
27
|
+
"@docusaurus/module-type-aliases": "2.0.0-beta.14",
|
|
28
28
|
"@tsconfig/docusaurus": "^1.0.4",
|
|
29
29
|
"typescript": "^4.5.2"
|
|
30
30
|
},
|
|
@@ -29,13 +29,14 @@ const config = {
|
|
|
29
29
|
docs: {
|
|
30
30
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
31
31
|
// Please change this to your repo.
|
|
32
|
-
editUrl:
|
|
32
|
+
editUrl:
|
|
33
|
+
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
33
34
|
},
|
|
34
35
|
blog: {
|
|
35
36
|
showReadingTime: true,
|
|
36
37
|
// Please change this to your repo.
|
|
37
38
|
editUrl:
|
|
38
|
-
'https://github.com/facebook/docusaurus/
|
|
39
|
+
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
39
40
|
},
|
|
40
41
|
theme: {
|
|
41
42
|
customCss: require.resolve('./src/css/custom.css'),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-2-facebook-template",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"docusaurus": "docusaurus",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"format:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,md,mdx}\""
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/core": "2.0.0-beta.
|
|
22
|
-
"@docusaurus/preset-classic": "2.0.0-beta.
|
|
21
|
+
"@docusaurus/core": "2.0.0-beta.14",
|
|
22
|
+
"@docusaurus/preset-classic": "2.0.0-beta.14",
|
|
23
23
|
"@mdx-js/react": "^1.6.21",
|
|
24
24
|
"clsx": "^1.1.1",
|
|
25
25
|
"react": "^17.0.1",
|
package/lib/.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../../node_modules/@types/prompts/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/glob/index.d.ts","../../../node_modules/@types/shelljs/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/supports-color/index.d.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/bonjour/index.d.ts","../../../node_modules/@types/braces/index.d.ts","../../../node_modules/magic-string/index.d.ts","../../../node_modules/@types/buble/index.d.ts","../../../node_modules/@types/keyv/index.d.ts","../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../node_modules/@types/responselike/index.d.ts","../../../node_modules/@types/cacheable-request/index.d.ts","../../../node_modules/source-map/source-map.d.ts","../../../node_modules/@types/clean-css/index.d.ts","../../../node_modules/@types/color-name/index.d.ts","../../../node_modules/@types/color-convert/conversions.d.ts","../../../node_modules/@types/color-convert/route.d.ts","../../../node_modules/@types/color-convert/index.d.ts","../../../node_modules/@types/color/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/connect-history-api-fallback/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/schema-utils/declarations/validationerror.d.ts","../../../node_modules/ajv/lib/ajv.d.ts","../../../node_modules/schema-utils/declarations/validate.d.ts","../../../node_modules/schema-utils/declarations/index.d.ts","../../../node_modules/tapable/tapable.d.ts","../../../node_modules/webpack/types.d.ts","../../../node_modules/@types/copy-webpack-plugin/index.d.ts","../../../node_modules/@types/cssnano/node_modules/postcss/lib/postcss.d.ts","../../../node_modules/@types/cssnano/index.d.ts","../../../node_modules/source-map-js/source-map.d.ts","../../../node_modules/postcss/lib/comment.d.ts","../../../node_modules/postcss/lib/at-rule.d.ts","../../../node_modules/postcss/lib/rule.d.ts","../../../node_modules/postcss/lib/container.d.ts","../../../node_modules/postcss/lib/declaration.d.ts","../../../node_modules/postcss/lib/warning.d.ts","../../../node_modules/postcss/lib/previous-map.d.ts","../../../node_modules/postcss/lib/input.d.ts","../../../node_modules/postcss/lib/css-syntax-error.d.ts","../../../node_modules/postcss/lib/document.d.ts","../../../node_modules/postcss/lib/root.d.ts","../../../node_modules/postcss/lib/lazy-result.d.ts","../../../node_modules/postcss/lib/processor.d.ts","../../../node_modules/postcss/lib/result.d.ts","../../../node_modules/postcss/lib/node.d.ts","../../../node_modules/postcss/lib/list.d.ts","../../../node_modules/postcss/lib/postcss.d.ts","../../../node_modules/@types/css-minimizer-webpack-plugin/index.d.ts","../../../node_modules/@types/decompress/index.d.ts","../../../node_modules/@types/dedent/index.d.ts","../../../node_modules/@types/detect-port/index.d.ts","../../../node_modules/p-cancelable/index.d.ts","../../../node_modules/@szmarczak/http-timer/dist/source/index.d.ts","../../../node_modules/cacheable-lookup/index.d.ts","../../../node_modules/got/node_modules/type-fest/source/basic.d.ts","../../../node_modules/got/node_modules/type-fest/source/except.d.ts","../../../node_modules/got/node_modules/type-fest/source/mutable.d.ts","../../../node_modules/got/node_modules/type-fest/source/merge.d.ts","../../../node_modules/got/node_modules/type-fest/source/merge-exclusive.d.ts","../../../node_modules/got/node_modules/type-fest/source/require-at-least-one.d.ts","../../../node_modules/got/node_modules/type-fest/source/require-exactly-one.d.ts","../../../node_modules/got/node_modules/type-fest/source/partial-deep.d.ts","../../../node_modules/got/node_modules/type-fest/source/readonly-deep.d.ts","../../../node_modules/got/node_modules/type-fest/source/literal-union.d.ts","../../../node_modules/got/node_modules/type-fest/source/promisable.d.ts","../../../node_modules/got/node_modules/type-fest/source/opaque.d.ts","../../../node_modules/got/node_modules/type-fest/source/set-optional.d.ts","../../../node_modules/got/node_modules/type-fest/source/set-required.d.ts","../../../node_modules/got/node_modules/type-fest/source/package-json.d.ts","../../../node_modules/got/node_modules/type-fest/source/tsconfig-json.d.ts","../../../node_modules/got/node_modules/type-fest/index.d.ts","../../../node_modules/got/dist/source/as-stream.d.ts","../../../node_modules/got/dist/source/utils/timed-out.d.ts","../../../node_modules/got/dist/source/errors.d.ts","../../../node_modules/got/dist/source/create.d.ts","../../../node_modules/got/dist/source/known-hook-events.d.ts","../../../node_modules/got/dist/source/utils/options-to-url.d.ts","../../../node_modules/got/dist/source/types.d.ts","../../../node_modules/got/dist/source/index.d.ts","../../../node_modules/@types/download/index.d.ts","../../../node_modules/@types/escape-html/index.d.ts","../../../node_modules/@types/eslint/helpers.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/eslint-scope/index.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/github-slugger/index.d.ts","../../../node_modules/@types/got/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/history/domutils.d.ts","../../../node_modules/@types/history/createbrowserhistory.d.ts","../../../node_modules/@types/history/createhashhistory.d.ts","../../../node_modules/@types/history/creatememoryhistory.d.ts","../../../node_modules/@types/history/locationutils.d.ts","../../../node_modules/@types/history/pathutils.d.ts","../../../node_modules/@types/history/index.d.ts","../../../node_modules/@types/uglify-js/index.d.ts","../../../node_modules/@types/relateurl/index.d.ts","../../../node_modules/@types/html-minifier/index.d.ts","../../../node_modules/@types/html-minifier-terser/index.d.ts","../../../node_modules/@types/html-webpack-plugin/index.d.ts","../../../node_modules/@types/http-proxy/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/jest-diff/build/cleanupsemantic.d.ts","../../../node_modules/jest-diff/build/types.d.ts","../../../node_modules/jest-diff/build/difflines.d.ts","../../../node_modules/jest-diff/build/printdiffs.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/pretty-format/build/types.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/js-yaml/index.d.ts","../../../node_modules/ast-types/types.d.ts","../../../node_modules/ast-types/gen/namedtypes.d.ts","../../../node_modules/ast-types/gen/kinds.d.ts","../../../node_modules/ast-types/gen/builders.d.ts","../../../node_modules/ast-types/lib/types.d.ts","../../../node_modules/ast-types/lib/path.d.ts","../../../node_modules/ast-types/lib/scope.d.ts","../../../node_modules/ast-types/lib/node-path.d.ts","../../../node_modules/ast-types/lib/path-visitor.d.ts","../../../node_modules/ast-types/gen/visitor.d.ts","../../../node_modules/ast-types/main.d.ts","../../../node_modules/recast/lib/options.d.ts","../../../node_modules/recast/lib/parser.d.ts","../../../node_modules/recast/lib/printer.d.ts","../../../node_modules/recast/main.d.ts","../../../node_modules/@types/jscodeshift/src/collections/jsxelement.d.ts","../../../node_modules/@types/jscodeshift/src/collections/node.d.ts","../../../node_modules/@types/jscodeshift/src/collections/variabledeclarator.d.ts","../../../node_modules/@types/jscodeshift/src/collection.d.ts","../../../node_modules/@types/jscodeshift/src/template.d.ts","../../../node_modules/@types/jscodeshift/src/core.d.ts","../../../node_modules/@types/jscodeshift/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/katex/contrib/auto-render.d.ts","../../../node_modules/@types/katex/contrib/katex2tex.d.ts","../../../node_modules/@types/katex/contrib/index.d.ts","../../../node_modules/@types/katex/index.d.ts","../../../node_modules/@types/loader-utils/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/mdx-js__react/index.d.ts","../../../node_modules/@types/micromatch/index.d.ts","../../../node_modules/@types/mini-css-extract-plugin/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/form-data/index.d.ts","../../../node_modules/@types/node-fetch/externals.d.ts","../../../node_modules/@types/node-fetch/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/nprogress/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/parse-numeric-range/index.d.ts","../../../node_modules/@types/parse5/index.d.ts","../../../node_modules/@types/picomatch/lib/constants.d.ts","../../../node_modules/@types/picomatch/lib/parse.d.ts","../../../node_modules/@types/picomatch/lib/scan.d.ts","../../../node_modules/@types/picomatch/lib/picomatch.d.ts","../../../node_modules/@types/picomatch/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/prismjs/index.d.ts","../../../node_modules/@types/react-dev-utils/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts","../../../node_modules/@types/react-helmet/index.d.ts","../../../node_modules/@types/react-router/index.d.ts","../../../node_modules/@types/react-router-config/index.d.ts","../../../node_modules/@types/react-router-dom/index.d.ts","../../../node_modules/@types/react-test-renderer/index.d.ts","../../../node_modules/@types/resolve/index.d.ts","../../../node_modules/@types/retry/index.d.ts","../../../node_modules/@types/rtl-detect/index.d.ts","../../../node_modules/@types/rtlcss/index.d.ts","../../../node_modules/@types/sax/index.d.ts","../../../node_modules/@types/scheduler/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/serve-handler/index.d.ts","../../../node_modules/@types/serve-index/index.d.ts","../../../node_modules/@types/sharp/index.d.ts","../../../node_modules/@types/source-list-map/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/stringify-object/index.d.ts","../../../node_modules/@types/tapable/index.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/@types/wait-on/index.d.ts","../../../node_modules/anymatch/index.d.ts","../../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts","../../../node_modules/@types/webpack-sources/lib/source.d.ts","../../../node_modules/@types/webpack-sources/lib/compatsource.d.ts","../../../node_modules/@types/webpack-sources/lib/concatsource.d.ts","../../../node_modules/@types/webpack-sources/lib/originalsource.d.ts","../../../node_modules/@types/webpack-sources/lib/prefixsource.d.ts","../../../node_modules/@types/webpack-sources/lib/rawsource.d.ts","../../../node_modules/@types/webpack-sources/lib/replacesource.d.ts","../../../node_modules/@types/webpack-sources/lib/sizeonlysource.d.ts","../../../node_modules/@types/webpack-sources/lib/sourcemapsource.d.ts","../../../node_modules/@types/webpack-sources/lib/index.d.ts","../../../node_modules/@types/webpack-sources/lib/cachedsource.d.ts","../../../node_modules/@types/webpack-sources/index.d.ts","../../../node_modules/@types/webpack/index.d.ts","../../../node_modules/@types/webpack-bundle-analyzer/index.d.ts","../../../node_modules/@types/webpack-dev-middleware/index.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/types.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/response-interceptor.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/public.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/index.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/index.d.ts","../../../node_modules/chokidar/types/index.d.ts","../../../node_modules/@types/webpack-dev-server/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d555cd63a3fc837840db192596273fdf52fb28092b0a33bec98e89a0334b3a4c",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"85d545d430795d54a8b2896f67f9aeb7bf19fd74a1469ae0627311eb72f0dfa2","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","d5afcd002167b6b03d595fb8b9630a00456b6fb9d2c5e8b6aaa30cb31bc44e2b","3d68ecf05475492f041c88395372c3a01b30351619bebcd38287ab185be7f7e4",{"version":"a97ac401f6b334e9b1f6c8ee9319d6e21cc39d2f400e909805dfb8ab5eab0576","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","7674b65ac0a3b160232d84464b3486d727415581e5b99ff4aec324500adc98a4","87f16999a5832968485f6e20dd70529399143c3cf35003485020a037f338b75f","508e1e25ca40ea6cde332d3232c826fcd82f456f45ae535d817754684f048f9e",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"8f8f6ee2a0c94077f79439f51640a625ac7e2f5dd6866bd3b5a41705c836adfc","affectsGlobalScope":true},"ad908b2432dc4143f3439d3c625255f1050447a0232a1e9c2bffa20f37ec0097","e8d2d40a15313520a510409c8f3aeed28b79aab61af41ae65084570f9843b306","9700d148ccc0784923f66a3a7162e523172b530e8b3aa9834f53a6e893127c80","88587b5c94b0c4f5d78026e4beeb93383b3933c860d9840b55d6bf47d7b632bb","a473ecd14d9bafbd6a33105524b033237bbf1d6ce2cd81eb71cc54bec2d83d55","4e9f66d07d1687983ef1903654f4a4977563a0318046e893c5ecdb4dac25d376","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","7a2a3ff87ffd4313a6a2f3b012e801dd249ee58152cedf90c8718dcd2c811fe3","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","a39a4c527b7a2dc7a2661b711a534c10c76852c5ad6ae320767d3f7d2621b67d","1bb5c9857b2ee32c199dd85bc0f4c0299112485d6e5dc91428eabfdee0dbd68c",{"version":"5daba568741c8ed283d67bf370c626a91e09fdfbc6d4abe22a7f93e2cf5138b9","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","662661bbf9ccd869f3bca82d34234b2abdc95c657e2187c35352d42dddb24c2d","bec890dbc489a627439ad67330f9418d7f03aed29d1f874e5219a121da040cfa","4c4334eb5d8fae83416a361d787b55a5743916aed8af812a909898bc7333e709","6feb6f75a3e4e017f8e6e12740cf06f18eefcf829284fa310da6c7f4d44fb2eb","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","b709ff1f6d6235f5e9c8dcbce3e683ff24ec35046b232d5a281af083026018d1","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","ee6a154ecccde26b413e89c97a0b824f25b253c4c50a3c392bcb2b4c6ba9c314","d9a653f75614c4d3f63e88b7aae66390bf71a8cea02f5f7db8ca6c1a8e8c3f1a","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","c5ec3b97d9db756c689cd11f4a11eaa9e6077b2768e3e9b54ff727a93c03a909","c14e9e86f18189c7d32b5dd03b4cf3f40bed68f0509dec06d75d41b82c065fe2","bdb07038733b2d74a75ba9c381dcb92774cd6f161ee125bfa921eae7d883ccc9","ad93e960a3a07dff7394bf0c8a558006a9ff2d0725ab28fc33dec227d4cb251e",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4362a776026a354985d9f2acc54b92630d8a084948ff9592ccd8f167276c5117","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","5b8476e49f360da8548e0acfbb77344291512db4453512c7b5ec8277f1c762c3","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","378df8bbbb9e3f6fca05d58f644aab538e1062eab5e778fb0b83d41125df246d","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"105fa3d1b286795f9ac1b82f5a737db303dfe65ebc9830c1938a2bbe538a861f","b961c2695000e544bb16d50dbd8d8b6e5a17fbb3dec5aae5c9d43fb34a3b14b3","272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54","8dfed5c91ad36e69e6da6b7e49be929d4e19666db2b651aa839c485170a2902c","64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","d0b0a00cf31968a33baeaadf974ce4e5e7edf58cea5288765293f41ba5e72b3a","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","713cb5c36e9452e3573d87fd4a911bfd4339aa21a7293f764689ae2dce4f198b","40304c033bb6e39f0eb01b106d29523950148dfc3cd547ddb500167871171281","df66dd87e5338e59ca0550af424ba22c59a8f4b30b20a214b6ed250562b7c755","4df33232578477b818eb7d40c8558ccf4afde30e920f9503cd359307a1771d8a","82169f198ffdfc787fba368ccfad2b2d8ef3712f3c696df94ac13f6884bbbe2d","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","81bf524a00ab23da11642375b81429cd73f21e2f380c139da6485136f21292e4","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69","8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012","92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9","8dc44c4ad7e254d4404a302e5098e83ab9aae1d65e861c15fb67a7f419051524","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"d168ca1638b27c95909b68805c84b8018dba87630bb1e4cc99be4ccdf119f39d","affectsGlobalScope":true},"56cbe80e6c42d7e6e66b6f048add8b01c663797b843a074d9f19c4a3d63a269a","7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","dee5d387e2e6f3015cbf91fc0c13ed6f016f9c5c1f2ad9c62602f4fd398fa83a","67f129ed8b372622ff36b8b10e39d03e09e363a5ff7821105f92f085b8d1ccba","721124f5db1f4a42da2308dfa1414d2e99055d2dfc59de7bf2e0b6ac64356c0e","0d7569149194d622212c21d5d162b0715d5a6ca764cebae7145fdbaff1e07311","cd74c8275483d3fe0d07a9b4bba28845a8a611f0aa399e961dbd40e5d46dd9ad","1bb77ef90f80a26d5db0b56e51a629bf43a67806b229aa255a4f5863483978c6","ef4f3614064e7f2eb68c3271e08d3caf38df7f83be17c73a1d47e1b1800ee9ae","aec0cabbdfacf43db998d8e50ee6f1e72131d24b5018dfb84f14806717baa0a6","adc1bcbe46a680d894ea5be9f05e0baa43652bd9125a0302623d1afd0dc03b6c","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","13e521f4402f90bde98f8820045ee230168810f98f818b61f99cac728abd17a3","0475e7b7d37d065501e741e3be9b99a12ac34ff847143d83bb9d2bc9101a2625","611105c6a693c07a8a1be7fd04cda603e71b12471d4bdef34820ce653eb313e9","cba0f7d95990ecef0d0dbfc6b265fd307bd052aff61cbd7b165cbffe9d75ae24","57b9abe6f1a8b32ddbe5f28cd4dd73fa095afc8b24ae341049950f6b465872d0","a059f9bec8cf889db591a9d569f66d22e9acb4cdc67225238391c79eff517524","7786c75c1b46e93b33c63dccf689143a5f47ff451a6b3bd9b10e4801cdeadcc2","b96468bc2136fc580140702e9845d4ebf3413de9fb64093b6f7415ceb184fe5a","93fee8994db07645f6d7e241d57d3d786aaea17179c30e4d81156cc31193009d","e8966f7c424780bb0b9d411ebe13eda8555ca15aa675603316c2952bc027b0e3","df0e5f3c4a518111d160cf3bebc9a3ac7d39c6e3bfb7a21d43c304896c3015e2","c20569bc091e62ebe362b422738e82dfc7eedce351960f71af861821d434a960","bd204da7ab4613d12650bd6a4947258890ca9793df0a7a72dc4231f19d53f08e","afe79664dc4e1688ec4c6def52f793706d4763f55676eebfe72e92681e779404","6fdb5e8e7c1fc94fab356bb804c6e134133b5ad03b929ac2c1460bd49e4caa22","d7e4a5f4ccfb749c3033fafc233073b4d1dcca0249785186c589602a81f9d86f","d8f284ecc998ccc96e151e0d96109613c4901371201ddb1d7103f84199460589","4c0594efa2447408e66370c20b4de3de3bb2416cfff6b139c50ccb51e2cc6e43","825080a15a8b14b40ac8c7f90c12a5a11efb0b3857dc02195eae2a3dc98aea14","70646d9cb37b62611766d18a9bcca6cbf28ca9aec33a66244e974056ab1193f6","3f73b2be17fe55a6d9f9057cd3520e786ad21623b63001ac117ebc97452c3ffe","6bc64e37d72e60ec298911f260518ad11a875b236c237a4b4319a2c8f76a6467","7ab735672492614a1af2098219bd191642e2bbd126e0631e13ed15e947238a51","10510a2c7d7c10c39cc186e5b36fd95af6151a2402fd8dc99445786614cf72cf",{"version":"fda9e5c2afd0920ead6baed40f164229ec8f93188b5c8df196594a54bb8fb5e3","affectsGlobalScope":true},"c58be3e560989a877531d3ff7c9e5db41c5dd9282480ccf197abfcc708a95b8d","91f23ddc3971b1c8938c638fb55601a339483953e1eb800675fa5b5e8113db72","50d22844db90a0dcd359afeb59dd1e9a384d977b4b363c880b4e65047237a29e","d33782b82eea0ee17b99ca563bd19b38259a3aaf096d306ceaf59cd4422629be","7f7f1420c69806e268ab7820cbe31a2dcb2f836f28b3d09132a2a95b4a454b80","f9ecf72f3842ae35faf3aa122a9c87a486446cb9084601695f9e6a2cdf0d3e4b","61046f12c3cfafd353d2d03febc96b441c1a0e3bb82a5a88de78cc1be9e10520","f4e7f5824ac7b35539efc3bef36b3e6be89603b88224cb5c0ad3526a454fc895","091af8276fbc70609a00e296840bd284a2fe29df282f0e8dae2de9f0a706685f","537aff717746703d2157ec563b5de4f6393ce9f69a84ae62b49e9b6c80b6e587","d4220a16027ddf0cc7d105d80cbb01f5070ca7ddd8b2d007cfb024b27e22b912","5d007514c3876ecc7326b898d1738eed7b77d6a3611d73f5c99fe37801dd48e6","85dff77bf599bd57135b34169d8f80914bbcdb52dfa9fb5fa2204b366363d519","3af910f7ac7e7b9dce041b3f1d07426cb14519f6371869e478522bbe69643a4c","8e358d80ac052e9f4e5cc16d06c946628834b47718a4bd101ef2087603b8e5c7","9164dfd85eba6d2f7acd3f6abb6e800bcc9e2c3f0221abcb2d69ee7dda1b307d","963d33d1b4cc0b88fa3e00ac4532cb8f62176dced79e3c7c3fcdb02747307125","e40f22ef14ca35f5019e16f852366d0880e42e955c03cc25da2abe689eef679c","c6132412b4582755d0de867bbc0dde62a42a44e2f2832a096fcd133dc870e911","e1b85e2d464f3b7ec2898e61a41247269d6ea00226b7c69b2a7d89f4fb2e3313","8cc466b79d020b83f9b6631678b3cde3204e6f9cb921fc187e7eec895f72d92f","f100be677ba4aa9df521adf73f3668e35d7fa14800af2765b1db5286fe358af5","4221e047d59b81604a722d6bdde570c0433d8e424b3c6810fe10d0d6ab61682b","8a530b2ccfe8125b8e3bd7c450b0f7be55f21a396319be78fbeb6314236b7c15","265aa5dae437b70cc82626488e3e68747e80fddeccc89ef47205b4dcaf864f47","81f6af9b1d8e4f9e3b7318763a1a93f909ee61e0477b41cc7f3281d9da6ca7f4",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"6c29066d1acba21f6fde8042da49ba4df5cad690dac19416a8f7af17d451ed40","82772e5d55062a042a2715a555d347275a663940926fc785705eb082010cb9f6","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","0b85cb069d0e427ba946e5eb2d86ef65ffd19867042810516d16919f6c1a5aec","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","78a1efd7214a25b84e08af80fe2b027c3049e52b26dfcaf777b82c759d8548c9","8f76c6bfb627f38ab44c35d1915dfa2d24d4b96307d9b6cc56df5bba246a3ab6","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0",{"version":"271cde49dfd9b398ccc91bb3aaa43854cf76f4d14e10fed91cbac649aa6cbc63","affectsGlobalScope":true},"2bcecd31f1b4281710c666843fc55133a0ee25b143e59f35f49c62e168123f4b","a6273756fa05f794b64fe1aff45f4371d444f51ed0257f9364a8b25f3501915d","2374e4ddc628bd0af8ce7578621f1b9d08ab183f4dbacb8749eabb1a85018196","25d91fb9ed77a828cc6c7a863236fb712dafcd52f816eec481bd0c1f589f4404","4cd14cea22eed1bfb0dc76183e56989f897ac5b14c0e2a819e5162eafdcfe243","ab35d08aa06a7615f06dad04db7e88f27d623220f05de68a94f16d5d22e6aaea","9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36","0def05b4e59413659e7f1cad8b0e32858d7d272a4701457e7fea95618f6ef7db","660fa27262840c791c5b0a05ea10b07c846190f0e8a8312202f7646f1aa7813d","233195dd39bbfcdce765006e72f093aae1d3748bd970c73c5f01e7ee1ef24f5d","7c34d4965567c3d4814cc408340c1d268c00c7d08e2a90e3de8215a42c1ff2b9","090ca38de36da6946266ef9057295341b6499c2fad4fe441afa50b2e864846b0","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","cc2dc362fc50995684e9f7e9b38ad9bdf19e74919294a694cbc05392352cad7d","abef3012ae70d98baa449664e9dda50c96fc68b0fd11a592d6590d85bb89cd10","456e83839c811cedebb65c8b05027120336b3bd6920259817d728ffc52d41e2f","ea79d9641e700b2b4a04a857ed1ef692c4caf988017fbabd64c4111f7c287673","0a90b9435b81f45b88c5fb8d30e85b77d3508eb0760dc40b9fb825fd29f92375","8cd7362102d928e21b291a013f80fc68a038d4506d26ea9948c676e3fa1110d9","90f6830fb380f4d2b69df018343ae80ce92991e85a0d7be8d214c643b39d1175","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","a1d51fd5a8f9c1c038799a43c038397ca3ed99ee73cc0b0aada897e7cc8aca91","6c9708ae545db5f8deb8ef774d412fd1b46adade794664d7c6cfd0a1f6dfd64f","9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","67aee88594abc44cd58820dea2ed1a9d373c1c2a59941234e4abe797464bc4da","65d8bfb66a25ff068ea4ce271174b0b4c35aee664b349db941a5688f0e6d621d","f8cb94e0dffd21068a952754ec67d01d35a15fa61bd3af951f949e9b8bde7976","9928c4f48144f7d79716955310c857518d21ada0fcb7017fbf5921e547320cb8","3c7ef314f6691dbba43cb1310a82d610ea648cc4498cd685c3e25442ea2d98a0","2305508907ae4c993dda584411bfedac5821b8a55853caeebf2341f58b2fa027","4bdf362501ecd30c2037b91dda8d091fa2dd9b13990d0718bddb9e02919e35dc","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","d5233d3816d390f80493f4e678f3437b5af677452e6401e8e23641108339b9e0","1ced83d3606cfe4a0d2d98c24873b4147ac4c1b9beacb1d1dd0d8bacd3a00220","42c7f325d2075cf80f65ef6225692605b6516602209175d29281c7a53838d28f","f667b528eae7dbdd854691d8f654e33f664e0a6054fdd696fced817c778fc7f1","b49afdc0206971f3baf6cff99795593dcf6e97d7dca096f8bfda3b0e0a190a15","2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720","affectsGlobalScope":true},"1a4f6207fac7bf7e94957a5c7cac0c33d07499bab60a197dabea4f452a544cd8","1a255ad66d2b50f7b42eca69228b9587878cf06900780ad57a306a933c6eaeb4","6d99b95b8235303e67b33d9ad8ee6532023b1bcc36be10a9cc9d46ad5f89754b","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","3c17de487f67fd2ce7a70090b19e791b0388ed9cb60cdbdc7a49277094ffc413","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","cf64eeeaef3601863fba2302368ec01bd9a991a24d39f68ddc9a525ffa20f1cc","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","3e4001643b64a3a4722718c5a778ae73f3dd43487e39508ce2f9dd7cfb1d40b7","b90c23a457c16f77a282531a5caba5c911d2252eb097f3193a8ee2df6a3f21a2","8f9aa0f1f409380d4dbd5c9f5f2e4af828e123095891dd0efc5bb999f8d1a301","bdab62a006260d5fd3c623f0b635140bf48d7a8f87f0eeca5fb188b5ac66770f","c0dd6b46374a90bbb701cc4888a9d6b698a479a2acce11969c5583ba6127f5d5","9d9e658d1d5b805562749ce383ef8c67ccb796394d8734d9c138788d7dab6ee3","f142847486040d476276933f02f4fe18b50196d14d8774be7c4bc221dad4d90b","b5478b9a935cf14fe43a00f80dee3805b5f5f6d33be9d96fae7babea0e0dad76","45a63e17814c570ea59407f231ef9c561510bd6edb36f17479b09b44619496c6","2efbc0886a7e5de052cf7ddba37505a693ba7b8cf7c1f36072534f6d8592e82e","6c362c5d50652957065cf52f282a2bf0a456ed3713738d0ee1a9089dbb5b5fe7","9fa083ffb459128013c5b101df83124ad2636d9ba1185f105567416ca550e8f9","8017277c3843df85296d8730f9edf097d68d7d5f9bc9d8124fcacf17ecfd487e","60aaac5fb1858fbd4c4eb40e01706eb227eed9eca5c665564bd146971280dbd3","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3","257eb160efb706e5d8e4ffa48d940e6c471e03bd19470537368c0599a78fb755","6e199fa01a463a67a34603881ff8862f94b2f88ad2384ae7808b2521638ed43a","f5559569170baba17cd175273efbdaa891d045e96cf481af0c9d5677d224c0e9","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","d9e55d93aa33fad61bd5c63800972d00ba8879ec5d29f6f3bce67d16d86abc33","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","c544d81603149987796b24cca297c965db427b84b2580fb27e52fb37ddc1f470","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","9eb2875a1e4c583066af7d6194ea8162191b2756e5d87ccb3c562fdf74d06869","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","6eef5113135a0f2bbac8259909a5bbb7666bcde022c28f4ab95145623cbe1f72","058b8dd97b7c67b6bf33e7bda7b1e247b019b675d4b6449d14ac002091a8b4f8","89c8a7b88c378663a8124664f2d9b8c2887e186b55aa066edf6d67177ca1aa04","5a30ba65ad753eb2ef65355dbb3011b28b192cb9df2ef0b5f595b51ca7faf353","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","86d425f7fcd8d100dafa6286cc289af88cbb639ecbdbd25c3018a8f0f7b09fe5","9795e0a3a45d5b6f1a791ee54b7c8b58bc931e8900966cea2dff9c5bae56073b","5890be29879d02424b7654f40592915189034948f7a18c5ad121c006d4e92811","0ab49086f10c75a1cb3b18bffe799dae021774146d8a2d5a4bb42dda67b64f9b","81c77839e152b8f715ec67b0a8b910bcc2d6cf916794c3519f8798c40efd12ac","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","464843c00fb3dd4735b28255c5c9fe713f16b8e47a3db09ba1647687440f7aef","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","d0f6d36b2d86f934560c48d8bfdc7ab60c67cfb2ab6dc1916706aa68e83d6dc2","d51a4e4450ee23d941db79652c660ca2612691dba235fd5d14d4b2a622c72312","acebfe99678cf7cddcddc3435222cf132052b1226e902daac9fbb495c321a9b5","645e0e7901bbe46b6593626aa3d072e729813313672d95244dc6b63b20ed7392","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","2905bf42cddf7ba20c88922d36b7afa5431523c1cab119fdb38bf5baab02adf1","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"805d1cf8aa6aeb6f12c7b0b1c5da1e9fc3f1814052703ebf5e54b694aaada983","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762","b2f006ee835f315d01c43c0f5d9e9ad78a5870b380899877b32a33078d065dbd","a5ff9638738de5605b52e777ee4d27112ac6d7aaf6f2aa38c750edb8c7516ad3","194adacd491e778e9cdcbf3e47a9656b8ef9c3cc51a4448bfddf6305d9645986","9aea9e19ab167201a1b9297ca13eab639ef6d7cb79189e5c0d13f4f69a500583","f90d85d4cb38445499bdb7e7b013e4f64d99d157a6fa0843e998495ceb27b520","2e178a87e7bf03a067cfb1cf5573e7c4899fcbc9f462a0b0c67d238e39b794a4","901becb8779e1089442378fda5623e607ee4588762a32e7692436f1ea81cf848","8286d84d2567b713fd6a1fdfbb1a0abc8cfa668ee1e0e83d7dd4ade5761f2750","f28dffc6bf9bbd8b9dc156aadb74d11de7faabf547eb9f0aebb8cd03e8750a6c","ca7f76d3ea132bde53dca1a0f33cda95397d20c248e452c050773f01504d9802","2f495fcb913e89c0dace4a79e5bd7214c674ef8a391c8056a77a084eb3c882f9","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","09c4b2e2d3070239d563fc690f0cc5db04a2d9b66a23e61aef8b5274e3e9910c"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":false,"esModuleInterop":true,"importHelpers":true,"jsx":2,"module":1,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":6,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[112],[63,91,193],[112,113,114,115,116],[112,114],[63,91,118,193],[57,91],[122],[60,63,83,91,124,125,126,193],[63,65,91,128,193],[130],[131,132],[131],[133],[83,91,137],[91,146],[146,149,167],[148],[128],[91],[77,91,169,199],[139,203],[139,140,202],[60,63,91,135,136,193],[119,136,137,206],[61,91],[60,61,91,94],[63,65,77,83,91,193],[211],[213,219],[214,215,216,217,218],[219],[129,220,221],[145,146,222],[60,63,65,68,77,83,91,193],[226],[227],[233,235],[258],[242,245,252,253,254,255],[245,248,256],[242,245,248,256],[242,245,248,252,253,255,256,257],[264],[261,262],[263],[60,91],[97,99,100,101,102,103,104,105,106,107,108,109],[97,98,100,101,102,103,104,105,106,107,108,109],[98,99,100,101,102,103,104,105,106,107,108,109],[97,98,99,101,102,103,104,105,106,107,108,109],[97,98,99,100,102,103,104,105,106,107,108,109],[97,98,99,100,101,103,104,105,106,107,108,109],[97,98,99,100,101,102,104,105,106,107,108,109],[97,98,99,100,101,102,103,105,106,107,108,109],[97,98,99,100,101,102,103,104,106,107,108,109],[97,98,99,100,101,102,103,104,105,107,108,109],[97,98,99,100,101,102,103,104,105,106,108,109],[97,98,99,100,101,102,103,104,105,106,107,109],[97,98,99,100,101,102,103,104,105,106,107,108],[271],[121],[63,83,91,193,276,277],[60,61,68,77],[52,60,68],[84],[56,61,69],[77],[58,60,68],[60],[60,62,77,83],[61],[68,77,83],[60,61,63,68,77,80,83,193],[63,77,80,83,193],[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],[83],[58,60,77],[50],[82],[75,84,86],[68],[74],[60,62,77,83,86],[287],[284,285,286],[77,91],[219,271,294],[219,271],[267,268,269,270],[63,77,91,193],[163,167],[304,343],[304,328,343],[343],[304],[304,329,343],[304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342],[329,343],[61,63,91,193],[61,207],[63,91,193,205],[52,91,95],[351],[80,91],[63,118,146,193],[63,65,120,138,146,193,206,207,345,370,376,377],[374],[372,373],[371,375],[63,68,83,91,193,207,225],[91,356,357,358,359,360,361,362,363,364,365,366],[355,356,365],[356,365],[347,355,356,365],[355,356,357,358,359,360,361,362,363,364,366],[356],[56,355,365],[56,91,128,145,220,354,367],[379],[239,240],[239],[238,240,242],[239,245,246],[238,242,243,244],[238,242,245,247],[238,242],[238],[238,239,241],[238,239,241,242,243,245,246,247],[58,63,124,193],[60,61,91],[77,91,198],[91,191,192,194,198],[172,173,193,198],[192,194,195,196,198],[198],[63,65,77,83,91,124,126,127,172,173,174,191,193,194,195,196,197],[83,91],[63,193],[175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],[175],[176],[191],[229,230],[229,230,231,232],[154],[154,165],[151,152,153,155,165],[158],[154,161,164,167],[157,167],[156,161,163,164,167],[151,152,153,154,155,156,158,159,160,161,164,167],[150,151,152,153,154,155,156,158,159,160,161,162,163,164,165,166],[150,167],[161,162,164,167],[154,160,164,167],[165],[234],[249],[248,249,250,251],[143],[140,141,142],[140,143],[63,68,80,139,141,143,144,145,193],[46,47,52,70,92,93,96,109,110]],"referencedMap":[[114,1],[173,2],[117,3],[113,1],[115,4],[116,1],[119,5],[120,6],[123,7],[127,8],[129,9],[131,10],[133,11],[132,12],[134,13],[138,14],[118,2],[147,15],[168,16],[149,17],[148,18],[169,19],[200,20],[204,21],[203,22],[137,23],[207,24],[92,25],[95,26],[209,27],[210,25],[212,28],[214,29],[215,29],[216,29],[219,30],[217,31],[218,31],[222,32],[224,33],[225,34],[227,35],[228,36],[236,37],[259,38],[256,39],[253,40],[254,41],[255,40],[258,42],[257,38],[261,43],[263,44],[264,45],[124,46],[265,15],[98,47],[99,48],[97,49],[100,50],[101,51],[102,52],[103,53],[104,54],[105,55],[106,56],[107,57],[108,58],[109,59],[266,28],[272,60],[273,61],[274,15],[278,62],[52,63],[53,64],[54,65],[55,66],[56,67],[57,68],[59,69],[60,69],[61,70],[62,71],[63,72],[64,73],[65,74],[91,75],[66,69],[67,76],[68,77],[71,78],[72,79],[75,69],[76,80],[77,69],[80,81],[82,81],[83,82],[85,67],[88,83],[89,67],[288,84],[287,85],[93,86],[292,60],[293,60],[295,87],[296,87],[294,88],[297,60],[271,89],[298,19],[126,90],[301,91],[302,86],[328,92],[329,93],[304,94],[307,94],[326,92],[327,92],[317,95],[316,95],[314,92],[309,92],[322,92],[320,92],[324,92],[308,92],[321,92],[325,92],[310,92],[311,92],[323,92],[305,92],[312,92],[313,92],[315,92],[319,92],[330,96],[318,92],[306,92],[343,97],[337,96],[339,98],[338,96],[331,96],[332,96],[334,96],[336,96],[340,98],[341,98],[333,98],[335,98],[344,99],[345,100],[206,101],[346,86],[96,102],[352,103],[220,18],[353,104],[369,15],[370,105],[378,106],[373,2],[375,107],[374,108],[372,2],[376,109],[371,110],[367,111],[366,112],[357,113],[358,114],[365,115],[359,114],[360,113],[361,113],[362,113],[363,116],[356,117],[364,112],[368,118],[380,119],[241,120],[240,121],[239,122],[247,123],[245,124],[246,125],[243,126],[244,127],[242,128],[248,129],[174,130],[377,131],[276,90],[192,132],[195,133],[194,134],[199,135],[196,136],[198,137],[197,138],[193,139],[191,140],[184,141],[178,142],[189,143],[182,141],[183,141],[180,142],[231,144],[233,145],[232,144],[152,146],[151,147],[154,148],[159,149],[155,147],[160,150],[158,151],[162,152],[165,153],[167,154],[157,155],[163,156],[164,91],[161,157],[153,146],[156,158],[235,159],[249,127],[250,160],[252,161],[144,162],[143,163],[141,164],[146,165],[111,166]],"exportedModulesMap":[[114,1],[173,2],[117,3],[113,1],[115,4],[116,1],[119,5],[120,6],[123,7],[127,8],[129,9],[131,10],[133,11],[132,12],[134,13],[138,14],[118,2],[147,15],[168,16],[149,17],[148,18],[169,19],[200,20],[204,21],[203,22],[137,23],[207,24],[92,25],[95,26],[209,27],[210,25],[212,28],[214,29],[215,29],[216,29],[219,30],[217,31],[218,31],[222,32],[224,33],[225,34],[227,35],[228,36],[236,37],[259,38],[256,39],[253,40],[254,41],[255,40],[258,42],[257,38],[261,43],[263,44],[264,45],[124,46],[265,15],[98,47],[99,48],[97,49],[100,50],[101,51],[102,52],[103,53],[104,54],[105,55],[106,56],[107,57],[108,58],[109,59],[266,28],[272,60],[273,61],[274,15],[278,62],[52,63],[53,64],[54,65],[55,66],[56,67],[57,68],[59,69],[60,69],[61,70],[62,71],[63,72],[64,73],[65,74],[91,75],[66,69],[67,76],[68,77],[71,78],[72,79],[75,69],[76,80],[77,69],[80,81],[82,81],[83,82],[85,67],[88,83],[89,67],[288,84],[287,85],[93,86],[292,60],[293,60],[295,87],[296,87],[294,88],[297,60],[271,89],[298,19],[126,90],[301,91],[302,86],[328,92],[329,93],[304,94],[307,94],[326,92],[327,92],[317,95],[316,95],[314,92],[309,92],[322,92],[320,92],[324,92],[308,92],[321,92],[325,92],[310,92],[311,92],[323,92],[305,92],[312,92],[313,92],[315,92],[319,92],[330,96],[318,92],[306,92],[343,97],[337,96],[339,98],[338,96],[331,96],[332,96],[334,96],[336,96],[340,98],[341,98],[333,98],[335,98],[344,99],[345,100],[206,101],[346,86],[96,102],[352,103],[220,18],[353,104],[369,15],[370,105],[378,106],[373,2],[375,107],[374,108],[372,2],[376,109],[371,110],[367,111],[366,112],[357,113],[358,114],[365,115],[359,114],[360,113],[361,113],[362,113],[363,116],[356,117],[364,112],[368,118],[380,119],[241,120],[240,121],[239,122],[247,123],[245,124],[246,125],[243,126],[244,127],[242,128],[248,129],[174,130],[377,131],[276,90],[192,132],[195,133],[194,134],[199,135],[196,136],[198,137],[197,138],[193,139],[191,140],[184,141],[178,142],[189,143],[182,141],[183,141],[180,142],[231,144],[233,145],[232,144],[152,146],[151,147],[154,148],[159,149],[155,147],[160,150],[158,151],[162,152],[165,153],[167,154],[157,155],[163,156],[164,91],[161,157],[153,146],[156,158],[235,159],[249,127],[250,160],[252,161],[144,162],[143,163],[141,164],[146,165],[111,166]],"semanticDiagnosticsPerFile":[114,112,173,117,113,115,116,119,120,121,123,127,129,131,133,132,130,134,138,118,147,168,149,148,169,170,171,200,201,204,202,203,139,137,207,92,208,95,209,210,212,214,215,216,213,219,217,218,223,222,224,125,225,226,227,228,236,237,259,256,253,254,255,258,257,140,260,261,263,262,264,124,265,98,99,97,100,101,102,103,104,105,106,107,108,109,266,272,273,205,274,94,275,277,278,48,50,51,52,53,54,55,56,57,58,59,60,61,62,49,90,63,64,65,91,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,279,280,281,282,283,288,284,285,287,286,289,290,93,269,136,135,291,292,293,295,296,294,297,267,271,221,298,126,299,300,301,302,303,270,328,329,304,307,326,327,317,316,314,309,322,320,324,308,321,325,310,311,323,305,312,313,315,319,330,318,306,343,342,337,339,338,331,332,334,336,340,341,333,335,344,345,206,346,96,347,348,349,110,350,352,351,220,211,353,369,370,378,373,375,374,372,376,371,367,366,357,358,365,359,360,361,362,363,356,364,355,368,379,380,142,354,241,240,239,247,245,246,243,244,242,248,238,174,47,377,268,276,192,195,194,199,196,198,197,193,191,175,176,184,179,178,177,186,189,182,185,183,180,181,187,188,190,229,231,233,232,230,122,172,152,151,154,159,155,160,158,162,166,165,167,157,163,164,161,153,156,235,234,249,250,251,252,144,143,141,150,128,145,46,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,1,9,45,146,111]},"version":"4.5.2"}
|
package/src/index.ts
DELETED
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import chalk from 'chalk';
|
|
9
|
-
import fs from 'fs-extra';
|
|
10
|
-
import {execSync} from 'child_process';
|
|
11
|
-
import prompts, {Choice} from 'prompts';
|
|
12
|
-
import path from 'path';
|
|
13
|
-
import shell from 'shelljs';
|
|
14
|
-
import {kebabCase, sortBy} from 'lodash';
|
|
15
|
-
import supportsColor from 'supports-color';
|
|
16
|
-
|
|
17
|
-
const RecommendedTemplate = 'classic';
|
|
18
|
-
const TypeScriptTemplateSuffix = '-typescript';
|
|
19
|
-
|
|
20
|
-
function hasYarn() {
|
|
21
|
-
try {
|
|
22
|
-
execSync('yarnpkg --version', {stdio: 'ignore'});
|
|
23
|
-
return true;
|
|
24
|
-
} catch (e) {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function isValidGitRepoUrl(gitRepoUrl: string) {
|
|
30
|
-
return ['https://', 'git@'].some((item) => gitRepoUrl.startsWith(item));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
async function updatePkg(pkgPath: string, obj: Record<string, unknown>) {
|
|
34
|
-
const content = await fs.readFile(pkgPath, 'utf-8');
|
|
35
|
-
const pkg = JSON.parse(content);
|
|
36
|
-
const newPkg = Object.assign(pkg, obj);
|
|
37
|
-
|
|
38
|
-
await fs.outputFile(pkgPath, JSON.stringify(newPkg, null, 2));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function readTemplates(templatesDir: string) {
|
|
42
|
-
const templates = fs
|
|
43
|
-
.readdirSync(templatesDir)
|
|
44
|
-
.filter(
|
|
45
|
-
(d) =>
|
|
46
|
-
!d.startsWith('.') &&
|
|
47
|
-
!d.startsWith('README') &&
|
|
48
|
-
!d.endsWith(TypeScriptTemplateSuffix) &&
|
|
49
|
-
d !== 'shared',
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
// Classic should be first in list!
|
|
53
|
-
return sortBy(templates, (t) => t !== RecommendedTemplate);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function createTemplateChoices(templates: string[]) {
|
|
57
|
-
function makeNameAndValueChoice(value: string): Choice {
|
|
58
|
-
const title =
|
|
59
|
-
value === RecommendedTemplate ? `${value} (recommended)` : value;
|
|
60
|
-
return {title, value};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return [
|
|
64
|
-
...templates.map((template) => makeNameAndValueChoice(template)),
|
|
65
|
-
makeNameAndValueChoice('Git repository'),
|
|
66
|
-
makeNameAndValueChoice('Local template'),
|
|
67
|
-
];
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function getTypeScriptBaseTemplate(template: string): string | undefined {
|
|
71
|
-
if (template.endsWith(TypeScriptTemplateSuffix)) {
|
|
72
|
-
return template.replace(TypeScriptTemplateSuffix, '');
|
|
73
|
-
}
|
|
74
|
-
return undefined;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
async function copyTemplate(
|
|
78
|
-
templatesDir: string,
|
|
79
|
-
template: string,
|
|
80
|
-
dest: string,
|
|
81
|
-
) {
|
|
82
|
-
await fs.copy(path.resolve(templatesDir, 'shared'), dest);
|
|
83
|
-
|
|
84
|
-
// TypeScript variants will copy duplicate resources like CSS & config from base template
|
|
85
|
-
const tsBaseTemplate = getTypeScriptBaseTemplate(template);
|
|
86
|
-
if (tsBaseTemplate) {
|
|
87
|
-
const tsBaseTemplatePath = path.resolve(templatesDir, tsBaseTemplate);
|
|
88
|
-
await fs.copy(tsBaseTemplatePath, dest, {
|
|
89
|
-
filter: (filePath) =>
|
|
90
|
-
fs.statSync(filePath).isDirectory() ||
|
|
91
|
-
path.extname(filePath) === '.css' ||
|
|
92
|
-
path.basename(filePath) === 'docusaurus.config.js',
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
await fs.copy(path.resolve(templatesDir, template), dest, {
|
|
97
|
-
// Symlinks don't exist in published NPM packages anymore, so this is only to prevent errors during local testing
|
|
98
|
-
filter: (filePath) => !fs.lstatSync(filePath).isSymbolicLink(),
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export default async function init(
|
|
103
|
-
rootDir: string,
|
|
104
|
-
siteName?: string,
|
|
105
|
-
reqTemplate?: string,
|
|
106
|
-
cliOptions: Partial<{
|
|
107
|
-
useNpm: boolean;
|
|
108
|
-
skipInstall: boolean;
|
|
109
|
-
typescript: boolean;
|
|
110
|
-
}> = {},
|
|
111
|
-
): Promise<void> {
|
|
112
|
-
const useYarn = cliOptions.useNpm ? false : hasYarn();
|
|
113
|
-
const templatesDir = path.resolve(__dirname, '../templates');
|
|
114
|
-
const templates = readTemplates(templatesDir);
|
|
115
|
-
const hasTS = (templateName: string) =>
|
|
116
|
-
fs.pathExistsSync(
|
|
117
|
-
path.resolve(templatesDir, `${templateName}${TypeScriptTemplateSuffix}`),
|
|
118
|
-
);
|
|
119
|
-
|
|
120
|
-
let name = siteName;
|
|
121
|
-
|
|
122
|
-
// Prompt if siteName is not passed from CLI.
|
|
123
|
-
if (!name) {
|
|
124
|
-
const prompt = await prompts({
|
|
125
|
-
type: 'text',
|
|
126
|
-
name: 'name',
|
|
127
|
-
message: 'What should we name this site?',
|
|
128
|
-
initial: 'website',
|
|
129
|
-
});
|
|
130
|
-
name = prompt.name;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
if (!name) {
|
|
134
|
-
throw new Error(chalk.red('A website name is required.'));
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
const dest = path.resolve(rootDir, name);
|
|
138
|
-
if (fs.existsSync(dest)) {
|
|
139
|
-
throw new Error(`Directory already exists at "${dest}"!`);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
let template = reqTemplate;
|
|
143
|
-
let useTS = cliOptions.typescript;
|
|
144
|
-
// Prompt if template is not provided from CLI.
|
|
145
|
-
if (!template) {
|
|
146
|
-
const templatePrompt = await prompts({
|
|
147
|
-
type: 'select',
|
|
148
|
-
name: 'template',
|
|
149
|
-
message: 'Select a template below...',
|
|
150
|
-
choices: createTemplateChoices(templates),
|
|
151
|
-
});
|
|
152
|
-
template = templatePrompt.template;
|
|
153
|
-
if (template && !useTS && hasTS(template)) {
|
|
154
|
-
const tsPrompt = await prompts({
|
|
155
|
-
type: 'confirm',
|
|
156
|
-
name: 'useTS',
|
|
157
|
-
message:
|
|
158
|
-
'This template is available in TypeScript. Do you want to use the TS variant?',
|
|
159
|
-
initial: false,
|
|
160
|
-
});
|
|
161
|
-
useTS = tsPrompt.useTS;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// If user choose Git repository, we'll prompt for the url.
|
|
166
|
-
if (template === 'Git repository') {
|
|
167
|
-
const repoPrompt = await prompts({
|
|
168
|
-
type: 'text',
|
|
169
|
-
name: 'gitRepoUrl',
|
|
170
|
-
validate: (url?: string) => {
|
|
171
|
-
if (url && isValidGitRepoUrl(url)) {
|
|
172
|
-
return true;
|
|
173
|
-
}
|
|
174
|
-
return chalk.red(`Invalid repository URL`);
|
|
175
|
-
},
|
|
176
|
-
message:
|
|
177
|
-
'Enter a repository URL from GitHub, Bitbucket, GitLab, or any other public repo.\n(e.g: https://github.com/ownerName/repoName.git)',
|
|
178
|
-
});
|
|
179
|
-
template = repoPrompt.gitRepoUrl;
|
|
180
|
-
} else if (template === 'Local template') {
|
|
181
|
-
const dirPrompt = await prompts({
|
|
182
|
-
type: 'text',
|
|
183
|
-
name: 'templateDir',
|
|
184
|
-
validate: (dir?: string) => {
|
|
185
|
-
if (dir) {
|
|
186
|
-
const fullDir = path.resolve(process.cwd(), dir);
|
|
187
|
-
if (fs.existsSync(fullDir)) {
|
|
188
|
-
return true;
|
|
189
|
-
}
|
|
190
|
-
return chalk.red(
|
|
191
|
-
`The path ${chalk.magenta(fullDir)} does not exist.`,
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
|
-
return chalk.red('Please enter a valid path.');
|
|
195
|
-
},
|
|
196
|
-
message:
|
|
197
|
-
'Enter a local folder path, relative to the current working directory.',
|
|
198
|
-
});
|
|
199
|
-
template = dirPrompt.templateDir;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
if (!template) {
|
|
203
|
-
throw new Error('Template should not be empty');
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
console.log(`
|
|
207
|
-
${chalk.cyan('Creating new Docusaurus project...')}
|
|
208
|
-
`);
|
|
209
|
-
|
|
210
|
-
if (isValidGitRepoUrl(template)) {
|
|
211
|
-
console.log(`Cloning Git template ${chalk.cyan(template)}...`);
|
|
212
|
-
if (
|
|
213
|
-
shell.exec(`git clone --recursive ${template} ${dest}`, {silent: true})
|
|
214
|
-
.code !== 0
|
|
215
|
-
) {
|
|
216
|
-
throw new Error(chalk.red(`Cloning Git template ${template} failed!`));
|
|
217
|
-
}
|
|
218
|
-
} else if (templates.includes(template)) {
|
|
219
|
-
// Docusaurus templates.
|
|
220
|
-
if (useTS) {
|
|
221
|
-
if (!hasTS(template)) {
|
|
222
|
-
throw new Error(
|
|
223
|
-
`Template ${template} doesn't provide the Typescript variant.`,
|
|
224
|
-
);
|
|
225
|
-
}
|
|
226
|
-
template = `${template}${TypeScriptTemplateSuffix}`;
|
|
227
|
-
}
|
|
228
|
-
try {
|
|
229
|
-
await copyTemplate(templatesDir, template, dest);
|
|
230
|
-
} catch (err) {
|
|
231
|
-
console.log(
|
|
232
|
-
`Copying Docusaurus template ${chalk.cyan(template)} failed!`,
|
|
233
|
-
);
|
|
234
|
-
throw err;
|
|
235
|
-
}
|
|
236
|
-
} else if (fs.existsSync(path.resolve(process.cwd(), template))) {
|
|
237
|
-
const templateDir = path.resolve(process.cwd(), template);
|
|
238
|
-
try {
|
|
239
|
-
await fs.copy(templateDir, dest);
|
|
240
|
-
} catch (err) {
|
|
241
|
-
console.log(`Copying local template ${templateDir} failed!`);
|
|
242
|
-
throw err;
|
|
243
|
-
}
|
|
244
|
-
} else {
|
|
245
|
-
throw new Error('Invalid template.');
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// Update package.json info.
|
|
249
|
-
try {
|
|
250
|
-
await updatePkg(path.join(dest, 'package.json'), {
|
|
251
|
-
name: kebabCase(name),
|
|
252
|
-
version: '0.0.0',
|
|
253
|
-
private: true,
|
|
254
|
-
});
|
|
255
|
-
} catch (err) {
|
|
256
|
-
console.log(chalk.red('Failed to update package.json.'));
|
|
257
|
-
throw err;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
// We need to rename the gitignore file to .gitignore
|
|
261
|
-
if (
|
|
262
|
-
!fs.pathExistsSync(path.join(dest, '.gitignore')) &&
|
|
263
|
-
fs.pathExistsSync(path.join(dest, 'gitignore'))
|
|
264
|
-
) {
|
|
265
|
-
await fs.move(path.join(dest, 'gitignore'), path.join(dest, '.gitignore'));
|
|
266
|
-
}
|
|
267
|
-
if (fs.pathExistsSync(path.join(dest, 'gitignore'))) {
|
|
268
|
-
fs.removeSync(path.join(dest, 'gitignore'));
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
const pkgManager = useYarn ? 'yarn' : 'npm';
|
|
272
|
-
if (!cliOptions.skipInstall) {
|
|
273
|
-
console.log(`Installing dependencies with ${chalk.cyan(pkgManager)}...`);
|
|
274
|
-
|
|
275
|
-
try {
|
|
276
|
-
// Use force coloring the output, since the command is invoked by shelljs, which is not the interactive shell
|
|
277
|
-
shell.exec(
|
|
278
|
-
`cd "${name}" && ${useYarn ? 'yarn' : 'npm install --color always'}`,
|
|
279
|
-
{
|
|
280
|
-
env: {
|
|
281
|
-
...process.env,
|
|
282
|
-
...(supportsColor.stdout ? {FORCE_COLOR: '1'} : {}),
|
|
283
|
-
},
|
|
284
|
-
},
|
|
285
|
-
);
|
|
286
|
-
} catch (err) {
|
|
287
|
-
console.log(chalk.red('Installation failed.'));
|
|
288
|
-
throw err;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
console.log();
|
|
292
|
-
|
|
293
|
-
// Display the most elegant way to cd.
|
|
294
|
-
const cdpath =
|
|
295
|
-
path.join(process.cwd(), name) === dest
|
|
296
|
-
? name
|
|
297
|
-
: path.relative(process.cwd(), name);
|
|
298
|
-
|
|
299
|
-
console.log(`
|
|
300
|
-
Successfully created "${chalk.cyan(cdpath)}".
|
|
301
|
-
Inside that directory, you can run several commands:
|
|
302
|
-
|
|
303
|
-
${chalk.cyan(`${pkgManager} start`)}
|
|
304
|
-
Starts the development server.
|
|
305
|
-
|
|
306
|
-
${chalk.cyan(`${pkgManager} ${useYarn ? '' : 'run '}build`)}
|
|
307
|
-
Bundles your website into static files for production.
|
|
308
|
-
|
|
309
|
-
${chalk.cyan(`${pkgManager} ${useYarn ? '' : 'run '}serve`)}
|
|
310
|
-
Serves the built website locally.
|
|
311
|
-
|
|
312
|
-
${chalk.cyan(`${pkgManager} deploy`)}
|
|
313
|
-
Publishes the website to GitHub pages.
|
|
314
|
-
|
|
315
|
-
We recommend that you begin by typing:
|
|
316
|
-
|
|
317
|
-
${chalk.cyan('cd')} ${cdpath}
|
|
318
|
-
${chalk.cyan(`${pkgManager} start`)}
|
|
319
|
-
|
|
320
|
-
Happy building awesome websites!
|
|
321
|
-
`);
|
|
322
|
-
}
|