@windrun-huaiin/dev-scripts 14.1.2 → 14.1.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 (242) hide show
  1. package/dist/commands/create-diaomao-app.d.ts.map +1 -1
  2. package/dist/commands/create-diaomao-app.js +2 -0
  3. package/dist/commands/create-diaomao-app.mjs +2 -0
  4. package/dist/commands/diaomao-update.d.ts.map +1 -1
  5. package/dist/commands/diaomao-update.js +13 -5
  6. package/dist/commands/diaomao-update.mjs +13 -5
  7. package/dist/config/schema.d.ts.map +1 -1
  8. package/dist/config/schema.js +74 -1
  9. package/dist/config/schema.mjs +74 -1
  10. package/package.json +1 -1
  11. package/dist/_virtual/_commonjsHelpers.js +0 -7
  12. package/dist/_virtual/_commonjsHelpers.mjs +0 -5
  13. package/dist/_virtual/index.js +0 -11
  14. package/dist/_virtual/index.mjs +0 -7
  15. package/dist/_virtual/re.js +0 -5
  16. package/dist/_virtual/re.mjs +0 -3
  17. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js +0 -161
  18. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.mjs +0 -159
  19. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js +0 -576
  20. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.mjs +0 -574
  21. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js +0 -350
  22. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.mjs +0 -348
  23. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js +0 -21
  24. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.mjs +0 -19
  25. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js +0 -72
  26. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.mjs +0 -70
  27. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js +0 -77
  28. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.mjs +0 -75
  29. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js +0 -22
  30. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.mjs +0 -20
  31. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js +0 -18
  32. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.mjs +0 -16
  33. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js +0 -20
  34. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.mjs +0 -18
  35. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js +0 -73
  36. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.mjs +0 -71
  37. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js +0 -18
  38. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.mjs +0 -16
  39. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js +0 -18
  40. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.mjs +0 -16
  41. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js +0 -18
  42. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.mjs +0 -16
  43. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js +0 -34
  44. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.mjs +0 -32
  45. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js +0 -18
  46. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.mjs +0 -16
  47. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js +0 -18
  48. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.mjs +0 -16
  49. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js +0 -18
  50. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.mjs +0 -16
  51. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js +0 -18
  52. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.mjs +0 -16
  53. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js +0 -18
  54. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.mjs +0 -16
  55. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js +0 -31
  56. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.mjs +0 -29
  57. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js +0 -18
  58. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.mjs +0 -16
  59. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js +0 -21
  60. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.mjs +0 -19
  61. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js +0 -18
  62. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.mjs +0 -16
  63. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js +0 -18
  64. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.mjs +0 -16
  65. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js +0 -25
  66. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.mjs +0 -23
  67. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js +0 -18
  68. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.mjs +0 -16
  69. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js +0 -21
  70. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.mjs +0 -19
  71. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js +0 -144
  72. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.mjs +0 -142
  73. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js +0 -48
  74. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.mjs +0 -46
  75. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js +0 -22
  76. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.mjs +0 -20
  77. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js +0 -40
  78. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.mjs +0 -38
  79. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js +0 -53
  80. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.mjs +0 -51
  81. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js +0 -28
  82. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.mjs +0 -26
  83. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js +0 -239
  84. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.mjs +0 -237
  85. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js +0 -19
  86. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.mjs +0 -17
  87. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js +0 -22
  88. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.mjs +0 -20
  89. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js +0 -19
  90. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.mjs +0 -17
  91. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js +0 -41
  92. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.mjs +0 -39
  93. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js +0 -40
  94. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.mjs +0 -38
  95. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js +0 -78
  96. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.mjs +0 -76
  97. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js +0 -102
  98. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.mjs +0 -100
  99. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js +0 -63
  100. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.mjs +0 -61
  101. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js +0 -265
  102. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.mjs +0 -263
  103. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js +0 -23
  104. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.mjs +0 -21
  105. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js +0 -26
  106. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.mjs +0 -24
  107. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -90
  108. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.mjs +0 -88
  109. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -45
  110. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.mjs +0 -43
  111. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.js +0 -105
  112. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.mjs +0 -102
  113. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -88
  114. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.mjs +0 -86
  115. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.js +0 -219
  116. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.mjs +0 -217
  117. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -117
  118. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.mjs +0 -115
  119. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -200
  120. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.mjs +0 -198
  121. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -51
  122. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.mjs +0 -49
  123. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -39
  124. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.mjs +0 -37
  125. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -209
  126. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.mjs +0 -207
  127. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -225
  128. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.mjs +0 -223
  129. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -148
  130. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.mjs +0 -146
  131. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -36
  132. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.mjs +0 -34
  133. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -28
  134. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.mjs +0 -26
  135. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -17
  136. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.mjs +0 -15
  137. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -15
  138. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.mjs +0 -13
  139. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.js +0 -337
  140. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.mjs +0 -335
  141. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.js +0 -76
  142. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.mjs +0 -71
  143. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -57
  144. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.mjs +0 -55
  145. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.js +0 -90
  146. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.mjs +0 -88
  147. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.js +0 -178
  148. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.mjs +0 -176
  149. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.js +0 -62
  150. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.mjs +0 -57
  151. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.js +0 -9
  152. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.mjs +0 -7
  153. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.js +0 -116
  154. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.mjs +0 -114
  155. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.js +0 -151
  156. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.mjs +0 -147
  157. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.js +0 -40
  158. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.mjs +0 -38
  159. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.js +0 -39
  160. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.mjs +0 -36
  161. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -27
  162. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.mjs +0 -24
  163. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -147
  164. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +0 -144
  165. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -115
  166. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.mjs +0 -113
  167. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -65
  168. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +0 -63
  169. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.js +0 -53
  170. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.mjs +0 -36
  171. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.js +0 -39
  172. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.mjs +0 -37
  173. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js +0 -79
  174. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.mjs +0 -73
  175. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.js +0 -719
  176. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.mjs +0 -717
  177. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.js +0 -41
  178. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.mjs +0 -39
  179. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.js +0 -969
  180. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.mjs +0 -967
  181. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.js +0 -68
  182. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.mjs +0 -64
  183. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.js +0 -39
  184. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.mjs +0 -37
  185. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.js +0 -19
  186. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.mjs +0 -17
  187. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.js +0 -17
  188. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.mjs +0 -15
  189. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.js +0 -19
  190. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.mjs +0 -17
  191. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.js +0 -16
  192. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.mjs +0 -14
  193. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.js +0 -21
  194. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.mjs +0 -19
  195. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.js +0 -47
  196. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.mjs +0 -43
  197. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.js +0 -42
  198. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.mjs +0 -38
  199. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.js +0 -25
  200. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.mjs +0 -23
  201. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.js +0 -64
  202. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.mjs +0 -62
  203. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.js +0 -99
  204. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.mjs +0 -96
  205. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -60
  206. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.mjs +0 -58
  207. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -29
  208. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.mjs +0 -26
  209. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -50
  210. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.mjs +0 -46
  211. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -76
  212. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.mjs +0 -71
  213. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -68
  214. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.mjs +0 -64
  215. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -77
  216. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +0 -74
  217. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -82
  218. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +0 -78
  219. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -41
  220. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.mjs +0 -39
  221. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -96
  222. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +0 -93
  223. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -105
  224. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.mjs +0 -101
  225. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -151
  226. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.mjs +0 -146
  227. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.js +0 -131
  228. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.mjs +0 -128
  229. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -145
  230. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.mjs +0 -143
  231. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -24
  232. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.mjs +0 -20
  233. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -87
  234. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.mjs +0 -85
  235. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -26
  236. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.mjs +0 -24
  237. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -152
  238. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.mjs +0 -150
  239. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -338
  240. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +0 -336
  241. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.js +0 -148
  242. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.mjs +0 -146
@@ -1 +1 @@
1
- {"version":3,"file":"create-diaomao-app.d.ts","sourceRoot":"","sources":["../../src/commands/create-diaomao-app.ts"],"names":[],"mappings":"AAKA,KAAK,oBAAoB,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,GAAE,oBAAyB,iBAgL3F"}
1
+ {"version":3,"file":"create-diaomao-app.d.ts","sourceRoot":"","sources":["../../src/commands/create-diaomao-app.ts"],"names":[],"mappings":"AAKA,KAAK,oBAAoB,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,GAAE,oBAAyB,iBAkL3F"}
@@ -131,6 +131,8 @@ async function createDiaomaoApp(targetDir, options = {}) {
131
131
  child_process.execSync('git init', { cwd: destDir, stdio: 'inherit' });
132
132
  child_process.execSync('git add .', { cwd: destDir, stdio: 'inherit' });
133
133
  child_process.execSync('git commit -m "feat: initial commit from diaomao template"', { cwd: destDir, stdio: 'inherit' });
134
+ // just ignore this changeset template file in local, but not affect remote file
135
+ child_process.execSync('git update-index --skip-worktree .changeset/d8-template.mdx', { cwd: destDir, stdio: 'ignore' });
134
136
  }
135
137
  catch (error) {
136
138
  console.warn('Failed to initialize Git repository. Please initialize manually.');
@@ -129,6 +129,8 @@ async function createDiaomaoApp(targetDir, options = {}) {
129
129
  execSync('git init', { cwd: destDir, stdio: 'inherit' });
130
130
  execSync('git add .', { cwd: destDir, stdio: 'inherit' });
131
131
  execSync('git commit -m "feat: initial commit from diaomao template"', { cwd: destDir, stdio: 'inherit' });
132
+ // just ignore this changeset template file in local, but not affect remote file
133
+ execSync('git update-index --skip-worktree .changeset/d8-template.mdx', { cwd: destDir, stdio: 'ignore' });
132
134
  }
133
135
  catch (error) {
134
136
  console.warn('Failed to initialize Git repository. Please initialize manually.');
@@ -1 +1 @@
1
- {"version":3,"file":"diaomao-update.d.ts","sourceRoot":"","sources":["../../src/commands/diaomao-update.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAgT7D,wBAAsB,aAAa,CACjC,MAAM,EAAE,gBAAgB,EACxB,GAAG,GAAE,MAA6D,GACjE,OAAO,CAAC,MAAM,CAAC,CA+MjB"}
1
+ {"version":3,"file":"diaomao-update.d.ts","sourceRoot":"","sources":["../../src/commands/diaomao-update.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AA4T7D,wBAAsB,aAAa,CACjC,MAAM,EAAE,gBAAgB,EACxB,GAAG,GAAE,MAA6D,GACjE,OAAO,CAAC,MAAM,CAAC,CA+MjB"}
@@ -6,6 +6,7 @@ var https = require('https');
6
6
  var child_process = require('child_process');
7
7
  var yaml = require('yaml');
8
8
  var semver = require('semver');
9
+ var pc = require('picocolors');
9
10
 
10
11
  const DEPENDENCY_SECTIONS = [
11
12
  'dependencies',
@@ -167,18 +168,25 @@ function renderTable(rows, headers) {
167
168
  ].join('\n');
168
169
  }
169
170
  function printSkipDetails(skipRows, compactLog) {
170
- const newerCount = skipRows.filter((row) => row.reason === 'skipped-newer').length;
171
- if (compactLog) {
172
- if (newerCount > 0) {
173
- console.log(`Skipped ${newerCount} package(s) because local versions are newer than the source.`);
171
+ const newerRows = skipRows.filter((row) => row.reason === 'skipped-newer');
172
+ console.log('');
173
+ if (newerRows.length === 0) {
174
+ console.log(`${pc.yellow('[diaomao-update]')} ${pc.bold('skipped-newer')}: 0`);
175
+ }
176
+ else {
177
+ console.log(`${pc.yellow('[diaomao-update]')} ${pc.bold('skipped-newer')}: ${pc.red(String(newerRows.length))}`);
178
+ for (const row of newerRows) {
179
+ console.log(` ${pc.cyan(row.packageName)} (${pc.dim(row.targetVersion)} ${pc.yellow('→')} ${pc.green(row.currentVersion)})`);
174
180
  }
181
+ }
182
+ if (compactLog) {
175
183
  return;
176
184
  }
177
185
  if (skipRows.length === 0) {
178
186
  return;
179
187
  }
180
188
  console.log('\nSkipped:');
181
- console.log(renderTable(skipRows, ['Package', 'Before', 'After', 'Reason']));
189
+ console.log(renderTable(skipRows, ['Package', 'Current', 'Reference', 'Reason']));
182
190
  }
183
191
  function resolveTargetVersions(remoteCatalog, allowedPackages, compactLog) {
184
192
  const resolvedTargets = {};
@@ -4,6 +4,7 @@ import https from 'https';
4
4
  import { execSync } from 'child_process';
5
5
  import { parse, stringify } from 'yaml';
6
6
  import semver from 'semver';
7
+ import pc from 'picocolors';
7
8
 
8
9
  const DEPENDENCY_SECTIONS = [
9
10
  'dependencies',
@@ -165,18 +166,25 @@ function renderTable(rows, headers) {
165
166
  ].join('\n');
166
167
  }
167
168
  function printSkipDetails(skipRows, compactLog) {
168
- const newerCount = skipRows.filter((row) => row.reason === 'skipped-newer').length;
169
- if (compactLog) {
170
- if (newerCount > 0) {
171
- console.log(`Skipped ${newerCount} package(s) because local versions are newer than the source.`);
169
+ const newerRows = skipRows.filter((row) => row.reason === 'skipped-newer');
170
+ console.log('');
171
+ if (newerRows.length === 0) {
172
+ console.log(`${pc.yellow('[diaomao-update]')} ${pc.bold('skipped-newer')}: 0`);
173
+ }
174
+ else {
175
+ console.log(`${pc.yellow('[diaomao-update]')} ${pc.bold('skipped-newer')}: ${pc.red(String(newerRows.length))}`);
176
+ for (const row of newerRows) {
177
+ console.log(` ${pc.cyan(row.packageName)} (${pc.dim(row.targetVersion)} ${pc.yellow('→')} ${pc.green(row.currentVersion)})`);
172
178
  }
179
+ }
180
+ if (compactLog) {
173
181
  return;
174
182
  }
175
183
  if (skipRows.length === 0) {
176
184
  return;
177
185
  }
178
186
  console.log('\nSkipped:');
179
- console.log(renderTable(skipRows, ['Package', 'Before', 'After', 'Reason']));
187
+ console.log(renderTable(skipRows, ['Package', 'Current', 'Reference', 'Reason']));
180
188
  }
181
189
  function resolveTargetVersions(remoteCatalog, allowedPackages, compactLog) {
182
190
  const resolvedTargets = {};
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAE/B,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,EAAE,CAAA;QACjB,aAAa,EAAE,MAAM,CAAA;QACrB,WAAW,EAAE,MAAM,CAAA;KACpB,CAAA;IAGD,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,EAAE,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;QAClB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB,CAAA;IAGD,IAAI,CAAC,EAAE;QACL,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IAGD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,CAAC,EAAE,OAAO,CAAA;KAClB,CAAA;IAGD,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAG3C,aAAa,CAAC,EAAE;QACd,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;QAC1B,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB,CAAA;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,gBAqF5B,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAE/B,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,EAAE,CAAA;QACjB,aAAa,EAAE,MAAM,CAAA;QACrB,WAAW,EAAE,MAAM,CAAA;KACpB,CAAA;IAGD,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,EAAE,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;QAClB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB,CAAA;IAGD,IAAI,CAAC,EAAE;QACL,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IAGD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,CAAC,EAAE,OAAO,CAAA;KAClB,CAAA;IAGD,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAG3C,aAAa,CAAC,EAAE;QACd,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;QAC1B,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB,CAAA;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,gBA8J5B,CAAA"}
@@ -23,7 +23,80 @@ const DEFAULT_CONFIG = {
23
23
  },
24
24
  diaomaoUpdate: {
25
25
  sourceUrl: 'https://raw.githubusercontent.com/caofanCPU/next-ai-build/main/pnpm-workspace.yaml',
26
- allowedPackages: [],
26
+ "allowedPackages": [
27
+ "@changesets/cli",
28
+ "@clerk/localizations",
29
+ "@clerk/nextjs",
30
+ "@clerk/shared",
31
+ "@clerk/themes",
32
+ "@fingerprintjs/fingerprintjs",
33
+ "@hookform/resolvers",
34
+ "@prisma/client",
35
+ "@radix-ui/react-alert-dialog",
36
+ "@radix-ui/react-dropdown-menu",
37
+ "@radix-ui/react-label",
38
+ "@radix-ui/react-slot",
39
+ "@tailwindcss/cli",
40
+ "@tailwindcss/postcss",
41
+ "@tailwindcss/typography",
42
+ "@types/hast",
43
+ "@types/mdx",
44
+ "@types/node",
45
+ "@types/nprogress",
46
+ "@types/react",
47
+ "@types/react-dom",
48
+ "@typescript-eslint/parser",
49
+ "@windrun-huaiin/backend-core",
50
+ "@windrun-huaiin/base-ui",
51
+ "@windrun-huaiin/dev-scripts",
52
+ "@windrun-huaiin/lib",
53
+ "@windrun-huaiin/third-ui",
54
+ "autoprefixer",
55
+ "baseline-browser-mapping",
56
+ "class-variance-authority",
57
+ "clsx",
58
+ "date-fns",
59
+ "eslint",
60
+ "eslint-config-next",
61
+ "eslint-plugin-unused-imports",
62
+ "fast-glob",
63
+ "fumadocs-core",
64
+ "fumadocs-docgen",
65
+ "fumadocs-mdx",
66
+ "fumadocs-typescript",
67
+ "fumadocs-ui",
68
+ "katex",
69
+ "lucide-react",
70
+ "mermaid",
71
+ "next",
72
+ "next-intl",
73
+ "next-themes",
74
+ "nprogress",
75
+ "postcss",
76
+ "prisma",
77
+ "react",
78
+ "react-dom",
79
+ "react-medium-image-zoom",
80
+ "rehype-katex",
81
+ "remark",
82
+ "remark-frontmatter",
83
+ "remark-gfm",
84
+ "remark-math",
85
+ "remark-mdx",
86
+ "shiki",
87
+ "stripe",
88
+ "svix",
89
+ "swiper",
90
+ "tailwind-merge",
91
+ "tailwindcss",
92
+ "tailwindcss-animate",
93
+ "ts-morph",
94
+ "ts-node",
95
+ "typescript",
96
+ "unist-util-visit",
97
+ "uuid",
98
+ "zod"
99
+ ],
27
100
  compactLog: true
28
101
  },
29
102
  architectureConfig: {
@@ -21,7 +21,80 @@ const DEFAULT_CONFIG = {
21
21
  },
22
22
  diaomaoUpdate: {
23
23
  sourceUrl: 'https://raw.githubusercontent.com/caofanCPU/next-ai-build/main/pnpm-workspace.yaml',
24
- allowedPackages: [],
24
+ "allowedPackages": [
25
+ "@changesets/cli",
26
+ "@clerk/localizations",
27
+ "@clerk/nextjs",
28
+ "@clerk/shared",
29
+ "@clerk/themes",
30
+ "@fingerprintjs/fingerprintjs",
31
+ "@hookform/resolvers",
32
+ "@prisma/client",
33
+ "@radix-ui/react-alert-dialog",
34
+ "@radix-ui/react-dropdown-menu",
35
+ "@radix-ui/react-label",
36
+ "@radix-ui/react-slot",
37
+ "@tailwindcss/cli",
38
+ "@tailwindcss/postcss",
39
+ "@tailwindcss/typography",
40
+ "@types/hast",
41
+ "@types/mdx",
42
+ "@types/node",
43
+ "@types/nprogress",
44
+ "@types/react",
45
+ "@types/react-dom",
46
+ "@typescript-eslint/parser",
47
+ "@windrun-huaiin/backend-core",
48
+ "@windrun-huaiin/base-ui",
49
+ "@windrun-huaiin/dev-scripts",
50
+ "@windrun-huaiin/lib",
51
+ "@windrun-huaiin/third-ui",
52
+ "autoprefixer",
53
+ "baseline-browser-mapping",
54
+ "class-variance-authority",
55
+ "clsx",
56
+ "date-fns",
57
+ "eslint",
58
+ "eslint-config-next",
59
+ "eslint-plugin-unused-imports",
60
+ "fast-glob",
61
+ "fumadocs-core",
62
+ "fumadocs-docgen",
63
+ "fumadocs-mdx",
64
+ "fumadocs-typescript",
65
+ "fumadocs-ui",
66
+ "katex",
67
+ "lucide-react",
68
+ "mermaid",
69
+ "next",
70
+ "next-intl",
71
+ "next-themes",
72
+ "nprogress",
73
+ "postcss",
74
+ "prisma",
75
+ "react",
76
+ "react-dom",
77
+ "react-medium-image-zoom",
78
+ "rehype-katex",
79
+ "remark",
80
+ "remark-frontmatter",
81
+ "remark-gfm",
82
+ "remark-math",
83
+ "remark-mdx",
84
+ "shiki",
85
+ "stripe",
86
+ "svix",
87
+ "swiper",
88
+ "tailwind-merge",
89
+ "tailwindcss",
90
+ "tailwindcss-animate",
91
+ "ts-morph",
92
+ "ts-node",
93
+ "typescript",
94
+ "unist-util-visit",
95
+ "uuid",
96
+ "zod"
97
+ ],
25
98
  compactLog: true
26
99
  },
27
100
  architectureConfig: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/dev-scripts",
3
- "version": "14.1.2",
3
+ "version": "14.1.4",
4
4
  "description": "Development scripts for multilingual projects",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
- exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
@@ -1,5 +0,0 @@
1
- function getDefaultExportFromCjs (x) {
2
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3
- }
4
-
5
- export { getDefaultExportFromCjs };
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var index = require('../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js');
7
-
8
- var semverExports = index.__require();
9
- var semver = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(semverExports);
10
-
11
- exports.default = semver;
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs } from './_commonjsHelpers.mjs';
2
- import { __require as requireSemver } from '../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.mjs';
3
-
4
- var semverExports = requireSemver();
5
- var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
6
-
7
- export { semver as default };
@@ -1,5 +0,0 @@
1
- 'use strict';
2
-
3
- var re = {exports: {}};
4
-
5
- exports.__module = re;
@@ -1,3 +0,0 @@
1
- var re = {exports: {}};
2
-
3
- export { re as __module };
@@ -1,161 +0,0 @@
1
- 'use strict';
2
-
3
- var parseOptions = require('../internal/parse-options.js');
4
- var re = require('../internal/re.js');
5
- var cmp = require('../functions/cmp.js');
6
- var debug = require('../internal/debug.js');
7
- var semver = require('./semver.js');
8
- var range = require('./range.js');
9
-
10
- var comparator;
11
- var hasRequiredComparator;
12
-
13
- function requireComparator () {
14
- if (hasRequiredComparator) return comparator;
15
- hasRequiredComparator = 1;
16
-
17
- const ANY = Symbol('SemVer ANY');
18
- // hoisted class for cyclic dependency
19
- class Comparator {
20
- static get ANY () {
21
- return ANY
22
- }
23
-
24
- constructor (comp, options) {
25
- options = parseOptions$1(options);
26
-
27
- if (comp instanceof Comparator) {
28
- if (comp.loose === !!options.loose) {
29
- return comp
30
- } else {
31
- comp = comp.value;
32
- }
33
- }
34
-
35
- comp = comp.trim().split(/\s+/).join(' ');
36
- debug$1('comparator', comp, options);
37
- this.options = options;
38
- this.loose = !!options.loose;
39
- this.parse(comp);
40
-
41
- if (this.semver === ANY) {
42
- this.value = '';
43
- } else {
44
- this.value = this.operator + this.semver.version;
45
- }
46
-
47
- debug$1('comp', this);
48
- }
49
-
50
- parse (comp) {
51
- const r = this.options.loose ? re$1[t.COMPARATORLOOSE] : re$1[t.COMPARATOR];
52
- const m = comp.match(r);
53
-
54
- if (!m) {
55
- throw new TypeError(`Invalid comparator: ${comp}`)
56
- }
57
-
58
- this.operator = m[1] !== undefined ? m[1] : '';
59
- if (this.operator === '=') {
60
- this.operator = '';
61
- }
62
-
63
- // if it literally is just '>' or '' then allow anything.
64
- if (!m[2]) {
65
- this.semver = ANY;
66
- } else {
67
- this.semver = new SemVer(m[2], this.options.loose);
68
- }
69
- }
70
-
71
- toString () {
72
- return this.value
73
- }
74
-
75
- test (version) {
76
- debug$1('Comparator.test', version, this.options.loose);
77
-
78
- if (this.semver === ANY || version === ANY) {
79
- return true
80
- }
81
-
82
- if (typeof version === 'string') {
83
- try {
84
- version = new SemVer(version, this.options);
85
- } catch (er) {
86
- return false
87
- }
88
- }
89
-
90
- return cmp$1(version, this.operator, this.semver, this.options)
91
- }
92
-
93
- intersects (comp, options) {
94
- if (!(comp instanceof Comparator)) {
95
- throw new TypeError('a Comparator is required')
96
- }
97
-
98
- if (this.operator === '') {
99
- if (this.value === '') {
100
- return true
101
- }
102
- return new Range(comp.value, options).test(this.value)
103
- } else if (comp.operator === '') {
104
- if (comp.value === '') {
105
- return true
106
- }
107
- return new Range(this.value, options).test(comp.semver)
108
- }
109
-
110
- options = parseOptions$1(options);
111
-
112
- // Special cases where nothing can possibly be lower
113
- if (options.includePrerelease &&
114
- (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {
115
- return false
116
- }
117
- if (!options.includePrerelease &&
118
- (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {
119
- return false
120
- }
121
-
122
- // Same direction increasing (> or >=)
123
- if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {
124
- return true
125
- }
126
- // Same direction decreasing (< or <=)
127
- if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {
128
- return true
129
- }
130
- // same SemVer and both sides are inclusive (<= or >=)
131
- if (
132
- (this.semver.version === comp.semver.version) &&
133
- this.operator.includes('=') && comp.operator.includes('=')) {
134
- return true
135
- }
136
- // opposite directions less than
137
- if (cmp$1(this.semver, '<', comp.semver, options) &&
138
- this.operator.startsWith('>') && comp.operator.startsWith('<')) {
139
- return true
140
- }
141
- // opposite directions greater than
142
- if (cmp$1(this.semver, '>', comp.semver, options) &&
143
- this.operator.startsWith('<') && comp.operator.startsWith('>')) {
144
- return true
145
- }
146
- return false
147
- }
148
- }
149
-
150
- comparator = Comparator;
151
-
152
- const parseOptions$1 = parseOptions.__require();
153
- const { safeRe: re$1, t } = re.__require();
154
- const cmp$1 = cmp.__require();
155
- const debug$1 = debug.__require();
156
- const SemVer = semver.__require();
157
- const Range = range.__require();
158
- return comparator;
159
- }
160
-
161
- exports.__require = requireComparator;
@@ -1,159 +0,0 @@
1
- import { __require as requireParseOptions } from '../internal/parse-options.mjs';
2
- import { __require as requireRe } from '../internal/re.mjs';
3
- import { __require as requireCmp } from '../functions/cmp.mjs';
4
- import { __require as requireDebug } from '../internal/debug.mjs';
5
- import { __require as requireSemver } from './semver.mjs';
6
- import { __require as requireRange } from './range.mjs';
7
-
8
- var comparator;
9
- var hasRequiredComparator;
10
-
11
- function requireComparator () {
12
- if (hasRequiredComparator) return comparator;
13
- hasRequiredComparator = 1;
14
-
15
- const ANY = Symbol('SemVer ANY');
16
- // hoisted class for cyclic dependency
17
- class Comparator {
18
- static get ANY () {
19
- return ANY
20
- }
21
-
22
- constructor (comp, options) {
23
- options = parseOptions(options);
24
-
25
- if (comp instanceof Comparator) {
26
- if (comp.loose === !!options.loose) {
27
- return comp
28
- } else {
29
- comp = comp.value;
30
- }
31
- }
32
-
33
- comp = comp.trim().split(/\s+/).join(' ');
34
- debug('comparator', comp, options);
35
- this.options = options;
36
- this.loose = !!options.loose;
37
- this.parse(comp);
38
-
39
- if (this.semver === ANY) {
40
- this.value = '';
41
- } else {
42
- this.value = this.operator + this.semver.version;
43
- }
44
-
45
- debug('comp', this);
46
- }
47
-
48
- parse (comp) {
49
- const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
50
- const m = comp.match(r);
51
-
52
- if (!m) {
53
- throw new TypeError(`Invalid comparator: ${comp}`)
54
- }
55
-
56
- this.operator = m[1] !== undefined ? m[1] : '';
57
- if (this.operator === '=') {
58
- this.operator = '';
59
- }
60
-
61
- // if it literally is just '>' or '' then allow anything.
62
- if (!m[2]) {
63
- this.semver = ANY;
64
- } else {
65
- this.semver = new SemVer(m[2], this.options.loose);
66
- }
67
- }
68
-
69
- toString () {
70
- return this.value
71
- }
72
-
73
- test (version) {
74
- debug('Comparator.test', version, this.options.loose);
75
-
76
- if (this.semver === ANY || version === ANY) {
77
- return true
78
- }
79
-
80
- if (typeof version === 'string') {
81
- try {
82
- version = new SemVer(version, this.options);
83
- } catch (er) {
84
- return false
85
- }
86
- }
87
-
88
- return cmp(version, this.operator, this.semver, this.options)
89
- }
90
-
91
- intersects (comp, options) {
92
- if (!(comp instanceof Comparator)) {
93
- throw new TypeError('a Comparator is required')
94
- }
95
-
96
- if (this.operator === '') {
97
- if (this.value === '') {
98
- return true
99
- }
100
- return new Range(comp.value, options).test(this.value)
101
- } else if (comp.operator === '') {
102
- if (comp.value === '') {
103
- return true
104
- }
105
- return new Range(this.value, options).test(comp.semver)
106
- }
107
-
108
- options = parseOptions(options);
109
-
110
- // Special cases where nothing can possibly be lower
111
- if (options.includePrerelease &&
112
- (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {
113
- return false
114
- }
115
- if (!options.includePrerelease &&
116
- (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {
117
- return false
118
- }
119
-
120
- // Same direction increasing (> or >=)
121
- if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {
122
- return true
123
- }
124
- // Same direction decreasing (< or <=)
125
- if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {
126
- return true
127
- }
128
- // same SemVer and both sides are inclusive (<= or >=)
129
- if (
130
- (this.semver.version === comp.semver.version) &&
131
- this.operator.includes('=') && comp.operator.includes('=')) {
132
- return true
133
- }
134
- // opposite directions less than
135
- if (cmp(this.semver, '<', comp.semver, options) &&
136
- this.operator.startsWith('>') && comp.operator.startsWith('<')) {
137
- return true
138
- }
139
- // opposite directions greater than
140
- if (cmp(this.semver, '>', comp.semver, options) &&
141
- this.operator.startsWith('<') && comp.operator.startsWith('>')) {
142
- return true
143
- }
144
- return false
145
- }
146
- }
147
-
148
- comparator = Comparator;
149
-
150
- const parseOptions = requireParseOptions();
151
- const { safeRe: re, t } = requireRe();
152
- const cmp = requireCmp();
153
- const debug = requireDebug();
154
- const SemVer = requireSemver();
155
- const Range = requireRange();
156
- return comparator;
157
- }
158
-
159
- export { requireComparator as __require };