@atomicservice/ascf-toolkit 1.0.5-beta.4 → 1.0.6

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 (106) hide show
  1. package/lib/ascf-base/index.d.ts +14 -3
  2. package/lib/ascf-base/index.js +1 -1
  3. package/lib/ascf-common/index.d.ts +2 -0
  4. package/lib/ascf-common/index.js +1 -0
  5. package/lib/ascf-compiler/appjson-loader.js +1 -1
  6. package/lib/ascf-compiler/common/appjson-validator.js +1 -1
  7. package/lib/ascf-compiler/common/ascf-define.js +1 -0
  8. package/lib/ascf-compiler/common/beforeLoaderProcess.js +1 -0
  9. package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
  10. package/lib/ascf-compiler/common/eventHappenHjs.js +1 -1
  11. package/lib/ascf-compiler/common/exp-utils.js +1 -1
  12. package/lib/ascf-compiler/common/hash-sum.js +1 -1
  13. package/lib/ascf-compiler/common/hdc-executor.js +1 -1
  14. package/lib/ascf-compiler/common/hjs-utils.js +1 -1
  15. package/lib/ascf-compiler/common/hxml-validator.js +1 -1
  16. package/lib/ascf-compiler/common/logUndefined.js +1 -1
  17. package/lib/ascf-compiler/common/manifest-handler.js +1 -1
  18. package/lib/ascf-compiler/common/manifest-manager.js +1 -1
  19. package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -1
  20. package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
  21. package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -1
  22. package/lib/ascf-compiler/common/utils.js +1 -1
  23. package/lib/ascf-compiler/css-process-loader.js +1 -1
  24. package/lib/ascf-compiler/extract-loader.js +1 -1
  25. package/lib/ascf-compiler/hcss-loader.js +1 -1
  26. package/lib/ascf-compiler/hjs-loader.js +1 -1
  27. package/lib/ascf-compiler/hxml-loader.js +1 -1
  28. package/lib/ascf-compiler/js-parser/parser-babel.js +1 -1
  29. package/lib/ascf-compiler/js-parser/parser-swc.js +1 -1
  30. package/lib/ascf-compiler/js-parser/parser.js +1 -1
  31. package/lib/ascf-compiler/loader-utils.js +1 -1
  32. package/lib/ascf-compiler/path-process-loader.js +1 -1
  33. package/lib/ascf-compiler/plugin/before-loader-plugin.js +1 -0
  34. package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
  35. package/lib/ascf-compiler/plugin/dynamic-entry-plugin.js +1 -1
  36. package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
  37. package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
  38. package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
  39. package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
  40. package/lib/ascf-compiler/plugin/quick-service-build-plugin.js +1 -0
  41. package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -1
  42. package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
  43. package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
  44. package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
  45. package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
  46. package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
  47. package/lib/ascf-compiler/require-loader.js +1 -1
  48. package/lib/ascf-compiler/server/dev-server.js +1 -1
  49. package/lib/ascf-compiler/server/port-manager.js +1 -1
  50. package/lib/ascf-compiler/swc-loader.js +1 -1
  51. package/lib/ascf-compiler/template/attr-utils.js +1 -1
  52. package/lib/ascf-compiler/template/implicit-model-config.js +1 -1
  53. package/lib/ascf-compiler/template/node-name-utils.js +1 -1
  54. package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
  55. package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
  56. package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
  57. package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
  58. package/lib/ascf-compiler/trustlist-verify/verify-ignore-files.js +1 -1
  59. package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
  60. package/lib/ascf-compiler/web.webpack.config.js +1 -1
  61. package/lib/ascf-converter/common/commonConfig.js +1 -1
  62. package/lib/ascf-converter/common/commonUtils.js +1 -1
  63. package/lib/ascf-converter/common/path-validator.js +1 -1
  64. package/lib/ascf-converter/common/textDocument.js +1 -1
  65. package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
  66. package/lib/ascf-converter/convertManager.js +1 -1
  67. package/lib/ascf-converter/features/converter.js +1 -1
  68. package/lib/ascf-converter/features/fileHandle.js +1 -1
  69. package/lib/ascf-converter/features/transformReport.js +1 -1
  70. package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
  71. package/lib/ascf-converter/parse/babelParser.js +1 -1
  72. package/lib/ascf-converter/parse/importVisitor.js +1 -1
  73. package/lib/ascf-converter/parse/wxssParser.js +1 -1
  74. package/lib/ascf-converter/report/js/index.js +1 -1
  75. package/lib/ascf-sign-tools/cli.d.ts +1 -0
  76. package/lib/ascf-sign-tools/cli.js +2 -0
  77. package/lib/ascf-sign-tools/index.d.ts +17 -0
  78. package/lib/ascf-sign-tools/index.js +1 -0
  79. package/lib/bin/ascf.js +1 -1
  80. package/lib/commands/ascfbuild/index.js +1 -1
  81. package/lib/commands/build-npm/index.js +1 -1
  82. package/lib/commands/compile.js +1 -0
  83. package/lib/commands/convert.js +1 -0
  84. package/lib/commands/debugger/index.js +1 -1
  85. package/lib/commands/quickservice/index.js +1 -0
  86. package/lib/common/config.js +1 -1
  87. package/lib/common/constants.js +1 -0
  88. package/lib/common/log4js.js +1 -1
  89. package/lib/common/logger-plugin.js +1 -1
  90. package/lib/common/remove-strict-mode-plugin.js +1 -1
  91. package/lib/common/string-utils.js +1 -1
  92. package/lib/common/utils.js +1 -1
  93. package/lib/common/version-check.js +1 -1
  94. package/lib/index.js +1 -1
  95. package/lib/tools/release_64/SSL/ct_log_list.cnf +9 -0
  96. package/lib/tools/release_64/SSL/ct_log_list.cnf.dist +9 -0
  97. package/lib/tools/release_64/SSL/misc/CA.pl +215 -0
  98. package/lib/tools/release_64/SSL/misc/tsget.pl +200 -0
  99. package/lib/tools/release_64/SSL/openssl.cnf +350 -0
  100. package/lib/tools/release_64/SSL/openssl.cnf.dist +350 -0
  101. package/lib/tools/release_64/bin/c_rehash.pl +251 -0
  102. package/lib/tools/release_64/bin/libcrypto-1_1-x64.dll +0 -0
  103. package/lib/tools/release_64/bin/libssl-1_1-x64.dll +0 -0
  104. package/lib/tools/release_64/bin/openssl.exe +0 -0
  105. package/package.json +25 -21
  106. package/lib/ascf-compiler/watch/watch.js +0 -1
@@ -0,0 +1,17 @@
1
+ declare function signPkg(projectPath: string, options: any): Promise<string>;
2
+
3
+ declare function verifySign(spkPath: string, pubKeyPath: string): boolean;
4
+
5
+ declare function repackHandler(spkPath: string, pubKeyPath: string): boolean;
6
+
7
+ declare function printFp(spkPath: string): string;
8
+
9
+ declare function resignPkg(buildPath: string, certFilePath: string, privateKeyFilePath: string, outputPath: string): Promise<void>;
10
+
11
+ declare function resignPkg(buildPath: string, certFilePath: string, privateKeyFilePath: string, outputPath: string): Promise<void>;
12
+
13
+ declare function genCert(keyPath: string, certPath: string): Promise<void>;
14
+
15
+ declare function genP12(p12Path: string, keyPath: string, certPath: string, pwd: string): Promise<void>;
16
+
17
+ export { genCert, genP12, printFp, repackHandler, resignPkg, signPkg, verifySign };