@stacksjs/buddy 0.64.6 → 0.65.0

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 (151) hide show
  1. package/dist/chunk-1bcxd9nx.js +5 -0
  2. package/dist/chunk-1bcxd9nx.js.map +17 -0
  3. package/dist/chunk-3gvx3tap.js +5 -0
  4. package/dist/{chunk-wmfxrbxe.js.map → chunk-3gvx3tap.js.map} +1 -1
  5. package/dist/chunk-5mkzknp4.js +5 -0
  6. package/dist/{chunk-kkckr1p6.js.map → chunk-5mkzknp4.js.map} +13 -13
  7. package/dist/chunk-a3d48jzd.js +15 -0
  8. package/dist/chunk-a3d48jzd.js.map +164 -0
  9. package/dist/chunk-a6ba4vgs.js +5 -0
  10. package/dist/{chunk-44mrj8pm.js.map → chunk-a6ba4vgs.js.map} +3 -3
  11. package/dist/chunk-agapayce.js +4 -0
  12. package/dist/chunk-agapayce.js.map +15 -0
  13. package/dist/chunk-b9d377d9.js +5 -0
  14. package/dist/{chunk-ebp27f3t.js.map → chunk-b9d377d9.js.map} +9 -9
  15. package/dist/chunk-bh61bx6h.js +4 -0
  16. package/dist/{chunk-34xxhapv.js.map → chunk-bh61bx6h.js.map} +2 -2
  17. package/dist/chunk-fqrjh7j8.js +5 -0
  18. package/dist/chunk-fqrjh7j8.js.map +10 -0
  19. package/dist/chunk-jkt9jxar.js +9 -0
  20. package/dist/{chunk-gsnfg0v2.js.map → chunk-jkt9jxar.js.map} +3 -3
  21. package/dist/chunk-k1q2z202.js +4 -0
  22. package/dist/chunk-k1q2z202.js.map +16 -0
  23. package/dist/chunk-mmjggjd5.js +849 -0
  24. package/dist/chunk-mmjggjd5.js.map +240 -0
  25. package/dist/chunk-mxwvrbdh.js +6 -0
  26. package/dist/chunk-mxwvrbdh.js.map +59 -0
  27. package/dist/chunk-n55kahn5.js +5 -0
  28. package/dist/{chunk-b685jsh2.js.map → chunk-n55kahn5.js.map} +3 -3
  29. package/dist/chunk-pbpgcz3v.js +5 -0
  30. package/dist/{chunk-1f6t66bt.js.map → chunk-pbpgcz3v.js.map} +4 -4
  31. package/dist/chunk-sadghty0.js +5 -0
  32. package/dist/{chunk-een41wce.js.map → chunk-sadghty0.js.map} +7 -7
  33. package/dist/chunk-smzpmhmp.js +11 -0
  34. package/dist/chunk-smzpmhmp.js.map +10 -0
  35. package/dist/chunk-w4zypt02.js +5 -0
  36. package/dist/{chunk-ygxh9jsp.js.map → chunk-w4zypt02.js.map} +6 -6
  37. package/dist/chunk-ywfsnx7v.js +5 -0
  38. package/dist/chunk-ywfsnx7v.js.map +22 -0
  39. package/dist/chunk-yxs8vtg9.js +5 -0
  40. package/dist/{chunk-e9xdp71t.js.map → chunk-yxs8vtg9.js.map} +2 -2
  41. package/dist/chunk-z7609s4h.js +12 -0
  42. package/dist/{chunk-v7d1bf8z.js.map → chunk-z7609s4h.js.map} +5 -5
  43. package/dist/cli.d.ts +1 -0
  44. package/dist/cli.js +2 -2
  45. package/dist/cli.js.map +3 -3
  46. package/dist/commands/add.d.ts +2 -0
  47. package/dist/commands/build.d.ts +2 -0
  48. package/dist/commands/changelog.d.ts +2 -0
  49. package/dist/commands/clean.d.ts +2 -0
  50. package/dist/commands/cloud.d.ts +2 -0
  51. package/dist/commands/commit.d.ts +2 -0
  52. package/dist/commands/configure.d.ts +2 -0
  53. package/dist/commands/create.d.ts +2 -0
  54. package/dist/commands/deploy.d.ts +2 -0
  55. package/dist/commands/dev.d.ts +3 -0
  56. package/dist/commands/dns.d.ts +2 -0
  57. package/dist/commands/domains.d.ts +2 -0
  58. package/dist/commands/fresh.d.ts +2 -0
  59. package/dist/commands/generate.d.ts +2 -0
  60. package/dist/commands/http.d.ts +2 -0
  61. package/dist/commands/index.d.ts +33 -0
  62. package/dist/commands/install.d.ts +2 -0
  63. package/dist/commands/key.d.ts +2 -0
  64. package/dist/commands/lint.d.ts +2 -0
  65. package/dist/commands/list.d.ts +2 -0
  66. package/dist/commands/make.d.ts +2 -0
  67. package/dist/commands/migrate.d.ts +2 -0
  68. package/dist/commands/outdated.d.ts +2 -0
  69. package/dist/commands/ports.d.ts +2 -0
  70. package/dist/commands/prepublish.d.ts +2 -0
  71. package/dist/commands/projects.d.ts +2 -0
  72. package/dist/commands/release.d.ts +2 -0
  73. package/dist/commands/route.d.ts +2 -0
  74. package/dist/commands/seed.d.ts +2 -0
  75. package/dist/commands/setup.d.ts +4 -0
  76. package/dist/commands/test.d.ts +2 -0
  77. package/dist/commands/tinker.d.ts +2 -0
  78. package/dist/commands/types.d.ts +2 -0
  79. package/dist/commands/upgrade.d.ts +2 -0
  80. package/dist/commands/version.d.ts +2 -0
  81. package/dist/custom-cli.d.ts +1 -0
  82. package/dist/index.d.ts +1 -0
  83. package/dist/index.js +2 -2
  84. package/dist/index.js.map +1 -1
  85. package/dist/stacks +0 -0
  86. package/package.json +50 -56
  87. package/src/cli.ts +10 -7
  88. package/src/commands/add.ts +2 -2
  89. package/src/commands/build.ts +50 -32
  90. package/src/commands/changelog.ts +2 -2
  91. package/src/commands/clean.ts +2 -2
  92. package/src/commands/cloud.ts +31 -12
  93. package/src/commands/commit.ts +2 -2
  94. package/src/commands/configure.ts +4 -3
  95. package/src/commands/create.ts +3 -3
  96. package/src/commands/deploy.ts +21 -10
  97. package/src/commands/dev.ts +38 -25
  98. package/src/commands/dns.ts +2 -2
  99. package/src/commands/domains.ts +2 -2
  100. package/src/commands/fresh.ts +2 -2
  101. package/src/commands/generate.ts +27 -3
  102. package/src/commands/http.ts +2 -2
  103. package/src/commands/index.ts +3 -3
  104. package/src/commands/install.ts +2 -2
  105. package/src/commands/key.ts +2 -2
  106. package/src/commands/lint.ts +7 -10
  107. package/src/commands/list.ts +2 -2
  108. package/src/commands/make.ts +12 -12
  109. package/src/commands/migrate.ts +2 -2
  110. package/src/commands/outdated.ts +3 -3
  111. package/src/commands/ports.ts +26 -16
  112. package/src/commands/prepublish.ts +2 -2
  113. package/src/commands/projects.ts +6 -4
  114. package/src/commands/release.ts +4 -3
  115. package/src/commands/route.ts +2 -2
  116. package/src/commands/seed.ts +2 -2
  117. package/src/commands/setup.ts +11 -7
  118. package/src/commands/test.ts +77 -54
  119. package/src/commands/tinker.ts +2 -2
  120. package/src/commands/types.ts +2 -2
  121. package/src/commands/upgrade.ts +20 -13
  122. package/src/commands/version.ts +2 -2
  123. package/src/custom-cli.ts +3 -2
  124. package/dist/chunk-1f6t66bt.js +0 -5
  125. package/dist/chunk-1nyept5d.js +0 -5
  126. package/dist/chunk-1nyept5d.js.map +0 -10
  127. package/dist/chunk-3472npd1.js +0 -19
  128. package/dist/chunk-3472npd1.js.map +0 -156
  129. package/dist/chunk-34xxhapv.js +0 -4
  130. package/dist/chunk-3y8aq9qa.js +0 -8
  131. package/dist/chunk-3y8aq9qa.js.map +0 -65
  132. package/dist/chunk-44mrj8pm.js +0 -5
  133. package/dist/chunk-8adez9b9.js +0 -5
  134. package/dist/chunk-8adez9b9.js.map +0 -10
  135. package/dist/chunk-b685jsh2.js +0 -5
  136. package/dist/chunk-been0qrs.js +0 -5
  137. package/dist/chunk-been0qrs.js.map +0 -16
  138. package/dist/chunk-dnr3cyf7.js +0 -7
  139. package/dist/chunk-dnr3cyf7.js.map +0 -60
  140. package/dist/chunk-e9xdp71t.js +0 -5
  141. package/dist/chunk-ebp27f3t.js +0 -5
  142. package/dist/chunk-een41wce.js +0 -5
  143. package/dist/chunk-gsnfg0v2.js +0 -9
  144. package/dist/chunk-kkckr1p6.js +0 -5
  145. package/dist/chunk-pq8pr524.js +0 -5
  146. package/dist/chunk-pq8pr524.js.map +0 -17
  147. package/dist/chunk-qrw0tzf0.js +0 -5
  148. package/dist/chunk-qrw0tzf0.js.map +0 -22
  149. package/dist/chunk-v7d1bf8z.js +0 -12
  150. package/dist/chunk-wmfxrbxe.js +0 -5
  151. package/dist/chunk-ygxh9jsp.js +0 -5
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js", "../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js", "../../../../../node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js", "../../../../../node_modules/@smithy/node-config-provider/dist-es/fromEnv.js", "../../../../../node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js", "../../../../../node_modules/@smithy/node-config-provider/dist-es/fromStatic.js", "../../../../../node_modules/@smithy/node-config-provider/dist-es/configLoader.js"],
4
+ "sourcesContent": [
5
+ "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n parseQueryString: () => parseQueryString\n});\nmodule.exports = __toCommonJS(src_exports);\nfunction parseQueryString(querystring) {\n const query = {};\n querystring = querystring.replace(/^\\?/, \"\");\n if (querystring) {\n for (const pair of querystring.split(\"&\")) {\n let [key, value = null] = pair.split(\"=\");\n key = decodeURIComponent(key);\n if (value) {\n value = decodeURIComponent(value);\n }\n if (!(key in query)) {\n query[key] = value;\n } else if (Array.isArray(query[key])) {\n query[key].push(value);\n } else {\n query[key] = [query[key], value];\n }\n }\n }\n return query;\n}\n__name(parseQueryString, \"parseQueryString\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n parseQueryString\n});\n\n",
6
+ "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n parseUrl: () => parseUrl\n});\nmodule.exports = __toCommonJS(src_exports);\nvar import_querystring_parser = require(\"@smithy/querystring-parser\");\nvar parseUrl = /* @__PURE__ */ __name((url) => {\n if (typeof url === \"string\") {\n return parseUrl(new URL(url));\n }\n const { hostname, pathname, port, protocol, search } = url;\n let query;\n if (search) {\n query = (0, import_querystring_parser.parseQueryString)(search);\n }\n return {\n hostname,\n port: port ? parseInt(port) : void 0,\n protocol,\n path: pathname,\n query\n };\n}, \"parseUrl\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n parseUrl\n});\n\n",
7
+ "export function getSelectorName(functionString) {\n try {\n const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));\n constants.delete(\"CONFIG\");\n constants.delete(\"CONFIG_PREFIX_SEPARATOR\");\n constants.delete(\"ENV\");\n return [...constants].join(\", \");\n }\n catch (e) {\n return functionString;\n }\n}\n",
8
+ "import { CredentialsProviderError } from \"@smithy/property-provider\";\nimport { getSelectorName } from \"./getSelectorName\";\nexport const fromEnv = (envVarSelector, logger) => async () => {\n try {\n const config = envVarSelector(process.env);\n if (config === undefined) {\n throw new Error();\n }\n return config;\n }\n catch (e) {\n throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger });\n }\n};\n",
9
+ "import { CredentialsProviderError } from \"@smithy/property-provider\";\nimport { getProfileName, loadSharedConfigFiles } from \"@smithy/shared-ini-file-loader\";\nimport { getSelectorName } from \"./getSelectorName\";\nexport const fromSharedConfigFiles = (configSelector, { preferredFile = \"config\", ...init } = {}) => async () => {\n const profile = getProfileName(init);\n const { configFile, credentialsFile } = await loadSharedConfigFiles(init);\n const profileFromCredentials = credentialsFile[profile] || {};\n const profileFromConfig = configFile[profile] || {};\n const mergedProfile = preferredFile === \"config\"\n ? { ...profileFromCredentials, ...profileFromConfig }\n : { ...profileFromConfig, ...profileFromCredentials };\n try {\n const cfgFile = preferredFile === \"config\" ? configFile : credentialsFile;\n const configValue = configSelector(mergedProfile, cfgFile);\n if (configValue === undefined) {\n throw new Error();\n }\n return configValue;\n }\n catch (e) {\n throw new CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger });\n }\n};\n",
10
+ "import { fromStatic as convertToProvider } from \"@smithy/property-provider\";\nconst isFunction = (func) => typeof func === \"function\";\nexport const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : convertToProvider(defaultValue);\n",
11
+ "import { chain, memoize } from \"@smithy/property-provider\";\nimport { fromEnv } from \"./fromEnv\";\nimport { fromSharedConfigFiles } from \"./fromSharedConfigFiles\";\nimport { fromStatic } from \"./fromStatic\";\nexport const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize(chain(fromEnv(environmentVariableSelector), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));\n"
12
+ ],
13
+ "mappings": "uLAyBA,GAAS,LAAgB,CAAC,EAAa,CACrC,MAAM,EAAQ,CAAC,EAEf,GADA,EAAc,EAAY,QAAQ,MAAO,EAAE,EACvC,E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