@docusaurus/core 2.0.0-beta.fc64c12e4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/bin/beforeCli.mjs +140 -0
- package/bin/{docusaurus.js → docusaurus.mjs} +81 -118
- package/lib/babel/preset.d.ts +8 -3
- package/lib/babel/preset.js +10 -8
- package/lib/client/App.d.ts +2 -3
- package/lib/client/App.js +31 -28
- package/lib/client/BaseUrlIssueBanner/index.d.ts +27 -0
- package/lib/client/{baseUrlIssueBanner/BaseUrlIssueBanner.js → BaseUrlIssueBanner/index.js} +25 -14
- package/lib/client/{baseUrlIssueBanner → BaseUrlIssueBanner}/styles.module.css +0 -0
- package/lib/client/ClientLifecyclesDispatcher.d.ts +16 -0
- package/lib/client/ClientLifecyclesDispatcher.js +39 -0
- package/lib/client/LinksCollector.d.ts +3 -3
- package/lib/client/LinksCollector.js +8 -13
- package/lib/client/PendingNavigation.d.ts +17 -3
- package/lib/client/PendingNavigation.js +47 -72
- package/lib/client/{baseUrlIssueBanner/BaseUrlIssueBanner.d.ts → SiteMetadataDefaults.d.ts} +1 -2
- package/lib/client/SiteMetadataDefaults.js +21 -0
- package/lib/{choosePort.d.ts → client/browserContext.d.ts} +5 -5
- package/lib/client/browserContext.js +22 -0
- package/lib/client/clientEntry.js +14 -9
- package/lib/client/docusaurus.d.ts +12 -6
- package/lib/client/docusaurus.js +30 -43
- package/lib/client/docusaurusContext.d.ts +12 -0
- package/lib/client/docusaurusContext.js +25 -0
- package/lib/client/exports/BrowserOnly.d.ts +3 -5
- package/lib/client/exports/BrowserOnly.js +14 -8
- package/lib/client/exports/ComponentCreator.d.ts +6 -2
- package/lib/client/exports/ComponentCreator.js +75 -42
- package/lib/client/exports/ErrorBoundary.d.ts +18 -0
- package/lib/client/exports/ErrorBoundary.js +37 -0
- package/lib/client/exports/ExecutionEnvironment.js +7 -8
- package/lib/client/exports/Head.d.ts +2 -3
- package/lib/client/exports/Head.js +3 -4
- package/lib/client/exports/Interpolate.d.ts +2 -2
- package/lib/client/exports/Interpolate.js +18 -51
- package/lib/client/exports/Link.d.ts +4 -10
- package/lib/client/exports/Link.js +38 -38
- package/lib/client/exports/Translate.d.ts +1 -1
- package/lib/client/exports/Translate.js +11 -10
- package/lib/client/exports/constants.js +1 -11
- package/lib/client/exports/isInternalUrl.js +1 -1
- package/lib/client/exports/renderRoutes.d.ts +1 -2
- package/lib/client/exports/renderRoutes.js +1 -2
- package/lib/client/exports/router.d.ts +1 -1
- package/lib/client/exports/router.js +1 -1
- package/lib/client/exports/useBaseUrl.js +11 -14
- package/lib/client/exports/useDocusaurusContext.d.ts +2 -3
- package/lib/client/exports/useDocusaurusContext.js +3 -9
- package/lib/client/exports/useGlobalData.d.ts +4 -3
- package/lib/client/exports/useGlobalData.js +6 -13
- package/lib/{server/versions/__tests/index.test.d.ts → client/exports/useIsBrowser.d.ts} +1 -1
- package/lib/client/exports/useIsBrowser.js +11 -0
- package/lib/client/exports/useRouteContext.d.ts +8 -0
- package/lib/client/exports/useRouteContext.js +15 -0
- package/lib/client/flat.d.ts +12 -2
- package/lib/client/flat.js +19 -15
- package/lib/client/normalizeLocation.d.ts +2 -5
- package/lib/client/normalizeLocation.js +14 -10
- package/lib/client/prefetch.d.ts +1 -2
- package/lib/client/prefetch.js +12 -32
- package/lib/client/preload.d.ts +3 -4
- package/lib/client/preload.js +5 -12
- package/lib/client/routeContext.d.ts +13 -0
- package/lib/client/routeContext.js +31 -0
- package/lib/client/serverEntry.d.ts +10 -0
- package/lib/client/serverEntry.js +108 -146
- package/lib/client/theme-fallback/Error/index.d.ts +10 -0
- package/lib/client/theme-fallback/Error/index.js +45 -0
- package/lib/client/theme-fallback/Layout/index.d.ts +10 -0
- package/lib/client/theme-fallback/Layout/index.js +2 -26
- package/lib/client/theme-fallback/Loading/index.d.ts +9 -0
- package/lib/client/theme-fallback/Loading/index.js +50 -116
- package/lib/{server/html-tags/htmlTags.d.ts → client/theme-fallback/NotFound/index.d.ts} +2 -1
- package/lib/client/theme-fallback/NotFound/index.js +19 -18
- package/lib/client/theme-fallback/Root/index.d.ts +10 -0
- package/lib/client/theme-fallback/Root/index.js +2 -6
- package/lib/client/{exports/context.js → theme-fallback/SiteMetadata/index.d.ts} +2 -2
- package/lib/client/theme-fallback/SiteMetadata/index.js +10 -0
- package/lib/commands/build.d.ts +6 -2
- package/lib/commands/build.js +81 -64
- package/lib/commands/clear.d.ts +7 -1
- package/lib/commands/clear.js +34 -21
- package/lib/commands/deploy.d.ts +5 -2
- package/lib/commands/deploy.js +94 -81
- package/lib/commands/external.d.ts +2 -2
- package/lib/commands/external.js +9 -11
- package/lib/commands/serve.d.ts +8 -2
- package/lib/commands/serve.js +29 -28
- package/lib/commands/start.d.ts +9 -2
- package/lib/commands/start.js +107 -102
- package/lib/commands/swizzle/actions.d.ts +23 -0
- package/lib/commands/swizzle/actions.js +106 -0
- package/lib/commands/swizzle/common.d.ts +33 -0
- package/lib/commands/swizzle/common.js +56 -0
- package/lib/commands/swizzle/components.d.ts +29 -0
- package/lib/commands/swizzle/components.js +200 -0
- package/lib/commands/swizzle/config.d.ts +10 -0
- package/lib/commands/swizzle/config.js +84 -0
- package/lib/{server/client-modules/index.d.ts → commands/swizzle/context.d.ts} +2 -2
- package/lib/commands/swizzle/context.js +24 -0
- package/lib/commands/swizzle/index.d.ts +8 -0
- package/lib/commands/swizzle/index.js +119 -0
- package/lib/commands/swizzle/prompts.d.ts +12 -0
- package/lib/commands/swizzle/prompts.js +110 -0
- package/lib/{client/exports/context.d.ts → commands/swizzle/tables.d.ts} +3 -4
- package/lib/commands/swizzle/tables.js +113 -0
- package/lib/commands/swizzle/themes.d.ts +20 -0
- package/lib/commands/swizzle/themes.js +106 -0
- package/lib/commands/writeHeadingIds.d.ts +2 -6
- package/lib/commands/writeHeadingIds.js +22 -81
- package/lib/commands/writeTranslations.d.ts +4 -5
- package/lib/commands/writeTranslations.js +46 -25
- package/lib/index.d.ts +9 -9
- package/lib/index.js +14 -14
- package/lib/server/brokenLinks.d.ts +4 -17
- package/lib/server/brokenLinks.js +67 -56
- package/lib/server/clientModules.d.ts +12 -0
- package/lib/server/clientModules.js +20 -0
- package/lib/server/config.d.ts +5 -2
- package/lib/server/config.js +29 -6
- package/lib/server/configValidation.d.ts +4 -4
- package/lib/server/configValidation.js +86 -41
- package/lib/server/getHostPort.d.ts +14 -0
- package/lib/server/getHostPort.js +79 -0
- package/lib/server/htmlTags.d.ts +12 -0
- package/lib/server/htmlTags.js +62 -0
- package/lib/server/i18n.d.ts +3 -13
- package/lib/server/i18n.js +21 -55
- package/lib/server/index.d.ts +28 -13
- package/lib/server/index.js +83 -165
- package/lib/server/plugins/configs.d.ts +51 -0
- package/lib/server/plugins/configs.js +101 -0
- package/lib/server/plugins/index.d.ts +9 -8
- package/lib/server/plugins/index.js +73 -137
- package/lib/server/plugins/init.d.ts +6 -5
- package/lib/server/plugins/init.js +44 -109
- package/lib/server/plugins/moduleShorthand.d.ts +9 -0
- package/lib/server/plugins/moduleShorthand.js +46 -0
- package/lib/server/plugins/pluginIds.d.ts +5 -1
- package/lib/server/plugins/pluginIds.js +12 -7
- package/lib/server/plugins/presets.d.ts +12 -0
- package/lib/server/plugins/presets.js +49 -0
- package/lib/server/plugins/routeConfig.d.ts +11 -0
- package/lib/server/plugins/routeConfig.js +54 -0
- package/lib/server/plugins/synthetic.d.ts +20 -0
- package/lib/server/plugins/synthetic.js +111 -0
- package/lib/server/routes.d.ts +39 -7
- package/lib/server/routes.js +166 -99
- package/lib/server/siteMetadata.d.ts +12 -0
- package/lib/server/siteMetadata.js +81 -0
- package/lib/server/translations/translations.d.ts +14 -19
- package/lib/server/translations/translations.js +40 -72
- package/lib/server/translations/translationsExtractor.d.ts +10 -4
- package/lib/server/translations/translationsExtractor.js +158 -122
- package/lib/server/utils.d.ts +7 -1
- package/lib/server/utils.js +7 -8
- package/lib/webpack/aliases/index.d.ts +34 -0
- package/lib/webpack/aliases/index.js +106 -0
- package/lib/webpack/base.d.ts +3 -4
- package/lib/webpack/base.js +45 -57
- package/lib/webpack/client.d.ts +3 -3
- package/lib/webpack/client.js +12 -19
- package/lib/webpack/plugins/ChunkAssetPlugin.d.ts +13 -3
- package/lib/webpack/plugins/ChunkAssetPlugin.js +24 -17
- package/lib/webpack/plugins/CleanWebpackPlugin.d.ts +6 -25
- package/lib/webpack/plugins/CleanWebpackPlugin.js +33 -17
- package/lib/webpack/plugins/LogPlugin.d.ts +1 -1
- package/lib/webpack/plugins/LogPlugin.js +4 -5
- package/lib/webpack/plugins/WaitPlugin.d.ts +3 -3
- package/lib/webpack/plugins/WaitPlugin.js +30 -29
- package/lib/webpack/server.d.ts +5 -5
- package/lib/webpack/server.js +21 -12
- package/lib/{client → webpack}/templates/index.html.template.ejs +0 -0
- package/lib/webpack/templates/ssr.html.template.d.ts +8 -0
- package/lib/{client → webpack}/templates/ssr.html.template.js +3 -2
- package/lib/webpack/utils.d.ts +15 -31
- package/lib/webpack/utils.js +61 -182
- package/package.json +81 -77
- package/bin/beforeCli.js +0 -103
- package/lib/.tsbuildinfo +0 -1
- package/lib/choosePort.js +0 -105
- package/lib/client/.eslintrc.js +0 -29
- package/lib/client/.tsbuildinfo +0 -1
- package/lib/client/client-lifecycles-dispatcher.d.ts +0 -12
- package/lib/client/client-lifecycles-dispatcher.js +0 -27
- package/lib/client/nprogress.css +0 -36
- package/lib/commands/buildRemoteBranchUrl.d.ts +0 -7
- package/lib/commands/buildRemoteBranchUrl.js +0 -27
- package/lib/commands/commandUtils.d.ts +0 -3
- package/lib/commands/commandUtils.js +0 -21
- package/lib/commands/swizzle.d.ts +0 -9
- package/lib/commands/swizzle.js +0 -245
- package/lib/constants.d.ts +0 -18
- package/lib/constants.js +0 -23
- package/lib/server/client-modules/index.js +0 -14
- package/lib/server/duplicateRoutes.d.ts +0 -10
- package/lib/server/duplicateRoutes.js +0 -38
- package/lib/server/html-tags/htmlTags.js +0 -40
- package/lib/server/html-tags/index.d.ts +0 -9
- package/lib/server/html-tags/index.js +0 -43
- package/lib/server/loadSetup.d.ts +0 -9
- package/lib/server/loadSetup.js +0 -25
- package/lib/server/plugins/applyRouteTrailingSlash.d.ts +0 -9
- package/lib/server/plugins/applyRouteTrailingSlash.js +0 -19
- package/lib/server/presets/index.d.ts +0 -11
- package/lib/server/presets/index.js +0 -48
- package/lib/server/themes/alias.d.ts +0 -8
- package/lib/server/themes/alias.js +0 -39
- package/lib/server/themes/index.d.ts +0 -12
- package/lib/server/themes/index.js +0 -47
- package/lib/server/versions/__fixtures__/dummy-plugin.js +0 -0
- package/lib/server/versions/__fixtures__/package.json +0 -3
- package/lib/server/versions/__tests/index.test.js +0 -25
- package/lib/server/versions/index.d.ts +0 -10
- package/lib/server/versions/index.js +0 -50
- package/lib/webpack/react-dev-utils-webpack5/README.md +0 -11
- package/lib/webpack/react-dev-utils-webpack5/evalSourceMapMiddleware.js +0 -57
- package/lib/webpack/react-dev-utils-webpack5/formatWebpackMessages.js +0 -138
- package/lib/webpack/react-dev-utils-webpack5/webpackHotDevClient.js +0 -285
- package/lib/webpack/sharedModuleAliases.d.ts +0 -10
- package/lib/webpack/sharedModuleAliases.js +0 -18
- package/tsconfig.client.json +0 -13
- package/tsconfig.json +0 -13
package/lib/client/.eslintrc.js
DELETED
|
@@ -1,29 +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
|
-
module.exports = {
|
|
9
|
-
rules: {
|
|
10
|
-
'no-restricted-imports': [
|
|
11
|
-
'error',
|
|
12
|
-
{
|
|
13
|
-
patterns: [
|
|
14
|
-
// prevent importing lodash in client bundle
|
|
15
|
-
// prefer shipping vanilla JS
|
|
16
|
-
'lodash',
|
|
17
|
-
'lodash.**',
|
|
18
|
-
'lodash/**',
|
|
19
|
-
// prevent importing server code in client bundle
|
|
20
|
-
'**/../babel/**',
|
|
21
|
-
'**/../server/**',
|
|
22
|
-
'**/../commands/**',
|
|
23
|
-
'**/../webpack/**',
|
|
24
|
-
'**/../constants',
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
};
|
package/lib/client/.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.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.esnext.intl.d.ts","../../../../node_modules/tslib/tslib.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/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/react-router/index.d.ts","../../../../node_modules/@types/react-router-config/index.d.ts","../../src/client/exports/renderRoutes.ts","../../../../node_modules/webpack/node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/ajv/lib/ajv.d.ts","../../../../node_modules/schema-utils/declarations/ValidationError.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","../../../docusaurus-types/node_modules/commander/typings/index.d.ts","../../../../node_modules/joi/lib/index.d.ts","../../../docusaurus-types/src/index.d.ts","../../src/client/exports/context.ts","../../../../node_modules/@types/react-router-dom/index.d.ts","../../../../node_modules/@types/nprogress/index.d.ts","../../src/client/client-lifecycles-dispatcher.ts","../../src/client/preload.ts","../../src/client/normalizeLocation.ts","../../src/client/PendingNavigation.tsx","../../src/client/baseUrlIssueBanner/BaseUrlIssueBanner.tsx","../../src/client/App.tsx","../../src/client/LinksCollector.tsx","../../src/client/exports/ExecutionEnvironment.ts","../../src/client/prefetch.ts","../../src/client/flat.ts","../../src/client/docusaurus.ts","../../src/client/clientEntry.tsx","../../../../node_modules/@types/react-helmet/index.d.ts","../../../../node_modules/@types/react-loadable/index.d.ts","../../../docusaurus-module-type-aliases/src/index.d.ts","../../src/client/types.d.ts","../../src/client/exports/BrowserOnly.tsx","../../src/client/exports/ComponentCreator.tsx","../../src/client/exports/Head.tsx","../../src/client/exports/Interpolate.tsx","../../src/client/exports/useDocusaurusContext.ts","../../src/client/exports/isInternalUrl.ts","../../src/client/exports/useBaseUrl.ts","../../../docusaurus-utils-common/lib/applyTrailingSlash.d.ts","../../../docusaurus-utils-common/lib/uniq.d.ts","../../../docusaurus-utils-common/lib/index.d.ts","../../src/client/exports/Link.tsx","../../src/client/exports/Noop.ts","../../src/client/exports/Translate.tsx","../../src/client/exports/constants.ts","../../src/client/exports/router.ts","../../src/client/exports/useGlobalData.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/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/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/ts3.6/base.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/base.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/body-parser/index.d.ts","../../../../node_modules/@types/braces/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/cssnano/node_modules/postcss/lib/postcss.d.ts","../../../../node_modules/@types/cssnano/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/@types/got/index.d.ts","../../../../node_modules/@types/download/index.d.ts","../../../../node_modules/@types/eslint/helpers.d.ts","../../../../node_modules/@types/eslint/lib/rules/index.d.ts","../../../../node_modules/@types/estree/index.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/fs-extra/index.d.ts","../../../../node_modules/@types/github-slugger/index.d.ts","../../../../node_modules/@types/minimatch/index.d.ts","../../../../node_modules/@types/glob/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/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/kinds.d.ts","../../../../node_modules/ast-types/gen/nodes.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/fork.d.ts","../../../../node_modules/ast-types/gen/namedTypes.d.ts","../../../../node_modules/ast-types/gen/builders.d.ts","../../../../node_modules/ast-types/gen/visitor.d.ts","../../../../node_modules/ast-types/main.d.ts","../../../../node_modules/recast/lib/types.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/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/mdast/index.d.ts","../../../../node_modules/@types/micromatch/index.d.ts","../../../../node_modules/@types/minimist/index.d.ts","../../../../node_modules/@types/mkdirp/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/parse-json/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/prompts/index.d.ts","../../../../node_modules/@types/q/index.d.ts","../../../../node_modules/@types/react-dev-utils/index.d.ts","../../../../node_modules/@types/resolve/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/shelljs/index.d.ts","../../../../node_modules/@types/source-list-map/index.d.ts","../../../../node_modules/@types/stack-utils/index.d.ts","../../../../node_modules/@types/tapable/index.d.ts","../../../../node_modules/@types/wait-on/index.d.ts","../../../../node_modules/@types/webpack/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/http-proxy-middleware/dist/types.d.ts","../../../../node_modules/http-proxy-middleware/dist/handlers/response-interceptor.d.ts","../../../../node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts","../../../../node_modules/http-proxy-middleware/dist/handlers/public.d.ts","../../../../node_modules/http-proxy-middleware/dist/handlers/index.d.ts","../../../../node_modules/http-proxy-middleware/dist/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":"ac3a8c4040e183ce38da69d23b96939112457d1936198e6542672b7963cf0fce","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",{"version":"1dad4fe1561d99dfd6709127608b99a76e5c2643626c800434f99c48038567ee","affectsGlobalScope":true},{"version":"cce43d02223f8049864f8568bed322c39424013275cd3bcc3f51492d8b546cb3","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"8dff1b4c2df638fcd976cbb0e636f23ab5968e836cd45084cc31d47d1ab19c49","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"8f4c9f651c8294a2eb1cbd12581fe25bfb901ab1d474bb93cd38c7e2f4be7a30","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":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"60761e6ea886034af0f294f025a7199360ce4e2c8ba4ec6408bc049cf9b89799","affectsGlobalScope":true},{"version":"506b80b9951c9381dc5f11897b31fca5e2a65731d96ddefa19687fbc26b23c6e","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"ca1f4045ec1a501a114d63e2f3f24e2dba00c0cb9030b3109f579d54c1e95d63","affectsGlobalScope":true},{"version":"271cde49dfd9b398ccc91bb3aaa43854cf76f4d14e10fed91cbac649aa6cbc63","affectsGlobalScope":true},"c6f2572e21f626260d2e4a65e4e1e42b9b273b6f43b5c3bc115c2926417d3eca","374ab77e05e0bf5a52acad6d65121d4bd31068108f23d70186dba5fcd7d6a1a3","a4ecd4bb653aa71093375845fba6250ca0f3c633d0e933fc9bf4b301834eab27","25d91fb9ed77a828cc6c7a863236fb712dafcd52f816eec481bd0c1f589f4404","4cd14cea22eed1bfb0dc76183e56989f897ac5b14c0e2a819e5162eafdcfe243","cc53cba64efb30576f2a36f1d7107e4453e84cbd0f371d49cd1dfd208e11233b","c78b1c30f9ea6f57c2c4beb62734bf0df604a537690d7a098e6ca99157f4c2a3","d4eeffab023f619ebaeeca01570c026eed02256061973bef5546a6c779552818","921ec07a9866ac15ece92dd1e83e35d64d1b4434db9e0e08bc223e843ab09d96","f1e8ecd1d960d12e57316fd2889b0a57635f38f8c4c976d8deafa29650bbf320","3a1e165b22a1cb8df82c44c9a09502fd2b33f160cd277de2cd3a055d8e5c6b27","67f129ed8b372622ff36b8b10e39d03e09e363a5ff7821105f92f085b8d1ccba","327f42ab31ff4539ba868d0374f8825af328b104b5f78d26b2e3ce9cc17b43a0","62a05210201c793349ec28254f06a01814c5b4f5591f6d1921941286db78ea2a","8f877178233f74095130e129ce86128a6a15afcfc6171d714e154863b6a65fe8","b395ec0779c66de885f97974534e95ee2c8bbf9acaf5857a6782ddc32972b6d8","572b4d4c4e2cd3026db925ca5cb721f5c3f4f52938da404de1148a126348f29b","c72b982add26c5ddf410899bcafe3f47253a5d274d4b93d2ef67850d4af4545b","332bc92a89da24ef3a645208f2b3159292460a52fbe63c40eef64c2a63bb1e40","3d9253169f4640145bd53a57bb05120be714a3f6c181f5442f5cfc6fc29c1e89","a0d9e5053800714f740de4cb67d25c0066da46f77731099ed639563c70917cbf","b89701b714364b5bcb0b58e83725aa02a4f41df8357000b4e8fe60566bf805ac","3c17de487f67fd2ce7a70090b19e791b0388ed9cb60cdbdc7a49277094ffc413","0e98dd7caf0639f9b22437ac12f6cd1494b836ba0085fce77a7f1df671082748","9a802991931c32e357f4e0848bfc5fb3d156b84df67be531c68e05ea994de56e","21e1e1832dfb09c64c4614ca8ce9febe5abdaf2edc5493bd45236c2fcba40eff","03104cda50c9eb272bfef4e14aa89b5bd27d50d331b895acd8d6e56794fb4a30","e06f8c0d2f33c09277221595a6b6acf761f72c3a333808ab645b951b96e46b64","71bd8e2344cd54407c08dc5bf08bcc82d8f8aa907865e5738347a34f39d4513c","ce9d2dbc39b515e743cae48bad560c3bd146805fcfd3d110a5a0a2cab13e6a34","e8d2462696ff6736123916fc96156291ccc43df00dde63ade3a1bc5987dcee52","3786c85bbb5ede0122fa22b8418d1b79bf3084683c28f5a45d2acfb6e9d1bad5","19abc016563a8cf09fddce689d516a3b659db5bba6b8a09fa2cd6b8d2b70622f",{"version":"521c2964514750a2792f9b3d1d987651589bf4033f8f5432e6a25b0c4cc51c5b","affectsGlobalScope":true},{"version":"242b8d69ec533c2302e3256fa7e7733c38807cf36eb1949763222f9ae7dbcc2c","affectsGlobalScope":true},"370aa0007632db53c67e21c1584fb998c8af918ca1d38688b044b4ce3d0524c0",{"version":"8299ae8e2b6f219b89e33f5383e85b71b160550678a9c7aaf3729b95c59e57a6","affectsGlobalScope":true},"0a14a47e03c647b1c9bccb686533b3abaa999900a234324619afde077300a037","9514b00a2f1774a1851bc9fa7cba53564a9729feed980f0b7613e93c9e784c9f","fe32828983442e46e1bc1aeaa494c2c2007f0db157701552612c828121150ec0","d38c77c20711e783ed70ef6506c2060f57622b54f8b5baabf4eb9eb0a7e10952","933296afe9e51bdc3a330baeb00f8474431007c52e36d5115241a6199daf4e7d","d6fc77ab076a9ab4b46900fbd37b755075dbe764ea93d8aed27aebd9e64cef1b","96bc425ec8068e0db8b5c5d0b9295548c53344bd7c748bbbdc73a0ff01552074","08faa1cd406c7e59bd5151a3a8e5b7d0135508c0b7b02c01493b0de229327e44","c7d19292b98769c04a2e9e8b5855d0e5140255fb79abf92ce829e6bede11b444","63c9b50b55f320e8da81290acd27de8e1dab92e13b3ec7f24b80fde9dd80b795","efc0cf69f54f6d4fbdcc205cc938f1f6f6f1d63fbcb7b3f912a4755805b05b31","20da58cecd1ad8c239745c7ebb8ae0729c182223650702ec816d3bdec566e3bb",{"version":"87fe91774cab354a202c4c5b9e82404186288bccab6b562ef1a42b81e338824c","affectsGlobalScope":true},"58483a091e39e48fe6f17798f33bee5b6511b0d15beeba83710ac17e5afad56b","2bd05f85eb8fa33cddaca965f10043c1cda32231aa44f22e53016d7cf14490b4","cffcae8dc304aba5e27c16b8ab1c9c3119b5682d2e9aebba4579165b88cd642c","01d56c0c666f0de294db6855da660af78d2594b125fa057e3eb90ec2df9aa97c","9c7a1d6c8dd7bc207937cd00dfa564229238f63fe8d16f8264a52e02b5901169","a17ba25a194979a88bfd925e849d76b63f68c4160b69a99c5d723eac5ffddaf0","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","3e6297bcddf37e373d40ddb4c2b9e6fc98901b2a44c01b2d96af142874973c43","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","691aea9772797ca98334eb743e7686e29325b02c6931391bcee4cc7bf27a9f3b","6f1d39d26959517da3bd105c552eded4c34702705c64d75b03f54d864b6e41c2",{"version":"25b4a0c4fab47c373ee49df4c239826ee3430019fc0c1b5e59edc3e398b7468d","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","a668dfae917097b30fc29bbebeeb869cee22529f2aa9976cea03c7e834a1b841","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"7ddd5487c03df04c01a8618e06d875e167524902ed3dd9a2a9345a0ef5202d6f","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","aab38abd210255237d4dc101c9e5b5f8d746fd75aeb30cc77b6a4d322b06693d","797a9d37eb1f76143311c3f0a186ce5c0d8735e94c0ca08ff8712a876c9b4f9e","bc31e01146eec89eb870b9ad8c55d759bcbc8989a894e6f0f81f832e0d10eb04",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"153d835dc32985120790e10102834b0a5bd979bb5e42bfbb33c0ff6260cf03ce","affectsGlobalScope":true},"a44c87a409b60f211a240341905d818f5f173420dcf7f989ee6c8a1a3d812ae9","bdaf554ae2d9d09e2a42f58a29ef7f80e5b5c1d7b96bfb717243dc91a477216e","ea194ae7fee69ab77ee0ff7b7f35227eb09515583f6c08988a59fa65661af990","321ea733ae7f611077a2d7b4bc378ac4a6b7e365e1a51c71a7e5b2818e1e310a","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ae7b9d7ab1652cc1866ba6e269d0eeaf1708d07327714124ed2cbd059f5e4766","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","21e64a125f65dff99cc3ed366c96e922b90daed343eb52ecdace5f220401dcda","f25b17702bd5d9e1a21e223863d09774197e0832a0534ba12bd7558bcc8548f4",{"version":"b0b00cf2e8107ab671243a73d2fbd6296a853bebe3fcfaaca293f65aaa245eaf","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","3b790d08129aca55fd5ae1672d1d26594147ac0d5f2eedc30c7575eb18daef7e","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","e7b5a3f40f19d9eea71890c70dfb37ac5dd82cbffe5f95bc8f23c536455732d0","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","f89a6d56f0267f6e73c707f8a89d2f38e9928e10bfa505f39a4f4bf954093aee","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","e649840284bab8c4d09cadc125cd7fbde7529690cc1a0881872b6a9cd202819b","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","6c63cb179eda2be5ab45dc146fa4151bec8ce4781986935fe40adfc69cbbf214","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4e0a4d84b15692ea8669fe4f3d05a4f204567906b1347da7a58b75f45bae48d3","ae68a04912ee5a0f589276f9ec60b095f8c40d48128a4575b3fdd7d93806931c","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","49daf80661034e07d919f1c716aef69324e34d18a63a282f8100f52c961b58a7","81c14b89fa607b86dd726e2e3e91360cf8155ce97468404324d404a5bd65b2eb","ebddbd167c2fabd0151f50e5df94ca6d845149c47521280d8867afe3429dd078","40304c033bb6e39f0eb01b106d29523950148dfc3cd547ddb500167871171281","4a8b6680f577878255690971bbfe6ec951ece19a0c86a493e66a715762d04db2","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","c0c0ce59aaee107786eca330b64eb2413bd9d14848f35282f6e61e6972b6f52e","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69","8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012","92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9","ac502bda446da2b897b8fb9373199f08e111a82c19ea0f9a1debf49ed34b6970","4e88b833be14c7f384e0dcd57bb30acd799e8e34d212635d693e41a75a71164b","98437d5a640b67c41534f0de2dcb64c75433dcdff54ff8f8432e613663619a2e",{"version":"9ea2638b6eee61ff2c59c3ac74c1b5999a843da0e2bb60e8bf028b19aacf6246","affectsGlobalScope":true},"a9ef188a807dfa67e80eb100aeac1036f61d01f64d8b51ce68e78ee40cdef415","aec0cabbdfacf43db998d8e50ee6f1e72131d24b5018dfb84f14806717baa0a6","ef36fa133bed82cf3d1262c0894a643532bca4a743bea90b537f643003880315","fb32fb9b2a2c9cfccae34a6383834030ea9ebab2e46964ab6e876fe2b9ca2f42","70646d9cb37b62611766d18a9bcca6cbf28ca9aec33a66244e974056ab1193f6","032d6a55e0d1b473bf06cc9f30cfa6313bc57202bc5aacf8077022c4a27ff7d6","ff27d48b9c7f85c9d38cb13fce5886bad9a30846aedb5f54759eee58391a79e1","912989089693cac2ce78c83289b98d5d9be6d399009c5d2e06ad3edf50e7b335",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"0133ebdd17a823ae56861948870cde4dac18dd8818ab641039c85bbb720429e0","9f3554130bc117f19a9d4186bd83a97145c71818c1b1c51424967e0f607324d5","e3dd9a5ce3e396a63d378146a2bce9f52ea86419ef787cd55d2e8bb2a4cd716f","274bda283ef15f4205603ca9967313fc013aa77ae89f2cbeab5fbd51439e96ed","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","3b02517f9be71f255eadab9892406055d069167891f1e1ea16c96c4ff1ddda01","3b05c396564e51753e921e1cc4aae1cf7cd9be53c891cf2e81fa29f11c0bd373","8d01c38ccb9af3a4035a68818799e5ef32ccc8cf70bdb83e181e1921d7ad32f6","78a1efd7214a25b84e08af80fe2b027c3049e52b26dfcaf777b82c759d8548c9","95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2","393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","1320ee42b30487cceb6da9f230354fc34826111f76bf12f0ad76c717c12625b0","b6e83cdeca61289e5ffd770e55ed035babdffadd87d1ffa42b03e9fe8411333f","bee79f5862fe1278d2ba275298862bce3f7abf1e59d9c669c4b9a4b2bba96956","a523644fe1d30f36465118be107642c78c36afe0d885f93eae399b3c44dc8fe9","e966621f305cecf5ed6460197ff1652208257b5ca7da402a4285cc57589f6f36","6767cce098e1e6369c26258b7a1f9e569c5467d501a47a090136d5ea6e80ae6d","dd96ff6ecc47584219c6301f1653eec514c2cb83fc8ad195ccb54c9759765e3a","8d068614f2f0c00d6b712f16f52511c054d3cf205d749ede8d9f231c0ddac03f","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","029769d13d9917e3284cb2356ed28a6576e8b07ae6a06ee1e672518adf21a102","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"bbc19287f48d4b3c753bd2c82dd9326af19cccbfa1506f859029dfcedc7c5522","affectsGlobalScope":true},"73a371996ab8b5f895fc4aff8018ad79804254ae32648c9ac11e87f2fce5658a","cc2dc362fc50995684e9f7e9b38ad9bdf19e74919294a694cbc05392352cad7d","e07b482ad35f73ea26312cb5bfbc735cfd2c68808e70634d32a43f8b53033a11","494d475b36a458bbfdcf60f54abaf2084a3840ff38fe5dcf8e3e8d405edc7938","55194e5c1f7fdd2a209da42b0b481c556bae31b20675fa7e7fbd7f49a6c40d57","8cd7362102d928e21b291a013f80fc68a038d4506d26ea9948c676e3fa1110d9","90f6830fb380f4d2b69df018343ae80ce92991e85a0d7be8d214c643b39d1175","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","009e40fab9efa56ae3f540ff7a18cbeae6b4140647a040681c524bf19f52995e","0e7fbd72cba67a53642362282ec001d495fbb7ad575f47ba5ffa19006f124d60","24cf966363ab1b0200b7a720f9ae1f2efb5e2f9bd4a3c1f13482cd0456745f90","35acd8ffbb879ea4447df8fc7b422ed8af7dceec6036562eb2825eeea89222b1","262810de652d20b24b0e9872e33941972735c8c0a2bd794c361038f823dd7ecb","7bfe977bcf0f5fab4d0b2820af80cebf4765b77658cc238903f82873ea813e12","8648c31510a3a81275736733ec1a4562a012e4e1a0f5fea9d47a8ed30dc4280c","aad8c703de79100c97d6d6d753e6c3e5c355d8024f7c80e0275b3973208b9dd3","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","b114b49f7cc89ed20375ec8f070ceed9748d022d9a6f94894f247c5e8182ccc7","187b38d2397b9ab2a459042295b6ae463d369ae1786f23abf6f58d925905ee09","68a982b9899e9df6bc37b62a57fdeac0b197d9f252a2386589a28ffc0e316503","63326d4f23f82d250abe61157183fd0d0612f00540d27681ef6458e60850c315","19f9e754bda221cc851c07454f43ae28d0faeb48fb17ef48802f022297603ed6","f5173cf4e2ae28cacdd974951e64e7e7476cecec52be1b218d309cc10b580436","0b7f81e8fa0bb70a104fd1ac689d56807b929006bf49557189ab06d756973f38","8faaa860d85e112c2898437d958f8f07cb847e53db3018c719ef4d0c2227f77b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","a93bbe06d20763f821db7b671ba9efbf4b602fb4cd612ae9d40f01a30f62966c","1ced83d3606cfe4a0d2d98c24873b4147ac4c1b9beacb1d1dd0d8bacd3a00220","42c7f325d2075cf80f65ef6225692605b6516602209175d29281c7a53838d28f","451a3f75d74f7b130a0e28dc77f21b7d79b99381ebae3f0d849905c5ab33872e","fbd29ea9dd64c69ded0284cb1307557e8f7bf6265ce2bf1faa3840ffed2d38ac","3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc","438284c7c455a29b9c0e2d1e72abc62ee93d9a163029ffe918a34c5db3b92da2","0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","782abf371043fc65a987f835a3acfd80602a30c3e2122f6d5756a86bf6913352","509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","82251920b05f30981c9a4109cb5f3169dce4b477effc845c6d781044a30e7672","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a","2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"9a6d65d77455efaaaeff945bea30c38b8fe0922b807ba45cd23792392f1bfe76","1a255ad66d2b50f7b42eca69228b9587878cf06900780ad57a306a933c6eaeb4","e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88","6396a7a06f3ef0fc31a7c89330e015146b78a2256b030c698b6d404594c37b8f","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","8fe9135b86994075c4192f3358a4350389e80d3abec712db2a82061962d9d21c","e0014889f31fee76a572b6b15e74b2174cbcf6346ae8ab5c69eb553a10e5c944","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","c0ad01cd660e5b8478c46ba9eda9bb60057de0744b3436fab3ce1ab764109da9","a811919884d27b7f56502cb3f89e8d5ba42a70af7d421f1a989a0b85825a93b2","a9ce2f5469b4648ad305fed3a23eabd09c6887fbbb9028c983851cbe8693bdf0","6faeb7075e31bb027045bf3c6c1ee73c34b2d4094e0f80e209f62d89ef3847ba","2c62313d703a4e95d56aae612fba35dc0eca38e399ed9729ee27facf64e9b993","08b428a44bc98005536a12456518797e9afe2a08e8b5d9785641713a54475881","831b44f91491d73ba21effa69d48698b09933db1c7f92a33c048852a76a79068","db6347c1934b46b5bab02cc6a4c3323d604a5cd4a72f92d5c7cfc24ea8dcd4ec","f9a2dd6a6084665f093ed0e9664b8e673be2a45e342a59dd4e0e4e552e68a9ad","b5478b9a935cf14fe43a00f80dee3805b5f5f6d33be9d96fae7babea0e0dad76","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","c17785a46d81d27213ae62b86d6dc0e87e230106e9a57dbfb815d3bea978a6a5","3169db033165677f1d414baf0c82ba27801089ca1b66d97af464512a47df31b5","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","5192f9a6469f849e0863616b668fde54bcd6704394b4bfbd115691865f66d761","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","86d425f7fcd8d100dafa6286cc289af88cbb639ecbdbd25c3018a8f0f7b09fe5","9795e0a3a45d5b6f1a791ee54b7c8b58bc931e8900966cea2dff9c5bae56073b","5890be29879d02424b7654f40592915189034948f7a18c5ad121c006d4e92811","0ab49086f10c75a1cb3b18bffe799dae021774146d8a2d5a4bb42dda67b64f9b","81c77839e152b8f715ec67b0a8b910bcc2d6cf916794c3519f8798c40efd12ac","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","464843c00fb3dd4735b28255c5c9fe713f16b8e47a3db09ba1647687440f7aef","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","d0f6d36b2d86f934560c48d8bfdc7ab60c67cfb2ab6dc1916706aa68e83d6dc2","b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","d558a0fe921ebcc88d3212c2c42108abf9f0d694d67ebdeba37d7728c044f579","356c3df1d255b9fe81d7c3d822d60a2a66c99b1cf853b04a69810a31a449b735","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","8ef5aad624890acfe0fa48230edce255f00934016d16acb8de0edac0ea5b21bb","9af6248ff4baf0c1ddc62bb0bc43197437bd5fb2c95ff8e10e4cf2e699ea45c1","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","89b42f8ee5d387a39db85ee2c7123a391c3ede266a2bcd502c85ad55626c3b2b","99c7f3bbc03f6eb3e663c26c104d639617620c2925e76fc284f7bedf1877fa2b","59115d08fbd0d93bbb2af3fe5b914194fea2906945f2ee08e264b96c7e8601fe","f90d85d4cb38445499bdb7e7b013e4f64d99d157a6fa0843e998495ceb27b520","94ae892ab0c0b2800dbd817ffd0a5bd6cfb60a0cc4ce6860a9f965712cc3eb5d","901becb8779e1089442378fda5623e607ee4588762a32e7692436f1ea81cf848","8286d84d2567b713fd6a1fdfbb1a0abc8cfa668ee1e0e83d7dd4ade5761f2750","f28dffc6bf9bbd8b9dc156aadb74d11de7faabf547eb9f0aebb8cd03e8750a6c","b2bcfd1c457bf7845a5e5f81d1b34785de14f07dc97a27571d7f54c8f4873b65","3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f","5a2a25feca554a8f289ed62114771b8c63d89f2b58325e2f8b7043e4e0160d11"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":false,"esModuleInterop":true,"importHelpers":true,"jsx":2,"module":99,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":false,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","skipLibCheck":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":6,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[96],[96,97,98,99,100],[96,98],[116,147,148],[113,116,136,147,151,152,153],[116,118,147,155],[157],[158,159],[158],[160],[136,147,164],[116,147],[166],[155],[147],[147,168,171],[175,176],[51,173,174,175],[176],[113,116,147,162,163],[149,163,164,179],[114,147],[113,147,183],[116,118,130,136,147],[186],[46],[40,46],[41,42,43,44,45],[156,188,189],[56,57,190],[113,116,118,121,130,136,147],[194],[194,195],[201,203],[229],[223,224,225,226],[208,223,227],[208,223,224,226,227,228],[223],[235],[232,233],[234],[113,147],[57,147],[237,239,240,241,242,243,244,245,246,247,248,249],[237,238,240,241,242,243,244,245,246,247,248,249],[238,239,240,241,242,243,244,245,246,247,248,249],[237,238,239,241,242,243,244,245,246,247,248,249],[237,238,239,240,242,243,244,245,246,247,248,249],[237,238,239,240,241,243,244,245,246,247,248,249],[237,238,239,240,241,242,244,245,246,247,248,249],[237,238,239,240,241,242,243,245,246,247,248,249],[237,238,239,240,241,242,243,244,246,247,248,249],[237,238,239,240,241,242,243,244,245,247,248,249],[237,238,239,240,241,242,243,244,245,246,248,249],[237,238,239,240,241,242,243,244,245,246,247,249],[237,238,239,240,241,242,243,244,245,246,247,248],[150],[116,136,147,254,255],[144,145],[113,114,121,130],[105,113,121],[137],[109,114,122],[130],[111,113,121],[113],[113,115,130,136],[114],[121,130,136],[113,114,116,121,130,133,136],[116,133,136],[146],[136],[111,113,130],[103],[135],[128,137,139],[121],[102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143],[127],[113,115,130,136,139],[263],[260,261,262],[130,147],[39],[39,46,47],[39,46],[35,36,37,38],[116,130,147],[273,312],[273,297,312],[312],[273],[273,298,312],[273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311],[298,312],[116,147,178],[105,147,184],[133,147],[57,116,118,165,179,180,338],[147,320,321,322,323,324,325,326,327,328,329,330],[319,320,329],[320,329],[314,319,320,329],[320],[109,319,329],[319,320,321,322,323,324,325,326,327,328,330],[56,109,147,155,188,318,331],[340],[206,209,210,212,213],[207,208],[208],[208,209],[206,207],[208,212,213],[206,209,210,211],[206,209,212],[206,209],[206],[206,209,212,214,215,216,217],[116,147,333],[336],[334,335],[333,337],[116,121,147,180,193],[197,198],[197,198,199,200],[202],[220],[218],[219,220,221,222],[51,52,54],[53,54],[51,52,53],[50,54,55,56],[39,46,48,62,76,77,78],[57,58,59,127],[60],[87,88],[34,39,49,61,64,67,68,78],[34,39],[34,39,48,62,63,64,65,66,78],[34,39,78],[34,78],[34,39,62,65,69,71,74,78],[34,48,65,72,73,78],[34,39,73,77,78],[34],[34,39,76,78],[34,39,62,70,71,74,78,84,85,86,89],[34,39,60],[34,48],[34,62],[34,78,84,85],[34,39,60,61],[34,84],[78]],"referencedMap":[[98,1],[101,2],[97,1],[99,3],[100,1],[149,4],[154,5],[156,6],[158,7],[160,8],[159,9],[161,10],[165,11],[148,12],[167,13],[166,14],[168,15],[172,16],[177,17],[176,18],[174,19],[164,20],[180,21],[181,22],[184,23],[171,24],[185,22],[187,25],[44,26],[45,26],[41,27],[42,27],[43,27],[46,28],[190,29],[192,30],[193,31],[195,32],[196,33],[204,34],[230,35],[227,36],[224,37],[225,37],[226,37],[229,38],[228,39],[232,40],[234,41],[235,42],[151,43],[236,44],[238,45],[239,46],[237,47],[240,48],[241,49],[242,50],[243,51],[244,52],[245,53],[246,54],[247,55],[248,56],[249,57],[250,25],[251,58],[253,22],[256,59],[146,60],[105,61],[106,62],[107,63],[108,64],[109,65],[110,66],[112,67],[113,67],[114,68],[115,69],[116,70],[117,71],[118,72],[147,73],[119,67],[120,74],[121,75],[124,76],[125,77],[128,67],[129,78],[130,67],[133,79],[144,80],[135,79],[136,81],[138,65],[140,82],[141,65],[264,83],[263,84],[267,85],[76,86],[77,86],[48,87],[62,87],[47,88],[39,89],[270,15],[153,90],[271,85],[297,91],[298,92],[273,93],[276,93],[295,91],[296,91],[286,94],[285,94],[283,91],[278,91],[291,91],[289,91],[293,91],[277,91],[290,91],[294,91],[279,91],[280,91],[292,91],[274,91],[281,91],[282,91],[284,91],[288,91],[299,95],[287,91],[275,91],[312,96],[306,95],[308,97],[307,95],[300,95],[301,95],[303,95],[305,95],[309,97],[310,97],[302,97],[304,97],[179,98],[313,99],[188,14],[317,100],[339,101],[331,102],[330,103],[321,104],[322,105],[323,105],[324,104],[325,104],[326,104],[327,106],[320,107],[328,103],[329,108],[332,109],[341,110],[214,111],[216,112],[207,113],[215,114],[208,115],[217,116],[212,117],[213,118],[210,119],[211,120],[209,120],[218,121],[254,90],[335,122],[337,123],[336,124],[334,12],[338,125],[333,126],[199,127],[201,128],[200,127],[203,129],[220,120],[221,130],[219,131],[223,132],[53,133],[55,134],[54,135],[57,136],[78,137],[60,138],[87,139],[89,140],[69,141],[70,142],[67,143],[68,144],[64,145],[75,146],[74,147],[80,144],[81,148],[71,149],[82,150],[83,144],[90,151],[91,149],[92,144],[93,149],[61,152],[85,149],[49,153],[94,154],[86,155],[84,156],[95,157],[73,149],[66,149],[72,149],[65,153],[79,158]],"exportedModulesMap":[[98,1],[101,2],[97,1],[99,3],[100,1],[149,4],[154,5],[156,6],[158,7],[160,8],[159,9],[161,10],[165,11],[148,12],[167,13],[166,14],[168,15],[172,16],[177,17],[176,18],[174,19],[164,20],[180,21],[181,22],[184,23],[171,24],[185,22],[187,25],[44,26],[45,26],[41,27],[42,27],[43,27],[46,28],[190,29],[192,30],[193,31],[195,32],[196,33],[204,34],[230,35],[227,36],[224,37],[225,37],[226,37],[229,38],[228,39],[232,40],[234,41],[235,42],[151,43],[236,44],[238,45],[239,46],[237,47],[240,48],[241,49],[242,50],[243,51],[244,52],[245,53],[246,54],[247,55],[248,56],[249,57],[250,25],[251,58],[253,22],[256,59],[146,60],[105,61],[106,62],[107,63],[108,64],[109,65],[110,66],[112,67],[113,67],[114,68],[115,69],[116,70],[117,71],[118,72],[147,73],[119,67],[120,74],[121,75],[124,76],[125,77],[128,67],[129,78],[130,67],[133,79],[144,80],[135,79],[136,81],[138,65],[140,82],[141,65],[264,83],[263,84],[267,85],[76,86],[77,86],[48,87],[62,87],[47,88],[39,89],[270,15],[153,90],[271,85],[297,91],[298,92],[273,93],[276,93],[295,91],[296,91],[286,94],[285,94],[283,91],[278,91],[291,91],[289,91],[293,91],[277,91],[290,91],[294,91],[279,91],[280,91],[292,91],[274,91],[281,91],[282,91],[284,91],[288,91],[299,95],[287,91],[275,91],[312,96],[306,95],[308,97],[307,95],[300,95],[301,95],[303,95],[305,95],[309,97],[310,97],[302,97],[304,97],[179,98],[313,99],[188,14],[317,100],[339,101],[331,102],[330,103],[321,104],[322,105],[323,105],[324,104],[325,104],[326,104],[327,106],[320,107],[328,103],[329,108],[332,109],[341,110],[214,111],[216,112],[207,113],[215,114],[208,115],[217,116],[212,117],[213,118],[210,119],[211,120],[209,120],[218,121],[254,90],[335,122],[337,123],[336,124],[334,12],[338,125],[333,126],[199,127],[201,128],[200,127],[203,129],[220,120],[221,130],[219,131],[223,132],[53,133],[55,134],[54,135],[57,136],[78,137],[60,138],[87,139],[89,140],[69,141],[70,142],[67,143],[68,144],[64,145],[75,146],[74,147],[80,144],[81,148],[71,149],[82,150],[83,144],[90,151],[91,149],[92,144],[93,149],[61,152],[85,149],[49,153],[94,154],[86,155],[84,156],[95,157],[73,149],[66,149],[72,149],[65,153],[79,158]],"semanticDiagnosticsPerFile":[98,96,101,97,99,100,149,150,154,156,158,160,159,157,161,165,148,167,166,168,169,170,172,177,173,176,174,175,164,180,181,182,184,171,185,187,40,44,45,41,42,43,46,191,190,192,152,193,194,195,196,204,205,230,227,224,225,226,229,228,51,231,232,234,233,235,151,236,238,239,237,240,241,242,243,244,245,246,247,248,249,250,251,178,183,252,253,255,256,145,103,146,104,105,106,107,108,109,110,111,112,113,114,115,102,142,116,117,118,147,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,144,135,136,137,138,139,143,140,141,257,63,258,259,264,260,261,263,262,265,266,267,37,268,163,162,269,76,77,48,62,47,35,39,189,270,153,271,272,38,297,298,273,276,295,296,286,285,283,278,291,289,293,277,290,294,279,280,292,274,281,282,284,288,299,287,275,312,311,306,308,307,300,301,303,305,309,310,302,304,179,313,314,315,316,188,186,317,339,331,330,321,322,323,324,325,326,327,320,328,329,319,332,318,340,341,52,214,216,207,215,208,217,212,213,210,211,209,218,206,36,254,335,337,336,334,338,333,197,199,201,200,198,59,203,202,220,221,222,219,223,53,55,54,155,56,34,7,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,29,30,31,32,1,33,50,57,78,58,60,87,89,88,69,70,67,68,64,75,74,80,81,71,82,83,90,91,92,93,61,85,49,94,86,84,95,73,66,72,65,79]},"version":"4.3.2"}
|
|
@@ -1,12 +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
|
-
interface Dispatchers {
|
|
8
|
-
onRouteUpdate: (...args: any) => void;
|
|
9
|
-
onRouteUpdateDelayed: (...args: any) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const clientLifecyclesDispatchers: Dispatchers;
|
|
12
|
-
export default clientLifecyclesDispatchers;
|
|
@@ -1,27 +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
|
-
// too dynamic
|
|
8
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
9
|
-
import clientModules from '@generated/client-modules';
|
|
10
|
-
function dispatchLifecycleAction(lifecycleAction, ...args) {
|
|
11
|
-
clientModules.forEach((clientModule) => {
|
|
12
|
-
var _a, _b;
|
|
13
|
-
const lifecycleFunction = (_b = (_a = clientModule === null || clientModule === void 0 ? void 0 : clientModule.default) === null || _a === void 0 ? void 0 : _a[lifecycleAction]) !== null && _b !== void 0 ? _b : clientModule[lifecycleAction];
|
|
14
|
-
if (lifecycleFunction) {
|
|
15
|
-
lifecycleFunction(...args);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const clientLifecyclesDispatchers = {
|
|
20
|
-
onRouteUpdate(...args) {
|
|
21
|
-
dispatchLifecycleAction('onRouteUpdate', ...args);
|
|
22
|
-
},
|
|
23
|
-
onRouteUpdateDelayed(...args) {
|
|
24
|
-
dispatchLifecycleAction('onRouteUpdateDelayed', ...args);
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
export default clientLifecyclesDispatchers;
|
package/lib/client/nprogress.css
DELETED
|
@@ -1,36 +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
|
-
/**
|
|
9
|
-
* Styles for NProgress
|
|
10
|
-
* Copied over to remove unused styles for the spinner.
|
|
11
|
-
* https://github.com/rstacruz/nprogress/blob/master/nprogress.css
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
#nprogress {
|
|
15
|
-
pointer-events: none;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
#nprogress .bar {
|
|
19
|
-
background: #29d;
|
|
20
|
-
position: fixed;
|
|
21
|
-
z-index: 1031;
|
|
22
|
-
top: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 2px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
#nprogress .peg {
|
|
29
|
-
position: absolute;
|
|
30
|
-
right: 0px;
|
|
31
|
-
width: 100px;
|
|
32
|
-
height: 100%;
|
|
33
|
-
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
|
34
|
-
opacity: 1;
|
|
35
|
-
transform: rotate(3deg) translate(0px, -4px);
|
|
36
|
-
}
|
|
@@ -1,7 +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
|
-
export declare function buildUrl(githubHost: string, githubPort: string | undefined, gitCredentials: string | undefined, organizationName: string, projectName: string, useSSH: boolean | undefined): string;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.buildUrl = void 0;
|
|
10
|
-
function buildUrl(githubHost, githubPort, gitCredentials, organizationName, projectName, useSSH) {
|
|
11
|
-
return useSSH
|
|
12
|
-
? buildSshUrl(githubHost, organizationName, projectName, githubPort)
|
|
13
|
-
: buildHttpsUrl(gitCredentials, githubHost, organizationName, projectName, githubPort);
|
|
14
|
-
}
|
|
15
|
-
exports.buildUrl = buildUrl;
|
|
16
|
-
function buildSshUrl(githubHost, organizationName, projectName, githubPort) {
|
|
17
|
-
if (githubPort) {
|
|
18
|
-
return `ssh://git@${githubHost}:${githubPort}/${organizationName}/${projectName}.git`;
|
|
19
|
-
}
|
|
20
|
-
return `git@${githubHost}:${organizationName}/${projectName}.git`;
|
|
21
|
-
}
|
|
22
|
-
function buildHttpsUrl(gitCredentials, githubHost, organizationName, projectName, githubPort) {
|
|
23
|
-
if (githubPort) {
|
|
24
|
-
return `https://${gitCredentials}@${githubHost}:${githubPort}/${organizationName}/${projectName}.git`;
|
|
25
|
-
}
|
|
26
|
-
return `https://${gitCredentials}@${githubHost}/${organizationName}/${projectName}.git`;
|
|
27
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCLIOptionPort = exports.getCLIOptionHost = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
/**
|
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
const choosePort_1 = tslib_1.__importDefault(require("../choosePort"));
|
|
12
|
-
const constants_1 = require("../constants");
|
|
13
|
-
function getCLIOptionHost(hostOption) {
|
|
14
|
-
return hostOption || 'localhost';
|
|
15
|
-
}
|
|
16
|
-
exports.getCLIOptionHost = getCLIOptionHost;
|
|
17
|
-
async function getCLIOptionPort(portOption, host) {
|
|
18
|
-
const basePort = portOption ? parseInt(portOption, 10) : constants_1.DEFAULT_PORT;
|
|
19
|
-
return choosePort_1.default(host, basePort);
|
|
20
|
-
}
|
|
21
|
-
exports.getCLIOptionPort = getCLIOptionPort;
|
|
@@ -1,9 +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
|
-
import { PluginConfig } from '@docusaurus/types';
|
|
8
|
-
export declare function getPluginNames(plugins: PluginConfig[]): string[];
|
|
9
|
-
export default function swizzle(siteDir: string, themeName?: string, componentName?: string, typescript?: boolean, danger?: boolean): Promise<void>;
|
package/lib/commands/swizzle.js
DELETED
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.getPluginNames = void 0;
|
|
10
|
-
const tslib_1 = require("tslib");
|
|
11
|
-
const chalk = require("chalk");
|
|
12
|
-
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
13
|
-
const import_fresh_1 = tslib_1.__importDefault(require("import-fresh"));
|
|
14
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
15
|
-
const leven_1 = tslib_1.__importDefault(require("leven"));
|
|
16
|
-
const lodash_1 = require("lodash");
|
|
17
|
-
const constants_1 = require("../constants");
|
|
18
|
-
const server_1 = require("../server");
|
|
19
|
-
const init_1 = tslib_1.__importDefault(require("../server/plugins/init"));
|
|
20
|
-
const utils_validation_1 = require("@docusaurus/utils-validation");
|
|
21
|
-
function getPluginNames(plugins) {
|
|
22
|
-
return plugins
|
|
23
|
-
.filter((plugin) => typeof plugin === 'string' ||
|
|
24
|
-
(Array.isArray(plugin) && typeof plugin[0] === 'string'))
|
|
25
|
-
.map((plugin) => {
|
|
26
|
-
const pluginPath = Array.isArray(plugin) ? plugin[0] : plugin;
|
|
27
|
-
if (typeof pluginPath === 'string') {
|
|
28
|
-
let packagePath = path_1.default.dirname(pluginPath);
|
|
29
|
-
while (packagePath) {
|
|
30
|
-
if (fs_extra_1.default.existsSync(path_1.default.join(packagePath, 'package.json'))) {
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
packagePath = path_1.default.dirname(packagePath);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
if (packagePath === '.') {
|
|
38
|
-
return pluginPath;
|
|
39
|
-
}
|
|
40
|
-
return import_fresh_1.default(path_1.default.join(packagePath, 'package.json')).name;
|
|
41
|
-
}
|
|
42
|
-
return '';
|
|
43
|
-
})
|
|
44
|
-
.filter((plugin) => plugin !== '');
|
|
45
|
-
}
|
|
46
|
-
exports.getPluginNames = getPluginNames;
|
|
47
|
-
const formatComponentName = (componentName) => componentName
|
|
48
|
-
.replace(/(\/|\\)index.(js|tsx|ts|jsx)/, '')
|
|
49
|
-
.replace(/.(js|tsx|ts|jsx)/, '');
|
|
50
|
-
function readComponent(themePath) {
|
|
51
|
-
function walk(dir) {
|
|
52
|
-
let results = [];
|
|
53
|
-
const list = fs_extra_1.default.readdirSync(dir);
|
|
54
|
-
list.forEach((file) => {
|
|
55
|
-
const fullPath = path_1.default.join(dir, file);
|
|
56
|
-
const stat = fs_extra_1.default.statSync(fullPath);
|
|
57
|
-
if (stat && stat.isDirectory()) {
|
|
58
|
-
results = results.concat(walk(fullPath));
|
|
59
|
-
}
|
|
60
|
-
else if (!/\.css|\.d\.ts|\.d\.map/.test(fullPath)) {
|
|
61
|
-
results.push(fullPath);
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
return results;
|
|
65
|
-
}
|
|
66
|
-
return walk(themePath).map((filePath) => formatComponentName(path_1.default.relative(themePath, filePath)));
|
|
67
|
-
}
|
|
68
|
-
// load components from theme based on configurations
|
|
69
|
-
function getComponentName(themePath, plugin, danger) {
|
|
70
|
-
var _a, _b;
|
|
71
|
-
// support both commonjs and ES style exports
|
|
72
|
-
const getSwizzleComponentList = (_b = (_a = plugin.default) === null || _a === void 0 ? void 0 : _a.getSwizzleComponentList) !== null && _b !== void 0 ? _b : plugin.getSwizzleComponentList;
|
|
73
|
-
if (getSwizzleComponentList) {
|
|
74
|
-
const allowedComponent = getSwizzleComponentList();
|
|
75
|
-
if (danger) {
|
|
76
|
-
return readComponent(themePath);
|
|
77
|
-
}
|
|
78
|
-
return allowedComponent;
|
|
79
|
-
}
|
|
80
|
-
return readComponent(themePath);
|
|
81
|
-
}
|
|
82
|
-
function themeComponents(themePath, plugin) {
|
|
83
|
-
const components = colorCode(themePath, plugin);
|
|
84
|
-
if (components.length === 0) {
|
|
85
|
-
return `${chalk.red('No component to swizzle.')}`;
|
|
86
|
-
}
|
|
87
|
-
return `
|
|
88
|
-
${chalk.cyan('Theme components available for swizzle.')}
|
|
89
|
-
|
|
90
|
-
${chalk.green('green =>')} safe: lower breaking change risk
|
|
91
|
-
${chalk.red('red =>')} unsafe: higher breaking change risk
|
|
92
|
-
|
|
93
|
-
${components.join('\n')}
|
|
94
|
-
`;
|
|
95
|
-
}
|
|
96
|
-
function formattedThemeNames(themeNames) {
|
|
97
|
-
return `Themes available for swizzle:\n- ${themeNames.join('\n- ')}`;
|
|
98
|
-
}
|
|
99
|
-
function colorCode(themePath, plugin) {
|
|
100
|
-
var _a, _b;
|
|
101
|
-
// support both commonjs and ES style exports
|
|
102
|
-
const getSwizzleComponentList = (_b = (_a = plugin.default) === null || _a === void 0 ? void 0 : _a.getSwizzleComponentList) !== null && _b !== void 0 ? _b : plugin.getSwizzleComponentList;
|
|
103
|
-
const components = readComponent(themePath);
|
|
104
|
-
const allowedComponent = getSwizzleComponentList
|
|
105
|
-
? getSwizzleComponentList()
|
|
106
|
-
: [];
|
|
107
|
-
const [greenComponents, redComponents] = lodash_1.partition(components, (comp) => allowedComponent.includes(comp));
|
|
108
|
-
return [
|
|
109
|
-
...greenComponents.map((component) => chalk.green(`safe: ${component}`)),
|
|
110
|
-
...redComponents.map((component) => chalk.red(`unsafe: ${component}`)),
|
|
111
|
-
];
|
|
112
|
-
}
|
|
113
|
-
async function swizzle(siteDir, themeName, componentName, typescript, danger) {
|
|
114
|
-
var _a, _b, _c, _d, _e;
|
|
115
|
-
const context = await server_1.loadContext(siteDir);
|
|
116
|
-
const pluginConfigs = server_1.loadPluginConfigs(context);
|
|
117
|
-
const pluginNames = getPluginNames(pluginConfigs);
|
|
118
|
-
const plugins = init_1.default({
|
|
119
|
-
pluginConfigs,
|
|
120
|
-
context,
|
|
121
|
-
});
|
|
122
|
-
const themeNames = pluginNames.filter((_, index) => typescript
|
|
123
|
-
? plugins[index].getTypeScriptThemePath
|
|
124
|
-
: plugins[index].getThemePath);
|
|
125
|
-
if (!themeName) {
|
|
126
|
-
console.log(formattedThemeNames(themeNames));
|
|
127
|
-
process.exit(1);
|
|
128
|
-
}
|
|
129
|
-
let pluginModule;
|
|
130
|
-
try {
|
|
131
|
-
pluginModule = import_fresh_1.default(themeName);
|
|
132
|
-
}
|
|
133
|
-
catch {
|
|
134
|
-
let suggestion;
|
|
135
|
-
themeNames.forEach((name) => {
|
|
136
|
-
if (leven_1.default(name, themeName) < 4) {
|
|
137
|
-
suggestion = name;
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
chalk.red(`Theme ${themeName} not found. ${suggestion
|
|
141
|
-
? `Did you mean "${suggestion}" ?`
|
|
142
|
-
: formattedThemeNames(themeNames)}`);
|
|
143
|
-
process.exit(1);
|
|
144
|
-
}
|
|
145
|
-
let pluginOptions = {};
|
|
146
|
-
const resolvedThemeName = require.resolve(themeName);
|
|
147
|
-
// find the plugin from list of plugin and get options if specified
|
|
148
|
-
pluginConfigs.forEach((pluginConfig) => {
|
|
149
|
-
// plugin can be a [string], [string,object] or string.
|
|
150
|
-
if (Array.isArray(pluginConfig) && typeof pluginConfig[0] === 'string') {
|
|
151
|
-
if (require.resolve(pluginConfig[0]) === resolvedThemeName) {
|
|
152
|
-
if (pluginConfig.length === 2) {
|
|
153
|
-
const [, options] = pluginConfig;
|
|
154
|
-
pluginOptions = options;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
// support both commonjs and ES style exports
|
|
160
|
-
const validateOptions = (_b = (_a = pluginModule.default) === null || _a === void 0 ? void 0 : _a.validateOptions) !== null && _b !== void 0 ? _b : pluginModule.validateOptions;
|
|
161
|
-
if (validateOptions) {
|
|
162
|
-
pluginOptions = validateOptions({
|
|
163
|
-
validate: utils_validation_1.normalizePluginOptions,
|
|
164
|
-
options: pluginOptions,
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
// support both commonjs and ES style exports
|
|
168
|
-
const plugin = (_c = pluginModule.default) !== null && _c !== void 0 ? _c : pluginModule;
|
|
169
|
-
const pluginInstance = plugin(context, pluginOptions);
|
|
170
|
-
const themePath = typescript
|
|
171
|
-
? (_d = pluginInstance.getTypeScriptThemePath) === null || _d === void 0 ? void 0 : _d.call(pluginInstance)
|
|
172
|
-
: (_e = pluginInstance.getThemePath) === null || _e === void 0 ? void 0 : _e.call(pluginInstance);
|
|
173
|
-
if (!themePath) {
|
|
174
|
-
console.warn(chalk.yellow(typescript
|
|
175
|
-
? `${themeName} does not provide TypeScript theme code via "getTypeScriptThemePath()".`
|
|
176
|
-
: `${themeName} does not provide any theme code.`));
|
|
177
|
-
process.exit(1);
|
|
178
|
-
}
|
|
179
|
-
if (!componentName) {
|
|
180
|
-
console.warn(themeComponents(themePath, pluginModule));
|
|
181
|
-
process.exit(1);
|
|
182
|
-
}
|
|
183
|
-
const components = getComponentName(themePath, pluginModule, Boolean(danger));
|
|
184
|
-
const formattedComponentName = formatComponentName(componentName);
|
|
185
|
-
const isComponentExists = components.find((component) => component === formattedComponentName);
|
|
186
|
-
let mostSuitableComponent = componentName;
|
|
187
|
-
if (!isComponentExists) {
|
|
188
|
-
let mostSuitableMatch = componentName;
|
|
189
|
-
let score = formattedComponentName.length;
|
|
190
|
-
components.forEach((component) => {
|
|
191
|
-
if (component.toLowerCase() === formattedComponentName.toLowerCase()) {
|
|
192
|
-
// may be components with same lowercase key, try to match closest component
|
|
193
|
-
const currentScore = leven_1.default(formattedComponentName, component);
|
|
194
|
-
if (currentScore < score) {
|
|
195
|
-
score = currentScore;
|
|
196
|
-
mostSuitableMatch = component;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
if (mostSuitableMatch !== componentName) {
|
|
201
|
-
mostSuitableComponent = mostSuitableMatch;
|
|
202
|
-
console.log(chalk.red(`Component "${componentName}" doesn't exist.`), chalk.yellow(`"${mostSuitableComponent}" is swizzled instead of "${componentName}".`));
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
let fromPath = path_1.default.join(themePath, mostSuitableComponent);
|
|
206
|
-
let toPath = path_1.default.resolve(siteDir, constants_1.THEME_PATH, mostSuitableComponent);
|
|
207
|
-
// Handle single TypeScript/JavaScript file only.
|
|
208
|
-
// E.g: if <fromPath> does not exist, we try to swizzle <fromPath>.(ts|tsx|js) instead
|
|
209
|
-
if (!fs_extra_1.default.existsSync(fromPath)) {
|
|
210
|
-
if (fs_extra_1.default.existsSync(`${fromPath}.ts`)) {
|
|
211
|
-
[fromPath, toPath] = [`${fromPath}.ts`, `${toPath}.ts`];
|
|
212
|
-
}
|
|
213
|
-
else if (fs_extra_1.default.existsSync(`${fromPath}.tsx`)) {
|
|
214
|
-
[fromPath, toPath] = [`${fromPath}.tsx`, `${toPath}.tsx`];
|
|
215
|
-
}
|
|
216
|
-
else if (fs_extra_1.default.existsSync(`${fromPath}.js`)) {
|
|
217
|
-
[fromPath, toPath] = [`${fromPath}.js`, `${toPath}.js`];
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
let suggestion;
|
|
221
|
-
components.forEach((name) => {
|
|
222
|
-
if (leven_1.default(name, mostSuitableComponent) < 3) {
|
|
223
|
-
suggestion = name;
|
|
224
|
-
}
|
|
225
|
-
});
|
|
226
|
-
console.warn(chalk.red(`Component ${mostSuitableComponent} not found.`));
|
|
227
|
-
console.warn(suggestion
|
|
228
|
-
? `Did you mean "${suggestion}"?`
|
|
229
|
-
: `${themeComponents(themePath, pluginModule)}`);
|
|
230
|
-
process.exit(1);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
if (!components.includes(mostSuitableComponent) && !danger) {
|
|
234
|
-
console.warn(chalk.red(`${mostSuitableComponent} is an internal component and has a higher breaking change probability. If you want to swizzle it, use the "--danger" flag.`));
|
|
235
|
-
process.exit(1);
|
|
236
|
-
}
|
|
237
|
-
await fs_extra_1.default.copy(fromPath, toPath);
|
|
238
|
-
const relativeDir = path_1.default.relative(process.cwd(), toPath);
|
|
239
|
-
const fromMsg = chalk.blue(mostSuitableComponent
|
|
240
|
-
? `${themeName} ${chalk.yellow(mostSuitableComponent)}`
|
|
241
|
-
: themeName);
|
|
242
|
-
const toMsg = chalk.cyan(relativeDir);
|
|
243
|
-
console.log(`\n${chalk.green('Success!')} Copied ${fromMsg} to ${toMsg}.\n`);
|
|
244
|
-
}
|
|
245
|
-
exports.default = swizzle;
|
package/lib/constants.d.ts
DELETED
|
@@ -1,18 +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
|
-
export declare const NODE_MAJOR_VERSION: number;
|
|
8
|
-
export declare const NODE_MINOR_VERSION: number;
|
|
9
|
-
export declare const DEFAULT_BUILD_DIR_NAME = "build";
|
|
10
|
-
export declare const DEFAULT_CONFIG_FILE_NAME = "docusaurus.config.js";
|
|
11
|
-
export declare const BABEL_CONFIG_FILE_NAME: string;
|
|
12
|
-
export declare const GENERATED_FILES_DIR_NAME: string;
|
|
13
|
-
export declare const SRC_DIR_NAME = "src";
|
|
14
|
-
export declare const STATIC_DIR_NAME = "static";
|
|
15
|
-
export declare const OUTPUT_STATIC_ASSETS_DIR_NAME = "assets";
|
|
16
|
-
export declare const THEME_PATH: string;
|
|
17
|
-
export declare const DEFAULT_PORT = 3000;
|
|
18
|
-
export declare const DEFAULT_PLUGIN_ID = "default";
|
package/lib/constants.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.DEFAULT_PLUGIN_ID = exports.DEFAULT_PORT = exports.THEME_PATH = exports.OUTPUT_STATIC_ASSETS_DIR_NAME = exports.STATIC_DIR_NAME = exports.SRC_DIR_NAME = exports.GENERATED_FILES_DIR_NAME = exports.BABEL_CONFIG_FILE_NAME = exports.DEFAULT_CONFIG_FILE_NAME = exports.DEFAULT_BUILD_DIR_NAME = exports.NODE_MINOR_VERSION = exports.NODE_MAJOR_VERSION = void 0;
|
|
10
|
-
exports.NODE_MAJOR_VERSION = parseInt(process.versions.node.split('.')[0], 10);
|
|
11
|
-
exports.NODE_MINOR_VERSION = parseInt(process.versions.node.split('.')[1], 10);
|
|
12
|
-
// Can be overridden with cli option --out-dir
|
|
13
|
-
exports.DEFAULT_BUILD_DIR_NAME = 'build';
|
|
14
|
-
// Can be overridden with cli option --config
|
|
15
|
-
exports.DEFAULT_CONFIG_FILE_NAME = 'docusaurus.config.js';
|
|
16
|
-
exports.BABEL_CONFIG_FILE_NAME = process.env.DOCUSAURUS_BABEL_CONFIG_FILE_NAME || 'babel.config.js';
|
|
17
|
-
exports.GENERATED_FILES_DIR_NAME = process.env.DOCUSAURUS_GENERATED_FILES_DIR_NAME || '.docusaurus';
|
|
18
|
-
exports.SRC_DIR_NAME = 'src';
|
|
19
|
-
exports.STATIC_DIR_NAME = 'static';
|
|
20
|
-
exports.OUTPUT_STATIC_ASSETS_DIR_NAME = 'assets'; // files handled by webpack, hashed (can be cached aggressively)
|
|
21
|
-
exports.THEME_PATH = `${exports.SRC_DIR_NAME}/theme`;
|
|
22
|
-
exports.DEFAULT_PORT = 3000;
|
|
23
|
-
exports.DEFAULT_PLUGIN_ID = 'default';
|