shipscreens 0.1.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/LICENSE +22 -0
- package/README.md +27 -0
- package/bin/shipscreens.js +664 -0
- package/cli/assetRefs.js +33 -0
- package/cli/auth.js +454 -0
- package/cli/buildOutputs.js +146 -0
- package/cli/commands/auth.js +65 -0
- package/cli/commands/build.js +347 -0
- package/cli/commands/copyImport.js +263 -0
- package/cli/commands/exportFramefile.js +404 -0
- package/cli/commands/init.js +339 -0
- package/cli/commands/lock.js +144 -0
- package/cli/commands/plan.js +203 -0
- package/cli/commands/stage.js +318 -0
- package/cli/commands/validate.js +89 -0
- package/cli/commands/verify.js +659 -0
- package/cli/commands/wizard.js +266 -0
- package/cli/dataUrl.js +19 -0
- package/cli/fastlaneZip.js +115 -0
- package/cli/hash.js +13 -0
- package/cli/loadConfig.js +55 -0
- package/cli/outputPaths.js +24 -0
- package/cli/packageRoot.js +8 -0
- package/cli/pathUtils.js +25 -0
- package/cli/rendererServer.js +48 -0
- package/cli/repoRoot.js +23 -0
- package/cli/rootPolicy.js +17 -0
- package/cli/schema.js +290 -0
- package/cli/snapshotFromConfig.js +116 -0
- package/cli/staticServer.js +102 -0
- package/cli/templateConfig.js +51 -0
- package/cli/viteServer.js +40 -0
- package/dist/app/apple-touch-icon.png +0 -0
- package/dist/app/assets/AgentCli-8e28laT4.js +17 -0
- package/dist/app/assets/AgentCli-8e28laT4.js.map +1 -0
- package/dist/app/assets/App-DU0xew0e.js +13 -0
- package/dist/app/assets/App-DU0xew0e.js.map +1 -0
- package/dist/app/assets/AppReviewAso-OLwc4Rw_.js +4 -0
- package/dist/app/assets/AppReviewAso-OLwc4Rw_.js.map +1 -0
- package/dist/app/assets/Cancelled-BoeZQa1S.js +2 -0
- package/dist/app/assets/Cancelled-BoeZQa1S.js.map +1 -0
- package/dist/app/assets/CliPreflightCard-CxYyogdF.js +2 -0
- package/dist/app/assets/CliPreflightCard-CxYyogdF.js.map +1 -0
- package/dist/app/assets/CopyButton-CGfuSJtU.js +2 -0
- package/dist/app/assets/CopyButton-CGfuSJtU.js.map +1 -0
- package/dist/app/assets/FastlaneScreenshots-CFT6IiRb.js +52 -0
- package/dist/app/assets/FastlaneScreenshots-CFT6IiRb.js.map +1 -0
- package/dist/app/assets/FirstExport-B_UDacZm.js +6 -0
- package/dist/app/assets/FirstExport-B_UDacZm.js.map +1 -0
- package/dist/app/assets/FivePanelFramework-C1z_xUbe.js +60 -0
- package/dist/app/assets/FivePanelFramework-C1z_xUbe.js.map +1 -0
- package/dist/app/assets/ForgotPassword-ZQ8U3ejz.js +2 -0
- package/dist/app/assets/ForgotPassword-ZQ8U3ejz.js.map +1 -0
- package/dist/app/assets/Landing-DAIP71DD.js +2 -0
- package/dist/app/assets/Landing-DAIP71DD.js.map +1 -0
- package/dist/app/assets/LanguageSwitcher-D93nCuuR.js +2 -0
- package/dist/app/assets/LanguageSwitcher-D93nCuuR.js.map +1 -0
- package/dist/app/assets/Legal-Koe7vi6H.js +2 -0
- package/dist/app/assets/Legal-Koe7vi6H.js.map +1 -0
- package/dist/app/assets/NotFound-CfY31vMZ.js +2 -0
- package/dist/app/assets/NotFound-CfY31vMZ.js.map +1 -0
- package/dist/app/assets/Pricing-BQwtFVbj.js +2 -0
- package/dist/app/assets/Pricing-BQwtFVbj.js.map +1 -0
- package/dist/app/assets/Privacy-CaHf2UM7.js +2 -0
- package/dist/app/assets/Privacy-CaHf2UM7.js.map +1 -0
- package/dist/app/assets/SignIn-Cyi2_-Mn.js +2 -0
- package/dist/app/assets/SignIn-Cyi2_-Mn.js.map +1 -0
- package/dist/app/assets/SignUp-C9QH5po_.js +2 -0
- package/dist/app/assets/SignUp-C9QH5po_.js.map +1 -0
- package/dist/app/assets/SiteHeader-Dj3gDOnR.js +2 -0
- package/dist/app/assets/SiteHeader-Dj3gDOnR.js.map +1 -0
- package/dist/app/assets/StickyMobileCta-uyWGVhdc.js +2 -0
- package/dist/app/assets/StickyMobileCta-uyWGVhdc.js.map +1 -0
- package/dist/app/assets/StoreAssetsPipeline-BJlnD3kD.js +4 -0
- package/dist/app/assets/StoreAssetsPipeline-BJlnD3kD.js.map +1 -0
- package/dist/app/assets/Success-B7k7FvJj.js +2 -0
- package/dist/app/assets/Success-B7k7FvJj.js.map +1 -0
- package/dist/app/assets/Terms-DgJWOeUD.js +2 -0
- package/dist/app/assets/Terms-DgJWOeUD.js.map +1 -0
- package/dist/app/assets/ToolsIndex-xMPoFom9.js +6 -0
- package/dist/app/assets/ToolsIndex-xMPoFom9.js.map +1 -0
- package/dist/app/assets/WorkloadCalculator-Bdt6qPR3.js +5 -0
- package/dist/app/assets/WorkloadCalculator-Bdt6qPR3.js.map +1 -0
- package/dist/app/assets/calculator-CWfp5Day.js +2 -0
- package/dist/app/assets/calculator-CWfp5Day.js.map +1 -0
- package/dist/app/assets/check-BWCiUZ-C.js +2 -0
- package/dist/app/assets/check-BWCiUZ-C.js.map +1 -0
- package/dist/app/assets/chevron-down-DbSAem1L.js +2 -0
- package/dist/app/assets/chevron-down-DbSAem1L.js.map +1 -0
- package/dist/app/assets/circle-check-CeakjiXC.js +2 -0
- package/dist/app/assets/circle-check-CeakjiXC.js.map +1 -0
- package/dist/app/assets/clipboard-copy-DgTgnK84.js +2 -0
- package/dist/app/assets/clipboard-copy-DgTgnK84.js.map +1 -0
- package/dist/app/assets/copy-C9t_FzCZ.js +2 -0
- package/dist/app/assets/copy-C9t_FzCZ.js.map +1 -0
- package/dist/app/assets/crop-B7IxIx6D.js +2 -0
- package/dist/app/assets/crop-B7IxIx6D.js.map +1 -0
- package/dist/app/assets/download-65Zuvgwm.js +2 -0
- package/dist/app/assets/download-65Zuvgwm.js.map +1 -0
- package/dist/app/assets/eye-ouNo8Nv5.js +2 -0
- package/dist/app/assets/eye-ouNo8Nv5.js.map +1 -0
- package/dist/app/assets/grid-3x3-U1Nk_ppf.js +2 -0
- package/dist/app/assets/grid-3x3-U1Nk_ppf.js.map +1 -0
- package/dist/app/assets/hero/cli-build-tree-15s.mp4 +0 -0
- package/dist/app/assets/hero/cli-build-tree-15s.webm +0 -0
- package/dist/app/assets/hero/cli-build-tree-25s.mp4 +0 -0
- package/dist/app/assets/hero/cli-build-tree-25s.webm +0 -0
- package/dist/app/assets/hero/cli-build-tree-poster.png +0 -0
- package/dist/app/assets/hero/demo.gif +0 -0
- package/dist/app/assets/hero/demo.mp4 +0 -0
- package/dist/app/assets/hero/demo.webm +0 -0
- package/dist/app/assets/icons/apple-touch-icon.png +0 -0
- package/dist/app/assets/icons/device-base.png +0 -0
- package/dist/app/assets/icons/favicon-16x16.png +0 -0
- package/dist/app/assets/icons/favicon-32x32.png +0 -0
- package/dist/app/assets/icons/favicon.ico +0 -0
- package/dist/app/assets/icons/favicon.svg +1 -0
- package/dist/app/assets/index-B8Y8Y-Mi.js +180 -0
- package/dist/app/assets/index-B8Y8Y-Mi.js.map +1 -0
- package/dist/app/assets/index-hyiQFYGv.css +1 -0
- package/dist/app/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
- package/dist/app/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
- package/dist/app/assets/inter-cyrillic-600-normal-4D_pXhcN.woff +0 -0
- package/dist/app/assets/inter-cyrillic-600-normal-CWCymEST.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-700-normal-CjBOestx.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-700-normal-DrXBdSj3.woff +0 -0
- package/dist/app/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
- package/dist/app/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
- package/dist/app/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff +0 -0
- package/dist/app/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2 +0 -0
- package/dist/app/assets/inter-cyrillic-ext-700-normal-LO58E6JB.woff +0 -0
- package/dist/app/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
- package/dist/app/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
- package/dist/app/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
- package/dist/app/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
- package/dist/app/assets/inter-greek-600-normal-BZpKdvQh.woff +0 -0
- package/dist/app/assets/inter-greek-600-normal-plRanbMR.woff2 +0 -0
- package/dist/app/assets/inter-greek-700-normal-BUv2fZ6O.woff +0 -0
- package/dist/app/assets/inter-greek-700-normal-C3JjAnD8.woff2 +0 -0
- package/dist/app/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
- package/dist/app/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
- package/dist/app/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
- package/dist/app/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
- package/dist/app/assets/inter-greek-ext-600-normal-B8X0CLgF.woff +0 -0
- package/dist/app/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2 +0 -0
- package/dist/app/assets/inter-greek-ext-700-normal-BoQ6DsYi.woff +0 -0
- package/dist/app/assets/inter-greek-ext-700-normal-qfdV9bQt.woff2 +0 -0
- package/dist/app/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
- package/dist/app/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
- package/dist/app/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
- package/dist/app/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
- package/dist/app/assets/inter-latin-600-normal-CiBQ2DWP.woff +0 -0
- package/dist/app/assets/inter-latin-600-normal-LgqL8muc.woff2 +0 -0
- package/dist/app/assets/inter-latin-700-normal-BLAVimhd.woff +0 -0
- package/dist/app/assets/inter-latin-700-normal-Yt3aPRUw.woff2 +0 -0
- package/dist/app/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
- package/dist/app/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
- package/dist/app/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
- package/dist/app/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
- package/dist/app/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +0 -0
- package/dist/app/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +0 -0
- package/dist/app/assets/inter-latin-ext-700-normal-Ca8adRJv.woff2 +0 -0
- package/dist/app/assets/inter-latin-ext-700-normal-TidjK2hL.woff +0 -0
- package/dist/app/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
- package/dist/app/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
- package/dist/app/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
- package/dist/app/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
- package/dist/app/assets/inter-vietnamese-600-normal-BuLX-rYi.woff +0 -0
- package/dist/app/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 +0 -0
- package/dist/app/assets/inter-vietnamese-700-normal-BZaoP0fm.woff +0 -0
- package/dist/app/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2 +0 -0
- package/dist/app/assets/layout-grid-X9Sgull2.js +2 -0
- package/dist/app/assets/layout-grid-X9Sgull2.js.map +1 -0
- package/dist/app/assets/merriweather-cyrillic-400-normal-AvfsDsMQ.woff2 +0 -0
- package/dist/app/assets/merriweather-cyrillic-400-normal-DAcQ8g-H.woff +0 -0
- package/dist/app/assets/merriweather-cyrillic-700-normal-CHCcU-4a.woff +0 -0
- package/dist/app/assets/merriweather-cyrillic-700-normal-wbY04GlL.woff2 +0 -0
- package/dist/app/assets/merriweather-cyrillic-ext-400-normal-D9NYhYTq.woff2 +0 -0
- package/dist/app/assets/merriweather-cyrillic-ext-400-normal-Di6yW_eE.woff +0 -0
- package/dist/app/assets/merriweather-cyrillic-ext-700-normal-Bk1p9YoV.woff2 +0 -0
- package/dist/app/assets/merriweather-cyrillic-ext-700-normal-DoooT6Vg.woff +0 -0
- package/dist/app/assets/merriweather-latin-400-normal-CvqO63Ah.woff +0 -0
- package/dist/app/assets/merriweather-latin-400-normal-G4kZaoXi.woff2 +0 -0
- package/dist/app/assets/merriweather-latin-700-normal-D4-nzrAh.woff +0 -0
- package/dist/app/assets/merriweather-latin-700-normal-DoUP8Ce-.woff2 +0 -0
- package/dist/app/assets/merriweather-latin-ext-400-normal-CLqijLtt.woff +0 -0
- package/dist/app/assets/merriweather-latin-ext-400-normal-CWVzVQq3.woff2 +0 -0
- package/dist/app/assets/merriweather-latin-ext-700-normal-CaBzXGOk.woff +0 -0
- package/dist/app/assets/merriweather-latin-ext-700-normal-jHnxg2Kc.woff2 +0 -0
- package/dist/app/assets/merriweather-vietnamese-400-normal-Dh8WVvgZ.woff +0 -0
- package/dist/app/assets/merriweather-vietnamese-400-normal-hNacsVs_.woff2 +0 -0
- package/dist/app/assets/merriweather-vietnamese-700-normal-Bp6kWjW5.woff2 +0 -0
- package/dist/app/assets/merriweather-vietnamese-700-normal-C7_HxHBa.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-400-normal-BPq32Q8K.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-400-normal-jEs4Tk-Z.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-700-normal-BvLYcGP1.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-700-normal-D-Pqjtdp.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-400-normal-DRPPeomZ.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-400-normal-Xqov12YL.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-700-normal-D-Mk2xRJ.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-700-normal-MyDreaeu.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-400-normal-BLhwKU8k.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-400-normal-xItZbAXg.woff +0 -0
- package/dist/app/assets/montserrat-latin-700-normal-BWkrl476.woff +0 -0
- package/dist/app/assets/montserrat-latin-700-normal-BdjcYUrC.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-400-normal-B8bwfy6Y.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-400-normal-BffdBkAA.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-700-normal-BOP2Nhf0.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-700-normal-DdDFr05Z.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-400-normal-BeEscFYY.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-400-normal-D4oHqQTd.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-700-normal-C0x1De3p.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-700-normal-DnwGT2D9.woff +0 -0
- package/dist/app/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
- package/dist/app/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
- package/dist/app/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
- package/dist/app/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
- package/dist/app/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
- package/dist/app/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
- package/dist/app/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
- package/dist/app/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
- package/dist/app/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
- package/dist/app/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
- package/dist/app/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
- package/dist/app/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
- package/dist/app/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
- package/dist/app/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
- package/dist/app/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
- package/dist/app/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
- package/dist/app/assets/proof/output-01.png +0 -0
- package/dist/app/assets/proof/output-02.png +0 -0
- package/dist/app/assets/proof/output-03.png +0 -0
- package/dist/app/assets/proof/output-04.png +0 -0
- package/dist/app/assets/roboto-cyrillic-400-normal-DAIM1_dR.woff2 +0 -0
- package/dist/app/assets/roboto-cyrillic-400-normal-DZJji7Rx.woff +0 -0
- package/dist/app/assets/roboto-cyrillic-500-normal-BI4HuXre.woff +0 -0
- package/dist/app/assets/roboto-cyrillic-500-normal-hCeO1jFL.woff2 +0 -0
- package/dist/app/assets/roboto-cyrillic-700-normal-BiSG5NnW.woff2 +0 -0
- package/dist/app/assets/roboto-cyrillic-700-normal-KqaQ5bNp.woff +0 -0
- package/dist/app/assets/roboto-cyrillic-ext-400-normal-DtZHuW6i.woff +0 -0
- package/dist/app/assets/roboto-cyrillic-ext-400-normal-DzMWdK87.woff2 +0 -0
- package/dist/app/assets/roboto-cyrillic-ext-500-normal-B7rQpwPu.woff2 +0 -0
- package/dist/app/assets/roboto-cyrillic-ext-500-normal-C927yMrb.woff +0 -0
- package/dist/app/assets/roboto-cyrillic-ext-700-normal-BuQgZIrO.woff +0 -0
- package/dist/app/assets/roboto-cyrillic-ext-700-normal-UFn0vR9r.woff2 +0 -0
- package/dist/app/assets/roboto-greek-400-normal-CcizSnRP.woff +0 -0
- package/dist/app/assets/roboto-greek-400-normal-jFM2czAU.woff2 +0 -0
- package/dist/app/assets/roboto-greek-500-normal-BJMS0heP.woff2 +0 -0
- package/dist/app/assets/roboto-greek-500-normal-BLLWU9W-.woff +0 -0
- package/dist/app/assets/roboto-greek-700-normal-BcGn9doz.woff2 +0 -0
- package/dist/app/assets/roboto-greek-700-normal-D3kmAf0K.woff +0 -0
- package/dist/app/assets/roboto-latin-400-normal-068yxgMN.woff +0 -0
- package/dist/app/assets/roboto-latin-400-normal-CNwBRw8h.woff2 +0 -0
- package/dist/app/assets/roboto-latin-500-normal-CC5nhZkh.woff +0 -0
- package/dist/app/assets/roboto-latin-500-normal-CkrA1NAy.woff2 +0 -0
- package/dist/app/assets/roboto-latin-700-normal-CXeAXeti.woff2 +0 -0
- package/dist/app/assets/roboto-latin-700-normal-DUekQERp.woff +0 -0
- package/dist/app/assets/roboto-latin-ext-400-normal-ZYmyxeOy.woff2 +0 -0
- package/dist/app/assets/roboto-latin-ext-400-normal-eTRLN0Nt.woff +0 -0
- package/dist/app/assets/roboto-latin-ext-500-normal-C_ARlJGk.woff2 +0 -0
- package/dist/app/assets/roboto-latin-ext-500-normal-FFcS8vBN.woff +0 -0
- package/dist/app/assets/roboto-latin-ext-700-normal-70GS1MYH.woff2 +0 -0
- package/dist/app/assets/roboto-latin-ext-700-normal-BS1OuQqR.woff +0 -0
- package/dist/app/assets/roboto-math-400-normal-B3wgz80t.woff2 +0 -0
- package/dist/app/assets/roboto-math-400-normal-rzxYvyVt.woff +0 -0
- package/dist/app/assets/roboto-math-500-normal-CFNaIMFC.woff2 +0 -0
- package/dist/app/assets/roboto-math-500-normal-DaFX-ZC8.woff +0 -0
- package/dist/app/assets/roboto-math-700-normal-VUAI6Bz2.woff2 +0 -0
- package/dist/app/assets/roboto-math-700-normal-pYD1nhov.woff +0 -0
- package/dist/app/assets/roboto-symbols-400-normal-Tzuungub.woff +0 -0
- package/dist/app/assets/roboto-symbols-400-normal-fF1SLJBj.woff2 +0 -0
- package/dist/app/assets/roboto-symbols-500-normal-BXFTxrNR.woff2 +0 -0
- package/dist/app/assets/roboto-symbols-500-normal-CAhAe-ik.woff +0 -0
- package/dist/app/assets/roboto-symbols-700-normal-CuuvBBxy.woff +0 -0
- package/dist/app/assets/roboto-symbols-700-normal-rJi6RjIy.woff2 +0 -0
- package/dist/app/assets/roboto-vietnamese-400-normal-CDDxGrUb.woff2 +0 -0
- package/dist/app/assets/roboto-vietnamese-400-normal-DmXaN3yE.woff +0 -0
- package/dist/app/assets/roboto-vietnamese-500-normal-DW96CsrR.woff +0 -0
- package/dist/app/assets/roboto-vietnamese-500-normal-HYpufUYk.woff2 +0 -0
- package/dist/app/assets/roboto-vietnamese-700-normal-Dz0HwF-w.woff +0 -0
- package/dist/app/assets/roboto-vietnamese-700-normal-iKxYNAzq.woff2 +0 -0
- package/dist/app/assets/rocket-BjOXauLe.js +2 -0
- package/dist/app/assets/rocket-BjOXauLe.js.map +1 -0
- package/dist/app/assets/shield-check-CFNhE_aD.js +2 -0
- package/dist/app/assets/shield-check-CFNhE_aD.js.map +1 -0
- package/dist/app/assets/signIn-CVoSzqCz.js +2 -0
- package/dist/app/assets/signIn-CVoSzqCz.js.map +1 -0
- package/dist/app/assets/smartphone-BcQB9gIh.js +2 -0
- package/dist/app/assets/smartphone-BcQB9gIh.js.map +1 -0
- package/dist/app/assets/terminal-CGhryJds.js +2 -0
- package/dist/app/assets/terminal-CGhryJds.js.map +1 -0
- package/dist/app/assets/useAuth-lZZC20Tl.js +4 -0
- package/dist/app/assets/useAuth-lZZC20Tl.js.map +1 -0
- package/dist/app/favicon-16x16.png +0 -0
- package/dist/app/favicon-32x32.png +0 -0
- package/dist/app/favicon.ico +0 -0
- package/dist/app/favicon.svg +10 -0
- package/dist/app/index.html +43 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/assets/AgentCli-8e28laT4.js +17 -0
- package/dist/assets/AgentCli-8e28laT4.js.map +1 -0
- package/dist/assets/App-DU0xew0e.js +13 -0
- package/dist/assets/App-DU0xew0e.js.map +1 -0
- package/dist/assets/AppReviewAso-OLwc4Rw_.js +4 -0
- package/dist/assets/AppReviewAso-OLwc4Rw_.js.map +1 -0
- package/dist/assets/Cancelled-BoeZQa1S.js +2 -0
- package/dist/assets/Cancelled-BoeZQa1S.js.map +1 -0
- package/dist/assets/CliPreflightCard-CxYyogdF.js +2 -0
- package/dist/assets/CliPreflightCard-CxYyogdF.js.map +1 -0
- package/dist/assets/CopyButton-CGfuSJtU.js +2 -0
- package/dist/assets/CopyButton-CGfuSJtU.js.map +1 -0
- package/dist/assets/FastlaneScreenshots-CFT6IiRb.js +52 -0
- package/dist/assets/FastlaneScreenshots-CFT6IiRb.js.map +1 -0
- package/dist/assets/FirstExport-B_UDacZm.js +6 -0
- package/dist/assets/FirstExport-B_UDacZm.js.map +1 -0
- package/dist/assets/FivePanelFramework-C1z_xUbe.js +60 -0
- package/dist/assets/FivePanelFramework-C1z_xUbe.js.map +1 -0
- package/dist/assets/ForgotPassword-ZQ8U3ejz.js +2 -0
- package/dist/assets/ForgotPassword-ZQ8U3ejz.js.map +1 -0
- package/dist/assets/Landing-DAIP71DD.js +2 -0
- package/dist/assets/Landing-DAIP71DD.js.map +1 -0
- package/dist/assets/LanguageSwitcher-D93nCuuR.js +2 -0
- package/dist/assets/LanguageSwitcher-D93nCuuR.js.map +1 -0
- package/dist/assets/Legal-Koe7vi6H.js +2 -0
- package/dist/assets/Legal-Koe7vi6H.js.map +1 -0
- package/dist/assets/NotFound-CfY31vMZ.js +2 -0
- package/dist/assets/NotFound-CfY31vMZ.js.map +1 -0
- package/dist/assets/Pricing-BQwtFVbj.js +2 -0
- package/dist/assets/Pricing-BQwtFVbj.js.map +1 -0
- package/dist/assets/Privacy-CaHf2UM7.js +2 -0
- package/dist/assets/Privacy-CaHf2UM7.js.map +1 -0
- package/dist/assets/SignIn-Cyi2_-Mn.js +2 -0
- package/dist/assets/SignIn-Cyi2_-Mn.js.map +1 -0
- package/dist/assets/SignUp-C9QH5po_.js +2 -0
- package/dist/assets/SignUp-C9QH5po_.js.map +1 -0
- package/dist/assets/SiteHeader-Dj3gDOnR.js +2 -0
- package/dist/assets/SiteHeader-Dj3gDOnR.js.map +1 -0
- package/dist/assets/StickyMobileCta-uyWGVhdc.js +2 -0
- package/dist/assets/StickyMobileCta-uyWGVhdc.js.map +1 -0
- package/dist/assets/StoreAssetsPipeline-BJlnD3kD.js +4 -0
- package/dist/assets/StoreAssetsPipeline-BJlnD3kD.js.map +1 -0
- package/dist/assets/Success-B7k7FvJj.js +2 -0
- package/dist/assets/Success-B7k7FvJj.js.map +1 -0
- package/dist/assets/Terms-DgJWOeUD.js +2 -0
- package/dist/assets/Terms-DgJWOeUD.js.map +1 -0
- package/dist/assets/ToolsIndex-xMPoFom9.js +6 -0
- package/dist/assets/ToolsIndex-xMPoFom9.js.map +1 -0
- package/dist/assets/WorkloadCalculator-Bdt6qPR3.js +5 -0
- package/dist/assets/WorkloadCalculator-Bdt6qPR3.js.map +1 -0
- package/dist/assets/calculator-CWfp5Day.js +2 -0
- package/dist/assets/calculator-CWfp5Day.js.map +1 -0
- package/dist/assets/check-BWCiUZ-C.js +2 -0
- package/dist/assets/check-BWCiUZ-C.js.map +1 -0
- package/dist/assets/chevron-down-DbSAem1L.js +2 -0
- package/dist/assets/chevron-down-DbSAem1L.js.map +1 -0
- package/dist/assets/circle-check-CeakjiXC.js +2 -0
- package/dist/assets/circle-check-CeakjiXC.js.map +1 -0
- package/dist/assets/clipboard-copy-DgTgnK84.js +2 -0
- package/dist/assets/clipboard-copy-DgTgnK84.js.map +1 -0
- package/dist/assets/copy-C9t_FzCZ.js +2 -0
- package/dist/assets/copy-C9t_FzCZ.js.map +1 -0
- package/dist/assets/crop-B7IxIx6D.js +2 -0
- package/dist/assets/crop-B7IxIx6D.js.map +1 -0
- package/dist/assets/download-65Zuvgwm.js +2 -0
- package/dist/assets/download-65Zuvgwm.js.map +1 -0
- package/dist/assets/eye-ouNo8Nv5.js +2 -0
- package/dist/assets/eye-ouNo8Nv5.js.map +1 -0
- package/dist/assets/grid-3x3-U1Nk_ppf.js +2 -0
- package/dist/assets/grid-3x3-U1Nk_ppf.js.map +1 -0
- package/dist/assets/hero/cli-build-tree-15s.mp4 +0 -0
- package/dist/assets/hero/cli-build-tree-15s.webm +0 -0
- package/dist/assets/hero/cli-build-tree-25s.mp4 +0 -0
- package/dist/assets/hero/cli-build-tree-25s.webm +0 -0
- package/dist/assets/hero/cli-build-tree-poster.png +0 -0
- package/dist/assets/hero/demo.gif +0 -0
- package/dist/assets/hero/demo.mp4 +0 -0
- package/dist/assets/hero/demo.webm +0 -0
- package/dist/assets/icons/apple-touch-icon.png +0 -0
- package/dist/assets/icons/device-base.png +0 -0
- package/dist/assets/icons/favicon-16x16.png +0 -0
- package/dist/assets/icons/favicon-32x32.png +0 -0
- package/dist/assets/icons/favicon.ico +0 -0
- package/dist/assets/icons/favicon.svg +1 -0
- package/dist/assets/index-B8Y8Y-Mi.js +180 -0
- package/dist/assets/index-B8Y8Y-Mi.js.map +1 -0
- package/dist/assets/index-hyiQFYGv.css +1 -0
- package/dist/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
- package/dist/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
- package/dist/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
- package/dist/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
- package/dist/assets/inter-cyrillic-600-normal-4D_pXhcN.woff +0 -0
- package/dist/assets/inter-cyrillic-600-normal-CWCymEST.woff2 +0 -0
- package/dist/assets/inter-cyrillic-700-normal-CjBOestx.woff2 +0 -0
- package/dist/assets/inter-cyrillic-700-normal-DrXBdSj3.woff +0 -0
- package/dist/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
- package/dist/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
- package/dist/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
- package/dist/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
- package/dist/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff +0 -0
- package/dist/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2 +0 -0
- package/dist/assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2 +0 -0
- package/dist/assets/inter-cyrillic-ext-700-normal-LO58E6JB.woff +0 -0
- package/dist/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
- package/dist/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
- package/dist/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
- package/dist/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
- package/dist/assets/inter-greek-600-normal-BZpKdvQh.woff +0 -0
- package/dist/assets/inter-greek-600-normal-plRanbMR.woff2 +0 -0
- package/dist/assets/inter-greek-700-normal-BUv2fZ6O.woff +0 -0
- package/dist/assets/inter-greek-700-normal-C3JjAnD8.woff2 +0 -0
- package/dist/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
- package/dist/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
- package/dist/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
- package/dist/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
- package/dist/assets/inter-greek-ext-600-normal-B8X0CLgF.woff +0 -0
- package/dist/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2 +0 -0
- package/dist/assets/inter-greek-ext-700-normal-BoQ6DsYi.woff +0 -0
- package/dist/assets/inter-greek-ext-700-normal-qfdV9bQt.woff2 +0 -0
- package/dist/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
- package/dist/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
- package/dist/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
- package/dist/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
- package/dist/assets/inter-latin-600-normal-CiBQ2DWP.woff +0 -0
- package/dist/assets/inter-latin-600-normal-LgqL8muc.woff2 +0 -0
- package/dist/assets/inter-latin-700-normal-BLAVimhd.woff +0 -0
- package/dist/assets/inter-latin-700-normal-Yt3aPRUw.woff2 +0 -0
- package/dist/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
- package/dist/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
- package/dist/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
- package/dist/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
- package/dist/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +0 -0
- package/dist/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +0 -0
- package/dist/assets/inter-latin-ext-700-normal-Ca8adRJv.woff2 +0 -0
- package/dist/assets/inter-latin-ext-700-normal-TidjK2hL.woff +0 -0
- package/dist/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
- package/dist/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
- package/dist/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
- package/dist/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
- package/dist/assets/inter-vietnamese-600-normal-BuLX-rYi.woff +0 -0
- package/dist/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 +0 -0
- package/dist/assets/inter-vietnamese-700-normal-BZaoP0fm.woff +0 -0
- package/dist/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2 +0 -0
- package/dist/assets/layout-grid-X9Sgull2.js +2 -0
- package/dist/assets/layout-grid-X9Sgull2.js.map +1 -0
- package/dist/assets/merriweather-cyrillic-400-normal-AvfsDsMQ.woff2 +0 -0
- package/dist/assets/merriweather-cyrillic-400-normal-DAcQ8g-H.woff +0 -0
- package/dist/assets/merriweather-cyrillic-700-normal-CHCcU-4a.woff +0 -0
- package/dist/assets/merriweather-cyrillic-700-normal-wbY04GlL.woff2 +0 -0
- package/dist/assets/merriweather-cyrillic-ext-400-normal-D9NYhYTq.woff2 +0 -0
- package/dist/assets/merriweather-cyrillic-ext-400-normal-Di6yW_eE.woff +0 -0
- package/dist/assets/merriweather-cyrillic-ext-700-normal-Bk1p9YoV.woff2 +0 -0
- package/dist/assets/merriweather-cyrillic-ext-700-normal-DoooT6Vg.woff +0 -0
- package/dist/assets/merriweather-latin-400-normal-CvqO63Ah.woff +0 -0
- package/dist/assets/merriweather-latin-400-normal-G4kZaoXi.woff2 +0 -0
- package/dist/assets/merriweather-latin-700-normal-D4-nzrAh.woff +0 -0
- package/dist/assets/merriweather-latin-700-normal-DoUP8Ce-.woff2 +0 -0
- package/dist/assets/merriweather-latin-ext-400-normal-CLqijLtt.woff +0 -0
- package/dist/assets/merriweather-latin-ext-400-normal-CWVzVQq3.woff2 +0 -0
- package/dist/assets/merriweather-latin-ext-700-normal-CaBzXGOk.woff +0 -0
- package/dist/assets/merriweather-latin-ext-700-normal-jHnxg2Kc.woff2 +0 -0
- package/dist/assets/merriweather-vietnamese-400-normal-Dh8WVvgZ.woff +0 -0
- package/dist/assets/merriweather-vietnamese-400-normal-hNacsVs_.woff2 +0 -0
- package/dist/assets/merriweather-vietnamese-700-normal-Bp6kWjW5.woff2 +0 -0
- package/dist/assets/merriweather-vietnamese-700-normal-C7_HxHBa.woff +0 -0
- package/dist/assets/montserrat-cyrillic-400-normal-BPq32Q8K.woff2 +0 -0
- package/dist/assets/montserrat-cyrillic-400-normal-jEs4Tk-Z.woff +0 -0
- package/dist/assets/montserrat-cyrillic-700-normal-BvLYcGP1.woff +0 -0
- package/dist/assets/montserrat-cyrillic-700-normal-D-Pqjtdp.woff2 +0 -0
- package/dist/assets/montserrat-cyrillic-ext-400-normal-DRPPeomZ.woff +0 -0
- package/dist/assets/montserrat-cyrillic-ext-400-normal-Xqov12YL.woff2 +0 -0
- package/dist/assets/montserrat-cyrillic-ext-700-normal-D-Mk2xRJ.woff +0 -0
- package/dist/assets/montserrat-cyrillic-ext-700-normal-MyDreaeu.woff2 +0 -0
- package/dist/assets/montserrat-latin-400-normal-BLhwKU8k.woff2 +0 -0
- package/dist/assets/montserrat-latin-400-normal-xItZbAXg.woff +0 -0
- package/dist/assets/montserrat-latin-700-normal-BWkrl476.woff +0 -0
- package/dist/assets/montserrat-latin-700-normal-BdjcYUrC.woff2 +0 -0
- package/dist/assets/montserrat-latin-ext-400-normal-B8bwfy6Y.woff2 +0 -0
- package/dist/assets/montserrat-latin-ext-400-normal-BffdBkAA.woff +0 -0
- package/dist/assets/montserrat-latin-ext-700-normal-BOP2Nhf0.woff2 +0 -0
- package/dist/assets/montserrat-latin-ext-700-normal-DdDFr05Z.woff +0 -0
- package/dist/assets/montserrat-vietnamese-400-normal-BeEscFYY.woff +0 -0
- package/dist/assets/montserrat-vietnamese-400-normal-D4oHqQTd.woff2 +0 -0
- package/dist/assets/montserrat-vietnamese-700-normal-C0x1De3p.woff2 +0 -0
- package/dist/assets/montserrat-vietnamese-700-normal-DnwGT2D9.woff +0 -0
- package/dist/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
- package/dist/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
- package/dist/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
- package/dist/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
- package/dist/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
- package/dist/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
- package/dist/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
- package/dist/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
- package/dist/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
- package/dist/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
- package/dist/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
- package/dist/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
- package/dist/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
- package/dist/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
- package/dist/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
- package/dist/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
- package/dist/assets/proof/output-01.png +0 -0
- package/dist/assets/proof/output-02.png +0 -0
- package/dist/assets/proof/output-03.png +0 -0
- package/dist/assets/proof/output-04.png +0 -0
- package/dist/assets/roboto-cyrillic-400-normal-DAIM1_dR.woff2 +0 -0
- package/dist/assets/roboto-cyrillic-400-normal-DZJji7Rx.woff +0 -0
- package/dist/assets/roboto-cyrillic-500-normal-BI4HuXre.woff +0 -0
- package/dist/assets/roboto-cyrillic-500-normal-hCeO1jFL.woff2 +0 -0
- package/dist/assets/roboto-cyrillic-700-normal-BiSG5NnW.woff2 +0 -0
- package/dist/assets/roboto-cyrillic-700-normal-KqaQ5bNp.woff +0 -0
- package/dist/assets/roboto-cyrillic-ext-400-normal-DtZHuW6i.woff +0 -0
- package/dist/assets/roboto-cyrillic-ext-400-normal-DzMWdK87.woff2 +0 -0
- package/dist/assets/roboto-cyrillic-ext-500-normal-B7rQpwPu.woff2 +0 -0
- package/dist/assets/roboto-cyrillic-ext-500-normal-C927yMrb.woff +0 -0
- package/dist/assets/roboto-cyrillic-ext-700-normal-BuQgZIrO.woff +0 -0
- package/dist/assets/roboto-cyrillic-ext-700-normal-UFn0vR9r.woff2 +0 -0
- package/dist/assets/roboto-greek-400-normal-CcizSnRP.woff +0 -0
- package/dist/assets/roboto-greek-400-normal-jFM2czAU.woff2 +0 -0
- package/dist/assets/roboto-greek-500-normal-BJMS0heP.woff2 +0 -0
- package/dist/assets/roboto-greek-500-normal-BLLWU9W-.woff +0 -0
- package/dist/assets/roboto-greek-700-normal-BcGn9doz.woff2 +0 -0
- package/dist/assets/roboto-greek-700-normal-D3kmAf0K.woff +0 -0
- package/dist/assets/roboto-latin-400-normal-068yxgMN.woff +0 -0
- package/dist/assets/roboto-latin-400-normal-CNwBRw8h.woff2 +0 -0
- package/dist/assets/roboto-latin-500-normal-CC5nhZkh.woff +0 -0
- package/dist/assets/roboto-latin-500-normal-CkrA1NAy.woff2 +0 -0
- package/dist/assets/roboto-latin-700-normal-CXeAXeti.woff2 +0 -0
- package/dist/assets/roboto-latin-700-normal-DUekQERp.woff +0 -0
- package/dist/assets/roboto-latin-ext-400-normal-ZYmyxeOy.woff2 +0 -0
- package/dist/assets/roboto-latin-ext-400-normal-eTRLN0Nt.woff +0 -0
- package/dist/assets/roboto-latin-ext-500-normal-C_ARlJGk.woff2 +0 -0
- package/dist/assets/roboto-latin-ext-500-normal-FFcS8vBN.woff +0 -0
- package/dist/assets/roboto-latin-ext-700-normal-70GS1MYH.woff2 +0 -0
- package/dist/assets/roboto-latin-ext-700-normal-BS1OuQqR.woff +0 -0
- package/dist/assets/roboto-math-400-normal-B3wgz80t.woff2 +0 -0
- package/dist/assets/roboto-math-400-normal-rzxYvyVt.woff +0 -0
- package/dist/assets/roboto-math-500-normal-CFNaIMFC.woff2 +0 -0
- package/dist/assets/roboto-math-500-normal-DaFX-ZC8.woff +0 -0
- package/dist/assets/roboto-math-700-normal-VUAI6Bz2.woff2 +0 -0
- package/dist/assets/roboto-math-700-normal-pYD1nhov.woff +0 -0
- package/dist/assets/roboto-symbols-400-normal-Tzuungub.woff +0 -0
- package/dist/assets/roboto-symbols-400-normal-fF1SLJBj.woff2 +0 -0
- package/dist/assets/roboto-symbols-500-normal-BXFTxrNR.woff2 +0 -0
- package/dist/assets/roboto-symbols-500-normal-CAhAe-ik.woff +0 -0
- package/dist/assets/roboto-symbols-700-normal-CuuvBBxy.woff +0 -0
- package/dist/assets/roboto-symbols-700-normal-rJi6RjIy.woff2 +0 -0
- package/dist/assets/roboto-vietnamese-400-normal-CDDxGrUb.woff2 +0 -0
- package/dist/assets/roboto-vietnamese-400-normal-DmXaN3yE.woff +0 -0
- package/dist/assets/roboto-vietnamese-500-normal-DW96CsrR.woff +0 -0
- package/dist/assets/roboto-vietnamese-500-normal-HYpufUYk.woff2 +0 -0
- package/dist/assets/roboto-vietnamese-700-normal-Dz0HwF-w.woff +0 -0
- package/dist/assets/roboto-vietnamese-700-normal-iKxYNAzq.woff2 +0 -0
- package/dist/assets/rocket-BjOXauLe.js +2 -0
- package/dist/assets/rocket-BjOXauLe.js.map +1 -0
- package/dist/assets/shield-check-CFNhE_aD.js +2 -0
- package/dist/assets/shield-check-CFNhE_aD.js.map +1 -0
- package/dist/assets/signIn-CVoSzqCz.js +2 -0
- package/dist/assets/signIn-CVoSzqCz.js.map +1 -0
- package/dist/assets/smartphone-BcQB9gIh.js +2 -0
- package/dist/assets/smartphone-BcQB9gIh.js.map +1 -0
- package/dist/assets/terminal-CGhryJds.js +2 -0
- package/dist/assets/terminal-CGhryJds.js.map +1 -0
- package/dist/assets/useAuth-lZZC20Tl.js +4 -0
- package/dist/assets/useAuth-lZZC20Tl.js.map +1 -0
- package/dist/cancelled/index.html +34 -0
- package/dist/downloads/shipscreens-agent-cli-config.yml +48 -0
- package/dist/downloads/shipscreens-agent-cli-copy.csv +2 -0
- package/dist/favicon-16x16.png +0 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +10 -0
- package/dist/forgot-password/index.html +34 -0
- package/dist/index.html +42 -0
- package/dist/legal/index.html +33 -0
- package/dist/og-image.png +0 -0
- package/dist/pricing/index.html +33 -0
- package/dist/privacy/index.html +33 -0
- package/dist/robots.txt +11 -0
- package/dist/signin/index.html +34 -0
- package/dist/signup/index.html +34 -0
- package/dist/sitemap.xml +51 -0
- package/dist/success/index.html +34 -0
- package/dist/templates/clean_blue.png +0 -0
- package/dist/templates/minimal_dark.png +0 -0
- package/dist/templates/split_modern.png +0 -0
- package/dist/templates/vibrant_gradient.png +0 -0
- package/dist/terms/index.html +33 -0
- package/dist/tools/5-panel-screenshot-framework/index.html +33 -0
- package/dist/tools/agent-cli/index.html +33 -0
- package/dist/tools/app-review-aso/index.html +33 -0
- package/dist/tools/fastlane-screenshots/index.html +33 -0
- package/dist/tools/first-export/index.html +33 -0
- package/dist/tools/index.html +33 -0
- package/dist/tools/screenshot-workload-calculator/index.html +33 -0
- package/dist/tools/store-assets-pipeline/index.html +33 -0
- package/package.json +36 -0
- package/src/constants/devices.js +122 -0
- package/templates/agent/agent-prompt.txt +21 -0
- package/templates/agent/copy.csv +2 -0
- package/templates/agent/shipscreens.config.yml +48 -0
package/cli/auth.js
ADDED
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
import fs from 'node:fs/promises';
|
|
2
|
+
import os from 'node:os';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import crypto from 'node:crypto';
|
|
5
|
+
import http from 'node:http';
|
|
6
|
+
import { spawn } from 'node:child_process';
|
|
7
|
+
|
|
8
|
+
const DEFAULT_API_BASE = process.env.SHIPSCREENS_API_ENDPOINT || 'https://api.shipscreens.com';
|
|
9
|
+
const DEFAULT_CLIENT_ID = process.env.SHIPSCREENS_CLIENT_ID || '5artdh0ut5agvmc1oa8kpbm02s';
|
|
10
|
+
const DEFAULT_DOMAIN =
|
|
11
|
+
process.env.SHIPSCREENS_COGNITO_DOMAIN ||
|
|
12
|
+
process.env.VITE_COGNITO_DOMAIN ||
|
|
13
|
+
'auth.shipscreens.com';
|
|
14
|
+
const DEFAULT_SCOPES = ['openid', 'email', 'profile'];
|
|
15
|
+
const TOKEN_SKEW_MS = 60 * 1000;
|
|
16
|
+
|
|
17
|
+
const authDir = () => path.join(os.homedir(), '.shipscreens');
|
|
18
|
+
const authFile = () => path.join(authDir(), 'auth.json');
|
|
19
|
+
const authPendingFile = () => path.join(authDir(), 'auth-pending.json');
|
|
20
|
+
|
|
21
|
+
const normalizeDomain = (input) => {
|
|
22
|
+
if (!input) return '';
|
|
23
|
+
const trimmed = String(input).trim().replace(/\/+$/, '');
|
|
24
|
+
if (!trimmed) return '';
|
|
25
|
+
if (trimmed.startsWith('http://') || trimmed.startsWith('https://')) {
|
|
26
|
+
try {
|
|
27
|
+
return new URL(trimmed).host;
|
|
28
|
+
} catch {
|
|
29
|
+
return trimmed.replace(/^https?:\/\//, '');
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return trimmed;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const base64Url = (input) =>
|
|
36
|
+
Buffer.from(input)
|
|
37
|
+
.toString('base64')
|
|
38
|
+
.replace(/=/g, '')
|
|
39
|
+
.replace(/\+/g, '-')
|
|
40
|
+
.replace(/\//g, '_');
|
|
41
|
+
|
|
42
|
+
const openBrowser = (url) => {
|
|
43
|
+
const platform = process.platform;
|
|
44
|
+
const command =
|
|
45
|
+
platform === 'win32'
|
|
46
|
+
? ['cmd', ['/c', 'start', '', url]]
|
|
47
|
+
: platform === 'darwin'
|
|
48
|
+
? ['open', [url]]
|
|
49
|
+
: ['xdg-open', [url]];
|
|
50
|
+
const [bin, args] = command;
|
|
51
|
+
const child = spawn(bin, args, { detached: true, stdio: 'ignore' });
|
|
52
|
+
child.unref();
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
async function readAuth() {
|
|
56
|
+
try {
|
|
57
|
+
const raw = await fs.readFile(authFile(), 'utf8');
|
|
58
|
+
return JSON.parse(raw);
|
|
59
|
+
} catch {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
async function writeAuth(payload) {
|
|
65
|
+
await fs.mkdir(authDir(), { recursive: true });
|
|
66
|
+
await fs.writeFile(authFile(), JSON.stringify(payload, null, 2), 'utf8');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
async function writePendingAuth(payload) {
|
|
70
|
+
await fs.mkdir(authDir(), { recursive: true });
|
|
71
|
+
await fs.writeFile(authPendingFile(), JSON.stringify(payload, null, 2), 'utf8');
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
async function readPendingAuth() {
|
|
75
|
+
try {
|
|
76
|
+
const raw = await fs.readFile(authPendingFile(), 'utf8');
|
|
77
|
+
return JSON.parse(raw);
|
|
78
|
+
} catch {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
async function clearPendingAuth() {
|
|
84
|
+
try {
|
|
85
|
+
await fs.unlink(authPendingFile());
|
|
86
|
+
} catch {
|
|
87
|
+
// ignore
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export async function clearAuth() {
|
|
92
|
+
try {
|
|
93
|
+
await fs.unlink(authFile());
|
|
94
|
+
} catch {
|
|
95
|
+
// ignore
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function createPkcePair() {
|
|
100
|
+
const codeVerifier = base64Url(crypto.randomBytes(32));
|
|
101
|
+
const codeChallenge = base64Url(crypto.createHash('sha256').update(codeVerifier).digest());
|
|
102
|
+
return { codeVerifier, codeChallenge };
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function buildAuthorizeUrl({ domain, clientId, redirectUri, scopes, state, codeChallenge }) {
|
|
106
|
+
const host = normalizeDomain(domain);
|
|
107
|
+
const params = new URLSearchParams({
|
|
108
|
+
response_type: 'code',
|
|
109
|
+
client_id: clientId,
|
|
110
|
+
redirect_uri: redirectUri,
|
|
111
|
+
scope: scopes.join(' '),
|
|
112
|
+
state,
|
|
113
|
+
code_challenge: codeChallenge,
|
|
114
|
+
code_challenge_method: 'S256',
|
|
115
|
+
});
|
|
116
|
+
return `https://${host}/oauth2/authorize?${params.toString()}`;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async function waitForAuthCode({ port, state, timeoutMs }) {
|
|
120
|
+
return new Promise((resolve, reject) => {
|
|
121
|
+
const timeout = setTimeout(() => {
|
|
122
|
+
reject(new Error('Timed out waiting for OAuth callback. Please try again.'));
|
|
123
|
+
}, timeoutMs);
|
|
124
|
+
|
|
125
|
+
const server = http.createServer((req, res) => {
|
|
126
|
+
const url = new URL(req.url || '/', `http://127.0.0.1:${port}`);
|
|
127
|
+
if (url.pathname !== '/callback') {
|
|
128
|
+
res.writeHead(404);
|
|
129
|
+
res.end('Not Found');
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
const code = url.searchParams.get('code');
|
|
133
|
+
const returnedState = url.searchParams.get('state');
|
|
134
|
+
const error = url.searchParams.get('error');
|
|
135
|
+
res.writeHead(200, { 'Content-Type': 'text/html' });
|
|
136
|
+
res.end('<html><body><h3>ShipScreens CLI</h3><p>Login completed. You can close this window.</p></body></html>');
|
|
137
|
+
|
|
138
|
+
clearTimeout(timeout);
|
|
139
|
+
server.close();
|
|
140
|
+
|
|
141
|
+
if (error) {
|
|
142
|
+
reject(new Error(`OAuth error: ${error}`));
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
if (!code || returnedState !== state) {
|
|
146
|
+
reject(new Error('OAuth callback did not include a valid code.'));
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
resolve(code);
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
server.on('error', (err) => {
|
|
153
|
+
clearTimeout(timeout);
|
|
154
|
+
reject(err);
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
server.listen(port, '127.0.0.1');
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
async function exchangeCodeForToken({ domain, clientId, code, redirectUri, codeVerifier }) {
|
|
162
|
+
const host = normalizeDomain(domain);
|
|
163
|
+
const body = new URLSearchParams({
|
|
164
|
+
grant_type: 'authorization_code',
|
|
165
|
+
client_id: clientId,
|
|
166
|
+
code,
|
|
167
|
+
redirect_uri: redirectUri,
|
|
168
|
+
code_verifier: codeVerifier,
|
|
169
|
+
});
|
|
170
|
+
const resp = await fetch(`https://${host}/oauth2/token`, {
|
|
171
|
+
method: 'POST',
|
|
172
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
173
|
+
body: body.toString(),
|
|
174
|
+
});
|
|
175
|
+
if (!resp.ok) {
|
|
176
|
+
const text = await resp.text();
|
|
177
|
+
throw new Error(`Token exchange failed (${resp.status}). ${text}`);
|
|
178
|
+
}
|
|
179
|
+
return resp.json();
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
async function refreshTokens({ domain, clientId, refreshToken }) {
|
|
183
|
+
const host = normalizeDomain(domain);
|
|
184
|
+
const body = new URLSearchParams({
|
|
185
|
+
grant_type: 'refresh_token',
|
|
186
|
+
client_id: clientId,
|
|
187
|
+
refresh_token: refreshToken,
|
|
188
|
+
});
|
|
189
|
+
const resp = await fetch(`https://${host}/oauth2/token`, {
|
|
190
|
+
method: 'POST',
|
|
191
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
192
|
+
body: body.toString(),
|
|
193
|
+
});
|
|
194
|
+
if (!resp.ok) {
|
|
195
|
+
const text = await resp.text();
|
|
196
|
+
throw new Error(`Token refresh failed (${resp.status}). ${text}`);
|
|
197
|
+
}
|
|
198
|
+
return resp.json();
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
async function fetchProfile({ apiBase, token }) {
|
|
202
|
+
if (!token) return null;
|
|
203
|
+
const resp = await fetch(`${apiBase}/me`, {
|
|
204
|
+
method: 'GET',
|
|
205
|
+
headers: { Authorization: `Bearer ${token}` },
|
|
206
|
+
});
|
|
207
|
+
if (!resp.ok) return null;
|
|
208
|
+
return resp.json();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function resolveExpiry(expiresIn) {
|
|
212
|
+
if (!expiresIn || Number.isNaN(Number(expiresIn))) return null;
|
|
213
|
+
return Date.now() + Number(expiresIn) * 1000;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function isExpired(expiresAt) {
|
|
217
|
+
if (!expiresAt) return true;
|
|
218
|
+
return Date.now() >= expiresAt - TOKEN_SKEW_MS;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export async function loginWithBrowser({
|
|
222
|
+
domain = DEFAULT_DOMAIN,
|
|
223
|
+
clientId = DEFAULT_CLIENT_ID,
|
|
224
|
+
apiBase = DEFAULT_API_BASE,
|
|
225
|
+
port = 53682,
|
|
226
|
+
scopes = DEFAULT_SCOPES,
|
|
227
|
+
timeoutMs = 5 * 60 * 1000,
|
|
228
|
+
} = {}) {
|
|
229
|
+
const normalizedDomain = normalizeDomain(domain);
|
|
230
|
+
if (!normalizedDomain) {
|
|
231
|
+
throw new Error('Missing Cognito domain. Set SHIPSCREENS_COGNITO_DOMAIN or pass --domain.');
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
const state = base64Url(crypto.randomBytes(16));
|
|
235
|
+
const { codeVerifier, codeChallenge } = createPkcePair();
|
|
236
|
+
const redirectUri = `http://127.0.0.1:${port}/callback`;
|
|
237
|
+
|
|
238
|
+
const authorizeUrl = buildAuthorizeUrl({
|
|
239
|
+
domain: normalizedDomain,
|
|
240
|
+
clientId,
|
|
241
|
+
redirectUri,
|
|
242
|
+
scopes,
|
|
243
|
+
state,
|
|
244
|
+
codeChallenge,
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
console.log('ShipScreens CLI login');
|
|
248
|
+
console.log(`- Open this URL to sign in:\n ${authorizeUrl}`);
|
|
249
|
+
console.log(`- Waiting for redirect to ${redirectUri}`);
|
|
250
|
+
|
|
251
|
+
const codePromise = waitForAuthCode({ port, state, timeoutMs });
|
|
252
|
+
try {
|
|
253
|
+
openBrowser(authorizeUrl);
|
|
254
|
+
} catch (err) {
|
|
255
|
+
console.warn('Failed to open a browser automatically. Please open the URL above manually.');
|
|
256
|
+
}
|
|
257
|
+
const code = await codePromise;
|
|
258
|
+
const tokens = await exchangeCodeForToken({
|
|
259
|
+
domain: normalizedDomain,
|
|
260
|
+
clientId,
|
|
261
|
+
code,
|
|
262
|
+
redirectUri,
|
|
263
|
+
codeVerifier,
|
|
264
|
+
});
|
|
265
|
+
|
|
266
|
+
const expiresAt = resolveExpiry(tokens.expires_in);
|
|
267
|
+
const payload = {
|
|
268
|
+
version: 1,
|
|
269
|
+
obtained_at: new Date().toISOString(),
|
|
270
|
+
domain: normalizedDomain,
|
|
271
|
+
client_id: clientId,
|
|
272
|
+
api_base: apiBase,
|
|
273
|
+
scope: tokens.scope,
|
|
274
|
+
id_token: tokens.id_token,
|
|
275
|
+
access_token: tokens.access_token,
|
|
276
|
+
refresh_token: tokens.refresh_token,
|
|
277
|
+
expires_at: expiresAt,
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
await writeAuth(payload);
|
|
281
|
+
const profile = await fetchProfile({ apiBase, token: tokens.id_token }).catch(() => null);
|
|
282
|
+
return { profile, session: payload };
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export async function beginManualLogin({
|
|
286
|
+
domain = DEFAULT_DOMAIN,
|
|
287
|
+
clientId = DEFAULT_CLIENT_ID,
|
|
288
|
+
apiBase = DEFAULT_API_BASE,
|
|
289
|
+
port = 53682,
|
|
290
|
+
scopes = DEFAULT_SCOPES,
|
|
291
|
+
} = {}) {
|
|
292
|
+
const normalizedDomain = normalizeDomain(domain);
|
|
293
|
+
if (!normalizedDomain) {
|
|
294
|
+
throw new Error('Missing Cognito domain. Set SHIPSCREENS_COGNITO_DOMAIN or pass --domain.');
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
const state = base64Url(crypto.randomBytes(16));
|
|
298
|
+
const { codeVerifier, codeChallenge } = createPkcePair();
|
|
299
|
+
const redirectUri = `http://127.0.0.1:${port}/callback`;
|
|
300
|
+
const authorizeUrl = buildAuthorizeUrl({
|
|
301
|
+
domain: normalizedDomain,
|
|
302
|
+
clientId,
|
|
303
|
+
redirectUri,
|
|
304
|
+
scopes,
|
|
305
|
+
state,
|
|
306
|
+
codeChallenge,
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
await writePendingAuth({
|
|
310
|
+
version: 1,
|
|
311
|
+
created_at: new Date().toISOString(),
|
|
312
|
+
domain: normalizedDomain,
|
|
313
|
+
client_id: clientId,
|
|
314
|
+
api_base: apiBase,
|
|
315
|
+
scopes,
|
|
316
|
+
redirect_uri: redirectUri,
|
|
317
|
+
state,
|
|
318
|
+
code_verifier: codeVerifier,
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
return { authorizeUrl, redirectUri };
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export async function finishManualLogin({ redirectUrl, code, state } = {}) {
|
|
325
|
+
const pending = await readPendingAuth();
|
|
326
|
+
if (!pending?.state || !pending?.code_verifier || !pending?.domain || !pending?.client_id) {
|
|
327
|
+
throw new Error('No pending login found. Run shipscreens auth login --manual first.');
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
let authCode = code;
|
|
331
|
+
let returnedState = state;
|
|
332
|
+
if (redirectUrl) {
|
|
333
|
+
let parsed;
|
|
334
|
+
try {
|
|
335
|
+
parsed = new URL(redirectUrl);
|
|
336
|
+
} catch {
|
|
337
|
+
throw new Error('Invalid redirect URL.');
|
|
338
|
+
}
|
|
339
|
+
authCode = parsed.searchParams.get('code') || authCode;
|
|
340
|
+
returnedState = parsed.searchParams.get('state') || returnedState;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
if (!authCode || !returnedState) {
|
|
344
|
+
throw new Error('Missing code/state. Provide --redirect-url or both --code and --state.');
|
|
345
|
+
}
|
|
346
|
+
if (returnedState !== pending.state) {
|
|
347
|
+
throw new Error('State mismatch. Please restart login.');
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
const tokens = await exchangeCodeForToken({
|
|
351
|
+
domain: pending.domain,
|
|
352
|
+
clientId: pending.client_id,
|
|
353
|
+
code: authCode,
|
|
354
|
+
redirectUri: pending.redirect_uri,
|
|
355
|
+
codeVerifier: pending.code_verifier,
|
|
356
|
+
});
|
|
357
|
+
|
|
358
|
+
const expiresAt = resolveExpiry(tokens.expires_in);
|
|
359
|
+
const payload = {
|
|
360
|
+
version: 1,
|
|
361
|
+
obtained_at: new Date().toISOString(),
|
|
362
|
+
domain: pending.domain,
|
|
363
|
+
client_id: pending.client_id,
|
|
364
|
+
api_base: pending.api_base || DEFAULT_API_BASE,
|
|
365
|
+
scope: tokens.scope,
|
|
366
|
+
id_token: tokens.id_token,
|
|
367
|
+
access_token: tokens.access_token,
|
|
368
|
+
refresh_token: tokens.refresh_token,
|
|
369
|
+
expires_at: expiresAt,
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
await writeAuth(payload);
|
|
373
|
+
await clearPendingAuth();
|
|
374
|
+
const profile = await fetchProfile({ apiBase: payload.api_base, token: tokens.id_token }).catch(() => null);
|
|
375
|
+
return { profile, session: payload };
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export async function resolveCliAuth({ requirePro = false } = {}) {
|
|
379
|
+
const envToken = process.env.SHIPSCREENS_TOKEN || process.env.SHIPSCREENS_ID_TOKEN;
|
|
380
|
+
if (envToken) {
|
|
381
|
+
const profile = await fetchProfile({ apiBase: DEFAULT_API_BASE, token: envToken }).catch(() => null);
|
|
382
|
+
if (requirePro && !profile?.isPro) {
|
|
383
|
+
throw new Error('Pro access required. Provide a Pro token or run shipscreens auth login.');
|
|
384
|
+
}
|
|
385
|
+
return { token: envToken, profile, source: 'env_token' };
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
const envRefresh = process.env.SHIPSCREENS_REFRESH_TOKEN;
|
|
389
|
+
if (envRefresh) {
|
|
390
|
+
const domain = process.env.SHIPSCREENS_COGNITO_DOMAIN || DEFAULT_DOMAIN;
|
|
391
|
+
if (!domain) {
|
|
392
|
+
throw new Error('SHIPSCREENS_COGNITO_DOMAIN is required when using SHIPSCREENS_REFRESH_TOKEN.');
|
|
393
|
+
}
|
|
394
|
+
const clientId = process.env.SHIPSCREENS_CLIENT_ID || DEFAULT_CLIENT_ID;
|
|
395
|
+
const tokens = await refreshTokens({ domain, clientId, refreshToken: envRefresh });
|
|
396
|
+
const token = tokens.id_token;
|
|
397
|
+
const profile = await fetchProfile({ apiBase: DEFAULT_API_BASE, token }).catch(() => null);
|
|
398
|
+
if (requirePro && !profile?.isPro) {
|
|
399
|
+
throw new Error('Pro access required. Provide a Pro token or run shipscreens auth login.');
|
|
400
|
+
}
|
|
401
|
+
return { token, profile, source: 'env_refresh' };
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
const session = await readAuth();
|
|
405
|
+
if (!session?.id_token) {
|
|
406
|
+
if (requirePro) {
|
|
407
|
+
throw new Error('Pro access required. Run shipscreens auth login first.');
|
|
408
|
+
}
|
|
409
|
+
return { token: null, profile: null, source: 'none' };
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
let token = session.id_token;
|
|
413
|
+
let updated = false;
|
|
414
|
+
if (isExpired(session.expires_at)) {
|
|
415
|
+
if (session.refresh_token && session.domain && session.client_id) {
|
|
416
|
+
const tokens = await refreshTokens({
|
|
417
|
+
domain: session.domain,
|
|
418
|
+
clientId: session.client_id,
|
|
419
|
+
refreshToken: session.refresh_token,
|
|
420
|
+
});
|
|
421
|
+
token = tokens.id_token;
|
|
422
|
+
session.id_token = tokens.id_token;
|
|
423
|
+
session.access_token = tokens.access_token;
|
|
424
|
+
session.expires_at = resolveExpiry(tokens.expires_in);
|
|
425
|
+
updated = true;
|
|
426
|
+
} else {
|
|
427
|
+
token = null;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
if (updated) {
|
|
432
|
+
await writeAuth(session);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
const profile = await fetchProfile({ apiBase: session.api_base || DEFAULT_API_BASE, token }).catch(() => null);
|
|
436
|
+
if (requirePro && !profile?.isPro) {
|
|
437
|
+
throw new Error('Pro access required. Sign in with a Pro account.');
|
|
438
|
+
}
|
|
439
|
+
return { token, profile, source: 'stored', session };
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export async function getAuthStatus() {
|
|
443
|
+
const session = await readAuth();
|
|
444
|
+
if (!session) {
|
|
445
|
+
return { signedIn: false };
|
|
446
|
+
}
|
|
447
|
+
return {
|
|
448
|
+
signedIn: true,
|
|
449
|
+
expiresAt: session.expires_at,
|
|
450
|
+
domain: session.domain,
|
|
451
|
+
clientId: session.client_id,
|
|
452
|
+
apiBase: session.api_base,
|
|
453
|
+
};
|
|
454
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import fs from 'node:fs/promises';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
|
|
4
|
+
function compareStrings(a, b) {
|
|
5
|
+
if (a === b) return 0;
|
|
6
|
+
return a < b ? -1 : 1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function escapeRegExp(value) {
|
|
10
|
+
return String(value).replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function toDeviceSlug(deviceId) {
|
|
14
|
+
return String(deviceId).toLowerCase();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function getScreenshotIndexWidth(slideCount) {
|
|
18
|
+
const digits = String(slideCount).length;
|
|
19
|
+
return Math.max(2, digits);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function formatScreenshotIndex(index, width) {
|
|
23
|
+
return String(index).padStart(width, '0');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
async function ensureDir(dirPath) {
|
|
27
|
+
await fs.mkdir(dirPath, { recursive: true });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
async function isFile(filePath) {
|
|
31
|
+
try {
|
|
32
|
+
const stat = await fs.stat(filePath);
|
|
33
|
+
return stat.isFile();
|
|
34
|
+
} catch {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
async function readDirSafe(dirPath) {
|
|
40
|
+
try {
|
|
41
|
+
return await fs.readdir(dirPath, { withFileTypes: true });
|
|
42
|
+
} catch (err) {
|
|
43
|
+
if (err?.code === 'ENOENT') return [];
|
|
44
|
+
throw err;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
async function removeFileSafe(filePath) {
|
|
49
|
+
try {
|
|
50
|
+
await fs.unlink(filePath);
|
|
51
|
+
} catch (err) {
|
|
52
|
+
if (err?.code === 'ENOENT') return;
|
|
53
|
+
throw err;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export async function cleanBuildOutputs({ iosDir, androidDir, locales, iosDevices, androidBuckets }) {
|
|
58
|
+
const iosDeviceRegexes = (iosDevices || []).map((d) => new RegExp(`^${escapeRegExp(toDeviceSlug(d.id))}_(\\d+)\\.png$`, 'i'));
|
|
59
|
+
const numericPng = /^(\d+)\.png$/i;
|
|
60
|
+
|
|
61
|
+
for (const localeId of locales || []) {
|
|
62
|
+
const iosLocaleDir = iosDir ? path.join(iosDir, localeId) : null;
|
|
63
|
+
if (iosLocaleDir && iosDeviceRegexes.length) {
|
|
64
|
+
const entries = await readDirSafe(iosLocaleDir);
|
|
65
|
+
for (const entry of entries) {
|
|
66
|
+
if (!entry.isFile()) continue;
|
|
67
|
+
if (!iosDeviceRegexes.some((re) => re.test(entry.name))) continue;
|
|
68
|
+
await removeFileSafe(path.join(iosLocaleDir, entry.name));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
for (const { bucket } of androidBuckets || []) {
|
|
73
|
+
const bucketDir = androidDir ? path.join(androidDir, localeId, 'images', bucket) : null;
|
|
74
|
+
if (!bucketDir) continue;
|
|
75
|
+
const entries = await readDirSafe(bucketDir);
|
|
76
|
+
for (const entry of entries) {
|
|
77
|
+
if (!entry.isFile()) continue;
|
|
78
|
+
if (!numericPng.test(entry.name)) continue;
|
|
79
|
+
await removeFileSafe(path.join(bucketDir, entry.name));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export async function materializeOutputsFromExport({
|
|
86
|
+
exportedScreenshotsDir,
|
|
87
|
+
iosDir,
|
|
88
|
+
androidDir,
|
|
89
|
+
locales,
|
|
90
|
+
iosDevices,
|
|
91
|
+
androidBuckets,
|
|
92
|
+
slideCount,
|
|
93
|
+
clean = false,
|
|
94
|
+
}) {
|
|
95
|
+
const width = getScreenshotIndexWidth(slideCount);
|
|
96
|
+
|
|
97
|
+
const ops = [];
|
|
98
|
+
|
|
99
|
+
for (const localeId of locales || []) {
|
|
100
|
+
for (const device of iosDevices || []) {
|
|
101
|
+
const deviceSlug = toDeviceSlug(device.id);
|
|
102
|
+
for (let i = 1; i <= slideCount; i++) {
|
|
103
|
+
const src = path.join(exportedScreenshotsDir, localeId, `${deviceSlug}_${i}.png`);
|
|
104
|
+
const dest = path.join(iosDir, localeId, `${deviceSlug}_${formatScreenshotIndex(i, width)}.png`);
|
|
105
|
+
ops.push({ src, dest });
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
for (const localeId of locales || []) {
|
|
111
|
+
for (const { bucket, device } of androidBuckets || []) {
|
|
112
|
+
const deviceSlug = toDeviceSlug(device.id);
|
|
113
|
+
for (let i = 1; i <= slideCount; i++) {
|
|
114
|
+
const src = path.join(exportedScreenshotsDir, localeId, `${deviceSlug}_${i}.png`);
|
|
115
|
+
const dest = path.join(androidDir, localeId, 'images', bucket, `${formatScreenshotIndex(i, width)}.png`);
|
|
116
|
+
ops.push({ src, dest });
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
const missing = [];
|
|
122
|
+
for (const op of ops) {
|
|
123
|
+
if (await isFile(op.src)) continue;
|
|
124
|
+
missing.push(op.src);
|
|
125
|
+
}
|
|
126
|
+
if (missing.length) {
|
|
127
|
+
missing.sort(compareStrings);
|
|
128
|
+
const lines = [`Missing exported screenshot(s): ${missing.length}`];
|
|
129
|
+
const max = 10;
|
|
130
|
+
missing.slice(0, max).forEach((p) => lines.push(`- ${p}`));
|
|
131
|
+
if (missing.length > max) lines.push('(truncated)');
|
|
132
|
+
throw new Error(lines.join('\n'));
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (clean) {
|
|
136
|
+
await cleanBuildOutputs({ iosDir, androidDir, locales, iosDevices, androidBuckets });
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
for (const op of ops) {
|
|
140
|
+
await ensureDir(path.dirname(op.dest));
|
|
141
|
+
await fs.copyFile(op.src, op.dest);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
return { written: ops.length, indexWidth: width };
|
|
145
|
+
}
|
|
146
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
beginManualLogin,
|
|
3
|
+
clearAuth,
|
|
4
|
+
finishManualLogin,
|
|
5
|
+
getAuthStatus,
|
|
6
|
+
loginWithBrowser,
|
|
7
|
+
resolveCliAuth,
|
|
8
|
+
} from '../auth.js';
|
|
9
|
+
|
|
10
|
+
export async function runAuth({ subcommand, values }) {
|
|
11
|
+
const command = subcommand || 'status';
|
|
12
|
+
|
|
13
|
+
if (command === 'login') {
|
|
14
|
+
const domain = values?.domain;
|
|
15
|
+
const clientId = values?.['client-id'];
|
|
16
|
+
const apiBase = values?.['api-base'];
|
|
17
|
+
const port = values?.port ? Number(values.port) : undefined;
|
|
18
|
+
if (values?.manual) {
|
|
19
|
+
const { authorizeUrl, redirectUri } = await beginManualLogin({ domain, clientId, apiBase, port });
|
|
20
|
+
console.log('Manual login started.');
|
|
21
|
+
console.log(`- Open this URL to sign in:\n ${authorizeUrl}`);
|
|
22
|
+
console.log(`- After login, copy the full redirect URL (starts with ${redirectUri})`);
|
|
23
|
+
console.log('Then run: shipscreens auth finish --redirect-url "<URL>"');
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const { profile } = await loginWithBrowser({ domain, clientId, apiBase, port });
|
|
28
|
+
const plan = profile?.isPro ? 'Pro' : 'Free';
|
|
29
|
+
const email = profile?.email || profile?.userId || '';
|
|
30
|
+
console.log(`OK: signed in (${plan}${email ? `, ${email}` : ''})`);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (command === 'finish' || command === 'complete') {
|
|
35
|
+
const redirectUrl = values?.['redirect-url'];
|
|
36
|
+
const code = values?.code;
|
|
37
|
+
const state = values?.state;
|
|
38
|
+
const { profile } = await finishManualLogin({ redirectUrl, code, state });
|
|
39
|
+
const plan = profile?.isPro ? 'Pro' : 'Free';
|
|
40
|
+
const email = profile?.email || profile?.userId || '';
|
|
41
|
+
console.log(`OK: signed in (${plan}${email ? `, ${email}` : ''})`);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (command === 'logout') {
|
|
46
|
+
await clearAuth();
|
|
47
|
+
console.log('OK: signed out');
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (command === 'status') {
|
|
52
|
+
const status = await getAuthStatus();
|
|
53
|
+
if (!status.signedIn) {
|
|
54
|
+
console.log('Signed out');
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const auth = await resolveCliAuth().catch(() => null);
|
|
58
|
+
const plan = auth?.profile?.isPro ? 'Pro' : 'Free';
|
|
59
|
+
const expiry = status.expiresAt ? new Date(status.expiresAt).toISOString() : 'unknown';
|
|
60
|
+
console.log(`Signed in (${plan}), token expires: ${expiry}`);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
throw new Error(`Unknown auth command: ${command}`);
|
|
65
|
+
}
|