lecodes-cli 2.4.1 → 2.4.3
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/index.js +36134 -11203
- package/package.json +10 -9
- package/runtime/sdk-types.json +1 -1
- package/runtime/web/VERSION.json +3 -3
- package/runtime/web/assets/ar-D6oDL4pw.js +1 -0
- package/runtime/web/assets/ar-mVXX3kRQ.js +2 -0
- package/runtime/web/assets/qrAnchorWorker-Cb5E8cF-.js +1 -0
- package/runtime/web/assets/qr_anchor_wasm_bg-D_ePkCCu.wasm +0 -0
- package/runtime/web/index.html +1 -0
- package/runtime/web/player.js +12 -12
- package/runtime/web-lite/assets/{index-B2zEJlWS.js → index-oPsDD47E.js} +1 -1
- package/runtime/web-lite/assets/scene3d-BAl_QQyi.js +1105 -0
- package/runtime/web-lite/features.json +2 -2
- package/runtime/web-lite/index.html +2 -1
- package/runtime/web-lite/lite.js +9 -9
- package/runtime/web-lite/plugins/ar/_virtual_lecodes-half-resources-CNYmVR88.js +1 -0
- package/runtime/web-lite/plugins/ar/assets/qrAnchorWorker-DcxVKAqo.js +1 -0
- package/runtime/web-lite/plugins/ar/assets/qr_anchor_wasm_bg-D_ePkCCu.wasm +0 -0
- package/runtime/web-lite/plugins/ar/index-C2uuuLhz.js +2 -0
- package/runtime/web-lite/plugins.json +1 -1
- package/src/commands/app/android.ts +68 -19
- package/src/commands/app/index.ts +84 -17
- package/src/commands/app/shared.ts +157 -24
- package/src/commands/app/splash.ts +251 -0
- package/src/commands/app/templates/android.ts +148 -25
- package/src/commands/app/templates/ios.ts +123 -12
- package/src/commands/init/index.ts +195 -195
- package/src/commands/plugin.ts +3 -3
- package/src/commands/push.ts +2 -2
- package/src/commands/shared.ts +79 -79
- package/src/commands/thumbs.ts +185 -185
- package/src/commands/web.ts +12 -5
- package/src/compile/collect.ts +2 -3
- package/src/compile/collectLocal.ts +13 -2
- package/src/compile/designCompile.ts +2 -3
- package/src/compile/projectCompile.ts +3 -0
- package/src/compile/screenEntry.ts +123 -123
- package/src/dev/devServer.ts +63 -7
- package/src/dev/https.ts +50 -0
- package/src/dev/serve.ts +15 -9
- package/src/dev/webRunner.ts +11 -3
- package/src/platform/serverDiff.ts +2 -3
- package/src/plugin/emitPackage.ts +18 -5
- package/src/plugin/emitWeb.ts +17 -8
- package/src/plugin/firstParty.ts +30 -0
- package/src/plugin/generate.ts +52 -24
- package/src/plugin/manifest.ts +66 -7
- package/src/project/ignore.ts +164 -164
- package/src/project/localFiles.ts +44 -7
- package/src/web/build.ts +33 -9
- package/src/web/halves.ts +76 -0
- package/runtime/web/assets/ar-CHvaraG4.js +0 -1
- package/runtime/web-lite/assets/scene3d-Bew8g7Ws.js +0 -1081
- package/runtime/web-lite/plugins/ar/index-CHvaraG4.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./basis-C64VHDVD.js","./worker-Caf-yYEI.js","./draco-BiISTFcR.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as o}from"../lite.js";import{G as i}from"./scene3d-
|
|
2
|
+
import{e as o}from"../lite.js";import{G as i}from"./scene3d-BAl_QQyi.js";let a=null,n=null,c=null;const u=[171,75,84,88,32,50,48,187,13,10,26,10],m=t=>t.length>=12&&u.every((e,r)=>t[r]===e),g=t=>{if(t.byteLength<80)return!0;const e=new DataView(t),r=e.getUint32(48,!0);return r+15>t.byteLength?!0:e.getUint8(r+14)!==1},h=async(t,e)=>(await l(t),c.parseTexture(e));let s=null;const w=async t=>{s??(s=o(async()=>{const{createBasisManager:r}=await import("./basis-C64VHDVD.js");return{createBasisManager:r}},__vite__mapDeps([0,1]),import.meta.url).then(({createBasisManager:r})=>r(null)).catch(r=>{throw s=null,r}));const e=await(await s).parseTexture(t);if(!e||e.isCompressedTexture)throw new Error("KTX2 did not transcode to an image");return e},p=()=>(a??(a=o(async()=>{const{createDracoManager:t}=await import("./draco-BiISTFcR.js");return{createDracoManager:t}},__vite__mapDeps([2,1]),import.meta.url).then(({createDracoManager:t})=>t()).then(t=>{i.setDracoManager(t)}).catch(t=>{throw a=null,t})),a),l=t=>(n??(n=o(async()=>{const{createBasisManager:e}=await import("./basis-C64VHDVD.js");return{createBasisManager:e}},__vite__mapDeps([0,1]),import.meta.url).then(({createBasisManager:e})=>e(t)).then(e=>{c=e,i.setBasisManager(e)}).catch(e=>{throw n=null,e})),n);export{w as decodeKtx2Image,l as ensureBasisTranscoder,p as ensureDracoDecoder,m as isKtx2Bytes,g as ktx2IsSrgb,h as transcodeKtx2};
|