@lovrabet/cli 1.1.13 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +1 -1
  2. package/lib/add-page/input-page-router.js +1 -1
  3. package/lib/add-page/main.js +1 -1
  4. package/lib/add-page/select-page-template.js +1 -1
  5. package/lib/api/api-doc-ui.js +1 -1
  6. package/lib/api/api-doc.js +1 -1
  7. package/lib/api/api-pull-ui.js +1 -1
  8. package/lib/api/fetch-datasets.js +1 -1
  9. package/lib/api/format-dataset.js +1 -1
  10. package/lib/api/generate-api-file.js +1 -1
  11. package/lib/api/main.js +1 -1
  12. package/lib/api/pull-silent.js +1 -1
  13. package/lib/api/pull.js +1 -1
  14. package/lib/app-menu/app-menu-sync-ui.js +1 -0
  15. package/lib/app-menu/create-menu.js +1 -0
  16. package/lib/app-menu/get-local-pages.js +1 -0
  17. package/lib/app-menu/get-online-menu-list.js +1 -0
  18. package/lib/app-menu/types.js +1 -0
  19. package/lib/app-menu/valid-url.js +1 -0
  20. package/lib/auth/auth-server-ui.js +1 -1
  21. package/lib/auth/auth-server.js +1 -1
  22. package/lib/auth/constant.js +1 -1
  23. package/lib/auth/get-cookie.js +1 -1
  24. package/lib/auth/is-session-valid.js +1 -1
  25. package/lib/auth/logout.js +1 -1
  26. package/lib/cli.js +1 -1
  27. package/lib/cmd/build-watch.js +1 -1
  28. package/lib/cmd/build.js +1 -1
  29. package/lib/cmd/logs.js +1 -1
  30. package/lib/cmd/preview.js +1 -1
  31. package/lib/cmd/start.js +1 -1
  32. package/lib/config/config-help.js +1 -1
  33. package/lib/config/main.js +1 -1
  34. package/lib/constant/domain.js +1 -1
  35. package/lib/constant/env.js +1 -1
  36. package/lib/create-app/enhanced-guided-create.js +1 -1
  37. package/lib/create-app/format-elapsed.js +1 -1
  38. package/lib/create-app/main.js +1 -1
  39. package/lib/create-app/task-finished.js +1 -1
  40. package/lib/create-app/task-loading.js +1 -1
  41. package/lib/create-app/task-running.js +1 -1
  42. package/lib/create-app/task-time.js +1 -1
  43. package/lib/create-app/use-copy-project-template.js +1 -1
  44. package/lib/create-app/use-format-code.js +1 -1
  45. package/lib/create-app/use-install-dependencies.js +1 -1
  46. package/lib/help.js +1 -1
  47. package/lib/init/main.js +1 -1
  48. package/lib/utils/config.js +1 -1
  49. package/lib/utils/copy-directory.js +1 -1
  50. package/lib/utils/http-client.js +1 -1
  51. package/lib/utils/logger.js +1 -1
  52. package/lib/utils/router-updater.js +1 -1
  53. package/lib/utils/sleep.js +1 -0
  54. package/lib/utils/template-replacer.js +1 -1
  55. package/package.json +1 -1
@@ -1 +1 @@
1
- function a46_0x2331(){const _0x4cb37e=['toComponentName','default','promises','9023152AHlofl','toLocaleTimeString','模板内容替换完成','7900263NEyPVc','toLocaleString','extname','1233218GAVzTz','readFile','.css','includes','map','6203178ZYYubY','info','24377090kkUGpw','toISOString','api','readdir','7688VKsWoV','success','processDirectory','replaceContent','toLocaleDateString','name','mkdir','YourModel','\x20\x20\x20\x20','isFile','template','toUpperCase','995zeXuPe','.js','2-digit','numeric','replaceApiContent','now','.md','replace','toDisplayTitle','.scss','split','3nqAZmQ','utf8','endsWith','join','222427LApiul','7hlYtyW','toLowerCase','pop','.tpl','message','processFile'];a46_0x2331=function(){return _0x4cb37e;};return a46_0x2331();}const a46_0x4eff7b=a46_0x5116;(function(_0x2c19c1,_0x5db80d){const _0x1add01=a46_0x5116,_0x1410a5=_0x2c19c1();while(!![]){try{const _0x1e7041=parseInt(_0x1add01(0x1ac))/0x1+parseInt(_0x1add01(0x1bc))/0x2*(parseInt(_0x1add01(0x1a8))/0x3)+parseInt(_0x1add01(0x191))/0x4*(parseInt(_0x1add01(0x19d))/0x5)+-parseInt(_0x1add01(0x1c1))/0x6*(parseInt(_0x1add01(0x1ad))/0x7)+-parseInt(_0x1add01(0x1b6))/0x8+-parseInt(_0x1add01(0x1b9))/0x9+parseInt(_0x1add01(0x18d))/0xa;if(_0x1e7041===_0x5db80d)break;else _0x1410a5['push'](_0x1410a5['shift']());}catch(_0x9da6a8){_0x1410a5['push'](_0x1410a5['shift']());}}}(a46_0x2331,0x9748b));import a46_0x403e72 from'node:fs';function a46_0x5116(_0xf95f1d,_0x2eea12){const _0x2331f8=a46_0x2331();return a46_0x5116=function(_0x5116f1,_0x5cad8b){_0x5116f1=_0x5116f1-0x18d;let _0x2979e7=_0x2331f8[_0x5116f1];return _0x2979e7;},a46_0x5116(_0xf95f1d,_0x2eea12);}import a46_0x2abcd1 from'node:path';import{logger}from'./logger.js';export class TemplateReplacer{static[a46_0x4eff7b(0x1b3)](_0x52c1c4){const _0x5d38da=a46_0x4eff7b,_0x1076fc=_0x52c1c4['split']('/')[_0x5d38da(0x1af)]()||_0x52c1c4;return _0x1076fc[_0x5d38da(0x1a7)]('-')[_0x5d38da(0x1c0)](_0x431fcf=>_0x431fcf['charAt'](0x0)['toUpperCase']()+_0x431fcf['slice'](0x1)[_0x5d38da(0x1ae)]())[_0x5d38da(0x1ab)]('');}static[a46_0x4eff7b(0x1a5)](_0x4cca9f){const _0x15c1b5=a46_0x4eff7b,_0x4c3c5b=_0x4cca9f['split']('/')['pop']()||_0x4cca9f;return _0x4c3c5b[_0x15c1b5(0x1a7)]('-')['map'](_0x559090=>_0x559090['charAt'](0x0)[_0x15c1b5(0x19c)]()+_0x559090['slice'](0x1)['toLowerCase']())[_0x15c1b5(0x1ab)]('\x20');}static[a46_0x4eff7b(0x194)](_0x58d033,_0x20a6ac,_0x50155b){const _0x13854d=a46_0x4eff7b,_0x26b555=this[_0x13854d(0x1b3)](_0x20a6ac),_0x2fb80d=this[_0x13854d(0x1a5)](_0x20a6ac),_0x3f480a=new Date(),_0x320b8c=_0x3f480a[_0x13854d(0x1ba)](undefined,{'year':_0x13854d(0x1a0),'month':_0x13854d(0x19f),'day':_0x13854d(0x19f),'hour':_0x13854d(0x19f),'minute':_0x13854d(0x19f),'second':_0x13854d(0x19f),'hour12':![]})['replace'](/\//g,'-'),_0x2c8215=_0x3f480a[_0x13854d(0x195)](undefined,{'year':_0x13854d(0x1a0),'month':_0x13854d(0x19f),'day':_0x13854d(0x19f)})[_0x13854d(0x1a4)](/\//g,'-'),_0x41c27b=_0x3f480a[_0x13854d(0x1b7)](undefined,{'hour12':![]});let _0x1976e0=_0x58d033[_0x13854d(0x1a4)](/\{ComponentName\}/g,_0x26b555)[_0x13854d(0x1a4)](/\{DisplayTitle\}/g,_0x2fb80d)[_0x13854d(0x1a4)](/\{PageName\}/g,_0x20a6ac)[_0x13854d(0x1a4)](/\{TemplateName\}/g,_0x50155b)[_0x13854d(0x1a4)](/\{CreatedAt\}/g,_0x320b8c)[_0x13854d(0x1a4)](/\{CreatedDate\}/g,_0x2c8215)[_0x13854d(0x1a4)](/\{CreatedTime\}/g,_0x41c27b);return _0x1976e0;}static[a46_0x4eff7b(0x1a1)](_0x2f7c0e,_0x12f366,_0x5b07f7,_0x1b3426,_0x5bd08a,_0xa00330,_0x179f05){const _0x30e468=a46_0x4eff7b,_0x50769f=new Date(),_0x4b1877=_0x50769f[_0x30e468(0x18e)](),_0x5b18e0=JSON['stringify'](_0x5b07f7,null,0x2)[_0x30e468(0x1a7)]('\x0a')['slice'](0x1,-0x1)[_0x30e468(0x1c0)](_0x3ccbbc=>_0x3ccbbc[_0x30e468(0x1a4)](/^ /,_0x30e468(0x199)))[_0x30e468(0x1ab)]('\x0a'),_0x11eb02=_0x1b3426||Object['keys'](_0x5b07f7)[0x0]||_0x30e468(0x198);let _0x494200=_0x2f7c0e[_0x30e468(0x1a4)](/\{AppCode\}/g,_0x12f366)[_0x30e468(0x1a4)](/\{ModelConfigs\}/g,_0x5b18e0)[_0x30e468(0x1a4)](/\{ExampleModelName\}/g,_0x11eb02)[_0x30e468(0x1a4)](/\{ApiFileName\}/g,_0x5bd08a||_0x30e468(0x18f))['replace'](/\{ConfigName\}/g,_0xa00330||_0x30e468(0x1b4))[_0x30e468(0x1a4)](/\{ClientConfigParam\}/g,_0x179f05||'')['replace'](/\{CreatedAt\}/g,_0x4b1877);return _0x494200;}static async['processTemplate'](_0x41188c,_0x5e394b,_0x4695d7,_0x16f699,_0x442b55=!![]){const _0x302fe6=a46_0x4eff7b,_0x168059=Date[_0x302fe6(0x1a2)]();try{_0x442b55&&logger[_0x302fe6(0x1c2)]('template','开始处理模板内容替换',{'templatePath':_0x41188c,'targetPath':_0x5e394b,'pageName':_0x4695d7,'templateName':_0x16f699});await a46_0x403e72[_0x302fe6(0x1b5)][_0x302fe6(0x197)](_0x5e394b,{'recursive':!![]}),await this[_0x302fe6(0x193)](_0x41188c,_0x5e394b,_0x4695d7,_0x16f699);if(_0x442b55){const _0x269ba8=Date[_0x302fe6(0x1a2)]()-_0x168059;logger[_0x302fe6(0x192)]('template',_0x302fe6(0x1b8),_0x269ba8,{'pageName':_0x4695d7,'templateName':_0x16f699});}}catch(_0x1003cd){if(_0x442b55){const _0x10f057=Date[_0x302fe6(0x1a2)]()-_0x168059;logger['error'](_0x302fe6(0x19b),'模板内容替换失败',{'templatePath':_0x41188c,'targetPath':_0x5e394b,'pageName':_0x4695d7,'templateName':_0x16f699,'error':_0x1003cd instanceof Error?_0x1003cd[_0x302fe6(0x1b1)]:String(_0x1003cd),'duration':_0x10f057});}throw _0x1003cd;}}static async[a46_0x4eff7b(0x193)](_0x4ad5d6,_0x1804ff,_0x3c0b38,_0x5044e3){const _0x1c11aa=a46_0x4eff7b,_0x2b8e0b=await a46_0x403e72['promises'][_0x1c11aa(0x190)](_0x4ad5d6,{'withFileTypes':!![]});for(const _0x4f96b4 of _0x2b8e0b){const _0x404a38=a46_0x2abcd1[_0x1c11aa(0x1ab)](_0x4ad5d6,_0x4f96b4[_0x1c11aa(0x196)]);let _0xf71fca=a46_0x2abcd1[_0x1c11aa(0x1ab)](_0x1804ff,_0x4f96b4[_0x1c11aa(0x196)]);_0x4f96b4[_0x1c11aa(0x196)][_0x1c11aa(0x1aa)](_0x1c11aa(0x1b0))&&(_0xf71fca=a46_0x2abcd1[_0x1c11aa(0x1ab)](_0x1804ff,_0x4f96b4[_0x1c11aa(0x196)][_0x1c11aa(0x1a4)](/\.tpl$/,'')));if(_0x4f96b4['isDirectory']())await a46_0x403e72[_0x1c11aa(0x1b5)][_0x1c11aa(0x197)](_0xf71fca,{'recursive':!![]}),await this[_0x1c11aa(0x193)](_0x404a38,_0xf71fca,_0x3c0b38,_0x5044e3);else _0x4f96b4[_0x1c11aa(0x19a)]()&&await this[_0x1c11aa(0x1b2)](_0x404a38,_0xf71fca,_0x3c0b38,_0x5044e3);}}static async[a46_0x4eff7b(0x1b2)](_0x334a3b,_0x4f8c26,_0x26f860,_0x59daaa){const _0xaf73d9=a46_0x4eff7b,_0x47380a=a46_0x2abcd1[_0xaf73d9(0x1bb)](_0x334a3b)[_0xaf73d9(0x1ae)]();_0x334a3b[_0xaf73d9(0x1aa)](_0xaf73d9(0x1b0))&&(_0x4f8c26=_0x4f8c26[_0xaf73d9(0x1a4)](/\.tpl$/,''));const _0xb7c76a=['.tsx','.ts','.jsx',_0xaf73d9(0x19e),'.json',_0xaf73d9(0x1a3),_0xaf73d9(0x1be),_0xaf73d9(0x1a6),'.tpl'];if(_0xb7c76a[_0xaf73d9(0x1bf)](_0x47380a)||_0x334a3b[_0xaf73d9(0x1aa)]('.tpl')){const _0x2e1220=await a46_0x403e72['promises'][_0xaf73d9(0x1bd)](_0x334a3b,'utf8'),_0x3861ba=this[_0xaf73d9(0x194)](_0x2e1220,_0x26f860,_0x59daaa);await a46_0x403e72[_0xaf73d9(0x1b5)]['writeFile'](_0x4f8c26,_0x3861ba,_0xaf73d9(0x1a9));}else await a46_0x403e72[_0xaf73d9(0x1b5)]['copyFile'](_0x334a3b,_0x4f8c26);}}
1
+ const a53_0x1ef16a=a53_0x4a29;(function(_0x2c998f,_0xd99ffd){const _0x3961c2=a53_0x4a29,_0x2b1e80=_0x2c998f();while(!![]){try{const _0x683cf=-parseInt(_0x3961c2(0xed))/0x1+parseInt(_0x3961c2(0xc9))/0x2+-parseInt(_0x3961c2(0xcd))/0x3+parseInt(_0x3961c2(0xf6))/0x4*(parseInt(_0x3961c2(0xde))/0x5)+parseInt(_0x3961c2(0xf3))/0x6*(parseInt(_0x3961c2(0xfd))/0x7)+-parseInt(_0x3961c2(0xd7))/0x8*(parseInt(_0x3961c2(0xd5))/0x9)+parseInt(_0x3961c2(0xca))/0xa*(parseInt(_0x3961c2(0xe3))/0xb);if(_0x683cf===_0xd99ffd)break;else _0x2b1e80['push'](_0x2b1e80['shift']());}catch(_0x1929c6){_0x2b1e80['push'](_0x2b1e80['shift']());}}}(a53_0x3ed0,0x334ef));import a53_0x110440 from'node:fs';import a53_0x38adf4 from'node:path';import{logger}from'./logger.js';function a53_0x4a29(_0x5f03dc,_0x1c371f){const _0x3ed086=a53_0x3ed0();return a53_0x4a29=function(_0x4a29a1,_0x37c7fc){_0x4a29a1=_0x4a29a1-0xc4;let _0x35591d=_0x3ed086[_0x4a29a1];return _0x35591d;},a53_0x4a29(_0x5f03dc,_0x1c371f);}export class TemplateReplacer{static['toComponentName'](_0x4548ef){const _0x3a516f=a53_0x4a29,_0x40d290=_0x4548ef['split']('/')[_0x3a516f(0xcb)]()||_0x4548ef;return _0x40d290[_0x3a516f(0xc7)]('-')[_0x3a516f(0xd4)](_0x182772=>_0x182772[_0x3a516f(0xeb)](0x0)[_0x3a516f(0xf7)]()+_0x182772[_0x3a516f(0xe6)](0x1)[_0x3a516f(0xf8)]())['join']('');}static[a53_0x1ef16a(0xd9)](_0x9e9d88){const _0x385e2e=a53_0x1ef16a,_0x217e92=_0x9e9d88[_0x385e2e(0xc7)]('/')['pop']()||_0x9e9d88;return _0x217e92[_0x385e2e(0xc7)]('-')[_0x385e2e(0xd4)](_0x1b7536=>_0x1b7536['charAt'](0x0)[_0x385e2e(0xf7)]()+_0x1b7536[_0x385e2e(0xe6)](0x1)[_0x385e2e(0xf8)]())[_0x385e2e(0xf2)]('\x20');}static[a53_0x1ef16a(0xf1)](_0x4a0ebb,_0x169c99,_0x5739c2){const _0x43cf62=a53_0x1ef16a,_0x14c733=this['toComponentName'](_0x169c99),_0x19aeb9=this['toDisplayTitle'](_0x169c99),_0x35ea4c=new Date(),_0x336c51=_0x35ea4c[_0x43cf62(0xfb)](undefined,{'year':_0x43cf62(0xe9),'month':_0x43cf62(0xea),'day':_0x43cf62(0xea),'hour':_0x43cf62(0xea),'minute':'2-digit','second':_0x43cf62(0xea),'hour12':![]})[_0x43cf62(0xec)](/\//g,'-'),_0x23334f=_0x35ea4c[_0x43cf62(0xfa)](undefined,{'year':_0x43cf62(0xe9),'month':'2-digit','day':_0x43cf62(0xea)})['replace'](/\//g,'-'),_0x801146=_0x35ea4c[_0x43cf62(0xee)](undefined,{'hour12':![]});let _0x158771=_0x4a0ebb['replace'](/\{ComponentName\}/g,_0x14c733)[_0x43cf62(0xec)](/\{DisplayTitle\}/g,_0x19aeb9)[_0x43cf62(0xec)](/\{PageName\}/g,_0x169c99)[_0x43cf62(0xec)](/\{TemplateName\}/g,_0x5739c2)[_0x43cf62(0xec)](/\{CreatedAt\}/g,_0x336c51)[_0x43cf62(0xec)](/\{CreatedDate\}/g,_0x23334f)['replace'](/\{CreatedTime\}/g,_0x801146);return _0x158771;}static[a53_0x1ef16a(0xe0)](_0x188356,_0x39ac04,_0x50cd52,_0x4914b4,_0x373908,_0x1bb58d,_0x5eb3db){const _0x52caa1=a53_0x1ef16a,_0x4cb28d=new Date(),_0x43de22=_0x4cb28d['toISOString'](),_0x56731e=JSON[_0x52caa1(0xdc)](_0x50cd52,null,0x2)[_0x52caa1(0xc7)]('\x0a')[_0x52caa1(0xe6)](0x1,-0x1)[_0x52caa1(0xd4)](_0xb80966=>_0xb80966[_0x52caa1(0xec)](/^ /,_0x52caa1(0xdf)))[_0x52caa1(0xf2)]('\x0a'),_0x4b1475=_0x4914b4||Object[_0x52caa1(0xf4)](_0x50cd52)[0x0]||_0x52caa1(0xcf);let _0xb7af3f=_0x188356[_0x52caa1(0xec)](/\{AppCode\}/g,_0x39ac04)['replace'](/\{ModelConfigs\}/g,_0x56731e)['replace'](/\{ExampleModelName\}/g,_0x4b1475)[_0x52caa1(0xec)](/\{ApiFileName\}/g,_0x373908||_0x52caa1(0xe2))[_0x52caa1(0xec)](/\{ConfigName\}/g,_0x1bb58d||_0x52caa1(0xc4))[_0x52caa1(0xec)](/\{ClientConfigParam\}/g,_0x5eb3db||'')[_0x52caa1(0xec)](/\{CreatedAt\}/g,_0x43de22);return _0xb7af3f;}static async[a53_0x1ef16a(0xce)](_0x48779a,_0xcd28ac,_0x12d9b7,_0x51e6d8,_0xb71492=!![]){const _0x4826bb=a53_0x1ef16a,_0x3f9c10=Date[_0x4826bb(0xd6)]();try{_0xb71492&&logger[_0x4826bb(0xdd)](_0x4826bb(0xd8),_0x4826bb(0xfc),{'templatePath':_0x48779a,'targetPath':_0xcd28ac,'pageName':_0x12d9b7,'templateName':_0x51e6d8});await a53_0x110440[_0x4826bb(0xf0)]['mkdir'](_0xcd28ac,{'recursive':!![]}),await this[_0x4826bb(0xf5)](_0x48779a,_0xcd28ac,_0x12d9b7,_0x51e6d8);if(_0xb71492){const _0x595bdf=Date['now']()-_0x3f9c10;logger[_0x4826bb(0xef)](_0x4826bb(0xd8),'模板内容替换完成',_0x595bdf,{'pageName':_0x12d9b7,'templateName':_0x51e6d8});}}catch(_0x363c5f){if(_0xb71492){const _0x2ae002=Date['now']()-_0x3f9c10;logger[_0x4826bb(0xf9)](_0x4826bb(0xd8),_0x4826bb(0xe1),{'templatePath':_0x48779a,'targetPath':_0xcd28ac,'pageName':_0x12d9b7,'templateName':_0x51e6d8,'error':_0x363c5f instanceof Error?_0x363c5f['message']:String(_0x363c5f),'duration':_0x2ae002});}throw _0x363c5f;}}static async[a53_0x1ef16a(0xf5)](_0x403bff,_0x2130ad,_0x239c76,_0x46fdde){const _0x1538f8=a53_0x1ef16a,_0x507cf7=await a53_0x110440[_0x1538f8(0xf0)]['readdir'](_0x403bff,{'withFileTypes':!![]});for(const _0x46e21a of _0x507cf7){const _0x2160f5=a53_0x38adf4[_0x1538f8(0xf2)](_0x403bff,_0x46e21a[_0x1538f8(0xdb)]);let _0x423e45=a53_0x38adf4['join'](_0x2130ad,_0x46e21a[_0x1538f8(0xdb)]);_0x46e21a[_0x1538f8(0xdb)][_0x1538f8(0xc5)](_0x1538f8(0xe5))&&(_0x423e45=a53_0x38adf4[_0x1538f8(0xf2)](_0x2130ad,_0x46e21a['name'][_0x1538f8(0xec)](/\.tpl$/,'')));if(_0x46e21a['isDirectory']())await a53_0x110440[_0x1538f8(0xf0)][_0x1538f8(0xfe)](_0x423e45,{'recursive':!![]}),await this[_0x1538f8(0xf5)](_0x2160f5,_0x423e45,_0x239c76,_0x46fdde);else _0x46e21a['isFile']()&&await this['processFile'](_0x2160f5,_0x423e45,_0x239c76,_0x46fdde);}}static async[a53_0x1ef16a(0xe7)](_0x3f37af,_0x5b232a,_0xa0e3fe,_0x52651a){const _0x2ec06b=a53_0x1ef16a,_0x4109c7=a53_0x38adf4[_0x2ec06b(0xd3)](_0x3f37af)[_0x2ec06b(0xf8)]();_0x3f37af['endsWith'](_0x2ec06b(0xe5))&&(_0x5b232a=_0x5b232a[_0x2ec06b(0xec)](/\.tpl$/,''));const _0x33f6f3=[_0x2ec06b(0xc6),'.ts','.jsx',_0x2ec06b(0xd1),_0x2ec06b(0xcc),_0x2ec06b(0xe8),'.css',_0x2ec06b(0xc8),_0x2ec06b(0xe5)];if(_0x33f6f3[_0x2ec06b(0xe4)](_0x4109c7)||_0x3f37af['endsWith'](_0x2ec06b(0xe5))){const _0x25dacd=await a53_0x110440[_0x2ec06b(0xf0)][_0x2ec06b(0xda)](_0x3f37af,_0x2ec06b(0xd2)),_0x509f3f=this[_0x2ec06b(0xf1)](_0x25dacd,_0xa0e3fe,_0x52651a);await a53_0x110440[_0x2ec06b(0xf0)][_0x2ec06b(0xd0)](_0x5b232a,_0x509f3f,_0x2ec06b(0xd2));}else await a53_0x110440[_0x2ec06b(0xf0)]['copyFile'](_0x3f37af,_0x5b232a);}}function a53_0x3ed0(){const _0x4fecf=['\x20\x20\x20\x20','replaceApiContent','模板内容替换失败','api','398409UXVrtx','includes','.tpl','slice','processFile','.md','numeric','2-digit','charAt','replace','189004fgenSN','toLocaleTimeString','success','promises','replaceContent','join','159222IYrvfr','keys','processDirectory','4qhGljK','toUpperCase','toLowerCase','error','toLocaleDateString','toLocaleString','开始处理模板内容替换','63qRnovx','mkdir','default','endsWith','.tsx','split','.scss','338246PngaBU','80VfLndu','pop','.json','797424Ngjobr','processTemplate','YourModel','writeFile','.js','utf8','extname','map','54lVoBhO','now','338536jFecpX','template','toDisplayTitle','readFile','name','stringify','info','1105825iDDitU'];a53_0x3ed0=function(){return _0x4fecf;};return a53_0x3ed0();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/cli",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "bin": {
6
6
  "lovrabet": "lib/cli.js"