@wo658/redpact 0.3.0 → 0.5.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/dist/adapters/changes/projects.js +9 -6
- package/dist/adapters/environment/testcontainers.js +20 -6
- package/dist/adapters/environment/unit-container.js +6 -3
- package/dist/adapters/environment/unit-worker.js +14 -1
- package/dist/adapters/playwright/Dockerfile +3 -0
- package/dist/adapters/playwright/worker.js +23 -1
- package/dist/adapters/storage/files.js +7 -1
- package/dist/adapters/storage/migrations.js +108 -0
- package/dist/app.js +1 -0
- package/dist/core/runtime-migrations.js +60 -0
- package/dist/core/types/runtime-migrations.js +1 -0
- package/dist/interfaces/http/docs/schemas.js +1 -0
- package/dist/interfaces/http/worktrees.js +46 -4
- package/dist/main.js +34 -8
- package/dist/mcp/app.html +2 -2
- package/dist/runtime-lock.yaml +200 -3
- package/dist/ui/assets/{abnfDiagram-O67JEVCF-D5_0c71T.js → abnfDiagram-O67JEVCF-BiCoaTQf.js} +1 -1
- package/dist/ui/assets/{arc-CvMU1nxC.js → arc-CxrXKzN8.js} +1 -1
- package/dist/ui/assets/architecture-7GRP2DOG-DzS62Mws.js +1 -0
- package/dist/ui/assets/{architectureDiagram-NJMV4G6O-C5pnJhyL.js → architectureDiagram-NJMV4G6O-Ds10Nax8.js} +1 -1
- package/dist/ui/assets/{blockDiagram-BEXU5L5S-CSY4YaYG.js → blockDiagram-BEXU5L5S-Dcwb-Nc2.js} +1 -1
- package/dist/ui/assets/{c4Diagram-YGBWAQC7-BAqi3qgX.js → c4Diagram-YGBWAQC7-HJ2BM4QS.js} +1 -1
- package/dist/ui/assets/channel-B7JCQNOt.js +1 -0
- package/dist/ui/assets/{chunk-3FUC2YCW-Brp5pppL.js → chunk-3FUC2YCW-CuqADqJd.js} +1 -1
- package/dist/ui/assets/{chunk-5DYCD2WN-DPF_imHM.js → chunk-5DYCD2WN-b1GJEpV0.js} +1 -1
- package/dist/ui/assets/{chunk-742MDFTN-B7dqi4lM.js → chunk-742MDFTN-DwTTnubN.js} +1 -1
- package/dist/ui/assets/{chunk-7INBJB4K-owIg7950.js → chunk-7INBJB4K-ByUayPM9.js} +1 -1
- package/dist/ui/assets/{chunk-7M6MHVWA-DxdsTD3q.js → chunk-7M6MHVWA-BzJnRALV.js} +1 -1
- package/dist/ui/assets/{chunk-7PRAP22T-CnZEk7pT.js → chunk-7PRAP22T-CvUIEla0.js} +1 -1
- package/dist/ui/assets/{chunk-GTNCS2PH-tIfcSoKX.js → chunk-GTNCS2PH-BczyBknu.js} +1 -1
- package/dist/ui/assets/{chunk-GWA4HPMP-DvKgnHj7.js → chunk-GWA4HPMP-nIcuf26U.js} +1 -1
- package/dist/ui/assets/{chunk-MBY4JIJT-DecLyoJ2.js → chunk-MBY4JIJT-CPIDP_2H.js} +1 -1
- package/dist/ui/assets/{chunk-NETBCI7D-IIqAxd8x.js → chunk-NETBCI7D-JpQfB3bx.js} +1 -1
- package/dist/ui/assets/{chunk-O7XYJQB3-BYf0cBjb.js → chunk-O7XYJQB3-CC25iKdK.js} +1 -1
- package/dist/ui/assets/{chunk-UA2S7LBM-Axt5K_7j.js → chunk-UA2S7LBM-nOnMeXlB.js} +1 -1
- package/dist/ui/assets/{chunk-WEXAMYUT-DZkcP9P-.js → chunk-WEXAMYUT-Cb5Q6TBg.js} +1 -1
- package/dist/ui/assets/{chunk-XXDRQBXY-DEJDL8DG.js → chunk-XXDRQBXY-BR_j9H82.js} +1 -1
- package/dist/ui/assets/{chunk-Z7XXMR3K-B2eslene.js → chunk-Z7XXMR3K-Br0zWe3T.js} +1 -1
- package/dist/ui/assets/{chunk-ZIGJFQKS-Bo83y6q0.js → chunk-ZIGJFQKS-CawGFIJO.js} +1 -1
- package/dist/ui/assets/{classDiagram-v2-NBCMYWYE-DKtuWfBH.js → classDiagram-v2-NBCMYWYE-NKNUahqj.js} +1 -1
- package/dist/ui/assets/{cose-bilkent-JH36ORCC-jj68zcpo.js → cose-bilkent-JH36ORCC-Y-4g3CTm.js} +1 -1
- package/dist/ui/assets/{cynefin-OW5HDTMX-DHM-y63G.js → cynefin-OW5HDTMX-Chevf1KQ.js} +1 -1
- package/dist/ui/assets/{cynefinDiagram-VND7K2PF-CcbJEZHa.js → cynefinDiagram-VND7K2PF-CixOvfUu.js} +1 -1
- package/dist/ui/assets/{dagre-6A5THRUB-ih8pcWrJ.js → dagre-6A5THRUB-BIi9RwPd.js} +1 -1
- package/dist/ui/assets/{diagram-22UHCM2B-gOFjM4vX.js → diagram-22UHCM2B-7GYKgpWA.js} +1 -1
- package/dist/ui/assets/{diagram-3UASUU5V-A2EuBZrm.js → diagram-3UASUU5V-lDVeRm5S.js} +1 -1
- package/dist/ui/assets/{diagram-ATOU4E4O-NEnWb4jR.js → diagram-ATOU4E4O-BbeHNWgT.js} +1 -1
- package/dist/ui/assets/{diagram-CDSNMT55-BDkkiBbT.js → diagram-CDSNMT55-DEPkOKCq.js} +1 -1
- package/dist/ui/assets/{diagram-MLGK6HIB-BuxDP96l.js → diagram-MLGK6HIB-BOhVXMr1.js} +1 -1
- package/dist/ui/assets/{diagram-MPIPVDR6-DOvr2wp9.js → diagram-MPIPVDR6-B1zhvHtS.js} +1 -1
- package/dist/ui/assets/{dist-BMqRQFXW.js → dist-Y9mhSTs4.js} +1 -1
- package/dist/ui/assets/{ebnfDiagram-ZINNZB2B-C5aqA0VA.js → ebnfDiagram-ZINNZB2B-DkBkKcsD.js} +1 -1
- package/dist/ui/assets/{elk-276RUBZZ-C6X_c2Qp.js → elk-276RUBZZ-D-FlTgY6.js} +1 -1
- package/dist/ui/assets/{erDiagram-OPXOYQCR-DzZLfUpD.js → erDiagram-OPXOYQCR--6wxlspu.js} +1 -1
- package/dist/ui/assets/eventmodeling-NTZA5JFV-Cyxnh7Fo.js +1 -0
- package/dist/ui/assets/flowDiagram-KWPJA3E3-DlO_dsqu.js +1 -0
- package/dist/ui/assets/{ganttDiagram-FUAMR5RP-uqyVG-ha.js → ganttDiagram-FUAMR5RP-D9hU2YEJ.js} +1 -1
- package/dist/ui/assets/{gitGraph-4MIJSDKK-54WYqHOb.js → gitGraph-4MIJSDKK-DcM8C44E.js} +1 -1
- package/dist/ui/assets/{gitGraphDiagram-X574FWY7-CoyxlEFA.js → gitGraphDiagram-X574FWY7-BpyLWtlE.js} +1 -1
- package/dist/ui/assets/{index-BPzC2fNH.js → index-C6BQea5D.js} +85 -36
- package/dist/ui/assets/index-wV1j-lxy.css +2 -0
- package/dist/ui/assets/{info-A6RAGUB7-6Lv6e68U.js → info-A6RAGUB7-kmvTF9rq.js} +1 -1
- package/dist/ui/assets/{infoDiagram-VRGFBTTK-BghGYAtB.js → infoDiagram-VRGFBTTK-C4j1703E.js} +1 -1
- package/dist/ui/assets/{ishikawaDiagram-OU5B5YK6-BbkNzdDX.js → ishikawaDiagram-OU5B5YK6-CKT-7Yqr.js} +1 -1
- package/dist/ui/assets/{journeyDiagram-ZHPQQLJL-CK0HYMSC.js → journeyDiagram-ZHPQQLJL--1ABIaof.js} +1 -1
- package/dist/ui/assets/{kanban-definition-PNTS6WVX-CGSylxjl.js → kanban-definition-PNTS6WVX-HRsNQdJi.js} +1 -1
- package/dist/ui/assets/{line-CVcWw_Fo.js → line-BNnBYEq7.js} +1 -1
- package/dist/ui/assets/{linear-RJCo1zL5.js → linear-Dg21fXMn.js} +1 -1
- package/dist/ui/assets/{mermaid-parser.core-Cin6zZf8.js → mermaid-parser.core-51-5cp-f.js} +3 -3
- package/dist/ui/assets/{mermaid.core-Dmtm0D6c.js → mermaid.core-Bh6yYw1O.js} +4 -4
- package/dist/ui/assets/{mindmap-definition-NLK3R4M7-8pvUDbSj.js → mindmap-definition-NLK3R4M7-KvbA5EXr.js} +1 -1
- package/dist/ui/assets/{packet-AYTQ26CC-CEo_fz3H.js → packet-AYTQ26CC-DjdXSHI4.js} +1 -1
- package/dist/ui/assets/{pegDiagram-GJSIUBJH-DOOIWOJx.js → pegDiagram-GJSIUBJH-C8FSYsRP.js} +1 -1
- package/dist/ui/assets/{pie-WAS4IAKB-BrexEBCD.js → pie-WAS4IAKB-C46SWflT.js} +1 -1
- package/dist/ui/assets/{pieDiagram-5QR66LMP-CBc41tNG.js → pieDiagram-5QR66LMP-DcpJ7J7i.js} +1 -1
- package/dist/ui/assets/{quadrantDiagram-O4NWA36T-yer4erh3.js → quadrantDiagram-O4NWA36T-CI7l8g1A.js} +1 -1
- package/dist/ui/assets/{radar-RG4KPBEZ-JE5pdoOY.js → radar-RG4KPBEZ-PjPzXWz1.js} +1 -1
- package/dist/ui/assets/{railroad-74A4TZTK-B9nKImjh.js → railroad-74A4TZTK-5pPV-Bvc.js} +1 -1
- package/dist/ui/assets/railroad-abnf-HS5TGJTU-CDH0BmAo.js +1 -0
- package/dist/ui/assets/railroad-ebnf-LZEXJU2U-DK1lYHjb.js +1 -0
- package/dist/ui/assets/railroad-peg-WCYAUIDC-K3xlbKcQ.js +1 -0
- package/dist/ui/assets/{railroadDiagram-XR7U4H2S-C2FoKWNS.js → railroadDiagram-XR7U4H2S-CIexvrBP.js} +1 -1
- package/dist/ui/assets/{requirementDiagram-PLB6GJNP-BTN63NDy.js → requirementDiagram-PLB6GJNP-Bv8jD81I.js} +1 -1
- package/dist/ui/assets/{sankeyDiagram-IPEJSGJF-BjQ9u5cf.js → sankeyDiagram-IPEJSGJF-CQ9lxjuX.js} +1 -1
- package/dist/ui/assets/{sequenceDiagram-PO4LG4MO-B7FKQ9Xt.js → sequenceDiagram-PO4LG4MO-yp4qzDdM.js} +1 -1
- package/dist/ui/assets/{src-Bej7g-L4.js → src-DF6fzdKB.js} +1 -1
- package/dist/ui/assets/{stateDiagram-v2-GCMORJYK-DzUKzX-s.js → stateDiagram-v2-GCMORJYK-DHWaTU4b.js} +1 -1
- package/dist/ui/assets/{swimlanes-2SLR337P-Bjc68vr3.js → swimlanes-2SLR337P-BfUiEMri.js} +1 -1
- package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-BVGQ6M2p.js +8 -0
- package/dist/ui/assets/{timeline-definition-EJHVYXUP-VZqo3r3d.js → timeline-definition-EJHVYXUP-Cj3SdHoX.js} +1 -1
- package/dist/ui/assets/{treeView-Q6P3EWNA--uDmQgIe.js → treeView-Q6P3EWNA-DmyaZDs_.js} +1 -1
- package/dist/ui/assets/{treemap-WGGIJYW6-CW9TiLvB.js → treemap-WGGIJYW6-Cy3z00JO.js} +1 -1
- package/dist/ui/assets/{usecaseDiagram-POWQR4AR-CmyArIke.js → usecaseDiagram-POWQR4AR-BHAy9inW.js} +1 -1
- package/dist/ui/assets/{vennDiagram-UO4OBE2U-DUhnK8jn.js → vennDiagram-UO4OBE2U-GHEFwE_2.js} +1 -1
- package/dist/ui/assets/{wardley-WFR3VGLG-DZocd00g.js → wardley-WFR3VGLG-CjNcKpKj.js} +1 -1
- package/dist/ui/assets/{wardleyDiagram-VNRHLVJA-DnHCIASf.js → wardleyDiagram-VNRHLVJA-shbe21uu.js} +1 -1
- package/dist/ui/assets/{xychartDiagram-PMCCYNJV-BzqtLoNZ.js → xychartDiagram-PMCCYNJV-CHbAVh2z.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/workflows/merge.js +17 -1
- package/dist/workflows/observe-projects.js +3 -0
- package/dist/workflows/project-graph.js +7 -0
- package/dist/workflows/pull-requests.js +30 -17
- package/dist/workflows/runtime-migrations.js +72 -0
- package/dist/workflows/start-work.js +3 -0
- package/dist/workflows/test-container.js +1 -0
- package/dist/workflows/unit-tests.js +5 -0
- package/dist/workflows/worktrees.js +91 -8
- package/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
- package/node_modules/@nodelib/fs.scandir/README.md +171 -0
- package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
- package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
- package/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
- package/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
- package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
- package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
- package/node_modules/@nodelib/fs.scandir/package.json +44 -0
- package/node_modules/@nodelib/fs.stat/LICENSE +21 -0
- package/node_modules/@nodelib/fs.stat/README.md +126 -0
- package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
- package/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/node_modules/@nodelib/fs.stat/out/index.js +26 -0
- package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
- package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
- package/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
- package/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
- package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
- package/node_modules/@nodelib/fs.stat/package.json +37 -0
- package/node_modules/@nodelib/fs.walk/LICENSE +21 -0
- package/node_modules/@nodelib/fs.walk/README.md +215 -0
- package/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/node_modules/@nodelib/fs.walk/out/index.js +34 -0
- package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
- package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
- package/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
- package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
- package/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
- package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
- package/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
- package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
- package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
- package/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
- package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
- package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
- package/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
- package/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
- package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
- package/node_modules/@nodelib/fs.walk/package.json +44 -0
- package/node_modules/@rushstack/node-core-library/CHANGELOG.json +3087 -0
- package/node_modules/@rushstack/node-core-library/CHANGELOG.md +1710 -0
- package/node_modules/@rushstack/node-core-library/LICENSE +24 -0
- package/node_modules/@rushstack/node-core-library/README.md +38 -0
- package/node_modules/@rushstack/node-core-library/dist/node-core-library.d.ts +4005 -0
- package/node_modules/@rushstack/node-core-library/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.d.ts +36 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.js +54 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.d.ts +200 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.js +236 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.d.ts +27 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.js +34 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.d.ts +120 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.js +136 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.d.ts +72 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.js +108 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.d.ts +349 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.js +698 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.d.ts +81 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.js +113 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.d.ts +687 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.js +1201 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.d.ts +67 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.js +73 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.d.ts +295 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.js +5 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.d.ts +255 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.js +390 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.d.ts +36 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.js +55 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.d.ts +252 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.js +438 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.d.ts +172 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.js +287 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.d.ts +24 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.js +62 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.d.ts +94 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.js +462 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.d.ts +26 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.js +40 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.d.ts +39 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.js +99 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.d.ts +142 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.js +338 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.d.ts +142 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.js +213 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.d.ts +155 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.js +224 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.d.ts +73 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.js +83 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.d.ts +41 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.js +5 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.d.ts +83 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.js +90 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.d.ts +20 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.js +56 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.d.ts +58 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.js +177 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.d.ts +114 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.js +266 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.d.ts +46 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.js +41 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.d.ts +64 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.js +190 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.d.ts +141 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.js +310 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.d.ts +48 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.js +87 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/index.d.ts +37 -0
- package/node_modules/@rushstack/node-core-library/lib/index.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/index.js +75 -0
- package/node_modules/@rushstack/node-core-library/lib/index.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/LICENSE +15 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/README.md +166 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/index.js +334 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/package.json +34 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/LICENSE +15 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/README.md +637 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/bin/semver.js +197 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/comparator.js +141 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/index.js +5 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/range.js +539 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/semver.js +302 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/clean.js +6 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/cmp.js +52 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/coerce.js +52 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare-build.js +7 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare-loose.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare.js +5 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/diff.js +65 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/eq.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/gt.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/gte.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/inc.js +19 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/lt.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/lte.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/major.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/minor.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/neq.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/parse.js +16 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/patch.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/prerelease.js +6 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/rcompare.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/rsort.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/satisfies.js +10 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/sort.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/valid.js +6 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/index.js +89 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/constants.js +35 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/debug.js +9 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/identifiers.js +23 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/parse-options.js +15 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/re.js +212 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/package.json +87 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/preload.js +2 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/range.bnf +16 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/gtr.js +4 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/intersects.js +7 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/ltr.js +4 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/min-version.js +61 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/outside.js +80 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/simplify.js +47 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/subset.js +247 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/to-comparators.js +8 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/valid.js +11 -0
- package/node_modules/@rushstack/node-core-library/package.json +47 -0
- package/node_modules/@rushstack/terminal/CHANGELOG.json +5021 -0
- package/node_modules/@rushstack/terminal/CHANGELOG.md +1661 -0
- package/node_modules/@rushstack/terminal/LICENSE +24 -0
- package/node_modules/@rushstack/terminal/README.md +53 -0
- package/node_modules/@rushstack/terminal/dist/terminal.d.ts +1304 -0
- package/node_modules/@rushstack/terminal/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.d.ts +35 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.js +136 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.d.ts +29 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.js +31 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.d.ts +81 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.js +162 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.d.ts +49 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.js +65 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.d.ts +55 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.js +94 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.d.ts +81 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.js +5 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.d.ts +45 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.js +21 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.d.ts +54 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.js +32 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.d.ts +15 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.js +32 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.d.ts +23 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.js +34 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.d.ts +43 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.js +70 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.d.ts +57 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.js +64 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.d.ts +77 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.js +150 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.d.ts +17 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.js +95 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.d.ts +32 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.js +48 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.d.ts +72 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.js +115 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.d.ts +63 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.js +99 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.d.ts +17 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.js +34 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.d.ts +67 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.js +113 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.d.ts +63 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.js +348 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.d.ts +33 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.js +53 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.d.ts +68 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.js +57 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.d.ts +125 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.js +123 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.d.ts +70 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.js +39 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.d.ts +61 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.js +94 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/index.d.ts +36 -0
- package/node_modules/@rushstack/terminal/lib/index.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/index.js +65 -0
- package/node_modules/@rushstack/terminal/lib/index.js.map +1 -0
- package/node_modules/@rushstack/terminal/package.json +38 -0
- package/node_modules/@rushstack/ts-command-line/CHANGELOG.json +2206 -0
- package/node_modules/@rushstack/ts-command-line/CHANGELOG.md +1099 -0
- package/node_modules/@rushstack/ts-command-line/LICENSE +24 -0
- package/node_modules/@rushstack/ts-command-line/README.md +247 -0
- package/node_modules/@rushstack/ts-command-line/dist/ts-command-line.d.ts +1174 -0
- package/node_modules/@rushstack/ts-command-line/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.d.ts +14 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.js +23 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.d.ts +13 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.js +19 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.d.ts +9 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.js +32 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.d.ts +25 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.js +50 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.d.ts +130 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.js +168 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.d.ts +33 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.js +83 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.d.ts +47 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.js +94 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.d.ts +236 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.js +5 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts +29 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.js +69 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.d.ts +29 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.js +79 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.d.ts +43 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.js +83 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.d.ts +28 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.js +47 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.d.ts +29 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.js +70 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.d.ts +43 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js +82 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts +10 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js +51 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.d.ts +60 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.js +168 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.d.ts +69 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.js +82 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.d.ts +332 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.js +707 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.d.ts +115 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.js +283 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.d.ts +10 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.js +67 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.d.ts +8 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.js +17 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.d.ts +7 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.js +13 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.d.ts +84 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.js +209 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.d.ts +17 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.js +173 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/LICENSE +21 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/README.md +257 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/index.js +3 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/append/constant.js +47 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/append.js +53 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/count.js +40 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/help.js +47 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/constant.js +43 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/false.js +27 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/true.js +26 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store.js +50 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/subparsers.js +149 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/version.js +47 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action.js +146 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action_container.js +482 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argparse.js +14 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/error.js +50 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/exclusive.js +54 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/group.js +75 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument_parser.js +1161 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/const.js +21 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/help/added_formatters.js +87 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/help/formatter.js +795 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/namespace.js +76 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/utils.js +57 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/package.json +34 -0
- package/node_modules/@rushstack/ts-command-line/package.json +32 -0
- package/node_modules/@types/argparse/LICENSE +21 -0
- package/node_modules/@types/argparse/README.md +16 -0
- package/node_modules/@types/argparse/index.d.ts +121 -0
- package/node_modules/@types/argparse/package.json +44 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ajv-draft-04/LICENSE +21 -0
- package/node_modules/ajv-draft-04/README.md +40 -0
- package/node_modules/ajv-draft-04/dist/index.d.ts +17 -0
- package/node_modules/ajv-draft-04/dist/index.js +50 -0
- package/node_modules/ajv-draft-04/dist/index.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +138 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/core.d.ts +3 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/core.js +13 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/core.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/draft4.d.ts +3 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +16 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/draft4.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.d.ts +16 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +35 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.d.ts +12 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +44 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.d.ts +3 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +19 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js.map +1 -0
- package/node_modules/ajv-draft-04/package.json +74 -0
- package/node_modules/ajv-draft-04/src/index.ts +81 -0
- package/node_modules/ajv-draft-04/src/refs/json-schema-draft-04.json +138 -0
- package/node_modules/ajv-draft-04/src/vocabulary/core.ts +13 -0
- package/node_modules/ajv-draft-04/src/vocabulary/draft4.ts +17 -0
- package/node_modules/ajv-draft-04/src/vocabulary/validation/index.ts +51 -0
- package/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumber.ts +76 -0
- package/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumberExclusive.ts +26 -0
- package/node_modules/ajv-formats/LICENSE +21 -0
- package/node_modules/ajv-formats/README.md +125 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/ajv-formats/src/formats.ts +269 -0
- package/node_modules/ajv-formats/src/index.ts +62 -0
- package/node_modules/ajv-formats/src/limit.ts +99 -0
- package/node_modules/braces/LICENSE +21 -0
- package/node_modules/braces/README.md +586 -0
- package/node_modules/braces/index.js +170 -0
- package/node_modules/braces/lib/compile.js +60 -0
- package/node_modules/braces/lib/constants.js +57 -0
- package/node_modules/braces/lib/expand.js +113 -0
- package/node_modules/braces/lib/parse.js +331 -0
- package/node_modules/braces/lib/stringify.js +32 -0
- package/node_modules/braces/lib/utils.js +122 -0
- package/node_modules/braces/package.json +77 -0
- package/node_modules/emittery/index.d.ts +606 -0
- package/node_modules/emittery/index.js +531 -0
- package/node_modules/emittery/license +9 -0
- package/node_modules/emittery/maps.js +9 -0
- package/node_modules/emittery/package.json +67 -0
- package/node_modules/emittery/readme.md +569 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-glob/LICENSE +21 -0
- package/node_modules/fast-glob/README.md +830 -0
- package/node_modules/fast-glob/out/index.d.ts +40 -0
- package/node_modules/fast-glob/out/index.js +102 -0
- package/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
- package/node_modules/fast-glob/out/managers/tasks.js +110 -0
- package/node_modules/fast-glob/out/providers/async.d.ts +9 -0
- package/node_modules/fast-glob/out/providers/async.js +23 -0
- package/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
- package/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
- package/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
- package/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
- package/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
- package/node_modules/fast-glob/out/providers/filters/error.js +15 -0
- package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
- package/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
- package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
- package/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
- package/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
- package/node_modules/fast-glob/out/providers/provider.js +48 -0
- package/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
- package/node_modules/fast-glob/out/providers/stream.js +31 -0
- package/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
- package/node_modules/fast-glob/out/providers/sync.js +23 -0
- package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
- package/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
- package/node_modules/fast-glob/out/readers/async.d.ts +10 -0
- package/node_modules/fast-glob/out/readers/async.js +35 -0
- package/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
- package/node_modules/fast-glob/out/readers/reader.js +33 -0
- package/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
- package/node_modules/fast-glob/out/readers/stream.js +55 -0
- package/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
- package/node_modules/fast-glob/out/readers/sync.js +43 -0
- package/node_modules/fast-glob/out/settings.d.ts +164 -0
- package/node_modules/fast-glob/out/settings.js +59 -0
- package/node_modules/fast-glob/out/types/index.d.ts +31 -0
- package/node_modules/fast-glob/out/types/index.js +2 -0
- package/node_modules/fast-glob/out/utils/array.d.ts +2 -0
- package/node_modules/fast-glob/out/utils/array.js +22 -0
- package/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
- package/node_modules/fast-glob/out/utils/errno.js +7 -0
- package/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
- package/node_modules/fast-glob/out/utils/fs.js +19 -0
- package/node_modules/fast-glob/out/utils/index.d.ts +8 -0
- package/node_modules/fast-glob/out/utils/index.js +17 -0
- package/node_modules/fast-glob/out/utils/path.d.ts +13 -0
- package/node_modules/fast-glob/out/utils/path.js +68 -0
- package/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
- package/node_modules/fast-glob/out/utils/pattern.js +206 -0
- package/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
- package/node_modules/fast-glob/out/utils/stream.js +17 -0
- package/node_modules/fast-glob/out/utils/string.d.ts +2 -0
- package/node_modules/fast-glob/out/utils/string.js +11 -0
- package/node_modules/fast-glob/package.json +81 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +612 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +740 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +105 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +90 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +140 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/fastq/LICENSE +13 -0
- package/node_modules/fastq/README.md +310 -0
- package/node_modules/fastq/SECURITY.md +15 -0
- package/node_modules/fastq/bench.js +66 -0
- package/node_modules/fastq/eslint.config.js +11 -0
- package/node_modules/fastq/example.js +14 -0
- package/node_modules/fastq/example.mjs +9 -0
- package/node_modules/fastq/index.d.ts +59 -0
- package/node_modules/fastq/package.json +49 -0
- package/node_modules/fastq/queue.js +348 -0
- package/node_modules/fastq/test/example.ts +83 -0
- package/node_modules/fastq/test/promise.js +356 -0
- package/node_modules/fastq/test/test.js +808 -0
- package/node_modules/fastq/test/tsconfig.json +11 -0
- package/node_modules/fill-range/LICENSE +21 -0
- package/node_modules/fill-range/README.md +237 -0
- package/node_modules/fill-range/index.js +248 -0
- package/node_modules/fill-range/package.json +74 -0
- package/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/fs-extra/README.md +294 -0
- package/node_modules/fs-extra/lib/copy/copy-sync.js +176 -0
- package/node_modules/fs-extra/lib/copy/copy.js +180 -0
- package/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/node_modules/fs-extra/lib/ensure/file.js +66 -0
- package/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
- package/node_modules/fs-extra/lib/ensure/symlink.js +92 -0
- package/node_modules/fs-extra/lib/esm.mjs +68 -0
- package/node_modules/fs-extra/lib/fs/index.js +146 -0
- package/node_modules/fs-extra/lib/index.js +16 -0
- package/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/node_modules/fs-extra/lib/move/index.js +7 -0
- package/node_modules/fs-extra/lib/move/move-sync.js +55 -0
- package/node_modules/fs-extra/lib/move/move.js +59 -0
- package/node_modules/fs-extra/lib/output-file/index.js +31 -0
- package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/fs-extra/lib/remove/index.js +17 -0
- package/node_modules/fs-extra/lib/util/async.js +29 -0
- package/node_modules/fs-extra/lib/util/stat.js +165 -0
- package/node_modules/fs-extra/lib/util/utimes.js +53 -0
- package/node_modules/fs-extra/package.json +71 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/glob-parent/LICENSE +15 -0
- package/node_modules/glob-parent/README.md +137 -0
- package/node_modules/glob-parent/index.js +42 -0
- package/node_modules/glob-parent/package.json +48 -0
- package/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +46 -0
- package/node_modules/has-flag/readme.md +89 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/import-lazy/index.d.ts +26 -0
- package/node_modules/import-lazy/index.js +27 -0
- package/node_modules/import-lazy/license +9 -0
- package/node_modules/import-lazy/package.json +40 -0
- package/node_modules/import-lazy/readme.md +57 -0
- package/node_modules/is-core-module/CHANGELOG.md +243 -0
- package/node_modules/is-core-module/LICENSE +20 -0
- package/node_modules/is-core-module/README.md +58 -0
- package/node_modules/is-core-module/core.json +163 -0
- package/node_modules/is-core-module/index.d.ts +12 -0
- package/node_modules/is-core-module/index.js +76 -0
- package/node_modules/is-core-module/package.json +90 -0
- package/node_modules/is-extglob/LICENSE +21 -0
- package/node_modules/is-extglob/README.md +107 -0
- package/node_modules/is-extglob/index.js +20 -0
- package/node_modules/is-extglob/package.json +69 -0
- package/node_modules/is-glob/LICENSE +21 -0
- package/node_modules/is-glob/README.md +206 -0
- package/node_modules/is-glob/index.js +150 -0
- package/node_modules/is-glob/package.json +81 -0
- package/node_modules/is-number/LICENSE +21 -0
- package/node_modules/is-number/README.md +187 -0
- package/node_modules/is-number/index.js +18 -0
- package/node_modules/is-number/package.json +82 -0
- package/node_modules/jju/LICENSE +21 -0
- package/node_modules/jju/Makefile +20 -0
- package/node_modules/jju/README.md +249 -0
- package/node_modules/jju/index.js +32 -0
- package/node_modules/jju/lib/analyze.js +87 -0
- package/node_modules/jju/lib/document.js +480 -0
- package/node_modules/jju/lib/parse.js +760 -0
- package/node_modules/jju/lib/stringify.js +378 -0
- package/node_modules/jju/lib/unicode.js +70 -0
- package/node_modules/jju/lib/utils.js +46 -0
- package/node_modules/jju/package.json +34 -0
- package/node_modules/jju/package.yaml +36 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +18 -0
- package/node_modules/merge2/LICENSE +21 -0
- package/node_modules/merge2/README.md +144 -0
- package/node_modules/merge2/index.js +144 -0
- package/node_modules/merge2/package.json +43 -0
- package/node_modules/micromatch/LICENSE +21 -0
- package/node_modules/micromatch/README.md +1024 -0
- package/node_modules/micromatch/index.js +474 -0
- package/node_modules/micromatch/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/micromatch/node_modules/picomatch/README.md +716 -0
- package/node_modules/micromatch/node_modules/picomatch/index.js +3 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/parse.js +1392 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/picomatch.js +342 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/utils.js +64 -0
- package/node_modules/micromatch/node_modules/picomatch/package.json +81 -0
- package/node_modules/micromatch/package.json +119 -0
- package/node_modules/path-parse/LICENSE +21 -0
- package/node_modules/path-parse/README.md +42 -0
- package/node_modules/path-parse/index.js +75 -0
- package/node_modules/path-parse/package.json +33 -0
- package/node_modules/pony-cause/LICENSE +14 -0
- package/node_modules/pony-cause/README.md +192 -0
- package/node_modules/pony-cause/compat.d.ts +2 -0
- package/node_modules/pony-cause/index.d.ts +7 -0
- package/node_modules/pony-cause/index.d.ts.map +1 -0
- package/node_modules/pony-cause/index.js +18 -0
- package/node_modules/pony-cause/index.mjs +10 -0
- package/node_modules/pony-cause/lib/error-with-cause-compat.d.ts +7 -0
- package/node_modules/pony-cause/lib/error-with-cause.d.ts +7 -0
- package/node_modules/pony-cause/lib/error-with-cause.d.ts.map +1 -0
- package/node_modules/pony-cause/lib/error-with-cause.js +25 -0
- package/node_modules/pony-cause/lib/error-with-cause.mjs +21 -0
- package/node_modules/pony-cause/lib/helpers.d.ts +9 -0
- package/node_modules/pony-cause/lib/helpers.d.ts.map +1 -0
- package/node_modules/pony-cause/lib/helpers.js +143 -0
- package/node_modules/pony-cause/lib/helpers.mjs +136 -0
- package/node_modules/pony-cause/package.json +106 -0
- package/node_modules/queue-microtask/LICENSE +20 -0
- package/node_modules/queue-microtask/README.md +90 -0
- package/node_modules/queue-microtask/index.d.ts +2 -0
- package/node_modules/queue-microtask/index.js +9 -0
- package/node_modules/queue-microtask/package.json +55 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/resolve/.claude/notes.md +26 -0
- package/node_modules/resolve/.claude/settings.local.json +26 -0
- package/node_modules/resolve/.editorconfig +38 -0
- package/node_modules/resolve/.eslintrc +65 -0
- package/node_modules/resolve/.github/FUNDING.yml +12 -0
- package/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +119 -0
- package/node_modules/resolve/.github/THREAT_MODEL.md +74 -0
- package/node_modules/resolve/LICENSE +21 -0
- package/node_modules/resolve/SECURITY.md +13 -0
- package/node_modules/resolve/async.js +3 -0
- package/node_modules/resolve/bin/resolve +50 -0
- package/node_modules/resolve/eslint.config.mjs +80 -0
- package/node_modules/resolve/example/async.js +5 -0
- package/node_modules/resolve/example/sync.js +3 -0
- package/node_modules/resolve/index.js +6 -0
- package/node_modules/resolve/lib/async.js +336 -0
- package/node_modules/resolve/lib/caller.js +12 -0
- package/node_modules/resolve/lib/core.js +12 -0
- package/node_modules/resolve/lib/core.json +162 -0
- package/node_modules/resolve/lib/homedir.js +31 -0
- package/node_modules/resolve/lib/is-core.js +5 -0
- package/node_modules/resolve/lib/node-modules-paths.js +45 -0
- package/node_modules/resolve/lib/normalize-options.js +10 -0
- package/node_modules/resolve/lib/sync.js +216 -0
- package/node_modules/resolve/package.json +78 -0
- package/node_modules/resolve/readme.markdown +300 -0
- package/node_modules/resolve/sync.js +3 -0
- package/node_modules/resolve/test/core.js +88 -0
- package/node_modules/resolve/test/default_paths.js +49 -0
- package/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- package/node_modules/resolve/test/dotdot/index.js +1 -0
- package/node_modules/resolve/test/dotdot.js +29 -0
- package/node_modules/resolve/test/faulty_basedir.js +29 -0
- package/node_modules/resolve/test/filter.js +34 -0
- package/node_modules/resolve/test/filter_sync.js +33 -0
- package/node_modules/resolve/test/home_paths.js +127 -0
- package/node_modules/resolve/test/home_paths_sync.js +114 -0
- package/node_modules/resolve/test/homedir.js +112 -0
- package/node_modules/resolve/test/mock.js +353 -0
- package/node_modules/resolve/test/mock_sync.js +234 -0
- package/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- package/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- package/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- package/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- package/node_modules/resolve/test/module_dir.js +56 -0
- package/node_modules/resolve/test/node-modules-paths.js +143 -0
- package/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- package/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- package/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- package/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- package/node_modules/resolve/test/node_path.js +70 -0
- package/node_modules/resolve/test/nonstring.js +9 -0
- package/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- package/node_modules/resolve/test/pathfilter.js +75 -0
- package/node_modules/resolve/test/pathfilter_sync.js +24 -0
- package/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- package/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- package/node_modules/resolve/test/precedence/aaa.js +1 -0
- package/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- package/node_modules/resolve/test/precedence/bbb.js +1 -0
- package/node_modules/resolve/test/precedence.js +23 -0
- package/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- package/node_modules/resolve/test/resolver/baz/package.json +4 -0
- package/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- package/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- package/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- package/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
- package/node_modules/resolve/test/resolver/cup.coffee +1 -0
- package/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
- package/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
- package/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- package/node_modules/resolve/test/resolver/foo.js +1 -0
- package/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- package/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
- package/node_modules/resolve/test/resolver/mug.coffee +0 -0
- package/node_modules/resolve/test/resolver/mug.js +0 -0
- package/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
- package/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
- package/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- package/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- package/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- package/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
- package/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
- package/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- package/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- package/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
- package/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
- package/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
- package/node_modules/resolve/test/resolver.js +597 -0
- package/node_modules/resolve/test/resolver_sync.js +730 -0
- package/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- package/node_modules/resolve/test/shadowed_core.js +54 -0
- package/node_modules/resolve/test/subdirs.js +13 -0
- package/node_modules/resolve/test/symlinks.js +176 -0
- package/node_modules/reusify/.github/dependabot.yml +7 -0
- package/node_modules/reusify/.github/workflows/ci.yml +96 -0
- package/node_modules/reusify/LICENSE +22 -0
- package/node_modules/reusify/README.md +139 -0
- package/node_modules/reusify/SECURITY.md +15 -0
- package/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
- package/node_modules/reusify/benchmarks/fib.js +13 -0
- package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
- package/node_modules/reusify/eslint.config.js +14 -0
- package/node_modules/reusify/package.json +50 -0
- package/node_modules/reusify/reusify.d.ts +14 -0
- package/node_modules/reusify/reusify.js +33 -0
- package/node_modules/reusify/test.js +66 -0
- package/node_modules/reusify/tsconfig.json +11 -0
- package/node_modules/run-parallel/LICENSE +20 -0
- package/node_modules/run-parallel/README.md +85 -0
- package/node_modules/run-parallel/index.js +51 -0
- package/node_modules/run-parallel/package.json +58 -0
- package/node_modules/sprintf-js/.npmignore +1 -0
- package/node_modules/sprintf-js/LICENSE +24 -0
- package/node_modules/sprintf-js/README.md +88 -0
- package/node_modules/sprintf-js/bower.json +14 -0
- package/node_modules/sprintf-js/demo/angular.html +20 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- package/node_modules/sprintf-js/gruntfile.js +36 -0
- package/node_modules/sprintf-js/package.json +22 -0
- package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- package/node_modules/sprintf-js/src/sprintf.js +208 -0
- package/node_modules/sprintf-js/test/test.js +82 -0
- package/node_modules/string-argv/CHANGELOG.md +13 -0
- package/node_modules/string-argv/LICENSE +21 -0
- package/node_modules/string-argv/README.md +58 -0
- package/node_modules/string-argv/commonjs/index.js +45 -0
- package/node_modules/string-argv/commonjs/package.json +3 -0
- package/node_modules/string-argv/index.d.ts +2 -0
- package/node_modules/string-argv/index.js +41 -0
- package/node_modules/string-argv/package.json +51 -0
- package/node_modules/supports-color/browser.js +24 -0
- package/node_modules/supports-color/index.js +152 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +58 -0
- package/node_modules/supports-color/readme.md +77 -0
- package/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- package/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- package/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- package/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- package/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- package/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- package/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- package/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- package/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- package/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- package/node_modules/to-regex-range/LICENSE +21 -0
- package/node_modules/to-regex-range/README.md +305 -0
- package/node_modules/to-regex-range/index.js +288 -0
- package/node_modules/to-regex-range/package.json +88 -0
- package/node_modules/type-fest/index.d.ts +178 -0
- package/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/type-fest/license-mit +9 -0
- package/node_modules/type-fest/package.json +91 -0
- package/node_modules/type-fest/readme.md +1060 -0
- package/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
- package/node_modules/type-fest/source/and.d.ts +25 -0
- package/node_modules/type-fest/source/array-indices.d.ts +23 -0
- package/node_modules/type-fest/source/array-slice.d.ts +109 -0
- package/node_modules/type-fest/source/array-splice.d.ts +99 -0
- package/node_modules/type-fest/source/array-tail.d.ts +76 -0
- package/node_modules/type-fest/source/array-values.d.ts +22 -0
- package/node_modules/type-fest/source/arrayable.d.ts +29 -0
- package/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/node_modules/type-fest/source/basic.d.ts +68 -0
- package/node_modules/type-fest/source/camel-case.d.ts +89 -0
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
- package/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
- package/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- package/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- package/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/node_modules/type-fest/source/entries.d.ts +62 -0
- package/node_modules/type-fest/source/entry.d.ts +65 -0
- package/node_modules/type-fest/source/exact.d.ts +68 -0
- package/node_modules/type-fest/source/except.d.ts +108 -0
- package/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- package/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/node_modules/type-fest/source/get.d.ts +219 -0
- package/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- package/node_modules/type-fest/source/greater-than.d.ts +56 -0
- package/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- package/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/node_modules/type-fest/source/if-null.d.ts +24 -0
- package/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/node_modules/type-fest/source/includes.d.ts +22 -0
- package/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
- package/node_modules/type-fest/source/int-range.d.ts +55 -0
- package/node_modules/type-fest/source/internal/array.d.ts +126 -0
- package/node_modules/type-fest/source/internal/characters.d.ts +67 -0
- package/node_modules/type-fest/source/internal/index.d.ts +8 -0
- package/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- package/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
- package/node_modules/type-fest/source/internal/object.d.ts +236 -0
- package/node_modules/type-fest/source/internal/string.d.ts +210 -0
- package/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
- package/node_modules/type-fest/source/internal/type.d.ts +139 -0
- package/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/node_modules/type-fest/source/is-any.d.ts +33 -0
- package/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/node_modules/type-fest/source/is-float.d.ts +41 -0
- package/node_modules/type-fest/source/is-integer.d.ts +58 -0
- package/node_modules/type-fest/source/is-literal.d.ts +296 -0
- package/node_modules/type-fest/source/is-never.d.ts +42 -0
- package/node_modules/type-fest/source/is-null.d.ts +20 -0
- package/node_modules/type-fest/source/is-tuple.d.ts +89 -0
- package/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- package/node_modules/type-fest/source/join.d.ts +68 -0
- package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/type-fest/source/jsonify.d.ts +122 -0
- package/node_modules/type-fest/source/kebab-case.d.ts +44 -0
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
- package/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
- package/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- package/node_modules/type-fest/source/less-than.d.ts +26 -0
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/node_modules/type-fest/source/literal-union.d.ts +37 -0
- package/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- package/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/node_modules/type-fest/source/merge.d.ts +48 -0
- package/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- package/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
- package/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- package/node_modules/type-fest/source/numeric.d.ts +222 -0
- package/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/node_modules/type-fest/source/omit-deep.d.ts +167 -0
- package/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
- package/node_modules/type-fest/source/opaque.d.ts +1 -0
- package/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
- package/node_modules/type-fest/source/or.d.ts +25 -0
- package/node_modules/type-fest/source/override-properties.d.ts +36 -0
- package/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/node_modules/type-fest/source/partial-deep.d.ts +151 -0
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
- package/node_modules/type-fest/source/pascal-case.d.ts +42 -0
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
- package/node_modules/type-fest/source/paths.d.ts +262 -0
- package/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- package/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
- package/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
- package/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/node_modules/type-fest/source/replace.d.ts +85 -0
- package/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
- package/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
- package/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
- package/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
- package/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
- package/node_modules/type-fest/source/schema.d.ts +114 -0
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
- package/node_modules/type-fest/source/set-field-type.d.ts +65 -0
- package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
- package/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/node_modules/type-fest/source/set-optional.d.ts +38 -0
- package/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- package/node_modules/type-fest/source/set-readonly.d.ts +39 -0
- package/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
- package/node_modules/type-fest/source/set-required.d.ts +70 -0
- package/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
- package/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
- package/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- package/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- package/node_modules/type-fest/source/snake-case.d.ts +45 -0
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
- package/node_modules/type-fest/source/split.d.ts +88 -0
- package/node_modules/type-fest/source/spread.d.ts +84 -0
- package/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/node_modules/type-fest/source/string-repeat.d.ts +47 -0
- package/node_modules/type-fest/source/string-slice.d.ts +37 -0
- package/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- package/node_modules/type-fest/source/subtract.d.ts +83 -0
- package/node_modules/type-fest/source/sum.d.ts +78 -0
- package/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/node_modules/type-fest/source/tagged.d.ts +256 -0
- package/node_modules/type-fest/source/trim.d.ts +27 -0
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
- package/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
- package/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- package/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- package/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
- package/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- package/node_modules/type-fest/source/unknown-map.d.ts +24 -0
- package/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- package/node_modules/type-fest/source/unknown-set.d.ts +24 -0
- package/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/node_modules/type-fest/source/words.d.ts +118 -0
- package/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- package/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
- package/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/umzug/LICENSE +21 -0
- package/node_modules/umzug/README.md +849 -0
- package/node_modules/umzug/lib/cli.d.ts +44 -0
- package/node_modules/umzug/lib/cli.js +275 -0
- package/node_modules/umzug/lib/cli.js.map +1 -0
- package/node_modules/umzug/lib/file-locker.d.ts +46 -0
- package/node_modules/umzug/lib/file-locker.js +96 -0
- package/node_modules/umzug/lib/file-locker.js.map +1 -0
- package/node_modules/umzug/lib/index.d.ts +5 -0
- package/node_modules/umzug/lib/index.js +22 -0
- package/node_modules/umzug/lib/index.js.map +1 -0
- package/node_modules/umzug/lib/storage/contract.d.ts +17 -0
- package/node_modules/umzug/lib/storage/contract.js +18 -0
- package/node_modules/umzug/lib/storage/contract.js.map +1 -0
- package/node_modules/umzug/lib/storage/index.d.ts +5 -0
- package/node_modules/umzug/lib/storage/index.js +24 -0
- package/node_modules/umzug/lib/storage/index.js.map +1 -0
- package/node_modules/umzug/lib/storage/json.d.ts +20 -0
- package/node_modules/umzug/lib/storage/json.js +61 -0
- package/node_modules/umzug/lib/storage/json.js.map +1 -0
- package/node_modules/umzug/lib/storage/memory.d.ts +2 -0
- package/node_modules/umzug/lib/storage/memory.js +17 -0
- package/node_modules/umzug/lib/storage/memory.js.map +1 -0
- package/node_modules/umzug/lib/storage/mongodb.d.ts +35 -0
- package/node_modules/umzug/lib/storage/mongodb.js +31 -0
- package/node_modules/umzug/lib/storage/mongodb.js.map +1 -0
- package/node_modules/umzug/lib/storage/sequelize.d.ts +106 -0
- package/node_modules/umzug/lib/storage/sequelize.js +85 -0
- package/node_modules/umzug/lib/storage/sequelize.js.map +1 -0
- package/node_modules/umzug/lib/templates.d.ts +5 -0
- package/node_modules/umzug/lib/templates.js +32 -0
- package/node_modules/umzug/lib/templates.js.map +1 -0
- package/node_modules/umzug/lib/types.d.ts +129 -0
- package/node_modules/umzug/lib/types.js +12 -0
- package/node_modules/umzug/lib/types.js.map +1 -0
- package/node_modules/umzug/lib/umzug.d.ts +105 -0
- package/node_modules/umzug/lib/umzug.js +414 -0
- package/node_modules/umzug/lib/umzug.js.map +1 -0
- package/node_modules/umzug/package.json +92 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/node_modules/yallist/LICENSE +15 -0
- package/node_modules/yallist/README.md +204 -0
- package/node_modules/yallist/iterator.js +8 -0
- package/node_modules/yallist/package.json +29 -0
- package/node_modules/yallist/yallist.js +426 -0
- package/package.json +4 -2
- package/dist/ui/assets/architecture-7GRP2DOG-C_8wRkfR.js +0 -1
- package/dist/ui/assets/channel-IXYN7T6d.js +0 -1
- package/dist/ui/assets/eventmodeling-NTZA5JFV-DJMyacNa.js +0 -1
- package/dist/ui/assets/flowDiagram-KWPJA3E3-iAaJj6dh.js +0 -1
- package/dist/ui/assets/index-gtLHyvxQ.css +0 -2
- package/dist/ui/assets/railroad-abnf-HS5TGJTU-CAGz711E.js +0 -1
- package/dist/ui/assets/railroad-ebnf-LZEXJU2U-y05iApC_.js +0 -1
- package/dist/ui/assets/railroad-peg-WCYAUIDC-C18zuwAF.js +0 -1
- package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-1XAlwl_J.js +0 -8
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
|
+
// See LICENSE in the project root for license information.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CommandLineStringParameter = void 0;
|
|
6
|
+
const BaseClasses_1 = require("./BaseClasses");
|
|
7
|
+
/**
|
|
8
|
+
* The data type returned by {@link CommandLineParameterProvider.(defineStringParameter:1)}.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
class CommandLineStringParameter extends BaseClasses_1.CommandLineParameterWithArgument {
|
|
12
|
+
/** @internal */
|
|
13
|
+
constructor(definition) {
|
|
14
|
+
super(definition);
|
|
15
|
+
this._value = undefined;
|
|
16
|
+
/** {@inheritDoc CommandLineParameter.kind} */
|
|
17
|
+
this.kind = BaseClasses_1.CommandLineParameterKind.String;
|
|
18
|
+
this.defaultValue = definition.defaultValue;
|
|
19
|
+
this.validateDefaultValue(!!this.defaultValue);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc CommandLineParameter._setValue}
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
_setValue(data) {
|
|
26
|
+
// abstract
|
|
27
|
+
if (data !== null && data !== undefined) {
|
|
28
|
+
if (typeof data !== 'string') {
|
|
29
|
+
this.reportInvalidData(data);
|
|
30
|
+
}
|
|
31
|
+
this._value = data;
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (this.environmentVariable !== undefined) {
|
|
35
|
+
// Try reading the environment variable
|
|
36
|
+
const environmentValue = process.env[this.environmentVariable];
|
|
37
|
+
if (environmentValue !== undefined) {
|
|
38
|
+
// NOTE: If the environment variable is defined as an empty string,
|
|
39
|
+
// here we will accept the empty string as our value. (For number/flag we don't do that.)
|
|
40
|
+
this._value = environmentValue;
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
if (this.defaultValue !== undefined) {
|
|
45
|
+
this._value = this.defaultValue;
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this._value = undefined;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* {@inheritDoc CommandLineParameter._getSupplementaryNotes}
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
_getSupplementaryNotes(supplementaryNotes) {
|
|
55
|
+
// virtual
|
|
56
|
+
super._getSupplementaryNotes(supplementaryNotes);
|
|
57
|
+
if (this.defaultValue !== undefined) {
|
|
58
|
+
if (this.defaultValue.length < 160) {
|
|
59
|
+
supplementaryNotes.push(`The default value is ${JSON.stringify(this.defaultValue)}.`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns the argument value for a string parameter that was parsed from the command line.
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* The return value will be undefined if the command-line has not been parsed yet,
|
|
68
|
+
* or if the parameter was omitted and has no default value.
|
|
69
|
+
*/
|
|
70
|
+
get value() {
|
|
71
|
+
return this._value;
|
|
72
|
+
}
|
|
73
|
+
/** {@inheritDoc CommandLineParameter.appendToArgList} @override */
|
|
74
|
+
appendToArgList(argList) {
|
|
75
|
+
if (this.value !== undefined) {
|
|
76
|
+
argList.push(this.longName);
|
|
77
|
+
argList.push(this.value);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.CommandLineStringParameter = CommandLineStringParameter;
|
|
82
|
+
//# sourceMappingURL=CommandLineStringParameter.js.map
|
package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandLineStringParameter.js","sourceRoot":"","sources":["../../src/parameters/CommandLineStringParameter.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAG3D,+CAA2F;AAU3F;;;GAGG;AACH,MAAa,0BAA2B,SAAQ,8CAAgC;IAS9E,gBAAgB;IAChB,YAAmB,UAAwC;QACzD,KAAK,CAAC,UAAU,CAAC,CAAC;QAPZ,WAAM,GAAuB,SAAS,CAAC;QAE/C,8CAA8C;QAC9B,SAAI,GAAoC,sCAAwB,CAAC,MAAM,CAAC;QAMtF,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACI,SAAS,CAAC,IAAa;QAC5B,WAAW;QACX,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACxC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC7B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAC/B,CAAC;YACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;YACnB,OAAO;QACT,CAAC;QAED,IAAI,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE,CAAC;YAC3C,uCAAuC;YACvC,MAAM,gBAAgB,GAAuB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;YACnF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;gBACnC,mEAAmE;gBACnE,0FAA0F;gBAC1F,IAAI,CAAC,MAAM,GAAG,gBAAgB,CAAC;gBAC/B,OAAO;YACT,CAAC;QACH,CAAC;QAED,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,EAAE,CAAC;YACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC;YAChC,OAAO;QACT,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;IAC1B,CAAC;IAED;;;OAGG;IACI,sBAAsB,CAAC,kBAA4B;QACxD,UAAU;QACV,KAAK,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;QACjD,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,EAAE,CAAC;YACpC,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;gBACnC,kBAAkB,CAAC,IAAI,CAAC,wBAAwB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;YACxF,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,IAAW,KAAK;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,mEAAmE;IAC5D,eAAe,CAAC,OAAiB;QACtC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC5B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;CACF;AAlFD,gEAkFC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport type { ICommandLineStringDefinition } from './CommandLineDefinition';\nimport { CommandLineParameterWithArgument, CommandLineParameterKind } from './BaseClasses';\n\n/**\n * The data type returned by {@link CommandLineParameterProvider.(defineStringParameter:2)}.\n * @public\n */\nexport interface IRequiredCommandLineStringParameter extends CommandLineStringParameter {\n readonly value: string;\n}\n\n/**\n * The data type returned by {@link CommandLineParameterProvider.(defineStringParameter:1)}.\n * @public\n */\nexport class CommandLineStringParameter extends CommandLineParameterWithArgument {\n /** {@inheritDoc ICommandLineStringDefinition.defaultValue} */\n public readonly defaultValue: string | undefined;\n\n private _value: string | undefined = undefined;\n\n /** {@inheritDoc CommandLineParameter.kind} */\n public readonly kind: CommandLineParameterKind.String = CommandLineParameterKind.String;\n\n /** @internal */\n public constructor(definition: ICommandLineStringDefinition) {\n super(definition);\n\n this.defaultValue = definition.defaultValue;\n this.validateDefaultValue(!!this.defaultValue);\n }\n\n /**\n * {@inheritDoc CommandLineParameter._setValue}\n * @internal\n */\n public _setValue(data: unknown): void {\n // abstract\n if (data !== null && data !== undefined) {\n if (typeof data !== 'string') {\n this.reportInvalidData(data);\n }\n this._value = data;\n return;\n }\n\n if (this.environmentVariable !== undefined) {\n // Try reading the environment variable\n const environmentValue: string | undefined = process.env[this.environmentVariable];\n if (environmentValue !== undefined) {\n // NOTE: If the environment variable is defined as an empty string,\n // here we will accept the empty string as our value. (For number/flag we don't do that.)\n this._value = environmentValue;\n return;\n }\n }\n\n if (this.defaultValue !== undefined) {\n this._value = this.defaultValue;\n return;\n }\n\n this._value = undefined;\n }\n\n /**\n * {@inheritDoc CommandLineParameter._getSupplementaryNotes}\n * @internal\n */\n public _getSupplementaryNotes(supplementaryNotes: string[]): void {\n // virtual\n super._getSupplementaryNotes(supplementaryNotes);\n if (this.defaultValue !== undefined) {\n if (this.defaultValue.length < 160) {\n supplementaryNotes.push(`The default value is ${JSON.stringify(this.defaultValue)}.`);\n }\n }\n }\n\n /**\n * Returns the argument value for a string parameter that was parsed from the command line.\n *\n * @remarks\n * The return value will be undefined if the command-line has not been parsed yet,\n * or if the parameter was omitted and has no default value.\n */\n public get value(): string | undefined {\n return this._value;\n }\n\n /** {@inheritDoc CommandLineParameter.appendToArgList} @override */\n public appendToArgList(argList: string[]): void {\n if (this.value !== undefined) {\n argList.push(this.longName);\n argList.push(this.value);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Some parameter types can receive their values from an environment variable instead of
|
|
3
|
+
* a command line argument. This class provides some utility methods for parsing environment
|
|
4
|
+
* variable values.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare class EnvironmentVariableParser {
|
|
8
|
+
static parseAsList(envVarName: string): string[] | undefined;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=EnvironmentVariableParser.d.ts.map
|
package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentVariableParser.d.ts","sourceRoot":"","sources":["../../src/parameters/EnvironmentVariableParser.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,qBAAa,yBAAyB;WACtB,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;CA2CpE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
|
+
// See LICENSE in the project root for license information.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.EnvironmentVariableParser = void 0;
|
|
6
|
+
/**
|
|
7
|
+
* Some parameter types can receive their values from an environment variable instead of
|
|
8
|
+
* a command line argument. This class provides some utility methods for parsing environment
|
|
9
|
+
* variable values.
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
class EnvironmentVariableParser {
|
|
13
|
+
static parseAsList(envVarName) {
|
|
14
|
+
const environmentValue = process.env[envVarName];
|
|
15
|
+
if (environmentValue !== undefined) {
|
|
16
|
+
// NOTE: If the environment variable is defined as an empty string,
|
|
17
|
+
// here we will accept the empty string as our value. (For number/flag we don't do that.)
|
|
18
|
+
if (environmentValue.trimLeft()[0] === '[') {
|
|
19
|
+
// Specifying multiple items in an environment variable is a somewhat rare case. But environment
|
|
20
|
+
// variables are actually a pretty reliable way for a tool to avoid shell escaping problems
|
|
21
|
+
// when spawning another tool. For this case, we need a reliable way to pass an array of strings
|
|
22
|
+
// that could contain any character. For example, if we simply used ";" as the list delimiter,
|
|
23
|
+
// then what to do if a string contains that character? We'd need to design an escaping mechanism.
|
|
24
|
+
// Since JSON is simple and standard and can escape every possible string, it's a better option
|
|
25
|
+
// than a custom delimiter.
|
|
26
|
+
try {
|
|
27
|
+
const parsedJson = JSON.parse(environmentValue);
|
|
28
|
+
if (!Array.isArray(parsedJson) ||
|
|
29
|
+
!parsedJson.every((x) => typeof x === 'string' || typeof x === 'boolean' || typeof x === 'number')) {
|
|
30
|
+
throw new Error(`The ${environmentValue} environment variable value must be a JSON ` +
|
|
31
|
+
` array containing only strings, numbers, and booleans.`);
|
|
32
|
+
}
|
|
33
|
+
return parsedJson.map((x) => x.toString());
|
|
34
|
+
}
|
|
35
|
+
catch (ex) {
|
|
36
|
+
throw new Error(`The ${environmentValue} environment variable value looks like a JSON array` +
|
|
37
|
+
` but failed to parse: ` +
|
|
38
|
+
ex.message);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
// As a shorthand, a single value may be specified without JSON encoding, as long as it does not
|
|
43
|
+
// start with the "[" character.
|
|
44
|
+
return [environmentValue];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.EnvironmentVariableParser = EnvironmentVariableParser;
|
|
51
|
+
//# sourceMappingURL=EnvironmentVariableParser.js.map
|
package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentVariableParser.js","sourceRoot":"","sources":["../../src/parameters/EnvironmentVariableParser.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D;;;;;GAKG;AACH,MAAa,yBAAyB;IAC7B,MAAM,CAAC,WAAW,CAAC,UAAkB;QAC1C,MAAM,gBAAgB,GAAuB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QAErE,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;YACnC,mEAAmE;YACnE,0FAA0F;YAE1F,IAAI,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;gBAC3C,iGAAiG;gBACjG,2FAA2F;gBAC3F,iGAAiG;gBACjG,+FAA+F;gBAC/F,mGAAmG;gBACnG,+FAA+F;gBAC/F,2BAA2B;gBAC3B,IAAI,CAAC;oBACH,MAAM,UAAU,GAAY,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;oBACzD,IACE,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;wBAC1B,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,SAAS,IAAI,OAAO,CAAC,KAAK,QAAQ,CAAC,EAClG,CAAC;wBACD,MAAM,IAAI,KAAK,CACb,OAAO,gBAAgB,6CAA6C;4BAClE,wDAAwD,CAC3D,CAAC;oBACJ,CAAC;oBACD,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;gBAC7C,CAAC;gBAAC,OAAO,EAAE,EAAE,CAAC;oBACZ,MAAM,IAAI,KAAK,CACb,OAAO,gBAAgB,qDAAqD;wBAC1E,wBAAwB;wBACvB,EAAY,CAAC,OAAO,CACxB,CAAC;gBACJ,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,gGAAgG;gBAChG,gCAAgC;gBAChC,OAAO,CAAC,gBAAgB,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AA5CD,8DA4CC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\n/**\n * Some parameter types can receive their values from an environment variable instead of\n * a command line argument. This class provides some utility methods for parsing environment\n * variable values.\n * @internal\n */\nexport class EnvironmentVariableParser {\n public static parseAsList(envVarName: string): string[] | undefined {\n const environmentValue: string | undefined = process.env[envVarName];\n\n if (environmentValue !== undefined) {\n // NOTE: If the environment variable is defined as an empty string,\n // here we will accept the empty string as our value. (For number/flag we don't do that.)\n\n if (environmentValue.trimLeft()[0] === '[') {\n // Specifying multiple items in an environment variable is a somewhat rare case. But environment\n // variables are actually a pretty reliable way for a tool to avoid shell escaping problems\n // when spawning another tool. For this case, we need a reliable way to pass an array of strings\n // that could contain any character. For example, if we simply used \";\" as the list delimiter,\n // then what to do if a string contains that character? We'd need to design an escaping mechanism.\n // Since JSON is simple and standard and can escape every possible string, it's a better option\n // than a custom delimiter.\n try {\n const parsedJson: unknown = JSON.parse(environmentValue);\n if (\n !Array.isArray(parsedJson) ||\n !parsedJson.every((x) => typeof x === 'string' || typeof x === 'boolean' || typeof x === 'number')\n ) {\n throw new Error(\n `The ${environmentValue} environment variable value must be a JSON ` +\n ` array containing only strings, numbers, and booleans.`\n );\n }\n return parsedJson.map((x) => x.toString());\n } catch (ex) {\n throw new Error(\n `The ${environmentValue} environment variable value looks like a JSON array` +\n ` but failed to parse: ` +\n (ex as Error).message\n );\n }\n } else {\n // As a shorthand, a single value may be specified without JSON encoding, as long as it does not\n // start with the \"[\" character.\n return [environmentValue];\n }\n }\n\n return undefined;\n }\n}\n"]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CommandLineAction } from './CommandLineAction';
|
|
2
|
+
import type { ICommandLineParserData, IRegisterDefinedParametersState } from './CommandLineParameterProvider';
|
|
3
|
+
import type { ICommandLineParserOptions } from './CommandLineParser';
|
|
4
|
+
/**
|
|
5
|
+
* Options for the AliasCommandLineAction constructor.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface IAliasCommandLineActionOptions {
|
|
9
|
+
/**
|
|
10
|
+
* The name of your tool when invoked from the command line. Used for generating help text.
|
|
11
|
+
*/
|
|
12
|
+
toolFilename: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the alias. For example, if the tool is called "example",
|
|
15
|
+
* then the "build" alias might be invoked as: "example build -q --some-other-option"
|
|
16
|
+
*/
|
|
17
|
+
aliasName: string;
|
|
18
|
+
/**
|
|
19
|
+
* A list of default parameters to pass to the target action.
|
|
20
|
+
*/
|
|
21
|
+
defaultParameters?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* The action that this alias invokes.
|
|
24
|
+
*/
|
|
25
|
+
targetAction: CommandLineAction;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Represents a sub-command that is part of the CommandLineParser command line.
|
|
29
|
+
* The sub-command is an alias for another existing action.
|
|
30
|
+
*
|
|
31
|
+
* The alias name should be comprised of lower case words separated by hyphens
|
|
32
|
+
* or colons. The name should include an English verb (e.g. "deploy"). Use a
|
|
33
|
+
* hyphen to separate words (e.g. "upload-docs").
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class AliasCommandLineAction extends CommandLineAction {
|
|
38
|
+
/**
|
|
39
|
+
* The action that this alias invokes.
|
|
40
|
+
*/
|
|
41
|
+
readonly targetAction: CommandLineAction;
|
|
42
|
+
/**
|
|
43
|
+
* A list of default arguments to pass to the target action.
|
|
44
|
+
*/
|
|
45
|
+
readonly defaultParameters: ReadonlyArray<string>;
|
|
46
|
+
private _parameterKeyMap;
|
|
47
|
+
constructor(options: IAliasCommandLineActionOptions);
|
|
48
|
+
/** @internal */
|
|
49
|
+
_registerDefinedParameters(state: IRegisterDefinedParametersState): void;
|
|
50
|
+
/**
|
|
51
|
+
* {@inheritdoc CommandLineParameterProvider._processParsedData}
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
_processParsedData(parserOptions: ICommandLineParserOptions, data: ICommandLineParserData): void;
|
|
55
|
+
/**
|
|
56
|
+
* Executes the target action.
|
|
57
|
+
*/
|
|
58
|
+
protected onExecute(): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=AliasCommandLineAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AliasCommandLineAction.d.ts","sourceRoot":"","sources":["../../src/providers/AliasCommandLineAction.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAMxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAC9G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE7B;;OAEG;IACH,YAAY,EAAE,iBAAiB,CAAC;CACjC;AAED;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,iBAAiB;IAC3D;;OAEG;IACH,SAAgB,YAAY,EAAE,iBAAiB,CAAC;IAEhD;;OAEG;IACH,SAAgB,iBAAiB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAEzD,OAAO,CAAC,gBAAgB,CAAkC;gBAEvC,OAAO,EAAE,8BAA8B;IAoB1D,gBAAgB;IACT,0BAA0B,CAAC,KAAK,EAAE,+BAA+B,GAAG,IAAI;IA4E/E;;;OAGG;IACI,kBAAkB,CAAC,aAAa,EAAE,yBAAyB,EAAE,IAAI,EAAE,sBAAsB,GAAG,IAAI;IAmBvG;;OAEG;cACa,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;CAG3C"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
|
+
// See LICENSE in the project root for license information.
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.AliasCommandLineAction = void 0;
|
|
39
|
+
const argparse = __importStar(require("argparse"));
|
|
40
|
+
const CommandLineAction_1 = require("./CommandLineAction");
|
|
41
|
+
const BaseClasses_1 = require("../parameters/BaseClasses");
|
|
42
|
+
/**
|
|
43
|
+
* Represents a sub-command that is part of the CommandLineParser command line.
|
|
44
|
+
* The sub-command is an alias for another existing action.
|
|
45
|
+
*
|
|
46
|
+
* The alias name should be comprised of lower case words separated by hyphens
|
|
47
|
+
* or colons. The name should include an English verb (e.g. "deploy"). Use a
|
|
48
|
+
* hyphen to separate words (e.g. "upload-docs").
|
|
49
|
+
*
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
class AliasCommandLineAction extends CommandLineAction_1.CommandLineAction {
|
|
53
|
+
constructor(options) {
|
|
54
|
+
const toolFilename = options.toolFilename;
|
|
55
|
+
const targetActionName = options.targetAction.actionName;
|
|
56
|
+
const defaultParametersString = (options.defaultParameters || []).join(' ');
|
|
57
|
+
const summary = `An alias for "${toolFilename} ${targetActionName}${defaultParametersString ? ` ${defaultParametersString}` : ''}".`;
|
|
58
|
+
super({
|
|
59
|
+
actionName: options.aliasName,
|
|
60
|
+
summary,
|
|
61
|
+
documentation: `${summary} For more information on the aliased command, use ` +
|
|
62
|
+
`"${toolFilename} ${targetActionName} --help".`
|
|
63
|
+
});
|
|
64
|
+
this._parameterKeyMap = new Map();
|
|
65
|
+
this.targetAction = options.targetAction;
|
|
66
|
+
this.defaultParameters = options.defaultParameters || [];
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
_registerDefinedParameters(state) {
|
|
70
|
+
/* override */
|
|
71
|
+
// All parameters are going to be defined by the target action. Re-use the target action parameters
|
|
72
|
+
// for this action.
|
|
73
|
+
for (const parameter of this.targetAction.parameters) {
|
|
74
|
+
const { kind, longName, shortName } = parameter;
|
|
75
|
+
let aliasParameter;
|
|
76
|
+
const nameOptions = {
|
|
77
|
+
parameterLongName: longName,
|
|
78
|
+
parameterShortName: shortName
|
|
79
|
+
};
|
|
80
|
+
switch (kind) {
|
|
81
|
+
case BaseClasses_1.CommandLineParameterKind.Choice:
|
|
82
|
+
aliasParameter = this.defineChoiceParameter({
|
|
83
|
+
...nameOptions,
|
|
84
|
+
...parameter,
|
|
85
|
+
alternatives: [...parameter.alternatives]
|
|
86
|
+
});
|
|
87
|
+
break;
|
|
88
|
+
case BaseClasses_1.CommandLineParameterKind.ChoiceList:
|
|
89
|
+
aliasParameter = this.defineChoiceListParameter({
|
|
90
|
+
...nameOptions,
|
|
91
|
+
...parameter,
|
|
92
|
+
alternatives: [...parameter.alternatives]
|
|
93
|
+
});
|
|
94
|
+
break;
|
|
95
|
+
case BaseClasses_1.CommandLineParameterKind.Flag:
|
|
96
|
+
aliasParameter = this.defineFlagParameter({ ...nameOptions, ...parameter });
|
|
97
|
+
break;
|
|
98
|
+
case BaseClasses_1.CommandLineParameterKind.Integer:
|
|
99
|
+
aliasParameter = this.defineIntegerParameter({ ...nameOptions, ...parameter });
|
|
100
|
+
break;
|
|
101
|
+
case BaseClasses_1.CommandLineParameterKind.IntegerList:
|
|
102
|
+
aliasParameter = this.defineIntegerListParameter({ ...nameOptions, ...parameter });
|
|
103
|
+
break;
|
|
104
|
+
case BaseClasses_1.CommandLineParameterKind.String:
|
|
105
|
+
aliasParameter = this.defineStringParameter({ ...nameOptions, ...parameter });
|
|
106
|
+
break;
|
|
107
|
+
case BaseClasses_1.CommandLineParameterKind.StringList:
|
|
108
|
+
aliasParameter = this.defineStringListParameter({ ...nameOptions, ...parameter });
|
|
109
|
+
break;
|
|
110
|
+
default:
|
|
111
|
+
throw new Error(`Unsupported parameter kind: ${kind}`);
|
|
112
|
+
}
|
|
113
|
+
// We know the parserKey is defined because the underlying _defineParameter method sets it,
|
|
114
|
+
// and all parameters that we have access to have already been defined.
|
|
115
|
+
this._parameterKeyMap.set(aliasParameter._parserKey, parameter._parserKey);
|
|
116
|
+
}
|
|
117
|
+
// We also need to register the remainder parameter if the target action has one. The parser
|
|
118
|
+
// key for this parameter is constant.
|
|
119
|
+
if (this.targetAction.remainder) {
|
|
120
|
+
this.defineCommandLineRemainder(this.targetAction.remainder);
|
|
121
|
+
this._parameterKeyMap.set(argparse.Const.REMAINDER, argparse.Const.REMAINDER);
|
|
122
|
+
}
|
|
123
|
+
// Finally, register the parameters with the parser. We need to make sure that the target action
|
|
124
|
+
// is registered, since we need to re-use its parameters, and ambiguous parameters are discovered
|
|
125
|
+
// during registration. This will no-op if the target action is already registered.
|
|
126
|
+
this.targetAction._registerDefinedParameters(state);
|
|
127
|
+
super._registerDefinedParameters(state);
|
|
128
|
+
// We need to re-map the ambiguous parameters after they are defined by calling
|
|
129
|
+
// super._registerDefinedParameters()
|
|
130
|
+
for (const [ambiguousParameterName, parserKey] of this._ambiguousParameterParserKeysByName) {
|
|
131
|
+
const targetParserKey = this.targetAction._ambiguousParameterParserKeysByName.get(ambiguousParameterName);
|
|
132
|
+
// If we have a mapping for the specified key, then use it. Otherwise, use the key as-is.
|
|
133
|
+
if (targetParserKey) {
|
|
134
|
+
this._parameterKeyMap.set(parserKey, targetParserKey);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* {@inheritdoc CommandLineParameterProvider._processParsedData}
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
_processParsedData(parserOptions, data) {
|
|
143
|
+
// Re-map the parsed data to the target action's parameters and execute the target action processor.
|
|
144
|
+
const targetData = {
|
|
145
|
+
action: this.targetAction.actionName,
|
|
146
|
+
aliasAction: data.action,
|
|
147
|
+
aliasDocumentation: this.documentation
|
|
148
|
+
};
|
|
149
|
+
for (const [key, value] of Object.entries(data)) {
|
|
150
|
+
// If we have a mapping for the specified key, then use it. Otherwise, use the key as-is.
|
|
151
|
+
// Skip over the action key though, since we've already re-mapped it to "aliasAction"
|
|
152
|
+
if (key === 'action') {
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
const targetKey = this._parameterKeyMap.get(key);
|
|
156
|
+
targetData[targetKey !== null && targetKey !== void 0 ? targetKey : key] = value;
|
|
157
|
+
}
|
|
158
|
+
this.targetAction._processParsedData(parserOptions, targetData);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Executes the target action.
|
|
162
|
+
*/
|
|
163
|
+
async onExecute() {
|
|
164
|
+
await this.targetAction._executeAsync();
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
exports.AliasCommandLineAction = AliasCommandLineAction;
|
|
168
|
+
//# sourceMappingURL=AliasCommandLineAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AliasCommandLineAction.js","sourceRoot":"","sources":["../../src/providers/AliasCommandLineAction.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3D,mDAAqC;AAErC,2DAAwD;AACxD,2DAImC;AA+BnC;;;;;;;;;GASG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAa3D,YAAmB,OAAuC;QACxD,MAAM,YAAY,GAAW,OAAO,CAAC,YAAY,CAAC;QAClD,MAAM,gBAAgB,GAAW,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC;QACjE,MAAM,uBAAuB,GAAW,CAAC,OAAO,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpF,MAAM,OAAO,GAAW,iBAAiB,YAAY,IAAI,gBAAgB,GACvE,uBAAuB,CAAC,CAAC,CAAC,IAAI,uBAAuB,EAAE,CAAC,CAAC,CAAC,EAC5D,IAAI,CAAC;QAEL,KAAK,CAAC;YACJ,UAAU,EAAE,OAAO,CAAC,SAAS;YAC7B,OAAO;YACP,aAAa,EACX,GAAG,OAAO,oDAAoD;gBAC9D,IAAI,YAAY,IAAI,gBAAgB,WAAW;SAClD,CAAC,CAAC;QAhBG,qBAAgB,GAAwB,IAAI,GAAG,EAAE,CAAC;QAkBxD,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,IAAI,EAAE,CAAC;IAC3D,CAAC;IAED,gBAAgB;IACT,0BAA0B,CAAC,KAAsC;QACtE,cAAc;QACd,mGAAmG;QACnG,mBAAmB;QACnB,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,YAAY,CAAC,UAAoC,EAAE,CAAC;YAC/E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;YAChD,IAAI,cAAwC,CAAC;YAC7C,MAAM,WAAW,GAA0E;gBACzF,iBAAiB,EAAE,QAAQ;gBAC3B,kBAAkB,EAAE,SAAS;aAC9B,CAAC;YACF,QAAQ,IAAI,EAAE,CAAC;gBACb,KAAK,sCAAwB,CAAC,MAAM;oBAClC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CAAC;wBAC1C,GAAG,WAAW;wBACd,GAAG,SAAS;wBACZ,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC;qBAC1C,CAAC,CAAC;oBACH,MAAM;gBACR,KAAK,sCAAwB,CAAC,UAAU;oBACtC,cAAc,GAAG,IAAI,CAAC,yBAAyB,CAAC;wBAC9C,GAAG,WAAW;wBACd,GAAG,SAAS;wBACZ,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC;qBAC1C,CAAC,CAAC;oBACH,MAAM;gBACR,KAAK,sCAAwB,CAAC,IAAI;oBAChC,cAAc,GAAG,IAAI,CAAC,mBAAmB,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;oBAC5E,MAAM;gBACR,KAAK,sCAAwB,CAAC,OAAO;oBACnC,cAAc,GAAG,IAAI,CAAC,sBAAsB,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;oBAC/E,MAAM;gBACR,KAAK,sCAAwB,CAAC,WAAW;oBACvC,cAAc,GAAG,IAAI,CAAC,0BAA0B,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;oBACnF,MAAM;gBACR,KAAK,sCAAwB,CAAC,MAAM;oBAClC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;oBAC9E,MAAM;gBACR,KAAK,sCAAwB,CAAC,UAAU;oBACtC,cAAc,GAAG,IAAI,CAAC,yBAAyB,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;oBAClF,MAAM;gBACR;oBACE,MAAM,IAAI,KAAK,CAAC,+BAA+B,IAAI,EAAE,CAAC,CAAC;YAC3D,CAAC;YAED,2FAA2F;YAC3F,uEAAuE;YACvE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,cAAc,CAAC,UAAW,EAAE,SAAS,CAAC,UAAW,CAAC,CAAC;QAC/E,CAAC;QAED,4FAA4F;QAC5F,sCAAsC;QACtC,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,CAAC;YAChC,IAAI,CAAC,0BAA0B,CAAC,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;YAC7D,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAChF,CAAC;QAED,gGAAgG;QAChG,iGAAiG;QACjG,mFAAmF;QACnF,IAAI,CAAC,YAAY,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;QACpD,KAAK,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;QAExC,+EAA+E;QAC/E,qCAAqC;QACrC,KAAK,MAAM,CAAC,sBAAsB,EAAE,SAAS,CAAC,IAAI,IAAI,CAAC,mCAAmC,EAAE,CAAC;YAC3F,MAAM,eAAe,GACnB,IAAI,CAAC,YAAY,CAAC,mCAAmC,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;YAEpF,yFAAyF;YACzF,IAAI,eAAe,EAAE,CAAC;gBACpB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;YACxD,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;OAGG;IACI,kBAAkB,CAAC,aAAwC,EAAE,IAA4B;QAC9F,oGAAoG;QACpG,MAAM,UAAU,GAA2B;YACzC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,UAAU;YACpC,WAAW,EAAE,IAAI,CAAC,MAAM;YACxB,kBAAkB,EAAE,IAAI,CAAC,aAAa;SACvC,CAAC;QACF,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAChD,yFAAyF;YACzF,qFAAqF;YACrF,IAAI,GAAG,KAAK,QAAQ,EAAE,CAAC;gBACrB,SAAS;YACX,CAAC;YACD,MAAM,SAAS,GAAuB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACrE,UAAU,CAAC,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,GAAG,CAAC,GAAG,KAAK,CAAC;QACvC,CAAC;QACD,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACO,KAAK,CAAC,SAAS;QACvB,MAAM,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC;IAC1C,CAAC;CACF;AA3ID,wDA2IC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport * as argparse from 'argparse';\n\nimport { CommandLineAction } from './CommandLineAction';\nimport {\n CommandLineParameterKind,\n type CommandLineParameterBase,\n type CommandLineParameter\n} from '../parameters/BaseClasses';\nimport type { ICommandLineParserData, IRegisterDefinedParametersState } from './CommandLineParameterProvider';\nimport type { ICommandLineParserOptions } from './CommandLineParser';\n\n/**\n * Options for the AliasCommandLineAction constructor.\n * @public\n */\nexport interface IAliasCommandLineActionOptions {\n /**\n * The name of your tool when invoked from the command line. Used for generating help text.\n */\n toolFilename: string;\n\n /**\n * The name of the alias. For example, if the tool is called \"example\",\n * then the \"build\" alias might be invoked as: \"example build -q --some-other-option\"\n */\n aliasName: string;\n\n /**\n * A list of default parameters to pass to the target action.\n */\n defaultParameters?: string[];\n\n /**\n * The action that this alias invokes.\n */\n targetAction: CommandLineAction;\n}\n\n/**\n * Represents a sub-command that is part of the CommandLineParser command line.\n * The sub-command is an alias for another existing action.\n *\n * The alias name should be comprised of lower case words separated by hyphens\n * or colons. The name should include an English verb (e.g. \"deploy\"). Use a\n * hyphen to separate words (e.g. \"upload-docs\").\n *\n * @public\n */\nexport class AliasCommandLineAction extends CommandLineAction {\n /**\n * The action that this alias invokes.\n */\n public readonly targetAction: CommandLineAction;\n\n /**\n * A list of default arguments to pass to the target action.\n */\n public readonly defaultParameters: ReadonlyArray<string>;\n\n private _parameterKeyMap: Map<string, string> = new Map();\n\n public constructor(options: IAliasCommandLineActionOptions) {\n const toolFilename: string = options.toolFilename;\n const targetActionName: string = options.targetAction.actionName;\n const defaultParametersString: string = (options.defaultParameters || []).join(' ');\n const summary: string = `An alias for \"${toolFilename} ${targetActionName}${\n defaultParametersString ? ` ${defaultParametersString}` : ''\n }\".`;\n\n super({\n actionName: options.aliasName,\n summary,\n documentation:\n `${summary} For more information on the aliased command, use ` +\n `\"${toolFilename} ${targetActionName} --help\".`\n });\n\n this.targetAction = options.targetAction;\n this.defaultParameters = options.defaultParameters || [];\n }\n\n /** @internal */\n public _registerDefinedParameters(state: IRegisterDefinedParametersState): void {\n /* override */\n // All parameters are going to be defined by the target action. Re-use the target action parameters\n // for this action.\n for (const parameter of this.targetAction.parameters as CommandLineParameter[]) {\n const { kind, longName, shortName } = parameter;\n let aliasParameter: CommandLineParameterBase;\n const nameOptions: { parameterLongName: string; parameterShortName: string | undefined } = {\n parameterLongName: longName,\n parameterShortName: shortName\n };\n switch (kind) {\n case CommandLineParameterKind.Choice:\n aliasParameter = this.defineChoiceParameter({\n ...nameOptions,\n ...parameter,\n alternatives: [...parameter.alternatives]\n });\n break;\n case CommandLineParameterKind.ChoiceList:\n aliasParameter = this.defineChoiceListParameter({\n ...nameOptions,\n ...parameter,\n alternatives: [...parameter.alternatives]\n });\n break;\n case CommandLineParameterKind.Flag:\n aliasParameter = this.defineFlagParameter({ ...nameOptions, ...parameter });\n break;\n case CommandLineParameterKind.Integer:\n aliasParameter = this.defineIntegerParameter({ ...nameOptions, ...parameter });\n break;\n case CommandLineParameterKind.IntegerList:\n aliasParameter = this.defineIntegerListParameter({ ...nameOptions, ...parameter });\n break;\n case CommandLineParameterKind.String:\n aliasParameter = this.defineStringParameter({ ...nameOptions, ...parameter });\n break;\n case CommandLineParameterKind.StringList:\n aliasParameter = this.defineStringListParameter({ ...nameOptions, ...parameter });\n break;\n default:\n throw new Error(`Unsupported parameter kind: ${kind}`);\n }\n\n // We know the parserKey is defined because the underlying _defineParameter method sets it,\n // and all parameters that we have access to have already been defined.\n this._parameterKeyMap.set(aliasParameter._parserKey!, parameter._parserKey!);\n }\n\n // We also need to register the remainder parameter if the target action has one. The parser\n // key for this parameter is constant.\n if (this.targetAction.remainder) {\n this.defineCommandLineRemainder(this.targetAction.remainder);\n this._parameterKeyMap.set(argparse.Const.REMAINDER, argparse.Const.REMAINDER);\n }\n\n // Finally, register the parameters with the parser. We need to make sure that the target action\n // is registered, since we need to re-use its parameters, and ambiguous parameters are discovered\n // during registration. This will no-op if the target action is already registered.\n this.targetAction._registerDefinedParameters(state);\n super._registerDefinedParameters(state);\n\n // We need to re-map the ambiguous parameters after they are defined by calling\n // super._registerDefinedParameters()\n for (const [ambiguousParameterName, parserKey] of this._ambiguousParameterParserKeysByName) {\n const targetParserKey: string | undefined =\n this.targetAction._ambiguousParameterParserKeysByName.get(ambiguousParameterName);\n\n // If we have a mapping for the specified key, then use it. Otherwise, use the key as-is.\n if (targetParserKey) {\n this._parameterKeyMap.set(parserKey, targetParserKey);\n }\n }\n }\n\n /**\n * {@inheritdoc CommandLineParameterProvider._processParsedData}\n * @internal\n */\n public _processParsedData(parserOptions: ICommandLineParserOptions, data: ICommandLineParserData): void {\n // Re-map the parsed data to the target action's parameters and execute the target action processor.\n const targetData: ICommandLineParserData = {\n action: this.targetAction.actionName,\n aliasAction: data.action,\n aliasDocumentation: this.documentation\n };\n for (const [key, value] of Object.entries(data)) {\n // If we have a mapping for the specified key, then use it. Otherwise, use the key as-is.\n // Skip over the action key though, since we've already re-mapped it to \"aliasAction\"\n if (key === 'action') {\n continue;\n }\n const targetKey: string | undefined = this._parameterKeyMap.get(key);\n targetData[targetKey ?? key] = value;\n }\n this.targetAction._processParsedData(parserOptions, targetData);\n }\n\n /**\n * Executes the target action.\n */\n protected async onExecute(): Promise<void> {\n await this.targetAction._executeAsync();\n }\n}\n"]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type * as argparse from 'argparse';
|
|
2
|
+
import { CommandLineParameterProvider } from './CommandLineParameterProvider';
|
|
3
|
+
/**
|
|
4
|
+
* Options for the CommandLineAction constructor.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ICommandLineActionOptions {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the action. For example, if the tool is called "example",
|
|
10
|
+
* then the "build" action might be invoked as: "example build -q --some-other-option"
|
|
11
|
+
*/
|
|
12
|
+
actionName: string;
|
|
13
|
+
/**
|
|
14
|
+
* A quick summary that is shown on the main help page, which is displayed
|
|
15
|
+
* by the command "example --help"
|
|
16
|
+
*/
|
|
17
|
+
summary: string;
|
|
18
|
+
/**
|
|
19
|
+
* A detailed description that is shown on the action help page, which is displayed
|
|
20
|
+
* by the command "example build --help", e.g. for actionName="build".
|
|
21
|
+
*/
|
|
22
|
+
documentation: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a sub-command that is part of the CommandLineParser command line.
|
|
26
|
+
* Applications should create subclasses of CommandLineAction corresponding to
|
|
27
|
+
* each action that they want to expose.
|
|
28
|
+
*
|
|
29
|
+
* The action name should be comprised of lower case words separated by hyphens
|
|
30
|
+
* or colons. The name should include an English verb (e.g. "deploy"). Use a
|
|
31
|
+
* hyphen to separate words (e.g. "upload-docs"). A group of related commands
|
|
32
|
+
* can be prefixed with a colon (e.g. "docs:generate", "docs:deploy",
|
|
33
|
+
* "docs:serve", etc).
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare abstract class CommandLineAction extends CommandLineParameterProvider {
|
|
38
|
+
/** {@inheritDoc ICommandLineActionOptions.actionName} */
|
|
39
|
+
readonly actionName: string;
|
|
40
|
+
/** {@inheritDoc ICommandLineActionOptions.summary} */
|
|
41
|
+
readonly summary: string;
|
|
42
|
+
/** {@inheritDoc ICommandLineActionOptions.documentation} */
|
|
43
|
+
readonly documentation: string;
|
|
44
|
+
private _argumentParser;
|
|
45
|
+
constructor(options: ICommandLineActionOptions);
|
|
46
|
+
/**
|
|
47
|
+
* This is called internally by CommandLineParser.addAction()
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
_buildParser(actionsSubParser: argparse.SubParser): void;
|
|
51
|
+
/**
|
|
52
|
+
* Invoked by CommandLineParser.onExecute().
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
_executeAsync(): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* {@inheritDoc CommandLineParameterProvider._getArgumentParser}
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
_getArgumentParser(): argparse.ArgumentParser;
|
|
61
|
+
/**
|
|
62
|
+
* Your subclass should implement this hook to perform the operation.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* In a future release, this function will be renamed to onExecuteAsync
|
|
66
|
+
*/
|
|
67
|
+
protected abstract onExecute(): Promise<void>;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=CommandLineAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandLineAction.d.ts","sourceRoot":"","sources":["../../src/providers/CommandLineAction.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,QAAQ,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAOD;;;;;;;;;;;;GAYG;AACH,8BAAsB,iBAAkB,SAAQ,4BAA4B;IAC1E,yDAAyD;IACzD,SAAgB,UAAU,EAAE,MAAM,CAAC;IAEnC,sDAAsD;IACtD,SAAgB,OAAO,EAAE,MAAM,CAAC;IAEhC,4DAA4D;IAC5D,SAAgB,aAAa,EAAE,MAAM,CAAC;IAEtC,OAAO,CAAC,eAAe,CAAsC;gBAE1C,OAAO,EAAE,yBAAyB;IAiBrD;;;OAGG;IACI,YAAY,CAAC,gBAAgB,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI;IAwB/D;;;OAGG;IACI,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrC;;;OAGG;IACI,kBAAkB,IAAI,QAAQ,CAAC,cAAc;IAUpD;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,CAAC,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;CAC9C"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
|
+
// See LICENSE in the project root for license information.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CommandLineAction = void 0;
|
|
6
|
+
const CommandLineParameterProvider_1 = require("./CommandLineParameterProvider");
|
|
7
|
+
const CommandLineParserExitError_1 = require("./CommandLineParserExitError");
|
|
8
|
+
/**
|
|
9
|
+
* Example: "do-something"
|
|
10
|
+
*/
|
|
11
|
+
const ACTION_NAME_REGEXP = /^[a-z][a-z0-9]*([-:][a-z0-9]+)*$/;
|
|
12
|
+
/**
|
|
13
|
+
* Represents a sub-command that is part of the CommandLineParser command line.
|
|
14
|
+
* Applications should create subclasses of CommandLineAction corresponding to
|
|
15
|
+
* each action that they want to expose.
|
|
16
|
+
*
|
|
17
|
+
* The action name should be comprised of lower case words separated by hyphens
|
|
18
|
+
* or colons. The name should include an English verb (e.g. "deploy"). Use a
|
|
19
|
+
* hyphen to separate words (e.g. "upload-docs"). A group of related commands
|
|
20
|
+
* can be prefixed with a colon (e.g. "docs:generate", "docs:deploy",
|
|
21
|
+
* "docs:serve", etc).
|
|
22
|
+
*
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
class CommandLineAction extends CommandLineParameterProvider_1.CommandLineParameterProvider {
|
|
26
|
+
constructor(options) {
|
|
27
|
+
super();
|
|
28
|
+
if (!ACTION_NAME_REGEXP.test(options.actionName)) {
|
|
29
|
+
throw new Error(`Invalid action name "${options.actionName}". ` +
|
|
30
|
+
`The name must be comprised of lower-case words optionally separated by hyphens or colons.`);
|
|
31
|
+
}
|
|
32
|
+
this.actionName = options.actionName;
|
|
33
|
+
this.summary = options.summary;
|
|
34
|
+
this.documentation = options.documentation;
|
|
35
|
+
this._argumentParser = undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* This is called internally by CommandLineParser.addAction()
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
_buildParser(actionsSubParser) {
|
|
42
|
+
var _a;
|
|
43
|
+
this._argumentParser = actionsSubParser.addParser(this.actionName, {
|
|
44
|
+
help: this.summary,
|
|
45
|
+
description: this.documentation
|
|
46
|
+
});
|
|
47
|
+
// Monkey-patch the error handling for the action parser
|
|
48
|
+
this._argumentParser.exit = (status, message) => {
|
|
49
|
+
throw new CommandLineParserExitError_1.CommandLineParserExitError(status, message);
|
|
50
|
+
};
|
|
51
|
+
const originalArgumentParserErrorFn = this._argumentParser.error.bind(this._argumentParser);
|
|
52
|
+
this._argumentParser.error = (err) => {
|
|
53
|
+
// Ensure the ParserExitError bubbles up to the top without any special processing
|
|
54
|
+
if (err instanceof CommandLineParserExitError_1.CommandLineParserExitError) {
|
|
55
|
+
throw err;
|
|
56
|
+
}
|
|
57
|
+
originalArgumentParserErrorFn(err);
|
|
58
|
+
};
|
|
59
|
+
(_a = this.onDefineParameters) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Invoked by CommandLineParser.onExecute().
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
_executeAsync() {
|
|
66
|
+
return this.onExecute();
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* {@inheritDoc CommandLineParameterProvider._getArgumentParser}
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
_getArgumentParser() {
|
|
73
|
+
// override
|
|
74
|
+
if (!this._argumentParser) {
|
|
75
|
+
// We will improve this in the future
|
|
76
|
+
throw new Error('The CommandLineAction must be added to a CommandLineParser before it can be used');
|
|
77
|
+
}
|
|
78
|
+
return this._argumentParser;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.CommandLineAction = CommandLineAction;
|
|
82
|
+
//# sourceMappingURL=CommandLineAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandLineAction.js","sourceRoot":"","sources":["../../src/providers/CommandLineAction.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAI3D,iFAA8E;AAC9E,6EAA0E;AA0B1E;;GAEG;AACH,MAAM,kBAAkB,GAAW,kCAAkC,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,MAAsB,iBAAkB,SAAQ,2DAA4B;IAY1E,YAAmB,OAAkC;QACnD,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;YACjD,MAAM,IAAI,KAAK,CACb,wBAAwB,OAAO,CAAC,UAAU,KAAK;gBAC7C,2FAA2F,CAC9F,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAE3C,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;IACnC,CAAC;IAED;;;OAGG;IACI,YAAY,CAAC,gBAAoC;;QACtD,IAAI,CAAC,eAAe,GAAG,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE;YACjE,IAAI,EAAE,IAAI,CAAC,OAAO;YAClB,WAAW,EAAE,IAAI,CAAC,aAAa;SAChC,CAAC,CAAC;QAEH,wDAAwD;QACxD,IAAI,CAAC,eAAe,CAAC,IAAI,GAAG,CAAC,MAAc,EAAE,OAAe,EAAE,EAAE;YAC9D,MAAM,IAAI,uDAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACxD,CAAC,CAAC;QACF,MAAM,6BAA6B,GAAkC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAClG,IAAI,CAAC,eAAe,CACrB,CAAC;QACF,IAAI,CAAC,eAAe,CAAC,KAAK,GAAG,CAAC,GAAmB,EAAE,EAAE;YACnD,kFAAkF;YAClF,IAAI,GAAG,YAAY,uDAA0B,EAAE,CAAC;gBAC9C,MAAM,GAAG,CAAC;YACZ,CAAC;YACD,6BAA6B,CAAC,GAAG,CAAC,CAAC;QACrC,CAAC,CAAC;QAEF,MAAA,IAAI,CAAC,kBAAkB,oDAAI,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;IAC1B,CAAC;IAED;;;OAGG;IACI,kBAAkB;QACvB,WAAW;QACX,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;YAC1B,qCAAqC;YACrC,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;QACtG,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;CASF;AAtFD,8CAsFC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport type * as argparse from 'argparse';\n\nimport { CommandLineParameterProvider } from './CommandLineParameterProvider';\nimport { CommandLineParserExitError } from './CommandLineParserExitError';\n\n/**\n * Options for the CommandLineAction constructor.\n * @public\n */\nexport interface ICommandLineActionOptions {\n /**\n * The name of the action. For example, if the tool is called \"example\",\n * then the \"build\" action might be invoked as: \"example build -q --some-other-option\"\n */\n actionName: string;\n\n /**\n * A quick summary that is shown on the main help page, which is displayed\n * by the command \"example --help\"\n */\n summary: string;\n\n /**\n * A detailed description that is shown on the action help page, which is displayed\n * by the command \"example build --help\", e.g. for actionName=\"build\".\n */\n documentation: string;\n}\n\n/**\n * Example: \"do-something\"\n */\nconst ACTION_NAME_REGEXP: RegExp = /^[a-z][a-z0-9]*([-:][a-z0-9]+)*$/;\n\n/**\n * Represents a sub-command that is part of the CommandLineParser command line.\n * Applications should create subclasses of CommandLineAction corresponding to\n * each action that they want to expose.\n *\n * The action name should be comprised of lower case words separated by hyphens\n * or colons. The name should include an English verb (e.g. \"deploy\"). Use a\n * hyphen to separate words (e.g. \"upload-docs\"). A group of related commands\n * can be prefixed with a colon (e.g. \"docs:generate\", \"docs:deploy\",\n * \"docs:serve\", etc).\n *\n * @public\n */\nexport abstract class CommandLineAction extends CommandLineParameterProvider {\n /** {@inheritDoc ICommandLineActionOptions.actionName} */\n public readonly actionName: string;\n\n /** {@inheritDoc ICommandLineActionOptions.summary} */\n public readonly summary: string;\n\n /** {@inheritDoc ICommandLineActionOptions.documentation} */\n public readonly documentation: string;\n\n private _argumentParser: argparse.ArgumentParser | undefined;\n\n public constructor(options: ICommandLineActionOptions) {\n super();\n\n if (!ACTION_NAME_REGEXP.test(options.actionName)) {\n throw new Error(\n `Invalid action name \"${options.actionName}\". ` +\n `The name must be comprised of lower-case words optionally separated by hyphens or colons.`\n );\n }\n\n this.actionName = options.actionName;\n this.summary = options.summary;\n this.documentation = options.documentation;\n\n this._argumentParser = undefined;\n }\n\n /**\n * This is called internally by CommandLineParser.addAction()\n * @internal\n */\n public _buildParser(actionsSubParser: argparse.SubParser): void {\n this._argumentParser = actionsSubParser.addParser(this.actionName, {\n help: this.summary,\n description: this.documentation\n });\n\n // Monkey-patch the error handling for the action parser\n this._argumentParser.exit = (status: number, message: string) => {\n throw new CommandLineParserExitError(status, message);\n };\n const originalArgumentParserErrorFn: (err: Error | string) => void = this._argumentParser.error.bind(\n this._argumentParser\n );\n this._argumentParser.error = (err: Error | string) => {\n // Ensure the ParserExitError bubbles up to the top without any special processing\n if (err instanceof CommandLineParserExitError) {\n throw err;\n }\n originalArgumentParserErrorFn(err);\n };\n\n this.onDefineParameters?.();\n }\n\n /**\n * Invoked by CommandLineParser.onExecute().\n * @internal\n */\n public _executeAsync(): Promise<void> {\n return this.onExecute();\n }\n\n /**\n * {@inheritDoc CommandLineParameterProvider._getArgumentParser}\n * @internal\n */\n public _getArgumentParser(): argparse.ArgumentParser {\n // override\n if (!this._argumentParser) {\n // We will improve this in the future\n throw new Error('The CommandLineAction must be added to a CommandLineParser before it can be used');\n }\n\n return this._argumentParser;\n }\n\n /**\n * Your subclass should implement this hook to perform the operation.\n *\n * @remarks\n * In a future release, this function will be renamed to onExecuteAsync\n */\n protected abstract onExecute(): Promise<void>;\n}\n"]}
|