@atomicservice/ascf-toolkit 1.0.4-beta.0 → 1.0.5-beta.4

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 (88) hide show
  1. package/lib/ascf-base/index.d.ts +68 -0
  2. package/lib/ascf-base/index.js +1 -0
  3. package/lib/ascf-compiler/appjson-loader.js +1 -1
  4. package/lib/ascf-compiler/common/appjson-validator.js +1 -1
  5. package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
  6. package/lib/ascf-compiler/common/eventHappenHjs.js +1 -1
  7. package/lib/ascf-compiler/common/exp-utils.js +1 -1
  8. package/lib/ascf-compiler/common/hash-sum.js +1 -1
  9. package/lib/ascf-compiler/common/hdc-executor.js +1 -0
  10. package/lib/ascf-compiler/common/hjs-utils.js +1 -1
  11. package/lib/ascf-compiler/common/hxml-validator.js +1 -1
  12. package/lib/ascf-compiler/common/logUndefined.js +1 -1
  13. package/lib/ascf-compiler/common/manifest-handler.js +1 -0
  14. package/lib/ascf-compiler/common/manifest-manager.js +1 -0
  15. package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -1
  16. package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
  17. package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -1
  18. package/lib/ascf-compiler/common/utils.js +1 -1
  19. package/lib/ascf-compiler/css-process-loader.js +1 -1
  20. package/lib/ascf-compiler/extract-loader.js +1 -1
  21. package/lib/ascf-compiler/hcss-loader.js +1 -1
  22. package/lib/ascf-compiler/hjs-loader.js +1 -1
  23. package/lib/ascf-compiler/hxml-loader.js +1 -1
  24. package/lib/ascf-compiler/js-parser/parser-babel.js +1 -1
  25. package/lib/ascf-compiler/js-parser/parser-swc.js +1 -1
  26. package/lib/ascf-compiler/js-parser/parser.js +1 -1
  27. package/lib/ascf-compiler/loader-utils.js +1 -1
  28. package/lib/ascf-compiler/path-process-loader.js +1 -1
  29. package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
  30. package/lib/ascf-compiler/plugin/dynamic-entry-plugin.js +1 -0
  31. package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
  32. package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
  33. package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
  34. package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
  35. package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -1
  36. package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
  37. package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
  38. package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
  39. package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
  40. package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
  41. package/lib/ascf-compiler/require-loader.js +1 -1
  42. package/lib/ascf-compiler/server/dev-server.js +1 -0
  43. package/lib/ascf-compiler/server/port-manager.js +1 -0
  44. package/lib/ascf-compiler/swc-loader.js +1 -1
  45. package/lib/ascf-compiler/template/attr-utils.js +1 -1
  46. package/lib/ascf-compiler/template/implicit-model-config.js +1 -1
  47. package/lib/ascf-compiler/template/node-name-utils.js +1 -1
  48. package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
  49. package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
  50. package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
  51. package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
  52. package/lib/ascf-compiler/trustlist-verify/verify-ignore-files.js +1 -1
  53. package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
  54. package/lib/ascf-compiler/watch/watch.js +1 -1
  55. package/lib/ascf-compiler/web.webpack.config.js +1 -1
  56. package/lib/ascf-converter/ascfApisDiff.json +1979 -0
  57. package/lib/ascf-converter/common/commonConfig.js +1 -1
  58. package/lib/ascf-converter/common/commonUtils.js +1 -1
  59. package/lib/ascf-converter/common/path-validator.js +1 -1
  60. package/lib/ascf-converter/common/textDocument.js +1 -1
  61. package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
  62. package/lib/ascf-converter/convertManager.js +1 -0
  63. package/lib/ascf-converter/features/converter.js +1 -1
  64. package/lib/ascf-converter/features/fileHandle.js +1 -1
  65. package/lib/ascf-converter/features/transformReport.js +1 -1
  66. package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
  67. package/lib/ascf-converter/parse/babelParser.js +1 -1
  68. package/lib/ascf-converter/parse/importVisitor.js +1 -1
  69. package/lib/ascf-converter/parse/wxssParser.js +1 -1
  70. package/lib/ascf-converter/report/icons/completely.png +0 -0
  71. package/lib/ascf-converter/report/icons/failed.png +0 -0
  72. package/lib/ascf-converter/report/icons/portion.png +0 -0
  73. package/lib/ascf-converter/report/index.html +718 -0
  74. package/lib/ascf-converter/report/js/index.js +1 -0
  75. package/lib/bin/ascf.js +1 -1
  76. package/lib/commands/ascfbuild/index.js +1 -0
  77. package/lib/commands/build-npm/index.js +1 -0
  78. package/lib/commands/debugger/index.js +1 -0
  79. package/lib/common/config.js +1 -1
  80. package/lib/common/log4js.js +1 -1
  81. package/lib/common/logger-plugin.js +1 -1
  82. package/lib/common/remove-strict-mode-plugin.js +1 -1
  83. package/lib/common/string-utils.js +1 -1
  84. package/lib/common/utils.js +1 -1
  85. package/lib/common/version-check.js +1 -1
  86. package/lib/index.js +1 -1
  87. package/package.json +9 -8
  88. package/lib/ascf-build-npm/build-npm.js +0 -1
@@ -1 +0,0 @@
1
- var _0x5f1893=_0x541c,_require=((()=>{for(var e=_0x541c,r=_0x27ff();;)try{if(856661==-parseInt(e(139))*(-parseInt(e(126))/2)+parseInt(e(136))/3*(parseInt(e(131))/4)+-parseInt(e(149))/5+parseInt(e(129))/6+-parseInt(e(140))/7*(parseInt(e(145))/8)+-parseInt(e(135))/9*(parseInt(e(133))/10)+parseInt(e(142))/11*(-parseInt(e(154))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),require(_0x5f1893(141))),readJsonFile=_require.readJsonFile,hasHxml=_require.hasHxml,moveFiles=_require[_0x5f1893(146)],path=require(_0x5f1893(143)),fs=require("fs"),log4js=require(_0x5f1893(144)),logger=log4js.getLogger(_0x5f1893(152));function _0x27ff(){var e=["join","index","ascf_src","12zdtGTQ","Dependencies info not found.","buildMiniProgramNpm","34aEhSZi","miniprogram","All npm dependencies has been built.","9895776ZgSSYy","prototype","8nlycfB","node_modules","3610QkcYXm","warn","5103XRvwAg","1815456eXdymj","error","dependencies","51101uVndOg","7hhXMKS","../common/utils","3002747fIqUEZ","path","../common/log4js","7327032yoNXay","moveFiles","hasOwnProperty","existsSync","7390565XLwEYf","ascf"];return(_0x27ff=function(){return e})()}function _0x541c(e,r){var n=_0x27ff();return(_0x541c=function(e,r){return n[e-=124]})(e,r)}function buildMiniProgramNpm(e){var r=_0x5f1893,n=readJsonFile(path[r(151)](e,r(150),r(153),"package.json"));if(n==={})logger[r(134)](r(124));else{if(n[r(138)])for(var a in n[r(138)])if(Object[r(130)][r(147)].call(n[r(138)],a)){var i=path.join(e,"ascf",r(153),"miniprogram_npm",a);if(!fs[r(148)](i)){var o=path[r(151)](e,r(150),r(153),r(132),a);if(!fs[r(148)](o))return void logger[r(137)]("".concat(a," not found in node_modules, please run npm install ").concat(a,"."));hasHxml(o)&&(a=readJsonFile(path[r(151)](o,"package.json"))[r(127)],moveFiles(a?path[r(151)](o,a):o,i))}}logger.info(r(128))}}exports[_0x5f1893(125)]=buildMiniProgramNpm;