@amazon/vinyl-build-utils 1.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.
Files changed (108) hide show
  1. package/README.md +49 -0
  2. package/dist/babel/compatTransform.d.ts +20 -0
  3. package/dist/babel/compatTransform.d.ts.map +1 -0
  4. package/dist/babel/compatTransform.js +46 -0
  5. package/dist/browserstack/BrowserStackWorker.d.ts +150 -0
  6. package/dist/browserstack/BrowserStackWorker.d.ts.map +1 -0
  7. package/dist/browserstack/BrowserStackWorker.js +280 -0
  8. package/dist/browserstack/BrowserStackWorkerController.d.ts +103 -0
  9. package/dist/browserstack/BrowserStackWorkerController.d.ts.map +1 -0
  10. package/dist/browserstack/BrowserStackWorkerController.js +199 -0
  11. package/dist/browserstack/browserStackLocal.d.ts +3 -0
  12. package/dist/browserstack/browserStackLocal.d.ts.map +1 -0
  13. package/dist/browserstack/browserStackLocal.js +36 -0
  14. package/dist/browserstack/browserStackRestApi.d.ts +304 -0
  15. package/dist/browserstack/browserStackRestApi.d.ts.map +1 -0
  16. package/dist/browserstack/browserStackRestApi.js +121 -0
  17. package/dist/browserstack/configureReporterApi.d.ts +85 -0
  18. package/dist/browserstack/configureReporterApi.d.ts.map +1 -0
  19. package/dist/browserstack/configureReporterApi.js +51 -0
  20. package/dist/browserstack/runBrowserStack.d.ts +123 -0
  21. package/dist/browserstack/runBrowserStack.d.ts.map +1 -0
  22. package/dist/browserstack/runBrowserStack.js +204 -0
  23. package/dist/esbuild/CompatTransformPlugin.d.ts +6 -0
  24. package/dist/esbuild/CompatTransformPlugin.d.ts.map +1 -0
  25. package/dist/esbuild/CompatTransformPlugin.js +59 -0
  26. package/dist/esbuild/PureExportsPlugin.d.ts +11 -0
  27. package/dist/esbuild/PureExportsPlugin.d.ts.map +1 -0
  28. package/dist/esbuild/PureExportsPlugin.js +55 -0
  29. package/dist/esbuild/TypeDeclarationsPlugin.d.ts +9 -0
  30. package/dist/esbuild/TypeDeclarationsPlugin.d.ts.map +1 -0
  31. package/dist/esbuild/TypeDeclarationsPlugin.js +60 -0
  32. package/dist/esbuild/analyzeExports.d.ts +7 -0
  33. package/dist/esbuild/analyzeExports.d.ts.map +1 -0
  34. package/dist/esbuild/analyzeExports.js +78 -0
  35. package/dist/esbuild/buildAll.d.ts +12 -0
  36. package/dist/esbuild/buildAll.d.ts.map +1 -0
  37. package/dist/esbuild/buildAll.js +16 -0
  38. package/dist/esbuild/optionalEntryPoints.d.ts +8 -0
  39. package/dist/esbuild/optionalEntryPoints.d.ts.map +1 -0
  40. package/dist/esbuild/optionalEntryPoints.js +20 -0
  41. package/dist/express/serve.d.ts +33 -0
  42. package/dist/express/serve.d.ts.map +1 -0
  43. package/dist/express/serve.js +31 -0
  44. package/dist/express/startExpressServer.d.ts +80 -0
  45. package/dist/express/startExpressServer.d.ts.map +1 -0
  46. package/dist/express/startExpressServer.js +114 -0
  47. package/dist/index.d.ts +36 -0
  48. package/dist/index.d.ts.map +1 -0
  49. package/dist/index.js +35 -0
  50. package/dist/tsconfig.tsbuildinfo +1 -0
  51. package/dist/typescript/buildTypeDeclarations.d.ts +47 -0
  52. package/dist/typescript/buildTypeDeclarations.d.ts.map +1 -0
  53. package/dist/typescript/buildTypeDeclarations.js +65 -0
  54. package/dist/typescript/parseTsConfig.d.ts +13 -0
  55. package/dist/typescript/parseTsConfig.d.ts.map +1 -0
  56. package/dist/typescript/parseTsConfig.js +23 -0
  57. package/dist/typescript/replacePathAliases.d.ts +10 -0
  58. package/dist/typescript/replacePathAliases.d.ts.map +1 -0
  59. package/dist/typescript/replacePathAliases.js +26 -0
  60. package/dist/typescript/resolveProjectReferences.d.ts +8 -0
  61. package/dist/typescript/resolveProjectReferences.d.ts.map +1 -0
  62. package/dist/typescript/resolveProjectReferences.js +42 -0
  63. package/dist/typescript/tsc.d.ts +15 -0
  64. package/dist/typescript/tsc.d.ts.map +1 -0
  65. package/dist/typescript/tsc.js +28 -0
  66. package/dist/util/Logger.d.ts +34 -0
  67. package/dist/util/Logger.d.ts.map +1 -0
  68. package/dist/util/Logger.js +88 -0
  69. package/dist/util/TaskQueue.d.ts +30 -0
  70. package/dist/util/TaskQueue.d.ts.map +1 -0
  71. package/dist/util/TaskQueue.js +55 -0
  72. package/dist/util/console.d.ts +22 -0
  73. package/dist/util/console.d.ts.map +1 -0
  74. package/dist/util/console.js +58 -0
  75. package/dist/util/copyFiles.d.ts +33 -0
  76. package/dist/util/copyFiles.d.ts.map +1 -0
  77. package/dist/util/copyFiles.js +55 -0
  78. package/dist/util/extractArgs.d.ts +12 -0
  79. package/dist/util/extractArgs.d.ts.map +1 -0
  80. package/dist/util/extractArgs.js +23 -0
  81. package/dist/util/getRootProjectDir.d.ts +2 -0
  82. package/dist/util/getRootProjectDir.d.ts.map +1 -0
  83. package/dist/util/getRootProjectDir.js +14 -0
  84. package/dist/util/prompt.d.ts +2 -0
  85. package/dist/util/prompt.d.ts.map +1 -0
  86. package/dist/util/prompt.js +15 -0
  87. package/dist/util/sleep.d.ts +6 -0
  88. package/dist/util/sleep.d.ts.map +1 -0
  89. package/dist/util/sleep.js +13 -0
  90. package/dist/util/string.d.ts +22 -0
  91. package/dist/util/string.d.ts.map +1 -0
  92. package/dist/util/string.js +35 -0
  93. package/dist/util/writeIndexFile.d.ts +13 -0
  94. package/dist/util/writeIndexFile.d.ts.map +1 -0
  95. package/dist/util/writeIndexFile.js +92 -0
  96. package/dist/vinyl/buildVinylPackage.d.ts +40 -0
  97. package/dist/vinyl/buildVinylPackage.d.ts.map +1 -0
  98. package/dist/vinyl/buildVinylPackage.js +167 -0
  99. package/dist/vinyl/vinylDefaultBrowserStackOptions.d.ts +25 -0
  100. package/dist/vinyl/vinylDefaultBrowserStackOptions.d.ts.map +1 -0
  101. package/dist/vinyl/vinylDefaultBrowserStackOptions.js +28 -0
  102. package/dist/vinyl/vinylDefaultTscOptions.d.ts +3 -0
  103. package/dist/vinyl/vinylDefaultTscOptions.d.ts.map +1 -0
  104. package/dist/vinyl/vinylDefaultTscOptions.js +11 -0
  105. package/dist/vinyl/vinylSupportedBrowsers.d.ts +18 -0
  106. package/dist/vinyl/vinylSupportedBrowsers.d.ts.map +1 -0
  107. package/dist/vinyl/vinylSupportedBrowsers.js +55 -0
  108. package/package.json +52 -0
@@ -0,0 +1 @@
1
+ {"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.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.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.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.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.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.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.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.generated.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/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/dotenv/lib/main.d.ts","../../../node_modules/@types/send/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/http-errors/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/express/index.d.ts","../src/util/console.ts","../src/util/logger.ts","../src/express/startexpressserver.ts","../../../node_modules/@types/http-proxy/index.d.ts","../../../node_modules/http-proxy-middleware/dist/types.d.ts","../../../node_modules/http-proxy-middleware/dist/factory.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/plugins/default/debug-proxy-errors-plugin.d.ts","../../../node_modules/http-proxy-middleware/dist/plugins/default/error-response-plugin.d.ts","../../../node_modules/http-proxy-middleware/dist/plugins/default/logger-plugin.d.ts","../../../node_modules/http-proxy-middleware/dist/plugins/default/proxy-events.d.ts","../../../node_modules/http-proxy-middleware/dist/plugins/default/index.d.ts","../../../node_modules/http-proxy-middleware/dist/legacy/types.d.ts","../../../node_modules/http-proxy-middleware/dist/legacy/create-proxy-middleware.d.ts","../../../node_modules/http-proxy-middleware/dist/legacy/public.d.ts","../../../node_modules/http-proxy-middleware/dist/legacy/index.d.ts","../../../node_modules/http-proxy-middleware/dist/index.d.ts","../src/express/serve.ts","../src/util/sleep.ts","../src/browserstack/browserstackrestapi.ts","../../../node_modules/browserstack-local/index.d.ts","../src/browserstack/browserstacklocal.ts","../src/util/taskqueue.ts","../src/browserstack/configurereporterapi.ts","../src/browserstack/browserstackworker.ts","../src/browserstack/browserstackworkercontroller.ts","../src/util/getrootprojectdir.ts","../src/browserstack/runbrowserstack.ts","../src/vinyl/vinylsupportedbrowsers.ts","../../../node_modules/typescript/lib/typescript.d.ts","../src/typescript/tsc.ts","../src/typescript/parsetsconfig.ts","../src/typescript/resolveprojectreferences.ts","../../../node_modules/tsc-alias/dist/utils/import-path-resolver.d.ts","../../../node_modules/tsc-alias/dist/utils/output.d.ts","../../../node_modules/tsc-alias/dist/utils/path-cache.d.ts","../../../node_modules/tsc-alias/dist/utils/trie.d.ts","../../../node_modules/tsc-alias/dist/utils/index.d.ts","../../../node_modules/tsc-alias/dist/interfaces.d.ts","../../../node_modules/tsc-alias/dist/index.d.ts","../src/typescript/replacepathaliases.ts","../../../node_modules/@nbilyk/downlevel-dts/dist/downleveldts.d.ts","../../../node_modules/@nbilyk/downlevel-dts/dist/index.d.ts","../src/typescript/buildtypedeclarations.ts","../src/vinyl/vinyldefaulttscoptions.ts","../src/vinyl/vinyldefaultbrowserstackoptions.ts","../../../node_modules/esbuild/lib/main.d.ts","../src/esbuild/typedeclarationsplugin.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","../src/babel/compattransform.ts","../src/esbuild/compattransformplugin.ts","../src/util/copyfiles.ts","../src/esbuild/buildall.ts","../../../node_modules/magic-string/dist/magic-string.es.d.mts","../src/esbuild/pureexportsplugin.ts","../src/esbuild/optionalentrypoints.ts","../src/vinyl/buildvinylpackage.ts","../../../node_modules/minipass/dist/esm/index.d.ts","../../../node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.d.ts","../../../node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts","../../../node_modules/path-scurry/dist/esm/index.d.ts","../../../node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts","../../../node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts","../../../node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts","../../../node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts","../../../node_modules/glob/dist/esm/pattern.d.ts","../../../node_modules/glob/dist/esm/processor.d.ts","../../../node_modules/glob/dist/esm/walker.d.ts","../../../node_modules/glob/dist/esm/ignore.d.ts","../../../node_modules/glob/dist/esm/glob.d.ts","../../../node_modules/glob/dist/esm/has-magic.d.ts","../../../node_modules/glob/dist/esm/index.d.ts","../src/util/writeindexfile.ts","../src/util/string.ts","../src/util/prompt.ts","../src/util/extractargs.ts","../src/esbuild/analyzeexports.ts","../src/index.ts"],"fileIdsList":[[53,100,210],[53,100],[53,100,203],[53,100,210,211,212,213,214],[53,100,210,212],[53,100,114,148,156],[53,100,114,148],[53,100,111,114,148,150,151,152],[53,100,153,155,157],[53,100,111,114,116,119,130,141,148],[53,97,100],[53,99,100],[100],[53,100,105,133],[53,100,101,106,111,119,130,141],[53,100,101,102,111,119],[48,49,50,53,100],[53,100,103,142],[53,100,104,105,112,120],[53,100,105,130,138],[53,100,106,108,111,119],[53,99,100,107],[53,100,108,109],[53,100,110,111],[53,99,100,111],[53,100,111,112,113,130,141],[53,100,111,112,113,126,130,133],[53,100,108,111,114,119,130,141],[53,100,111,112,114,115,119,130,138,141],[53,100,114,116,130,138,141],[51,52,53,54,55,56,57,96,97,98,99,100,101,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,144,145,146,147],[53,100,111,117],[53,100,118,141,146],[53,100,108,111,119,130],[53,100,120],[53,100,121],[53,99,100,122],[53,97,98,99,100,101,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,144,145,146,147],[53,100,124],[53,100,125],[53,100,111,126,127],[53,100,126,128,142,144],[53,100,111,130,131,133],[53,100,132,133],[53,100,130,131],[53,100,133],[53,100,134],[53,97,100,130,135],[53,100,111,136,137],[53,100,136,137],[53,100,105,119,130,138],[53,100,139],[53,100,119,140],[53,100,114,125,141],[53,100,105,142],[53,100,130,143],[53,100,118,144],[53,100,145],[53,95,100],[53,95,100,111,113,122,130,133,141,144,146],[53,100,130,147],[53,100,112,130,148],[53,100,114,148,154],[53,100,141,148],[53,100,224,227,231,232,235],[53,100,236],[53,100,227,231,234],[53,100,224,227,231,234,235,236,237],[53,100,231],[53,100,227,231,232,234],[53,100,224,227,232,233,235],[53,100,228,229,230],[53,100,114,163],[53,100,114],[53,100,167],[53,100,165,166],[53,100,163,164,168,173,177],[53,100,114,163,174],[53,100,176],[53,100,174,175],[53,100,163],[53,100,169,170,171,172],[53,100,114,119,162],[53,100,111,134],[53,100,112,121,224,226],[53,100,225],[53,100,200],[53,100,199],[53,100,195,196,197,198],[53,67,71,100,141],[53,67,100,130,141],[53,62,100],[53,64,67,100,138,141],[53,100,119,138],[53,100,148],[53,62,100,148],[53,64,67,100,119,141],[53,59,60,63,66,100,111,130,141],[53,67,74,100],[53,59,65,100],[53,67,88,89,100],[53,63,67,100,133,141,148],[53,88,100,148],[53,61,62,100,148],[53,67,100],[53,61,62,63,64,65,66,67,68,69,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,100],[53,67,82,100],[53,67,74,75,100],[53,65,67,75,76,100],[53,66,100],[53,59,62,67,100],[53,67,71,75,76,100],[53,71,100],[53,65,67,70,100,141],[53,59,64,67,74,100],[53,100,130],[53,62,67,88,100,146,148],[53,100,112,215],[53,100,112,121,160,182],[53,100,160,180],[53,100,105,112,121,160,181,184,185],[53,100,160,181,185,186],[53,100,158],[53,100,105,121,123,149,158,159,160,161,179,181,182,183,185,187,188],[53,100,105,112,113,120,121,123,208],[53,100,208],[53,100,121,160,208,216],[53,100,112],[53,100,113,121,208,210,212,215,220],[53,100,112,191,205,208],[53,100,158,160,161,178],[53,100,114,116,138,158,160],[53,100,159,160,161,179,180,181,183,184,185,186,187,188,189,190,192,193,194,202,205,206,207,209,216,217,218,219,221,222,223,239,240,241,242,243],[53,100,121,160,191,192,193,202,204],[53,100,121,191],[53,100,193,194,201],[53,100,112,121,193],[53,100,191],[53,100,123],[53,100,112,121],[53,100,123,159],[53,100,126],[53,100,112,121,159,238],[53,100,112,118,121,123,160,179,188,206,208,209,217,218,219,221,222],[53,100,189,190],[53,100,205],[53,100,189]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","impliedFormat":1},{"version":"2de7636e6fbb9e54a61a38bcb7505b94ec5be61197fe9e840cff629ca920c4bc","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e20d899c28ca26a2a7afc98beaa69e63ff7fba0a8bc47b4e3bf3ede5e09e424","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"085f552d005479e2e6a7311cdbbe5d8c55c497b4d19274285df161ee9684cd9c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"007faacc9268357caa21d24169f3f3f2497af3e9241308df2d89f6e6d9bb3f2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1},{"version":"0c5f112b6d3377b9e8214d8920e1a69d8098b881d941f2ab3ca45234d13d68de","impliedFormat":1},{"version":"d34aa8df2d0b18fb56b1d772ff9b3c7aea7256cf0d692f969be6e1d27b74d660","impliedFormat":1},{"version":"93a3b8e57c68e348fc4054b245bd7cf4893225f56c991028844b693c2fa8c03c","impliedFormat":1},{"version":"2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed","impliedFormat":1},{"version":"6823ccc7b5b77bbf898d878dbcad18aa45e0fa96bdd0abd0de98d514845d9ed9","affectsGlobalScope":true,"impliedFormat":1},{"version":"b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b","impliedFormat":1},{"version":"168d88e14e0d81fe170e0dadd38ae9d217476c11435ea640ddb9b7382bdb6c1f","impliedFormat":1},{"version":"104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","impliedFormat":1},{"version":"cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c","impliedFormat":1},{"version":"8e04cf0688e0d921111659c2b55851957017148fa7b977b02727477d155b3c47","impliedFormat":1},{"version":"2668cf8f7db2f886f74ed276bfb3dc54f96da193a4a66f7b0365c279ab5319aa","signature":"2d54add319e6484f93ff621e871c332d9e0912ddcebbc1e821910916317a74c6"},{"version":"aec6e1929c1d74c622e2209a4d42c01ecdf00db1df110fdfa25638afc9c1a092","signature":"4ae7784b4e00b43c1c66f700748a3ca59a23f2ca5794ae204ba8cb4f6ddbda1c"},{"version":"8b9c965b28c7a4df65396a5d5536e759d33caae496ae94d610d9d7122560fe01","signature":"1676e8dbe08ff284a0f75938d97e6a4da2dc39fcecb03b18276f598bd30ce58a"},{"version":"26b7d0cd4b41ab557ef9e3bfeec42dcf24252843633e3d29f38d2c0b13aaa528","impliedFormat":1},{"version":"6472ce167721460e965986f64340e7cb303fe9a0041f2564bb7d7196eec944e5","impliedFormat":1},{"version":"c952b5848f840d4023a21b93308ae5fc49136965c270c5ec4ee1105f705ce8f7","impliedFormat":1},{"version":"95c93690e3e9c203de5e06df814c7b4aea38a28b24762c8cfe4dcad26a693c8c","impliedFormat":1},{"version":"90535f6326c43637a7bb35925a511cbe38d5b229c9086255ce622c41edfce8f8","impliedFormat":1},{"version":"901becb8779e1089442378fda5623e607ee4588762a32e7692436f1ea81cf848","impliedFormat":1},{"version":"8286d84d2567b713fd6a1fdfbb1a0abc8cfa668ee1e0e83d7dd4ade5761f2750","impliedFormat":1},{"version":"e4a52c589745f7bca3346962af0b62270302f9e60b116037483b3dea345d5f9d","impliedFormat":1},{"version":"38f50c96cd804ec61e75c742cd8165651f31076307a2492e6afd595f574975e6","impliedFormat":1},{"version":"c0513cfcf00f4fc7a7fe41b4c66b8cd56e280f37233c2ed8b89c9ae6f5fc3a7f","impliedFormat":1},{"version":"85e65d83a8e65bc6ff28b67b8b4a4565b6754be8e74a48080fc83f00be07a16f","impliedFormat":1},{"version":"9678e67085896b6fdfdaf3be547822a5f86ca030284b653a08235df00914d70d","impliedFormat":1},{"version":"2bfb5c352fa394f3d5656a16863183231b0a688a5898d0bf0701ee3e0f066ede","impliedFormat":1},{"version":"012ec6584af15eb152a2628dfcf742a1c1ea8ca7ab7b2859eb375bea2d85f1fe","impliedFormat":1},{"version":"41c851891f277afd9bf0b3af06fb3d35c11b32cb0120e85ae5b7e6dbbda037de","impliedFormat":1},{"version":"8286d84d2567b713fd6a1fdfbb1a0abc8cfa668ee1e0e83d7dd4ade5761f2750","impliedFormat":1},{"version":"a710a056936098886b0b5eb6734034589d15dbd7fa29329dc936f3f4e7bce93b","impliedFormat":1},{"version":"6e6cd0d21abbf6d1120c9cc141f060d2061a814fd68913acfdc5ed73447e0494","signature":"9669ae16bbbb071a7720ddfa9a27fb17da2c8114505e309d446ea34d8406c918"},{"version":"bc723e5b38d6e16eb595d5101ec4e96bf073440df6a677da763d8352698b0c2e","signature":"b84cfff8a3846ab492435cf340c953a0d21d7a12aa4310b6289afe75adb7dec3"},{"version":"07196e998394a68f168e7c804834c9ba221b153283c1c8b6629423659a6ad4eb","signature":"f0548232d377953eaa777a54deb325232b25d54a53e9d7c061de770f20555215"},{"version":"e83e467ebe549ca06658e4299b7024ee01ba52edf8faf5c70ed830a98a8ea3f3","impliedFormat":1},{"version":"eb9bcd38c2b52134c84debed1c5e9582e00180aba05aaa9aa2be3f4230dcc545","signature":"1c2547abfdde0923c93d564601ba55a7de6aacdb172eaecd73e990e1c5e0d862"},{"version":"afe612aac592e87933883641055a083612f88a88af2b324a71ed6ee81e20fb39","signature":"a6a0ac02b9be82beba788dd3685f97baa13eb28919c7beffd4000dea9f3561fd"},{"version":"0f2b85bc3e32d3ee42050163178c7aade4b0e496706e1e694599a7b85ec5a2bd","signature":"9a910c69bbe500390412706a8dc369832bef51d8b869483dcbc7bdf301465f2b"},{"version":"72c47aa2e100bea2ffea97783268eb89175e144f37f9753ef6f24b3ee290f066","signature":"425a001f21966ba5d09e845c2953d904f07ebfc7c78cf4b95e9b423e9a462bd4"},{"version":"b9998c7f5ecf787b0bbd2e0290fd76bdf89fc55a0971dc240995aa94ae82f53a","signature":"8a5f1cc44fb94c6a4cf7c7e7863779cb416b94d9e7b9e782f7300aa3ed882753"},{"version":"2dd420c1c87979ad6b52aeb7aa55c02a1e93f65231056a8c40e43b1f81a19041","signature":"d61a755219ba1293fd90c8b78f4f9993173767572dbe738177802454d729da1f"},{"version":"5db3cfd80ddf6f05ceb0caa64066317756328fb10accf2a5e0de72a64bd03ea3","signature":"19c48cd014afd642d92d32ba979d42c7b649775511286698a5ed6a1237499117"},{"version":"1dc55e8ac40504ab24847db1ce7ad5b698ae611dd6f0d085bdd0e95fb4a9b440","signature":"40531876a28db9d8f1f5d81ae06fbd6d6be83e7b602bf4de4e5eaea303b1a5a5"},{"version":"e134052a6b1ded61693b4037f615dc72f14e2881e79c1ddbff6c514c8a516b05","impliedFormat":1},{"version":"789e2806b2c03bacfa51162545d52f9a19686388a1a2305ae410844847d10a75","signature":"4a60ec1824049d71b400dd64537a32bcceca9a6abc4765774b96a3d5420a0dc5"},{"version":"bbe789c467febfc5c740a394c856aa8dccbd5c54ee6c72900869a0fa27c3b822","signature":"c35f6831d1bc77fc87541fe8036a5902d76a22d0bbb47d2d6dec0e1045b15872"},{"version":"0afeb317d07423586caec664e7fcfbfb6aa91e8e5d553acd25c009835a4f643a","signature":"a574acd60e681a10957b00f85a8dfeda9ee4bdf1c7c0b7a2536da66363445d34"},{"version":"05354631099f9931096daf3529dcf6f89140b22509342399967d5c7feb9b686d","impliedFormat":1},{"version":"62501521b3caf5d662433db4d7dc2a0a2ddb3ab76b8e096d40692b7cad3b0621","impliedFormat":1},{"version":"edb968c53c252b3851096c029b61b29aa42f835480a3e224c7effd8318579b93","impliedFormat":1},{"version":"c490c4f1f7bd7d199d344b23651c292c8041b06a803e4985acd9bb0ef499579e","impliedFormat":1},{"version":"65f93710db1f00d12a7dc18a309efb5cefd7a8de409f8a9b28576e7f3f7b4afe","impliedFormat":1},{"version":"8a4d4d11da20bc33f3238e7bc6cd4b05ad0614f3c586248245ff52e5bc840675","impliedFormat":1},{"version":"942de46dba77367918ca03dcd5c287481d7309de7044a9a2e4d0e6bb777821da","impliedFormat":1},{"version":"36d225e4c3863da13e04329c94e467114813feed60499aadae4f10446376bdbf","signature":"3034a050a425edfd70b60feb643f839b5da4212943c52034db6417f3358e7b78"},{"version":"876c6266302ba27bda6ded1ec251d683c67e8111c014ba9add2386e0e3ffeddd","impliedFormat":1},{"version":"1ee271859050418ab3139272fcbbfa12151409bd209751c305df5d0e83e492f9","impliedFormat":1},{"version":"a19f483bfc64c1772bf603bfaff0ef03731cde26ad7a80f65e85d9aa6a99c9d8","signature":"e825c2088ed3da685196d340f3892364f545d6560c38cc80f203edebd6603e9b"},{"version":"93a8bc61c6bef370e3a0c95263231ac2ffe4a9c511faff40dda1f5f67094ceb8","signature":"90e2f8aa0f21c24c059ef654db2080f3f989ef10a4a54cb465386958e87f3c01"},{"version":"1f5abe8ba249aff83798f28330d11387505f9b264cc64b630e20d02d804acebe","signature":"14136dbf5777feda2eecdee47da13a15c6f4ea646c1c71c5520f3c510e58cc53"},{"version":"161c8e0690c46021506e32fda85956d785b70f309ae97011fd27374c065cac9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"eff0c6602ae382613db24c504c0f4923c34f99990f76dc5367b39ba2fee95eb0","signature":"e5090b9aef9ebd8998217d6a31fc3539b1d110916520e55985942fef00d44020"},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"13b77ab19ef7aadd86a1e54f2f08ea23a6d74e102909e3c00d31f231ed040f62","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"677c101e39f5b107acda4084c957b6eea1bc25d5e58fe59a187a206c03480198","signature":"4ac27de8e092863e77dd783e0e1221fd6037786a8729292526fb042cc4bbe7f5"},{"version":"f3c862c322a17d39148f7e86efb54fc33451d5a1b7c274c52edd8526dd7835fa","signature":"caa69bfb6afa0055855768c8da388ca05bd720a8dd6c98442c7403c14cbd7852"},{"version":"d41dcd615dda6532f2a0ea391abf6e3cecb804d654974b3672187d201f0a97dd","signature":"1f7eee5d9fa88d0277f1c352cd50a810d5e2d7e2056ef0353fcabba90ec782cd"},{"version":"0d6bca110cadd7c15fc9efa2551b5983fb78946604c80789eb5ee23fae68117a","signature":"5138d0a331b474840a2aa8e1cad03446851e8545868ca303afec8b21d4239abd"},{"version":"2be2227c3810dfd84e46674fd33b8d09a4a28ad9cb633ed536effd411665ea1e","impliedFormat":99},{"version":"6952dffa930c8f62edf9ee481293c1abb54e0b145ca4dafaebac46fdc4b419d9","signature":"f87e597de6a4ffb71dd3e5876521ce41fa7e97fdd0121ca00a7928757ec156fc"},{"version":"25e74025c969db7152b506a01a938193df991f8caadfc19e988994b9073211c8","signature":"b31238cf420fa129974ae9ca9884f59471dd7c406f2dfd0375b668cf0612ef1a"},{"version":"07ca613da1387aaeb27640075446c2f2414e030cc7bafb86cd421dc2ea918a1e","signature":"c4ebe96ec8dbbcbbe2d872e18c32b75a83139c8b2fb62635de76fcf9ebc659b5"},{"version":"894bd2a64bfce5b28d1f4b6760f2eb75f07ce64dd1c272bbf7ceb6fec3f27912","impliedFormat":99},{"version":"798a8f5dbb68f1914b054997916f80d23be203e7e718bec73cbd2ddfa6b9f055","impliedFormat":99},{"version":"6c57ee197e54b5d2136534e58b611e5b7d19871ccbfcbabe0cbbd7259c35d18e","impliedFormat":99},{"version":"072f583571d6e3d30cd9760ee3485d29484fb7b54ba772ac135c747a380096a1","impliedFormat":99},{"version":"31eca2d6be5e38d8b2f76c917424e01cc47b0b99a5b9aa07059ff91408abe555","impliedFormat":99},{"version":"6d398ebb9de7ff3ce18bed9dc64dc7d8e8a3ff2fd099f3d98626a1be47d967a3","impliedFormat":99},{"version":"b21469f3144ac62cba082602b8495482633443bf8afcd65caf794025532662a5","impliedFormat":99},{"version":"53d6831f9f6b4dbf422c99c0dc2d879a7aaeb51b42a43911e899258527ba4983","impliedFormat":99},{"version":"a0846c150c0960c2a1ab7582d9b4c351afa4923e0f767d4ef7d8c26ed893f685","impliedFormat":99},{"version":"6ff702721d87c0ba8e7f8950e7b0a3b009dfd912fab3997e0b63fab8d83919c3","impliedFormat":99},{"version":"9dce9fc12e9a79d1135699d525aa6b44b71a45e32e3fa0cf331060b980b16317","impliedFormat":99},{"version":"586b2fd8a7d582329658aaceec22f8a5399e05013deb49bcfde28f95f093c8ee","impliedFormat":99},{"version":"add2e396a8d10be760e447464be5861e12ecc215489f87910afeaa26a6a54c88","impliedFormat":99},{"version":"ef1f3eadd7bed282de45bafd7c2c00105cf1db93e22f6cd763bec8a9c2cf6df1","impliedFormat":99},{"version":"2b90463c902dbe4f5bbb9eae084c05de37477c17a5de1e342eb7cbc9410dc6a1","impliedFormat":99},{"version":"ebdc0ab21dca434f9cc16ee337f4659cb744e06691f8470ff4fd2b98475fa016","signature":"e9be992849b419a503eac4d58799d7d3539ba64423b9ec28ed84cf940f596633"},{"version":"4587cf1b29c377385564f9399415e664f7cb024e49f624a513436a496593274d","signature":"cce04a28a25886d5e02c6691aefc840cad682dfd0ed9c965b3b86277b400462f"},{"version":"c7929df201dae04d27e92dadf27dfc2b76542eb0a3891f394ebd107c383ea225","signature":"4e6be930eb663c841e95e4668362b536b17c71c4ce34814bd63594e627ac7c01"},{"version":"bfb003d0465c4068a1730c39955b73405e065cb159d2ff37dff05ba6a2bbad36","signature":"d43468180c2eeb03e3d166a9c7ea263be91b46421fff92a48c63bb31f98ff3ed"},{"version":"5e5ad3beadecdf96317737c6c5aaffbad5013b5c315a484a47a18f6effdbc800","signature":"e280f80a5c28f3cf46d992920189be89bf31743bf38160e9fe50fca859dc78b7"},{"version":"2d58ce4bfc92b8bb7a6b37a0bfa5988d363886a8ef31dd3e7089fc14f39d6280","signature":"140b04d5c7dec79a1d54baf718a61208678c0739d971d71c20598d04d4a79a6f"}],"root":[[159,161],[179,181],[183,190],[192,194],202,[205,207],209,[216,219],[221,223],[239,244]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":99,"noImplicitAny":true,"noImplicitThis":true,"outDir":"./","skipLibCheck":true,"strict":true,"strictBindCallApply":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":99,"useUnknownInCatchVariables":true},"referencedMap":[[212,1],[210,2],[203,2],[204,3],[215,4],[211,1],[213,5],[214,1],[157,6],[156,7],[153,8],[158,9],[154,2],[162,10],[97,11],[98,11],[99,12],[53,13],[100,14],[101,15],[102,16],[48,2],[51,17],[49,2],[50,2],[103,18],[104,19],[105,20],[106,21],[107,22],[108,23],[109,23],[110,24],[111,25],[112,26],[113,27],[54,2],[52,2],[114,28],[115,29],[116,30],[148,31],[117,32],[118,33],[119,34],[120,35],[121,36],[122,37],[123,38],[124,39],[125,40],[126,41],[127,41],[128,42],[129,2],[130,43],[132,44],[131,45],[133,46],[134,47],[135,48],[136,49],[137,50],[138,51],[139,52],[140,53],[141,54],[142,55],[143,56],[144,57],[145,58],[55,2],[56,2],[57,2],[96,59],[146,60],[147,61],[151,2],[152,2],[150,62],[155,63],[182,2],[58,2],[149,64],[208,2],[236,65],[237,66],[235,67],[238,68],[232,69],[233,70],[234,71],[228,69],[229,69],[231,72],[230,69],[164,73],[166,74],[168,75],[167,76],[165,74],[178,77],[175,78],[177,79],[176,80],[174,73],[169,81],[170,81],[173,82],[171,81],[172,81],[163,83],[220,2],[224,84],[227,85],[226,86],[225,2],[201,87],[200,88],[195,87],[199,89],[196,87],[197,2],[198,87],[46,2],[47,2],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[20,2],[21,2],[4,2],[22,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[1,2],[191,2],[74,90],[84,91],[73,90],[94,92],[65,93],[64,94],[93,95],[87,96],[92,97],[67,98],[81,99],[66,100],[90,101],[62,102],[61,95],[91,103],[63,104],[68,105],[69,2],[72,105],[59,2],[95,106],[85,107],[76,108],[77,109],[79,110],[75,111],[78,112],[88,95],[70,113],[71,114],[80,115],[60,116],[83,107],[82,105],[86,2],[89,117],[216,118],[183,119],[181,120],[186,121],[187,122],[185,123],[189,124],[243,125],[219,126],[217,127],[222,128],[221,129],[209,130],[179,131],[161,132],[244,133],[205,134],[193,135],[202,136],[194,137],[192,138],[159,139],[218,140],[242,2],[188,140],[160,141],[241,142],[180,2],[240,2],[184,2],[239,143],[223,144],[207,145],[206,146],[190,147]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -0,0 +1,47 @@
1
+ import { type TscBuildOptions } from './tsc';
2
+ export interface TypeDeclarationOptions {
3
+ /**
4
+ * Configuration for the typescript compiler.
5
+ */
6
+ readonly tsc?: TscBuildOptions;
7
+ /**
8
+ * If true (default), will replace path aliases in declaration files.
9
+ */
10
+ readonly replacePathAliases?: boolean;
11
+ /**
12
+ * If set, type declarations (d.ts) files will be downleveled from the current
13
+ * TypeScript version to be compatible with older variants.
14
+ * Internally, a fork of downlevel dts is used.
15
+ */
16
+ readonly downlevel?: DownlevelOptions;
17
+ }
18
+ export interface DownlevelOptions {
19
+ /**
20
+ * A list of versions to downlevel the declarations to.
21
+ */
22
+ readonly versions: string[];
23
+ /**
24
+ * The output path for down-leveled declarations.
25
+ * Must contain `{VERSION}` token string.
26
+ * May contain `{OUT_DIR}` token string to use the resolved out directory.
27
+ *
28
+ * Example: '{OUT_DIR}/../ts{VERSION}'
29
+ */
30
+ readonly out: string;
31
+ }
32
+ /**
33
+ * Runs tsc to build type declarations, replaces path aliases, and downlevels declarations.
34
+ *
35
+ * @param configPath
36
+ * @param options
37
+ */
38
+ export declare function buildTypeDeclarations(configPath: string, options: TypeDeclarationOptions): Promise<void>;
39
+ /**
40
+ * An error related to building type declarations.
41
+ */
42
+ export declare class TypeDeclarationsError extends Error {
43
+ readonly location: string;
44
+ readonly detail?: Error | undefined;
45
+ constructor(message: string, location: string, detail?: Error | undefined);
46
+ }
47
+ //# sourceMappingURL=buildTypeDeclarations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildTypeDeclarations.d.ts","sourceRoot":"","sources":["../../src/typescript/buildTypeDeclarations.ts"],"names":[],"mappings":"AAOA,OAAO,EAAO,KAAK,eAAe,EAAE,MAAM,OAAO,CAAA;AAMjD,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,eAAe,CAAA;IAE9B;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAErC;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAA;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACvB;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACvC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,sBAAsB,GAChC,OAAO,CAAC,IAAI,CAAC,CA+Cf;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;IAGxC,QAAQ,CAAC,QAAQ,EAAE,MAAM;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK;gBAFvB,OAAO,EAAE,MAAM,EACN,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,KAAK,YAAA;CAI9B"}
@@ -0,0 +1,65 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { ExitStatus } from 'typescript';
6
+ import path from 'node:path';
7
+ import { tsc } from './tsc';
8
+ import { replacePathAliases } from './replacePathAliases';
9
+ import { downlevelDts } from '@nbilyk/downlevel-dts';
10
+ import { logger } from '../util/Logger';
11
+ import { parseTsConfig } from './parseTsConfig';
12
+ /**
13
+ * Runs tsc to build type declarations, replaces path aliases, and downlevels declarations.
14
+ *
15
+ * @param configPath
16
+ * @param options
17
+ */
18
+ export async function buildTypeDeclarations(configPath, options) {
19
+ const absPath = path.resolve(configPath);
20
+ logger.info(`tsc: starting '${absPath}'`);
21
+ const { parsed } = parseTsConfig(absPath);
22
+ const configOpts = parsed.options;
23
+ const status = await tsc(configPath, options.tsc);
24
+ if (status !== ExitStatus.Success) {
25
+ throw new TypeDeclarationsError(`tsc failed`, configPath);
26
+ }
27
+ if ((options.replacePathAliases ?? true) && configOpts.outDir) {
28
+ logger.debug(`tsc: replace path aliases for config '${absPath}'`);
29
+ try {
30
+ await replacePathAliases({
31
+ configFile: configPath,
32
+ debug: options.tsc?.verbose ?? false,
33
+ });
34
+ }
35
+ catch (e) {
36
+ throw new TypeDeclarationsError(`tsc-alias failed: ${e}`, configPath, e);
37
+ }
38
+ logger.debug(`tsc: replacePathAliases for ${absPath} done`);
39
+ }
40
+ if (options.downlevel &&
41
+ configOpts.outDir &&
42
+ !configOpts.noEmit &&
43
+ configOpts.declaration) {
44
+ const target = options.downlevel.out.replace('{OUT_DIR}', configOpts.outDir);
45
+ logger.debug(`tsc: down-leveling: ${configOpts.outDir} to ${target}`);
46
+ downlevelDts({
47
+ src: configOpts.outDir,
48
+ target,
49
+ targetVersion: options.downlevel.versions,
50
+ });
51
+ }
52
+ logger.debug(`tsc done: '${configPath}'`);
53
+ }
54
+ /**
55
+ * An error related to building type declarations.
56
+ */
57
+ export class TypeDeclarationsError extends Error {
58
+ location;
59
+ detail;
60
+ constructor(message, location, detail) {
61
+ super(message);
62
+ this.location = location;
63
+ this.detail = detail;
64
+ }
65
+ }
@@ -0,0 +1,13 @@
1
+ import type { ParsedCommandLine } from 'typescript';
2
+ export interface TsProjectConfig {
3
+ /**
4
+ * The path to the config.
5
+ */
6
+ readonly configFile: string;
7
+ /**
8
+ * The json resolved into a command line config.
9
+ */
10
+ readonly parsed: ParsedCommandLine;
11
+ }
12
+ export declare function parseTsConfig(configFile: string): TsProjectConfig;
13
+ //# sourceMappingURL=parseTsConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseTsConfig.d.ts","sourceRoot":"","sources":["../../src/typescript/parseTsConfig.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAGnD,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAA;CACrC;AAID,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,eAAe,CAwBjE"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import ts from 'typescript';
6
+ import path from 'node:path';
7
+ const cachedTsConfigs = new Map();
8
+ export function parseTsConfig(configFile) {
9
+ if (cachedTsConfigs.has(configFile))
10
+ return cachedTsConfigs.get(configFile);
11
+ const { config, error } = ts.readConfigFile(configFile, ts.sys.readFile.bind(ts.sys));
12
+ if (error)
13
+ throw new Error(typeof error.messageText === 'string'
14
+ ? error.messageText
15
+ : error.messageText.messageText);
16
+ const parsedCommandLine = ts.parseJsonConfigFileContent(config, ts.sys, path.dirname(configFile));
17
+ const result = {
18
+ configFile,
19
+ parsed: parsedCommandLine,
20
+ };
21
+ cachedTsConfigs.set(configFile, result);
22
+ return result;
23
+ }
@@ -0,0 +1,10 @@
1
+ interface ReplaceAliasesOptions {
2
+ readonly configFile: string;
3
+ readonly debug?: boolean;
4
+ }
5
+ /**
6
+ * Replaces alias paths, following project references.
7
+ */
8
+ export declare function replacePathAliases(options: ReplaceAliasesOptions): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=replacePathAliases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replacePathAliases.d.ts","sourceRoot":"","sources":["../../src/typescript/replacePathAliases.ts"],"names":[],"mappings":"AASA,UAAU,qBAAqB;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACpC,OAAO,EAAE,qBAAqB,GAC/B,OAAO,CAAC,IAAI,CAAC,CAgBf"}
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { resolveProjectReferences } from './resolveProjectReferences';
6
+ import { replaceTscAliasPaths } from 'tsc-alias';
7
+ import { parseTsConfig } from './parseTsConfig';
8
+ /**
9
+ * Replaces alias paths, following project references.
10
+ */
11
+ export async function replacePathAliases(options) {
12
+ // tsc-alias does not currently support project references.
13
+ // https://github.com/justkey007/tsc-alias/issues/171
14
+ const projectRefs = resolveProjectReferences(options.configFile);
15
+ for (const { configFile } of projectRefs) {
16
+ const { parsed } = parseTsConfig(configFile);
17
+ const opts = parsed.options;
18
+ if (opts.noEmit || !opts.declaration || (!opts.outDir && !opts.outFile))
19
+ continue;
20
+ await replaceTscAliasPaths({
21
+ configFile,
22
+ debug: options.debug ?? false,
23
+ verbose: false,
24
+ });
25
+ }
26
+ }
@@ -0,0 +1,8 @@
1
+ import type { TsProjectConfig } from './parseTsConfig.js';
2
+ /**
3
+ * Resolves to a Set of paths representing all project references branching from a starting config.
4
+ *
5
+ * @param configFile The tsconfig.json starting point, references from this starting point will be walked.
6
+ */
7
+ export declare function resolveProjectReferences(configFile: string): TsProjectConfig[];
8
+ //# sourceMappingURL=resolveProjectReferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveProjectReferences.d.ts","sourceRoot":"","sources":["../../src/typescript/resolveProjectReferences.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGzD;;;;GAIG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,MAAM,GACnB,eAAe,EAAE,CAInB"}
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import fs from 'node:fs';
6
+ import path from 'node:path';
7
+ import { parseTsConfig } from './parseTsConfig.js';
8
+ /**
9
+ * Resolves to a Set of paths representing all project references branching from a starting config.
10
+ *
11
+ * @param configFile The tsconfig.json starting point, references from this starting point will be walked.
12
+ */
13
+ export function resolveProjectReferences(configFile) {
14
+ const out = [];
15
+ walkProjectReferences(configFile, new Set(), out);
16
+ return out;
17
+ }
18
+ /**
19
+ * Walks project references, accumulating the parsed project references into an output array.
20
+ *
21
+ * @param configFile The tsconfig.json path.
22
+ * @param walked A set of currently walked configs.
23
+ * @param out The output array.
24
+ */
25
+ function walkProjectReferences(configFile, walked = new Set(), out) {
26
+ const resolvedConfigFile = path.resolve(configFile);
27
+ if (walked.has(resolvedConfigFile))
28
+ return;
29
+ walked.add(resolvedConfigFile);
30
+ const projectConfig = parseTsConfig(resolvedConfigFile);
31
+ out.push(projectConfig);
32
+ if (projectConfig.parsed.projectReferences) {
33
+ const baseDir = path.dirname(resolvedConfigFile);
34
+ for (const reference of projectConfig.parsed.projectReferences) {
35
+ let nextProject = path.resolve(baseDir, reference.path);
36
+ if (fs.statSync(nextProject).isDirectory()) {
37
+ nextProject = path.join(nextProject, 'tsconfig.json');
38
+ }
39
+ walkProjectReferences(nextProject, walked, out);
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,15 @@
1
+ import { type BuildOptions, ExitStatus } from 'typescript';
2
+ export type TscBuildOptions = BuildOptions;
3
+ /**
4
+ * Runs the typescript compiler for the given project.
5
+ * Supports project references.
6
+ *
7
+ * Note - the Typescript compiler is (unfortunately) synchronous, while this
8
+ * method returns a Promise, the build portion will make this a long-running task.
9
+ * When combined with the ESBuild `buildAll`, tsc can be run in parallel by invoking tsc after buildAll.
10
+ *
11
+ * @param configFile
12
+ * @param options
13
+ */
14
+ export declare function tsc(configFile: string, options?: TscBuildOptions): Promise<ExitStatus>;
15
+ //# sourceMappingURL=tsc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsc.d.ts","sourceRoot":"","sources":["../../src/typescript/tsc.ts"],"names":[],"mappings":"AAKA,OAAW,EAAE,KAAK,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE9D,MAAM,MAAM,eAAe,GAAG,YAAY,CAAA;AAI1C;;;;;;;;;;GAUG;AACH,wBAAsB,GAAG,CACrB,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,eAAoB,GAC9B,OAAO,CAAC,UAAU,CAAC,CASrB"}
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import ts, { ExitStatus } from 'typescript';
6
+ let pending = Promise.resolve(ExitStatus.Success);
7
+ /**
8
+ * Runs the typescript compiler for the given project.
9
+ * Supports project references.
10
+ *
11
+ * Note - the Typescript compiler is (unfortunately) synchronous, while this
12
+ * method returns a Promise, the build portion will make this a long-running task.
13
+ * When combined with the ESBuild `buildAll`, tsc can be run in parallel by invoking tsc after buildAll.
14
+ *
15
+ * @param configFile
16
+ * @param options
17
+ */
18
+ export async function tsc(configFile, options = {}) {
19
+ pending = pending.then(() => {
20
+ const host = ts.createSolutionBuilderHost();
21
+ const builder = ts.createSolutionBuilder(host, [configFile], options);
22
+ const status = builder.buildReferences(configFile);
23
+ if (status !== ExitStatus.Success)
24
+ return status;
25
+ return builder.build();
26
+ });
27
+ return pending;
28
+ }
@@ -0,0 +1,34 @@
1
+ export declare enum LogLevel {
2
+ DEBUG = 0,
3
+ INFO = 1,
4
+ WARN = 2,
5
+ ERROR = 3
6
+ }
7
+ /**
8
+ * A simple console logger that allows for a sticky footer for progress reporting.
9
+ */
10
+ export declare class Logger {
11
+ level: LogLevel;
12
+ private stickyLines;
13
+ private stickyMessage;
14
+ /**
15
+ * Sets a sticky footer.
16
+ * This should not be used in a CI environment, logging to files does not support ANSI cursor codes.
17
+ *
18
+ * @param message The message to fix to the tail of the console. A newline character will be appended.
19
+ */
20
+ sticky(message?: string | null): void;
21
+ /**
22
+ * Clears the sticky message.
23
+ */
24
+ clearSticky(): void;
25
+ private eraseSticky;
26
+ private writeSticky;
27
+ debug(...messages: any[]): void;
28
+ info(...messages: any[]): void;
29
+ warn(...messages: any[]): void;
30
+ error(...messages: any[]): void;
31
+ log(level: LogLevel, ...messages: any[]): void;
32
+ }
33
+ export declare const logger: Logger;
34
+ //# sourceMappingURL=Logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../src/util/Logger.ts"],"names":[],"mappings":"AAQA,oBAAY,QAAQ;IAChB,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,IAAI,IAAA;IACJ,KAAK,IAAA;CACR;AAED;;GAEG;AACH,qBAAa,MAAM;IACf,KAAK,WAAgB;IAErB,OAAO,CAAC,WAAW,CAAI;IACvB,OAAO,CAAC,aAAa,CAAsB;IAE3C;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAY9B;;OAEG;IACH,WAAW;IAIX,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,WAAW;IAMnB,KAAK,CAAC,GAAG,QAAQ,EAAE,GAAG,EAAE;IAIxB,IAAI,CAAC,GAAG,QAAQ,EAAE,GAAG,EAAE;IAIvB,IAAI,CAAC,GAAG,QAAQ,EAAE,GAAG,EAAE;IAIvB,KAAK,CAAC,GAAG,QAAQ,EAAE,GAAG,EAAE;IAIxB,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI;CAmBjD;AAED,eAAO,MAAM,MAAM,QAAe,CAAA"}
@@ -0,0 +1,88 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { ansi, calculateLogLines } from './console';
6
+ import process from 'node:process';
7
+ export var LogLevel;
8
+ (function (LogLevel) {
9
+ LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
10
+ LogLevel[LogLevel["INFO"] = 1] = "INFO";
11
+ LogLevel[LogLevel["WARN"] = 2] = "WARN";
12
+ LogLevel[LogLevel["ERROR"] = 3] = "ERROR";
13
+ })(LogLevel || (LogLevel = {}));
14
+ /**
15
+ * A simple console logger that allows for a sticky footer for progress reporting.
16
+ */
17
+ export class Logger {
18
+ level = LogLevel.INFO;
19
+ stickyLines = 0;
20
+ stickyMessage = null;
21
+ /**
22
+ * Sets a sticky footer.
23
+ * This should not be used in a CI environment, logging to files does not support ANSI cursor codes.
24
+ *
25
+ * @param message The message to fix to the tail of the console. A newline character will be appended.
26
+ */
27
+ sticky(message) {
28
+ this.eraseSticky();
29
+ if (message != null) {
30
+ this.stickyMessage = message + '\n';
31
+ this.stickyLines = calculateLogLines(this.stickyMessage);
32
+ this.writeSticky();
33
+ }
34
+ else {
35
+ this.stickyMessage = null;
36
+ this.stickyLines = 0;
37
+ }
38
+ }
39
+ /**
40
+ * Clears the sticky message.
41
+ */
42
+ clearSticky() {
43
+ this.sticky(null);
44
+ }
45
+ eraseSticky() {
46
+ if (this.stickyMessage != null) {
47
+ process.stdout.write(ansi.eraseLines(this.stickyLines));
48
+ }
49
+ }
50
+ writeSticky() {
51
+ if (this.stickyMessage != null) {
52
+ process.stdout.write(this.stickyMessage);
53
+ }
54
+ }
55
+ debug(...messages) {
56
+ this.log(LogLevel.DEBUG, ...messages);
57
+ }
58
+ info(...messages) {
59
+ this.log(LogLevel.INFO, ...messages);
60
+ }
61
+ warn(...messages) {
62
+ this.log(LogLevel.WARN, ...messages);
63
+ }
64
+ error(...messages) {
65
+ this.log(LogLevel.ERROR, ...messages);
66
+ }
67
+ log(level, ...messages) {
68
+ if (this.level > level)
69
+ return;
70
+ this.eraseSticky();
71
+ switch (level) {
72
+ case LogLevel.DEBUG:
73
+ console.log(...messages);
74
+ break;
75
+ case LogLevel.INFO:
76
+ console.info(...messages);
77
+ break;
78
+ case LogLevel.WARN:
79
+ console.warn(...messages);
80
+ break;
81
+ case LogLevel.ERROR:
82
+ console.error(...messages);
83
+ break;
84
+ }
85
+ this.writeSticky();
86
+ }
87
+ }
88
+ export const logger = new Logger();
@@ -0,0 +1,30 @@
1
+ export type Task<T = void> = () => Promise<T> | T;
2
+ /**
3
+ * A TaskQueue runs actions in a sequence.
4
+ */
5
+ export declare class TaskQueue {
6
+ /**
7
+ * Set to handle when a task rejects.
8
+ */
9
+ onError: (error: any) => void;
10
+ private _running;
11
+ /**
12
+ * How many simultaneous tasks may be run at a time.
13
+ */
14
+ simultaneous: number;
15
+ private pending;
16
+ /**
17
+ * How many tasks are currently running.
18
+ */
19
+ get running(): number;
20
+ /**
21
+ * Enqueues the given task, returning a Promise that settles when the task is complete.
22
+ */
23
+ enqueue<T>(task: Task<T>): Promise<T>;
24
+ /**
25
+ * Checks if the queue has any remaining actions and if there is additional capacity to execute.
26
+ * @private
27
+ */
28
+ private checkQueue;
29
+ }
30
+ //# sourceMappingURL=TaskQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskQueue.d.ts","sourceRoot":"","sources":["../../src/util/TaskQueue.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,IAAI,CAAC,CAAC,GAAG,IAAI,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;AAEjD;;GAEG;AACH,qBAAa,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAW;IAExC,OAAO,CAAC,QAAQ,CAAI;IAEpB;;OAEG;IACH,YAAY,SAAI;IAEhB,OAAO,CAAC,OAAO,CAAa;IAE5B;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED;;OAEG;IACH,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAmBrC;;;OAGG;IACH,OAAO,CAAC,UAAU;CAKrB"}