cngpac 0.0.1

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 (278) hide show
  1. package/LICENSE +201 -0
  2. package/dist/bin.mjs +24025 -0
  3. package/dist/src/_virtual/_rolldown/runtime.mjs +35 -0
  4. package/dist/src/changelog.d.mts +71 -0
  5. package/dist/src/changelog.mjs +92 -0
  6. package/dist/src/changenote.d.mts +41 -0
  7. package/dist/src/changenote.mjs +184 -0
  8. package/dist/src/cli/commands/change.d.mts +4 -0
  9. package/dist/src/cli/commands/change.mjs +75 -0
  10. package/dist/src/formatter.d.mts +31 -0
  11. package/dist/src/formatter.mjs +50 -0
  12. package/dist/src/git.d.mts +20 -0
  13. package/dist/src/git.mjs +121 -0
  14. package/dist/src/index.d.mts +19 -0
  15. package/dist/src/index.mjs +20 -0
  16. package/dist/src/node_modules/.pnpm/@clack_core@1.2.0/node_modules/@clack/core/dist/index.mjs +530 -0
  17. package/dist/src/node_modules/.pnpm/@clack_prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs +110 -0
  18. package/dist/src/node_modules/.pnpm/@kwsites_file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.mjs +13 -0
  19. package/dist/src/node_modules/.pnpm/@kwsites_file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.mjs +59 -0
  20. package/dist/src/node_modules/.pnpm/@kwsites_promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.mjs +55 -0
  21. package/dist/src/node_modules/.pnpm/@octokit_auth-token@6.0.0/node_modules/@octokit/auth-token/dist-bundle/index.mjs +32 -0
  22. package/dist/src/node_modules/.pnpm/@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/index.mjs +94 -0
  23. package/dist/src/node_modules/.pnpm/@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/version.mjs +4 -0
  24. package/dist/src/node_modules/.pnpm/@octokit_endpoint@11.0.3/node_modules/@octokit/endpoint/dist-bundle/index.mjs +223 -0
  25. package/dist/src/node_modules/.pnpm/@octokit_graphql@9.0.3/node_modules/@octokit/graphql/dist-bundle/index.mjs +90 -0
  26. package/dist/src/node_modules/.pnpm/@octokit_plugin-paginate-rest@14.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.mjs +86 -0
  27. package/dist/src/node_modules/.pnpm/@octokit_plugin-request-log@6.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/index.mjs +22 -0
  28. package/dist/src/node_modules/.pnpm/@octokit_plugin-request-log@6.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/version.mjs +4 -0
  29. package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.mjs +94 -0
  30. package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.mjs +1295 -0
  31. package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.mjs +17 -0
  32. package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.mjs +4 -0
  33. package/dist/src/node_modules/.pnpm/@octokit_request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.mjs +30 -0
  34. package/dist/src/node_modules/.pnpm/@octokit_request@10.0.8/node_modules/@octokit/request/dist-bundle/index.mjs +146 -0
  35. package/dist/src/node_modules/.pnpm/@octokit_rest@22.0.1/node_modules/@octokit/rest/dist-src/index.mjs +9 -0
  36. package/dist/src/node_modules/.pnpm/@octokit_rest@22.0.1/node_modules/@octokit/rest/dist-src/version.mjs +4 -0
  37. package/dist/src/node_modules/.pnpm/@simple-git_args-pathspec@1.0.2/node_modules/@simple-git/args-pathspec/dist/index.mjs +14 -0
  38. package/dist/src/node_modules/.pnpm/@simple-git_argv-parser@1.0.3/node_modules/@simple-git/argv-parser/dist/index.mjs +369 -0
  39. package/dist/src/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.mjs +13 -0
  40. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/index.mjs +43 -0
  41. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/add.mjs +28 -0
  42. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/register.mjs +16 -0
  43. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/remove.mjs +11 -0
  44. package/dist/src/node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.mjs +2135 -0
  45. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.mjs +200 -0
  46. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.mjs +206 -0
  47. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.mjs +15 -0
  48. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.mjs +212 -0
  49. package/dist/src/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.mjs +19 -0
  50. package/dist/src/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.mjs +4 -0
  51. package/dist/src/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.mjs +7 -0
  52. package/dist/src/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.mjs +76 -0
  53. package/dist/src/node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.mjs +115 -0
  54. package/dist/src/node_modules/.pnpm/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.mjs +138 -0
  55. package/dist/src/node_modules/.pnpm/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.mjs +12 -0
  56. package/dist/src/node_modules/.pnpm/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.mjs +12 -0
  57. package/dist/src/node_modules/.pnpm/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.mjs +165 -0
  58. package/dist/src/node_modules/.pnpm/fault@2.0.1/node_modules/fault/index.mjs +38 -0
  59. package/dist/src/node_modules/.pnpm/format@0.2.2/node_modules/format/format.mjs +87 -0
  60. package/dist/src/node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.mjs +3125 -0
  61. package/dist/src/node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.mjs +13 -0
  62. package/dist/src/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +8 -0
  63. package/dist/src/node_modules/.pnpm/json-with-bigint@3.5.8/node_modules/json-with-bigint/json-with-bigint.mjs +137 -0
  64. package/dist/src/node_modules/.pnpm/localstorage-polyfill@1.0.1/node_modules/localstorage-polyfill/localStorage.mjs +39 -0
  65. package/dist/src/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.mjs +29 -0
  66. package/dist/src/node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.mjs +976 -0
  67. package/dist/src/node_modules/.pnpm/mdast-util-frontmatter@2.0.1/node_modules/mdast-util-frontmatter/lib/index.mjs +162 -0
  68. package/dist/src/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.mjs +36 -0
  69. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.mjs +48 -0
  70. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +27 -0
  71. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +20 -0
  72. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +62 -0
  73. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +61 -0
  74. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +51 -0
  75. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +47 -0
  76. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +20 -0
  77. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +50 -0
  78. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +69 -0
  79. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +47 -0
  80. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +40 -0
  81. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +50 -0
  82. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +93 -0
  83. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +35 -0
  84. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +48 -0
  85. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +22 -0
  86. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +20 -0
  87. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +51 -0
  88. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +17 -0
  89. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +19 -0
  90. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.mjs +161 -0
  91. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.mjs +18 -0
  92. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.mjs +223 -0
  93. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/association.mjs +31 -0
  94. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +15 -0
  95. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +19 -0
  96. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +15 -0
  97. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +15 -0
  98. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +15 -0
  99. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +15 -0
  100. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +15 -0
  101. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +15 -0
  102. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +15 -0
  103. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +15 -0
  104. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.mjs +16 -0
  105. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-flow.mjs +56 -0
  106. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.mjs +75 -0
  107. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +14 -0
  108. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +74 -0
  109. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +15 -0
  110. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +24 -0
  111. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +17 -0
  112. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/indent-lines.mjs +32 -0
  113. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +27 -0
  114. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/safe.mjs +116 -0
  115. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/track.mjs +59 -0
  116. package/dist/src/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.mjs +83 -0
  117. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.mjs +224 -0
  118. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.mjs +213 -0
  119. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.mjs +60 -0
  120. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.mjs +130 -0
  121. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.mjs +62 -0
  122. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.mjs +141 -0
  123. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +418 -0
  124. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.mjs +147 -0
  125. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.mjs +187 -0
  126. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.mjs +137 -0
  127. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.mjs +223 -0
  128. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +59 -0
  129. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +189 -0
  130. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.mjs +777 -0
  131. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.mjs +617 -0
  132. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.mjs +479 -0
  133. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +95 -0
  134. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +50 -0
  135. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.mjs +32 -0
  136. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.mjs +177 -0
  137. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +155 -0
  138. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +98 -0
  139. package/dist/src/node_modules/.pnpm/micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/syntax.mjs +352 -0
  140. package/dist/src/node_modules/.pnpm/micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/to-matters.mjs +109 -0
  141. package/dist/src/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.mjs +186 -0
  142. package/dist/src/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.mjs +134 -0
  143. package/dist/src/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.mjs +61 -0
  144. package/dist/src/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.mjs +148 -0
  145. package/dist/src/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.mjs +43 -0
  146. package/dist/src/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.mjs +229 -0
  147. package/dist/src/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.mjs +71 -0
  148. package/dist/src/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.mjs +25 -0
  149. package/dist/src/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.mjs +73 -0
  150. package/dist/src/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +22 -0
  151. package/dist/src/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.mjs +40 -0
  152. package/dist/src/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.mjs +100 -0
  153. package/dist/src/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.mjs +25 -0
  154. package/dist/src/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.mjs +31 -0
  155. package/dist/src/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.mjs +158 -0
  156. package/dist/src/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +231 -0
  157. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.mjs +101 -0
  158. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.mjs +473 -0
  159. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.mjs +70 -0
  160. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.mjs +220 -0
  161. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.mjs +51 -0
  162. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.mjs +178 -0
  163. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.mjs +52 -0
  164. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.mjs +17 -0
  165. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.mjs +102 -0
  166. package/dist/src/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.mjs +121 -0
  167. package/dist/src/node_modules/.pnpm/remark-frontmatter@5.0.0/node_modules/remark-frontmatter/lib/index.mjs +35 -0
  168. package/dist/src/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.mjs +37 -0
  169. package/dist/src/node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.mjs +36 -0
  170. package/dist/src/node_modules/.pnpm/simple-git@3.35.2/node_modules/simple-git/dist/esm/index.mjs +3563 -0
  171. package/dist/src/node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.mjs +57 -0
  172. package/dist/src/node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.mjs +72 -0
  173. package/dist/src/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.mjs +157 -0
  174. package/dist/src/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.mjs +13 -0
  175. package/dist/src/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.mjs +1088 -0
  176. package/dist/src/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.mjs +110 -0
  177. package/dist/src/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.mjs +65 -0
  178. package/dist/src/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.node.mjs +10 -0
  179. package/dist/src/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.mjs +328 -0
  180. package/dist/src/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.mjs +287 -0
  181. package/dist/src/node_modules/.pnpm/universal-user-agent@7.0.3/node_modules/universal-user-agent/index.mjs +8 -0
  182. package/dist/src/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.mjs +247 -0
  183. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.mjs +525 -0
  184. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.mjs +2 -0
  185. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.mjs +2 -0
  186. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.mjs +3 -0
  187. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.mjs +24 -0
  188. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.mjs +62 -0
  189. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.mjs +49 -0
  190. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.mjs +98 -0
  191. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.mjs +66 -0
  192. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/composer.mjs +207 -0
  193. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.mjs +93 -0
  194. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +179 -0
  195. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.mjs +48 -0
  196. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.mjs +41 -0
  197. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +166 -0
  198. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +211 -0
  199. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.mjs +110 -0
  200. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.mjs +32 -0
  201. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +30 -0
  202. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +16 -0
  203. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.mjs +16 -0
  204. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/Document.mjs +295 -0
  205. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.mjs +67 -0
  206. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.mjs +43 -0
  207. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.mjs +69 -0
  208. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/directives.mjs +170 -0
  209. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/errors.mjs +56 -0
  210. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/index.mjs +67 -0
  211. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/log.mjs +17 -0
  212. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.mjs +101 -0
  213. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.mjs +127 -0
  214. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.mjs +40 -0
  215. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.mjs +40 -0
  216. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.mjs +33 -0
  217. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.mjs +118 -0
  218. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.mjs +115 -0
  219. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +59 -0
  220. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.mjs +53 -0
  221. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.mjs +41 -0
  222. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.mjs +274 -0
  223. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.mjs +54 -0
  224. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.mjs +94 -0
  225. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst.mjs +85 -0
  226. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.mjs +523 -0
  227. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.mjs +50 -0
  228. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/parser.mjs +861 -0
  229. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/public-api.mjs +97 -0
  230. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.mjs +36 -0
  231. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.mjs +22 -0
  232. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.mjs +19 -0
  233. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.mjs +22 -0
  234. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.mjs +19 -0
  235. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.mjs +23 -0
  236. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.mjs +46 -0
  237. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.mjs +45 -0
  238. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.mjs +34 -0
  239. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.mjs +68 -0
  240. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/tags.mjs +103 -0
  241. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +53 -0
  242. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +31 -0
  243. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +49 -0
  244. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +79 -0
  245. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +45 -0
  246. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +71 -0
  247. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +67 -0
  248. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +56 -0
  249. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +74 -0
  250. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +87 -0
  251. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.mjs +119 -0
  252. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.mjs +115 -0
  253. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.mjs +124 -0
  254. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.mjs +23 -0
  255. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.mjs +67 -0
  256. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.mjs +24 -0
  257. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.mjs +104 -0
  258. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.mjs +229 -0
  259. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/visit.mjs +194 -0
  260. package/dist/src/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.mjs +106 -0
  261. package/dist/src/pkg.d.mts +24 -0
  262. package/dist/src/pkg.mjs +39 -0
  263. package/dist/src/prepare.d.mts +14 -0
  264. package/dist/src/prepare.mjs +41 -0
  265. package/dist/src/publishers/npm.d.mts +21 -0
  266. package/dist/src/publishers/npm.mjs +42 -0
  267. package/dist/src/releasers/github.d.mts +10 -0
  268. package/dist/src/releasers/github.mjs +20 -0
  269. package/dist/src/saver.d.mts +42 -0
  270. package/dist/src/saver.mjs +39 -0
  271. package/dist/src/types.d.mts +150 -0
  272. package/dist/src/utils.d.mts +7 -0
  273. package/dist/src/utils.mjs +47 -0
  274. package/dist/src/version.d.mts +9 -0
  275. package/dist/src/version.mjs +18 -0
  276. package/package.json +156 -0
  277. package/templates/cngpac.config.ts +33 -0
  278. package/templates/version.yml +30 -0
@@ -0,0 +1,49 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
3
+ import { require_stringifyNumber } from "../../stringify/stringifyNumber.mjs";
4
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
5
+ var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
6
+ var Scalar = require_Scalar();
7
+ var stringifyNumber = require_stringifyNumber();
8
+ const floatNaN = {
9
+ identify: (value) => typeof value === "number",
10
+ default: true,
11
+ tag: "tag:yaml.org,2002:float",
12
+ test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
13
+ resolve: (str) => str.slice(-3).toLowerCase() === "nan" ? NaN : str[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
14
+ stringify: stringifyNumber.stringifyNumber
15
+ };
16
+ const floatExp = {
17
+ identify: (value) => typeof value === "number",
18
+ default: true,
19
+ tag: "tag:yaml.org,2002:float",
20
+ format: "EXP",
21
+ test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,
22
+ resolve: (str) => parseFloat(str.replace(/_/g, "")),
23
+ stringify(node) {
24
+ const num = Number(node.value);
25
+ return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node);
26
+ }
27
+ };
28
+ exports.float = {
29
+ identify: (value) => typeof value === "number",
30
+ default: true,
31
+ tag: "tag:yaml.org,2002:float",
32
+ test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,
33
+ resolve(str) {
34
+ const node = new Scalar.Scalar(parseFloat(str.replace(/_/g, "")));
35
+ const dot = str.indexOf(".");
36
+ if (dot !== -1) {
37
+ const f = str.substring(dot + 1).replace(/_/g, "");
38
+ if (f[f.length - 1] === "0") node.minFractionDigits = f.length;
39
+ }
40
+ return node;
41
+ },
42
+ stringify: stringifyNumber.stringifyNumber
43
+ };
44
+ exports.floatExp = floatExp;
45
+ exports.floatNaN = floatNaN;
46
+ }));
47
+ //#endregion
48
+ export default require_float();
49
+ export { require_float };
@@ -0,0 +1,79 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_stringifyNumber } from "../../stringify/stringifyNumber.mjs";
3
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
4
+ var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var stringifyNumber = require_stringifyNumber();
6
+ const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
7
+ function intResolve(str, offset, radix, { intAsBigInt }) {
8
+ const sign = str[0];
9
+ if (sign === "-" || sign === "+") offset += 1;
10
+ str = str.substring(offset).replace(/_/g, "");
11
+ if (intAsBigInt) {
12
+ switch (radix) {
13
+ case 2:
14
+ str = `0b${str}`;
15
+ break;
16
+ case 8:
17
+ str = `0o${str}`;
18
+ break;
19
+ case 16:
20
+ str = `0x${str}`;
21
+ break;
22
+ }
23
+ const n = BigInt(str);
24
+ return sign === "-" ? BigInt(-1) * n : n;
25
+ }
26
+ const n = parseInt(str, radix);
27
+ return sign === "-" ? -1 * n : n;
28
+ }
29
+ function intStringify(node, radix, prefix) {
30
+ const { value } = node;
31
+ if (intIdentify(value)) {
32
+ const str = value.toString(radix);
33
+ return value < 0 ? "-" + prefix + str.substr(1) : prefix + str;
34
+ }
35
+ return stringifyNumber.stringifyNumber(node);
36
+ }
37
+ const intBin = {
38
+ identify: intIdentify,
39
+ default: true,
40
+ tag: "tag:yaml.org,2002:int",
41
+ format: "BIN",
42
+ test: /^[-+]?0b[0-1_]+$/,
43
+ resolve: (str, _onError, opt) => intResolve(str, 2, 2, opt),
44
+ stringify: (node) => intStringify(node, 2, "0b")
45
+ };
46
+ const intOct = {
47
+ identify: intIdentify,
48
+ default: true,
49
+ tag: "tag:yaml.org,2002:int",
50
+ format: "OCT",
51
+ test: /^[-+]?0[0-7_]+$/,
52
+ resolve: (str, _onError, opt) => intResolve(str, 1, 8, opt),
53
+ stringify: (node) => intStringify(node, 8, "0")
54
+ };
55
+ const int = {
56
+ identify: intIdentify,
57
+ default: true,
58
+ tag: "tag:yaml.org,2002:int",
59
+ test: /^[-+]?[0-9][0-9_]*$/,
60
+ resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt),
61
+ stringify: stringifyNumber.stringifyNumber
62
+ };
63
+ const intHex = {
64
+ identify: intIdentify,
65
+ default: true,
66
+ tag: "tag:yaml.org,2002:int",
67
+ format: "HEX",
68
+ test: /^[-+]?0x[0-9a-fA-F_]+$/,
69
+ resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),
70
+ stringify: (node) => intStringify(node, 16, "0x")
71
+ };
72
+ exports.int = int;
73
+ exports.intBin = intBin;
74
+ exports.intHex = intHex;
75
+ exports.intOct = intOct;
76
+ }));
77
+ //#endregion
78
+ export default require_int();
79
+ export { require_int };
@@ -0,0 +1,45 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../../nodes/identity.mjs";
3
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
4
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
5
+ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
6
+ var identity = require_identity();
7
+ var Scalar = require_Scalar();
8
+ const MERGE_KEY = "<<";
9
+ const merge = {
10
+ identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
11
+ default: "key",
12
+ tag: "tag:yaml.org,2002:merge",
13
+ test: /^<<$/,
14
+ resolve: () => Object.assign(new Scalar.Scalar(Symbol(MERGE_KEY)), { addToJSMap: addMergeToJSMap }),
15
+ stringify: () => MERGE_KEY
16
+ };
17
+ const isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
18
+ function addMergeToJSMap(ctx, map, value) {
19
+ value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
20
+ if (identity.isSeq(value)) for (const it of value.items) mergeValue(ctx, map, it);
21
+ else if (Array.isArray(value)) for (const it of value) mergeValue(ctx, map, it);
22
+ else mergeValue(ctx, map, value);
23
+ }
24
+ function mergeValue(ctx, map, value) {
25
+ const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
26
+ if (!identity.isMap(source)) throw new Error("Merge sources must be maps or map aliases");
27
+ const srcMap = source.toJSON(null, ctx, Map);
28
+ for (const [key, value] of srcMap) if (map instanceof Map) {
29
+ if (!map.has(key)) map.set(key, value);
30
+ } else if (map instanceof Set) map.add(key);
31
+ else if (!Object.prototype.hasOwnProperty.call(map, key)) Object.defineProperty(map, key, {
32
+ value,
33
+ writable: true,
34
+ enumerable: true,
35
+ configurable: true
36
+ });
37
+ return map;
38
+ }
39
+ exports.addMergeToJSMap = addMergeToJSMap;
40
+ exports.isMergeKey = isMergeKey;
41
+ exports.merge = merge;
42
+ }));
43
+ //#endregion
44
+ export default require_merge();
45
+ export { require_merge };
@@ -0,0 +1,71 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../../nodes/identity.mjs";
3
+ import { require_toJS } from "../../nodes/toJS.mjs";
4
+ import { require_YAMLMap } from "../../nodes/YAMLMap.mjs";
5
+ import { require_YAMLSeq } from "../../nodes/YAMLSeq.mjs";
6
+ import { require_pairs } from "./pairs.mjs";
7
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
8
+ var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
9
+ var identity = require_identity();
10
+ var toJS = require_toJS();
11
+ var YAMLMap = require_YAMLMap();
12
+ var YAMLSeq = require_YAMLSeq();
13
+ var pairs = require_pairs();
14
+ var YAMLOMap = class YAMLOMap extends YAMLSeq.YAMLSeq {
15
+ constructor() {
16
+ super();
17
+ this.add = YAMLMap.YAMLMap.prototype.add.bind(this);
18
+ this.delete = YAMLMap.YAMLMap.prototype.delete.bind(this);
19
+ this.get = YAMLMap.YAMLMap.prototype.get.bind(this);
20
+ this.has = YAMLMap.YAMLMap.prototype.has.bind(this);
21
+ this.set = YAMLMap.YAMLMap.prototype.set.bind(this);
22
+ this.tag = YAMLOMap.tag;
23
+ }
24
+ /**
25
+ * If `ctx` is given, the return type is actually `Map<unknown, unknown>`,
26
+ * but TypeScript won't allow widening the signature of a child method.
27
+ */
28
+ toJSON(_, ctx) {
29
+ if (!ctx) return super.toJSON(_);
30
+ const map = /* @__PURE__ */ new Map();
31
+ if (ctx?.onCreate) ctx.onCreate(map);
32
+ for (const pair of this.items) {
33
+ let key, value;
34
+ if (identity.isPair(pair)) {
35
+ key = toJS.toJS(pair.key, "", ctx);
36
+ value = toJS.toJS(pair.value, key, ctx);
37
+ } else key = toJS.toJS(pair, "", ctx);
38
+ if (map.has(key)) throw new Error("Ordered maps must not include duplicate keys");
39
+ map.set(key, value);
40
+ }
41
+ return map;
42
+ }
43
+ static from(schema, iterable, ctx) {
44
+ const pairs$1 = pairs.createPairs(schema, iterable, ctx);
45
+ const omap = new this();
46
+ omap.items = pairs$1.items;
47
+ return omap;
48
+ }
49
+ };
50
+ YAMLOMap.tag = "tag:yaml.org,2002:omap";
51
+ const omap = {
52
+ collection: "seq",
53
+ identify: (value) => value instanceof Map,
54
+ nodeClass: YAMLOMap,
55
+ default: false,
56
+ tag: "tag:yaml.org,2002:omap",
57
+ resolve(seq, onError) {
58
+ const pairs$1 = pairs.resolvePairs(seq, onError);
59
+ const seenKeys = [];
60
+ for (const { key } of pairs$1.items) if (identity.isScalar(key)) if (seenKeys.includes(key.value)) onError(`Ordered maps must not include duplicate keys: ${key.value}`);
61
+ else seenKeys.push(key.value);
62
+ return Object.assign(new YAMLOMap(), pairs$1);
63
+ },
64
+ createNode: (schema, iterable, ctx) => YAMLOMap.from(schema, iterable, ctx)
65
+ };
66
+ exports.YAMLOMap = YAMLOMap;
67
+ exports.omap = omap;
68
+ }));
69
+ //#endregion
70
+ export default require_omap();
71
+ export { require_omap };
@@ -0,0 +1,67 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../../nodes/identity.mjs";
3
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
4
+ import { require_Pair } from "../../nodes/Pair.mjs";
5
+ import { require_YAMLSeq } from "../../nodes/YAMLSeq.mjs";
6
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
7
+ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
8
+ var identity = require_identity();
9
+ var Pair = require_Pair();
10
+ var Scalar = require_Scalar();
11
+ var YAMLSeq = require_YAMLSeq();
12
+ function resolvePairs(seq, onError) {
13
+ if (identity.isSeq(seq)) for (let i = 0; i < seq.items.length; ++i) {
14
+ let item = seq.items[i];
15
+ if (identity.isPair(item)) continue;
16
+ else if (identity.isMap(item)) {
17
+ if (item.items.length > 1) onError("Each pair must have its own sequence indicator");
18
+ const pair = item.items[0] || new Pair.Pair(new Scalar.Scalar(null));
19
+ if (item.commentBefore) pair.key.commentBefore = pair.key.commentBefore ? `${item.commentBefore}\n${pair.key.commentBefore}` : item.commentBefore;
20
+ if (item.comment) {
21
+ const cn = pair.value ?? pair.key;
22
+ cn.comment = cn.comment ? `${item.comment}\n${cn.comment}` : item.comment;
23
+ }
24
+ item = pair;
25
+ }
26
+ seq.items[i] = identity.isPair(item) ? item : new Pair.Pair(item);
27
+ }
28
+ else onError("Expected a sequence for this tag");
29
+ return seq;
30
+ }
31
+ function createPairs(schema, iterable, ctx) {
32
+ const { replacer } = ctx;
33
+ const pairs = new YAMLSeq.YAMLSeq(schema);
34
+ pairs.tag = "tag:yaml.org,2002:pairs";
35
+ let i = 0;
36
+ if (iterable && Symbol.iterator in Object(iterable)) for (let it of iterable) {
37
+ if (typeof replacer === "function") it = replacer.call(iterable, String(i++), it);
38
+ let key, value;
39
+ if (Array.isArray(it)) if (it.length === 2) {
40
+ key = it[0];
41
+ value = it[1];
42
+ } else throw new TypeError(`Expected [key, value] tuple: ${it}`);
43
+ else if (it && it instanceof Object) {
44
+ const keys = Object.keys(it);
45
+ if (keys.length === 1) {
46
+ key = keys[0];
47
+ value = it[key];
48
+ } else throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);
49
+ } else key = it;
50
+ pairs.items.push(Pair.createPair(key, value, ctx));
51
+ }
52
+ return pairs;
53
+ }
54
+ const pairs = {
55
+ collection: "seq",
56
+ default: false,
57
+ tag: "tag:yaml.org,2002:pairs",
58
+ resolve: resolvePairs,
59
+ createNode: createPairs
60
+ };
61
+ exports.createPairs = createPairs;
62
+ exports.pairs = pairs;
63
+ exports.resolvePairs = resolvePairs;
64
+ }));
65
+ //#endregion
66
+ export default require_pairs();
67
+ export { require_pairs };
@@ -0,0 +1,56 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_merge } from "./merge.mjs";
3
+ import { require_map } from "../common/map.mjs";
4
+ import { require_seq } from "../common/seq.mjs";
5
+ import { require_string } from "../common/string.mjs";
6
+ import { require_null } from "../common/null.mjs";
7
+ import { require_binary } from "./binary.mjs";
8
+ import { require_pairs } from "./pairs.mjs";
9
+ import { require_omap } from "./omap.mjs";
10
+ import { require_bool } from "./bool.mjs";
11
+ import { require_float } from "./float.mjs";
12
+ import { require_int } from "./int.mjs";
13
+ import { require_set } from "./set.mjs";
14
+ import { require_timestamp } from "./timestamp.mjs";
15
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
16
+ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
17
+ var map = require_map();
18
+ var _null = require_null();
19
+ var seq = require_seq();
20
+ var string = require_string();
21
+ var binary = require_binary();
22
+ var bool = require_bool();
23
+ var float = require_float();
24
+ var int = require_int();
25
+ var merge = require_merge();
26
+ var omap = require_omap();
27
+ var pairs = require_pairs();
28
+ var set = require_set();
29
+ var timestamp = require_timestamp();
30
+ exports.schema = [
31
+ map.map,
32
+ seq.seq,
33
+ string.string,
34
+ _null.nullTag,
35
+ bool.trueTag,
36
+ bool.falseTag,
37
+ int.intBin,
38
+ int.intOct,
39
+ int.int,
40
+ int.intHex,
41
+ float.floatNaN,
42
+ float.floatExp,
43
+ float.float,
44
+ binary.binary,
45
+ merge.merge,
46
+ omap.omap,
47
+ pairs.pairs,
48
+ set.set,
49
+ timestamp.intTime,
50
+ timestamp.floatTime,
51
+ timestamp.timestamp
52
+ ];
53
+ }));
54
+ //#endregion
55
+ export default require_schema();
56
+ export { require_schema };
@@ -0,0 +1,74 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../../nodes/identity.mjs";
3
+ import { require_Pair } from "../../nodes/Pair.mjs";
4
+ import { require_YAMLMap } from "../../nodes/YAMLMap.mjs";
5
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
6
+ var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
7
+ var identity = require_identity();
8
+ var Pair = require_Pair();
9
+ var YAMLMap = require_YAMLMap();
10
+ var YAMLSet = class YAMLSet extends YAMLMap.YAMLMap {
11
+ constructor(schema) {
12
+ super(schema);
13
+ this.tag = YAMLSet.tag;
14
+ }
15
+ add(key) {
16
+ let pair;
17
+ if (identity.isPair(key)) pair = key;
18
+ else if (key && typeof key === "object" && "key" in key && "value" in key && key.value === null) pair = new Pair.Pair(key.key, null);
19
+ else pair = new Pair.Pair(key, null);
20
+ if (!YAMLMap.findPair(this.items, pair.key)) this.items.push(pair);
21
+ }
22
+ /**
23
+ * If `keepPair` is `true`, returns the Pair matching `key`.
24
+ * Otherwise, returns the value of that Pair's key.
25
+ */
26
+ get(key, keepPair) {
27
+ const pair = YAMLMap.findPair(this.items, key);
28
+ return !keepPair && identity.isPair(pair) ? identity.isScalar(pair.key) ? pair.key.value : pair.key : pair;
29
+ }
30
+ set(key, value) {
31
+ if (typeof value !== "boolean") throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value}`);
32
+ const prev = YAMLMap.findPair(this.items, key);
33
+ if (prev && !value) this.items.splice(this.items.indexOf(prev), 1);
34
+ else if (!prev && value) this.items.push(new Pair.Pair(key));
35
+ }
36
+ toJSON(_, ctx) {
37
+ return super.toJSON(_, ctx, Set);
38
+ }
39
+ toString(ctx, onComment, onChompKeep) {
40
+ if (!ctx) return JSON.stringify(this);
41
+ if (this.hasAllNullValues(true)) return super.toString(Object.assign({}, ctx, { allNullValues: true }), onComment, onChompKeep);
42
+ else throw new Error("Set items must all have null values");
43
+ }
44
+ static from(schema, iterable, ctx) {
45
+ const { replacer } = ctx;
46
+ const set = new this(schema);
47
+ if (iterable && Symbol.iterator in Object(iterable)) for (let value of iterable) {
48
+ if (typeof replacer === "function") value = replacer.call(iterable, value, value);
49
+ set.items.push(Pair.createPair(value, null, ctx));
50
+ }
51
+ return set;
52
+ }
53
+ };
54
+ YAMLSet.tag = "tag:yaml.org,2002:set";
55
+ const set = {
56
+ collection: "map",
57
+ identify: (value) => value instanceof Set,
58
+ nodeClass: YAMLSet,
59
+ default: false,
60
+ tag: "tag:yaml.org,2002:set",
61
+ createNode: (schema, iterable, ctx) => YAMLSet.from(schema, iterable, ctx),
62
+ resolve(map, onError) {
63
+ if (identity.isMap(map)) if (map.hasAllNullValues(true)) return Object.assign(new YAMLSet(), map);
64
+ else onError("Set items must all have null values");
65
+ else onError("Expected a mapping for this tag");
66
+ return map;
67
+ }
68
+ };
69
+ exports.YAMLSet = YAMLSet;
70
+ exports.set = set;
71
+ }));
72
+ //#endregion
73
+ export default require_set();
74
+ export { require_set };
@@ -0,0 +1,87 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_stringifyNumber } from "../../stringify/stringifyNumber.mjs";
3
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
4
+ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var stringifyNumber = require_stringifyNumber();
6
+ /** Internal types handle bigint as number, because TS can't figure it out. */
7
+ function parseSexagesimal(str, asBigInt) {
8
+ const sign = str[0];
9
+ const parts = sign === "-" || sign === "+" ? str.substring(1) : str;
10
+ const num = (n) => asBigInt ? BigInt(n) : Number(n);
11
+ const res = parts.replace(/_/g, "").split(":").reduce((res, p) => res * num(60) + num(p), num(0));
12
+ return sign === "-" ? num(-1) * res : res;
13
+ }
14
+ /**
15
+ * hhhh:mm:ss.sss
16
+ *
17
+ * Internal types handle bigint as number, because TS can't figure it out.
18
+ */
19
+ function stringifySexagesimal(node) {
20
+ let { value } = node;
21
+ let num = (n) => n;
22
+ if (typeof value === "bigint") num = (n) => BigInt(n);
23
+ else if (isNaN(value) || !isFinite(value)) return stringifyNumber.stringifyNumber(node);
24
+ let sign = "";
25
+ if (value < 0) {
26
+ sign = "-";
27
+ value *= num(-1);
28
+ }
29
+ const _60 = num(60);
30
+ const parts = [value % _60];
31
+ if (value < 60) parts.unshift(0);
32
+ else {
33
+ value = (value - parts[0]) / _60;
34
+ parts.unshift(value % _60);
35
+ if (value >= 60) {
36
+ value = (value - parts[0]) / _60;
37
+ parts.unshift(value);
38
+ }
39
+ }
40
+ return sign + parts.map((n) => String(n).padStart(2, "0")).join(":").replace(/000000\d*$/, "");
41
+ }
42
+ const intTime = {
43
+ identify: (value) => typeof value === "bigint" || Number.isInteger(value),
44
+ default: true,
45
+ tag: "tag:yaml.org,2002:int",
46
+ format: "TIME",
47
+ test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
48
+ resolve: (str, _onError, { intAsBigInt }) => parseSexagesimal(str, intAsBigInt),
49
+ stringify: stringifySexagesimal
50
+ };
51
+ const floatTime = {
52
+ identify: (value) => typeof value === "number",
53
+ default: true,
54
+ tag: "tag:yaml.org,2002:float",
55
+ format: "TIME",
56
+ test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
57
+ resolve: (str) => parseSexagesimal(str, false),
58
+ stringify: stringifySexagesimal
59
+ };
60
+ const timestamp = {
61
+ identify: (value) => value instanceof Date,
62
+ default: true,
63
+ tag: "tag:yaml.org,2002:timestamp",
64
+ test: RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),
65
+ resolve(str) {
66
+ const match = str.match(timestamp.test);
67
+ if (!match) throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");
68
+ const [, year, month, day, hour, minute, second] = match.map(Number);
69
+ const millisec = match[7] ? Number((match[7] + "00").substr(1, 3)) : 0;
70
+ let date = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec);
71
+ const tz = match[8];
72
+ if (tz && tz !== "Z") {
73
+ let d = parseSexagesimal(tz, false);
74
+ if (Math.abs(d) < 30) d *= 60;
75
+ date -= 6e4 * d;
76
+ }
77
+ return new Date(date);
78
+ },
79
+ stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
80
+ };
81
+ exports.floatTime = floatTime;
82
+ exports.intTime = intTime;
83
+ exports.timestamp = timestamp;
84
+ }));
85
+ //#endregion
86
+ export default require_timestamp();
87
+ export { require_timestamp };
@@ -0,0 +1,119 @@
1
+ import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
3
+ var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
4
+ const FOLD_FLOW = "flow";
5
+ const FOLD_BLOCK = "block";
6
+ const FOLD_QUOTED = "quoted";
7
+ /**
8
+ * Tries to keep input at up to `lineWidth` characters, splitting only on spaces
9
+ * not followed by newlines or spaces unless `mode` is `'quoted'`. Lines are
10
+ * terminated with `\n` and started with `indent`.
11
+ */
12
+ function foldFlowLines(text, indent, mode = "flow", { indentAtStart, lineWidth = 80, minContentWidth = 20, onFold, onOverflow } = {}) {
13
+ if (!lineWidth || lineWidth < 0) return text;
14
+ if (lineWidth < minContentWidth) minContentWidth = 0;
15
+ const endStep = Math.max(1 + minContentWidth, 1 + lineWidth - indent.length);
16
+ if (text.length <= endStep) return text;
17
+ const folds = [];
18
+ const escapedFolds = {};
19
+ let end = lineWidth - indent.length;
20
+ if (typeof indentAtStart === "number") if (indentAtStart > lineWidth - Math.max(2, minContentWidth)) folds.push(0);
21
+ else end = lineWidth - indentAtStart;
22
+ let split = void 0;
23
+ let prev = void 0;
24
+ let overflow = false;
25
+ let i = -1;
26
+ let escStart = -1;
27
+ let escEnd = -1;
28
+ if (mode === FOLD_BLOCK) {
29
+ i = consumeMoreIndentedLines(text, i, indent.length);
30
+ if (i !== -1) end = i + endStep;
31
+ }
32
+ for (let ch; ch = text[i += 1];) {
33
+ if (mode === FOLD_QUOTED && ch === "\\") {
34
+ escStart = i;
35
+ switch (text[i + 1]) {
36
+ case "x":
37
+ i += 3;
38
+ break;
39
+ case "u":
40
+ i += 5;
41
+ break;
42
+ case "U":
43
+ i += 9;
44
+ break;
45
+ default: i += 1;
46
+ }
47
+ escEnd = i;
48
+ }
49
+ if (ch === "\n") {
50
+ if (mode === FOLD_BLOCK) i = consumeMoreIndentedLines(text, i, indent.length);
51
+ end = i + indent.length + endStep;
52
+ split = void 0;
53
+ } else {
54
+ if (ch === " " && prev && prev !== " " && prev !== "\n" && prev !== " ") {
55
+ const next = text[i + 1];
56
+ if (next && next !== " " && next !== "\n" && next !== " ") split = i;
57
+ }
58
+ if (i >= end) if (split) {
59
+ folds.push(split);
60
+ end = split + endStep;
61
+ split = void 0;
62
+ } else if (mode === FOLD_QUOTED) {
63
+ while (prev === " " || prev === " ") {
64
+ prev = ch;
65
+ ch = text[i += 1];
66
+ overflow = true;
67
+ }
68
+ const j = i > escEnd + 1 ? i - 2 : escStart - 1;
69
+ if (escapedFolds[j]) return text;
70
+ folds.push(j);
71
+ escapedFolds[j] = true;
72
+ end = j + endStep;
73
+ split = void 0;
74
+ } else overflow = true;
75
+ }
76
+ prev = ch;
77
+ }
78
+ if (overflow && onOverflow) onOverflow();
79
+ if (folds.length === 0) return text;
80
+ if (onFold) onFold();
81
+ let res = text.slice(0, folds[0]);
82
+ for (let i = 0; i < folds.length; ++i) {
83
+ const fold = folds[i];
84
+ const end = folds[i + 1] || text.length;
85
+ if (fold === 0) res = `\n${indent}${text.slice(0, end)}`;
86
+ else {
87
+ if (mode === FOLD_QUOTED && escapedFolds[fold]) res += `${text[fold]}\\`;
88
+ res += `\n${indent}${text.slice(fold + 1, end)}`;
89
+ }
90
+ }
91
+ return res;
92
+ }
93
+ /**
94
+ * Presumes `i + 1` is at the start of a line
95
+ * @returns index of last newline in more-indented block
96
+ */
97
+ function consumeMoreIndentedLines(text, i, indent) {
98
+ let end = i;
99
+ let start = i + 1;
100
+ let ch = text[start];
101
+ while (ch === " " || ch === " ") if (i < start + indent) ch = text[++i];
102
+ else {
103
+ do
104
+ ch = text[++i];
105
+ while (ch && ch !== "\n");
106
+ end = i;
107
+ start = i + 1;
108
+ ch = text[start];
109
+ }
110
+ return end;
111
+ }
112
+ exports.FOLD_BLOCK = FOLD_BLOCK;
113
+ exports.FOLD_FLOW = FOLD_FLOW;
114
+ exports.FOLD_QUOTED = FOLD_QUOTED;
115
+ exports.foldFlowLines = foldFlowLines;
116
+ }));
117
+ //#endregion
118
+ export default require_foldFlowLines();
119
+ export { require_foldFlowLines };