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,97 @@
1
+ import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "./nodes/identity.mjs";
3
+ import { require_log } from "./log.mjs";
4
+ import { require_Document } from "./doc/Document.mjs";
5
+ import { require_errors } from "./errors.mjs";
6
+ import { require_composer } from "./compose/composer.mjs";
7
+ import { require_line_counter } from "./parse/line-counter.mjs";
8
+ import { require_parser } from "./parse/parser.mjs";
9
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/public-api.js
10
+ var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
11
+ var composer = require_composer();
12
+ var Document = require_Document();
13
+ var errors = require_errors();
14
+ var log = require_log();
15
+ var identity = require_identity();
16
+ var lineCounter = require_line_counter();
17
+ var parser = require_parser();
18
+ function parseOptions(options) {
19
+ const prettyErrors = options.prettyErrors !== false;
20
+ return {
21
+ lineCounter: options.lineCounter || prettyErrors && new lineCounter.LineCounter() || null,
22
+ prettyErrors
23
+ };
24
+ }
25
+ /**
26
+ * Parse the input as a stream of YAML documents.
27
+ *
28
+ * Documents should be separated from each other by `...` or `---` marker lines.
29
+ *
30
+ * @returns If an empty `docs` array is returned, it will be of type
31
+ * EmptyStream and contain additional stream information. In
32
+ * TypeScript, you should use `'empty' in docs` as a type guard for it.
33
+ */
34
+ function parseAllDocuments(source, options = {}) {
35
+ const { lineCounter, prettyErrors } = parseOptions(options);
36
+ const parser$1 = new parser.Parser(lineCounter?.addNewLine);
37
+ const composer$1 = new composer.Composer(options);
38
+ const docs = Array.from(composer$1.compose(parser$1.parse(source)));
39
+ if (prettyErrors && lineCounter) for (const doc of docs) {
40
+ doc.errors.forEach(errors.prettifyError(source, lineCounter));
41
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter));
42
+ }
43
+ if (docs.length > 0) return docs;
44
+ return Object.assign([], { empty: true }, composer$1.streamInfo());
45
+ }
46
+ /** Parse an input string into a single YAML.Document */
47
+ function parseDocument(source, options = {}) {
48
+ const { lineCounter, prettyErrors } = parseOptions(options);
49
+ const parser$1 = new parser.Parser(lineCounter?.addNewLine);
50
+ const composer$1 = new composer.Composer(options);
51
+ let doc = null;
52
+ for (const _doc of composer$1.compose(parser$1.parse(source), true, source.length)) if (!doc) doc = _doc;
53
+ else if (doc.options.logLevel !== "silent") {
54
+ doc.errors.push(new errors.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
55
+ break;
56
+ }
57
+ if (prettyErrors && lineCounter) {
58
+ doc.errors.forEach(errors.prettifyError(source, lineCounter));
59
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter));
60
+ }
61
+ return doc;
62
+ }
63
+ function parse(src, reviver, options) {
64
+ let _reviver = void 0;
65
+ if (typeof reviver === "function") _reviver = reviver;
66
+ else if (options === void 0 && reviver && typeof reviver === "object") options = reviver;
67
+ const doc = parseDocument(src, options);
68
+ if (!doc) return null;
69
+ doc.warnings.forEach((warning) => log.warn(doc.options.logLevel, warning));
70
+ if (doc.errors.length > 0) if (doc.options.logLevel !== "silent") throw doc.errors[0];
71
+ else doc.errors = [];
72
+ return doc.toJS(Object.assign({ reviver: _reviver }, options));
73
+ }
74
+ function stringify(value, replacer, options) {
75
+ let _replacer = null;
76
+ if (typeof replacer === "function" || Array.isArray(replacer)) _replacer = replacer;
77
+ else if (options === void 0 && replacer) options = replacer;
78
+ if (typeof options === "string") options = options.length;
79
+ if (typeof options === "number") {
80
+ const indent = Math.round(options);
81
+ options = indent < 1 ? void 0 : indent > 8 ? { indent: 8 } : { indent };
82
+ }
83
+ if (value === void 0) {
84
+ const { keepUndefined } = options ?? replacer ?? {};
85
+ if (!keepUndefined) return void 0;
86
+ }
87
+ if (identity.isDocument(value) && !_replacer) return value.toString(options);
88
+ return new Document.Document(value, _replacer, options).toString(options);
89
+ }
90
+ exports.parse = parse;
91
+ exports.parseAllDocuments = parseAllDocuments;
92
+ exports.parseDocument = parseDocument;
93
+ exports.stringify = stringify;
94
+ }));
95
+ //#endregion
96
+ export default require_public_api();
97
+ export { require_public_api };
@@ -0,0 +1,36 @@
1
+ import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../nodes/identity.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_tags } from "./tags.mjs";
7
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
8
+ var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
9
+ var identity = require_identity();
10
+ var map = require_map();
11
+ var seq = require_seq();
12
+ var string = require_string();
13
+ var tags = require_tags();
14
+ const sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0;
15
+ exports.Schema = class Schema {
16
+ constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) {
17
+ this.compat = Array.isArray(compat) ? tags.getTags(compat, "compat") : compat ? tags.getTags(null, compat) : null;
18
+ this.name = typeof schema === "string" && schema || "core";
19
+ this.knownTags = resolveKnownTags ? tags.coreKnownTags : {};
20
+ this.tags = tags.getTags(customTags, this.name, merge);
21
+ this.toStringOptions = toStringDefaults ?? null;
22
+ Object.defineProperty(this, identity.MAP, { value: map.map });
23
+ Object.defineProperty(this, identity.SCALAR, { value: string.string });
24
+ Object.defineProperty(this, identity.SEQ, { value: seq.seq });
25
+ this.sortMapEntries = typeof sortMapEntries === "function" ? sortMapEntries : sortMapEntries === true ? sortMapEntriesByKey : null;
26
+ }
27
+ clone() {
28
+ const copy = Object.create(Schema.prototype, Object.getOwnPropertyDescriptors(this));
29
+ copy.tags = this.tags.slice();
30
+ return copy;
31
+ }
32
+ };
33
+ }));
34
+ //#endregion
35
+ export default require_Schema();
36
+ export { require_Schema };
@@ -0,0 +1,22 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../../nodes/identity.mjs";
3
+ import { require_YAMLMap } from "../../nodes/YAMLMap.mjs";
4
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
5
+ var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
6
+ var identity = require_identity();
7
+ var YAMLMap = require_YAMLMap();
8
+ exports.map = {
9
+ collection: "map",
10
+ default: true,
11
+ nodeClass: YAMLMap.YAMLMap,
12
+ tag: "tag:yaml.org,2002:map",
13
+ resolve(map, onError) {
14
+ if (!identity.isMap(map)) onError("Expected a mapping for this tag");
15
+ return map;
16
+ },
17
+ createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)
18
+ };
19
+ }));
20
+ //#endregion
21
+ export default require_map();
22
+ export { require_map };
@@ -0,0 +1,19 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
3
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
4
+ var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var Scalar = require_Scalar();
6
+ const nullTag = {
7
+ identify: (value) => value == null,
8
+ createNode: () => new Scalar.Scalar(null),
9
+ default: true,
10
+ tag: "tag:yaml.org,2002:null",
11
+ test: /^(?:~|[Nn]ull|NULL)?$/,
12
+ resolve: () => new Scalar.Scalar(null),
13
+ stringify: ({ source }, ctx) => typeof source === "string" && nullTag.test.test(source) ? source : ctx.options.nullStr
14
+ };
15
+ exports.nullTag = nullTag;
16
+ }));
17
+ //#endregion
18
+ export default require_null();
19
+ export { require_null };
@@ -0,0 +1,22 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_identity } from "../../nodes/identity.mjs";
3
+ import { require_YAMLSeq } from "../../nodes/YAMLSeq.mjs";
4
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
5
+ var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
6
+ var identity = require_identity();
7
+ var YAMLSeq = require_YAMLSeq();
8
+ exports.seq = {
9
+ collection: "seq",
10
+ default: true,
11
+ nodeClass: YAMLSeq.YAMLSeq,
12
+ tag: "tag:yaml.org,2002:seq",
13
+ resolve(seq, onError) {
14
+ if (!identity.isSeq(seq)) onError("Expected a sequence for this tag");
15
+ return seq;
16
+ },
17
+ createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx)
18
+ };
19
+ }));
20
+ //#endregion
21
+ export default require_seq();
22
+ export { require_seq };
@@ -0,0 +1,19 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_stringifyString } from "../../stringify/stringifyString.mjs";
3
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
4
+ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var stringifyString = require_stringifyString();
6
+ exports.string = {
7
+ identify: (value) => typeof value === "string",
8
+ default: true,
9
+ tag: "tag:yaml.org,2002:str",
10
+ resolve: (str) => str,
11
+ stringify(item, ctx, onComment, onChompKeep) {
12
+ ctx = Object.assign({ actualString: true }, ctx);
13
+ return stringifyString.stringifyString(item, ctx, onComment, onChompKeep);
14
+ }
15
+ };
16
+ }));
17
+ //#endregion
18
+ export default require_string();
19
+ export { require_string };
@@ -0,0 +1,23 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
3
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
4
+ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var Scalar = require_Scalar();
6
+ const boolTag = {
7
+ identify: (value) => typeof value === "boolean",
8
+ default: true,
9
+ tag: "tag:yaml.org,2002:bool",
10
+ test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
11
+ resolve: (str) => new Scalar.Scalar(str[0] === "t" || str[0] === "T"),
12
+ stringify({ source, value }, ctx) {
13
+ if (source && boolTag.test.test(source)) {
14
+ if (value === (source[0] === "t" || source[0] === "T")) return source;
15
+ }
16
+ return value ? ctx.options.trueStr : ctx.options.falseStr;
17
+ }
18
+ };
19
+ exports.boolTag = boolTag;
20
+ }));
21
+ //#endregion
22
+ export default require_bool();
23
+ export { require_bool };
@@ -0,0 +1,46 @@
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/core/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),
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));
35
+ const dot = str.indexOf(".");
36
+ if (dot !== -1 && str[str.length - 1] === "0") node.minFractionDigits = str.length - dot - 1;
37
+ return node;
38
+ },
39
+ stringify: stringifyNumber.stringifyNumber
40
+ };
41
+ exports.floatExp = floatExp;
42
+ exports.floatNaN = floatNaN;
43
+ }));
44
+ //#endregion
45
+ export default require_float();
46
+ export { require_float };
@@ -0,0 +1,45 @@
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/core/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
+ const intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
8
+ function intStringify(node, radix, prefix) {
9
+ const { value } = node;
10
+ if (intIdentify(value) && value >= 0) return prefix + value.toString(radix);
11
+ return stringifyNumber.stringifyNumber(node);
12
+ }
13
+ const intOct = {
14
+ identify: (value) => intIdentify(value) && value >= 0,
15
+ default: true,
16
+ tag: "tag:yaml.org,2002:int",
17
+ format: "OCT",
18
+ test: /^0o[0-7]+$/,
19
+ resolve: (str, _onError, opt) => intResolve(str, 2, 8, opt),
20
+ stringify: (node) => intStringify(node, 8, "0o")
21
+ };
22
+ const int = {
23
+ identify: intIdentify,
24
+ default: true,
25
+ tag: "tag:yaml.org,2002:int",
26
+ test: /^[-+]?[0-9]+$/,
27
+ resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt),
28
+ stringify: stringifyNumber.stringifyNumber
29
+ };
30
+ const intHex = {
31
+ identify: (value) => intIdentify(value) && value >= 0,
32
+ default: true,
33
+ tag: "tag:yaml.org,2002:int",
34
+ format: "HEX",
35
+ test: /^0x[0-9a-fA-F]+$/,
36
+ resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),
37
+ stringify: (node) => intStringify(node, 16, "0x")
38
+ };
39
+ exports.int = int;
40
+ exports.intHex = intHex;
41
+ exports.intOct = intOct;
42
+ }));
43
+ //#endregion
44
+ export default require_int();
45
+ export { require_int };
@@ -0,0 +1,34 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_map } from "../common/map.mjs";
3
+ import { require_seq } from "../common/seq.mjs";
4
+ import { require_string } from "../common/string.mjs";
5
+ import { require_null } from "../common/null.mjs";
6
+ import { require_bool } from "./bool.mjs";
7
+ import { require_float } from "./float.mjs";
8
+ import { require_int } from "./int.mjs";
9
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
10
+ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
11
+ var map = require_map();
12
+ var _null = require_null();
13
+ var seq = require_seq();
14
+ var string = require_string();
15
+ var bool = require_bool();
16
+ var float = require_float();
17
+ var int = require_int();
18
+ exports.schema = [
19
+ map.map,
20
+ seq.seq,
21
+ string.string,
22
+ _null.nullTag,
23
+ bool.boolTag,
24
+ int.intOct,
25
+ int.int,
26
+ int.intHex,
27
+ float.floatNaN,
28
+ float.floatExp,
29
+ float.float
30
+ ];
31
+ }));
32
+ //#endregion
33
+ export default require_schema();
34
+ export { require_schema };
@@ -0,0 +1,68 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
3
+ import { require_map } from "../common/map.mjs";
4
+ import { require_seq } from "../common/seq.mjs";
5
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
6
+ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
7
+ var Scalar = require_Scalar();
8
+ var map = require_map();
9
+ var seq = require_seq();
10
+ function intIdentify(value) {
11
+ return typeof value === "bigint" || Number.isInteger(value);
12
+ }
13
+ const stringifyJSON = ({ value }) => JSON.stringify(value);
14
+ const jsonScalars = [
15
+ {
16
+ identify: (value) => typeof value === "string",
17
+ default: true,
18
+ tag: "tag:yaml.org,2002:str",
19
+ resolve: (str) => str,
20
+ stringify: stringifyJSON
21
+ },
22
+ {
23
+ identify: (value) => value == null,
24
+ createNode: () => new Scalar.Scalar(null),
25
+ default: true,
26
+ tag: "tag:yaml.org,2002:null",
27
+ test: /^null$/,
28
+ resolve: () => null,
29
+ stringify: stringifyJSON
30
+ },
31
+ {
32
+ identify: (value) => typeof value === "boolean",
33
+ default: true,
34
+ tag: "tag:yaml.org,2002:bool",
35
+ test: /^true$|^false$/,
36
+ resolve: (str) => str === "true",
37
+ stringify: stringifyJSON
38
+ },
39
+ {
40
+ identify: intIdentify,
41
+ default: true,
42
+ tag: "tag:yaml.org,2002:int",
43
+ test: /^-?(?:0|[1-9][0-9]*)$/,
44
+ resolve: (str, _onError, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str, 10),
45
+ stringify: ({ value }) => intIdentify(value) ? value.toString() : JSON.stringify(value)
46
+ },
47
+ {
48
+ identify: (value) => typeof value === "number",
49
+ default: true,
50
+ tag: "tag:yaml.org,2002:float",
51
+ test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
52
+ resolve: (str) => parseFloat(str),
53
+ stringify: stringifyJSON
54
+ }
55
+ ];
56
+ exports.schema = [map.map, seq.seq].concat(jsonScalars, {
57
+ default: true,
58
+ tag: "",
59
+ test: /^/,
60
+ resolve(str, onError) {
61
+ onError(`Unresolved plain scalar ${JSON.stringify(str)}`);
62
+ return str;
63
+ }
64
+ });
65
+ }));
66
+ //#endregion
67
+ export default require_schema();
68
+ export { require_schema };
@@ -0,0 +1,103 @@
1
+ import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_merge } from "./yaml-1.1/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_bool } from "./core/bool.mjs";
8
+ import { require_float } from "./core/float.mjs";
9
+ import { require_int } from "./core/int.mjs";
10
+ import { require_schema } from "./core/schema.mjs";
11
+ import { require_schema as require_schema$1 } from "./json/schema.mjs";
12
+ import { require_binary } from "./yaml-1.1/binary.mjs";
13
+ import { require_pairs } from "./yaml-1.1/pairs.mjs";
14
+ import { require_omap } from "./yaml-1.1/omap.mjs";
15
+ import { require_set } from "./yaml-1.1/set.mjs";
16
+ import { require_timestamp } from "./yaml-1.1/timestamp.mjs";
17
+ import { require_schema as require_schema$2 } from "./yaml-1.1/schema.mjs";
18
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
19
+ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
20
+ var map = require_map();
21
+ var _null = require_null();
22
+ var seq = require_seq();
23
+ var string = require_string();
24
+ var bool = require_bool();
25
+ var float = require_float();
26
+ var int = require_int();
27
+ var schema = require_schema();
28
+ var schema$1 = require_schema$1();
29
+ var binary = require_binary();
30
+ var merge = require_merge();
31
+ var omap = require_omap();
32
+ var pairs = require_pairs();
33
+ var schema$2 = require_schema$2();
34
+ var set = require_set();
35
+ var timestamp = require_timestamp();
36
+ const schemas = new Map([
37
+ ["core", schema.schema],
38
+ ["failsafe", [
39
+ map.map,
40
+ seq.seq,
41
+ string.string
42
+ ]],
43
+ ["json", schema$1.schema],
44
+ ["yaml11", schema$2.schema],
45
+ ["yaml-1.1", schema$2.schema]
46
+ ]);
47
+ const tagsByName = {
48
+ binary: binary.binary,
49
+ bool: bool.boolTag,
50
+ float: float.float,
51
+ floatExp: float.floatExp,
52
+ floatNaN: float.floatNaN,
53
+ floatTime: timestamp.floatTime,
54
+ int: int.int,
55
+ intHex: int.intHex,
56
+ intOct: int.intOct,
57
+ intTime: timestamp.intTime,
58
+ map: map.map,
59
+ merge: merge.merge,
60
+ null: _null.nullTag,
61
+ omap: omap.omap,
62
+ pairs: pairs.pairs,
63
+ seq: seq.seq,
64
+ set: set.set,
65
+ timestamp: timestamp.timestamp
66
+ };
67
+ const coreKnownTags = {
68
+ "tag:yaml.org,2002:binary": binary.binary,
69
+ "tag:yaml.org,2002:merge": merge.merge,
70
+ "tag:yaml.org,2002:omap": omap.omap,
71
+ "tag:yaml.org,2002:pairs": pairs.pairs,
72
+ "tag:yaml.org,2002:set": set.set,
73
+ "tag:yaml.org,2002:timestamp": timestamp.timestamp
74
+ };
75
+ function getTags(customTags, schemaName, addMergeTag) {
76
+ const schemaTags = schemas.get(schemaName);
77
+ if (schemaTags && !customTags) return addMergeTag && !schemaTags.includes(merge.merge) ? schemaTags.concat(merge.merge) : schemaTags.slice();
78
+ let tags = schemaTags;
79
+ if (!tags) if (Array.isArray(customTags)) tags = [];
80
+ else {
81
+ const keys = Array.from(schemas.keys()).filter((key) => key !== "yaml11").map((key) => JSON.stringify(key)).join(", ");
82
+ throw new Error(`Unknown schema "${schemaName}"; use one of ${keys} or define customTags array`);
83
+ }
84
+ if (Array.isArray(customTags)) for (const tag of customTags) tags = tags.concat(tag);
85
+ else if (typeof customTags === "function") tags = customTags(tags.slice());
86
+ if (addMergeTag) tags = tags.concat(merge.merge);
87
+ return tags.reduce((tags, tag) => {
88
+ const tagObj = typeof tag === "string" ? tagsByName[tag] : tag;
89
+ if (!tagObj) {
90
+ const tagName = JSON.stringify(tag);
91
+ const keys = Object.keys(tagsByName).map((key) => JSON.stringify(key)).join(", ");
92
+ throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`);
93
+ }
94
+ if (!tags.includes(tagObj)) tags.push(tagObj);
95
+ return tags;
96
+ }, []);
97
+ }
98
+ exports.coreKnownTags = coreKnownTags;
99
+ exports.getTags = getTags;
100
+ }));
101
+ //#endregion
102
+ export default require_tags();
103
+ export { require_tags };
@@ -0,0 +1,53 @@
1
+ import { __commonJSMin, __require } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
3
+ import { require_stringifyString } from "../../stringify/stringifyString.mjs";
4
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
5
+ var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
6
+ var node_buffer = __require("buffer");
7
+ var Scalar = require_Scalar();
8
+ var stringifyString = require_stringifyString();
9
+ exports.binary = {
10
+ identify: (value) => value instanceof Uint8Array,
11
+ default: false,
12
+ tag: "tag:yaml.org,2002:binary",
13
+ resolve(src, onError) {
14
+ if (typeof node_buffer.Buffer === "function") return node_buffer.Buffer.from(src, "base64");
15
+ else if (typeof atob === "function") {
16
+ const str = atob(src.replace(/[\n\r]/g, ""));
17
+ const buffer = new Uint8Array(str.length);
18
+ for (let i = 0; i < str.length; ++i) buffer[i] = str.charCodeAt(i);
19
+ return buffer;
20
+ } else {
21
+ onError("This environment does not support reading binary tags; either Buffer or atob is required");
22
+ return src;
23
+ }
24
+ },
25
+ stringify({ comment, type, value }, ctx, onComment, onChompKeep) {
26
+ if (!value) return "";
27
+ const buf = value;
28
+ let str;
29
+ if (typeof node_buffer.Buffer === "function") str = buf instanceof node_buffer.Buffer ? buf.toString("base64") : node_buffer.Buffer.from(buf.buffer).toString("base64");
30
+ else if (typeof btoa === "function") {
31
+ let s = "";
32
+ for (let i = 0; i < buf.length; ++i) s += String.fromCharCode(buf[i]);
33
+ str = btoa(s);
34
+ } else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");
35
+ type ?? (type = Scalar.Scalar.BLOCK_LITERAL);
36
+ if (type !== Scalar.Scalar.QUOTE_DOUBLE) {
37
+ const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth);
38
+ const n = Math.ceil(str.length / lineWidth);
39
+ const lines = new Array(n);
40
+ for (let i = 0, o = 0; i < n; ++i, o += lineWidth) lines[i] = str.substr(o, lineWidth);
41
+ str = lines.join(type === Scalar.Scalar.BLOCK_LITERAL ? "\n" : " ");
42
+ }
43
+ return stringifyString.stringifyString({
44
+ comment,
45
+ type,
46
+ value: str
47
+ }, ctx, onComment, onChompKeep);
48
+ }
49
+ };
50
+ }));
51
+ //#endregion
52
+ export default require_binary();
53
+ export { require_binary };
@@ -0,0 +1,31 @@
1
+ import { __commonJSMin } from "../../../../../../../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_Scalar } from "../../nodes/Scalar.mjs";
3
+ //#region node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
4
+ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var Scalar = require_Scalar();
6
+ function boolStringify({ value, source }, ctx) {
7
+ if (source && (value ? trueTag : falseTag).test.test(source)) return source;
8
+ return value ? ctx.options.trueStr : ctx.options.falseStr;
9
+ }
10
+ const trueTag = {
11
+ identify: (value) => value === true,
12
+ default: true,
13
+ tag: "tag:yaml.org,2002:bool",
14
+ test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,
15
+ resolve: () => new Scalar.Scalar(true),
16
+ stringify: boolStringify
17
+ };
18
+ const falseTag = {
19
+ identify: (value) => value === false,
20
+ default: true,
21
+ tag: "tag:yaml.org,2002:bool",
22
+ test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
23
+ resolve: () => new Scalar.Scalar(false),
24
+ stringify: boolStringify
25
+ };
26
+ exports.falseTag = falseTag;
27
+ exports.trueTag = trueTag;
28
+ }));
29
+ //#endregion
30
+ export default require_bool();
31
+ export { require_bool };