@highstate/designer 0.4.1 → 0.4.3

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 (888) hide show
  1. package/.output/nitro.json +2 -2
  2. package/.output/public/_nuxt/{rjBY3mWU.js → B-YqONwZ.js} +1 -1
  3. package/.output/public/_nuxt/{DVgDGs8k.js → COXQCz2I.js} +1 -1
  4. package/.output/public/_nuxt/DNF_Kfc9.js +1 -0
  5. package/.output/public/_nuxt/DYyPqv2f.js +164 -0
  6. package/.output/public/_nuxt/builds/latest.json +1 -1
  7. package/.output/public/_nuxt/builds/meta/83577d4c-8c1d-41fa-bec1-21181eaa9f33.json +1 -0
  8. package/.output/public/_nuxt/{entry.D7UJUp71.css → entry.BSAdMt6G.css} +1 -1
  9. package/.output/public/_nuxt/error-404.BJkSn6RI.css +1 -0
  10. package/.output/public/_nuxt/error-500.TOCKLquH.css +1 -0
  11. package/.output/server/index.mjs +12265 -6
  12. package/.output/server/index.mjs.map +1 -1
  13. package/.output/server/node_modules/@babel/parser/lib/index.js +294 -138
  14. package/.output/server/node_modules/@babel/parser/package.json +2 -2
  15. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/jsonl.mjs +156 -190
  16. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/sse.mjs +7 -3
  17. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/mergeAsyncIterables.mjs +239 -0
  18. package/.output/server/node_modules/@trpc/server/package.json +7 -7
  19. package/.output/server/node_modules/@unhead/dom/package.json +3 -3
  20. package/.output/server/node_modules/@unhead/shared/dist/index.mjs +8 -98
  21. package/.output/server/node_modules/@unhead/shared/package.json +3 -5
  22. package/.output/server/node_modules/@unhead/ssr/package.json +3 -3
  23. package/.output/server/node_modules/packrup/dist/index.mjs +108 -0
  24. package/.output/server/node_modules/packrup/package.json +58 -0
  25. package/.output/server/node_modules/unhead/package.json +4 -4
  26. package/.output/server/package.json +1 -1
  27. package/package.json +20 -5
  28. package/.output/public/_nuxt/BiOpBOhF.js +0 -69
  29. package/.output/public/_nuxt/Cbvq2xei.js +0 -1
  30. package/.output/public/_nuxt/builds/meta/8de09a2c-8820-4655-b2f6-51c5fbc626cd.json +0 -1
  31. package/.output/public/_nuxt/error-404.SWzu_puR.css +0 -1
  32. package/.output/public/_nuxt/error-500.Bkv_zTjr.css +0 -1
  33. package/.output/server/chunks/_/error-500.mjs +0 -8
  34. package/.output/server/chunks/_/error-500.mjs.map +0 -1
  35. package/.output/server/chunks/build/client.manifest.mjs +0 -85
  36. package/.output/server/chunks/build/client.manifest.mjs.map +0 -1
  37. package/.output/server/chunks/nitro/nitro.mjs +0 -6161
  38. package/.output/server/chunks/nitro/nitro.mjs.map +0 -1
  39. package/.output/server/chunks/routes/api/_trpc_.mjs +0 -1067
  40. package/.output/server/chunks/routes/api/_trpc_.mjs.map +0 -1
  41. package/.output/server/chunks/routes/renderer.mjs +0 -341
  42. package/.output/server/chunks/routes/renderer.mjs.map +0 -1
  43. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
  44. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
  45. package/.output/server/node_modules/.nitro/get-stream@5.2.0/buffer-stream.js +0 -52
  46. package/.output/server/node_modules/.nitro/get-stream@5.2.0/index.js +0 -60
  47. package/.output/server/node_modules/.nitro/get-stream@5.2.0/package.json +0 -50
  48. package/.output/server/node_modules/.nitro/get-stream@6.0.1/buffer-stream.js +0 -52
  49. package/.output/server/node_modules/.nitro/get-stream@6.0.1/index.js +0 -61
  50. package/.output/server/node_modules/.nitro/get-stream@6.0.1/package.json +0 -47
  51. package/.output/server/node_modules/.nitro/mimic-response@1.0.1/index.js +0 -32
  52. package/.output/server/node_modules/.nitro/mimic-response@1.0.1/package.json +0 -37
  53. package/.output/server/node_modules/.nitro/mimic-response@3.1.0/index.js +0 -77
  54. package/.output/server/node_modules/.nitro/mimic-response@3.1.0/package.json +0 -42
  55. package/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js +0 -31
  56. package/.output/server/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js +0 -174
  57. package/.output/server/node_modules/@grpc/grpc-js/build/src/call-credentials.js +0 -153
  58. package/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js +0 -84
  59. package/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js +0 -25
  60. package/.output/server/node_modules/@grpc/grpc-js/build/src/call.js +0 -136
  61. package/.output/server/node_modules/@grpc/grpc-js/build/src/certificate-provider.js +0 -134
  62. package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js +0 -272
  63. package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js +0 -71
  64. package/.output/server/node_modules/@grpc/grpc-js/build/src/channel.js +0 -68
  65. package/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js +0 -584
  66. package/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js +0 -428
  67. package/.output/server/node_modules/@grpc/grpc-js/build/src/client.js +0 -433
  68. package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js +0 -26
  69. package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-filter.js +0 -295
  70. package/.output/server/node_modules/@grpc/grpc-js/build/src/connectivity-state.js +0 -28
  71. package/.output/server/node_modules/@grpc/grpc-js/build/src/constants.js +0 -64
  72. package/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js +0 -43
  73. package/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js +0 -109
  74. package/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js +0 -47
  75. package/.output/server/node_modules/@grpc/grpc-js/build/src/environment.js +0 -22
  76. package/.output/server/node_modules/@grpc/grpc-js/build/src/error.js +0 -41
  77. package/.output/server/node_modules/@grpc/grpc-js/build/src/experimental.js +0 -52
  78. package/.output/server/node_modules/@grpc/grpc-js/build/src/filter-stack.js +0 -82
  79. package/.output/server/node_modules/@grpc/grpc-js/build/src/filter.js +0 -38
  80. package/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js +0 -266
  81. package/.output/server/node_modules/@grpc/grpc-js/build/src/index.js +0 -144
  82. package/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js +0 -572
  83. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js +0 -153
  84. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js +0 -567
  85. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js +0 -482
  86. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js +0 -182
  87. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js +0 -117
  88. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js +0 -294
  89. package/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js +0 -122
  90. package/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js +0 -144
  91. package/.output/server/node_modules/@grpc/grpc-js/build/src/metadata.js +0 -249
  92. package/.output/server/node_modules/@grpc/grpc-js/build/src/picker.js +0 -86
  93. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js +0 -349
  94. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js +0 -105
  95. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js +0 -51
  96. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js +0 -88
  97. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-call.js +0 -305
  98. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js +0 -309
  99. package/.output/server/node_modules/@grpc/grpc-js/build/src/retrying-call.js +0 -665
  100. package/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js +0 -202
  101. package/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js +0 -305
  102. package/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js +0 -770
  103. package/.output/server/node_modules/@grpc/grpc-js/build/src/server.js +0 -1569
  104. package/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js +0 -431
  105. package/.output/server/node_modules/@grpc/grpc-js/build/src/status-builder.js +0 -68
  106. package/.output/server/node_modules/@grpc/grpc-js/build/src/stream-decoder.js +0 -100
  107. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js +0 -202
  108. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-call.js +0 -526
  109. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js +0 -92
  110. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js +0 -137
  111. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel.js +0 -371
  112. package/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js +0 -34
  113. package/.output/server/node_modules/@grpc/grpc-js/build/src/transport.js +0 -662
  114. package/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js +0 -126
  115. package/.output/server/node_modules/@grpc/grpc-js/package.json +0 -87
  116. package/.output/server/node_modules/@grpc/grpc-js/proto/channelz.proto +0 -564
  117. package/.output/server/node_modules/@grpc/proto-loader/build/src/index.js +0 -244
  118. package/.output/server/node_modules/@grpc/proto-loader/build/src/util.js +0 -89
  119. package/.output/server/node_modules/@grpc/proto-loader/package.json +0 -69
  120. package/.output/server/node_modules/@js-sdsl/ordered-map/dist/cjs/index.js +0 -795
  121. package/.output/server/node_modules/@js-sdsl/ordered-map/package.json +0 -138
  122. package/.output/server/node_modules/@logdna/tail-file/index.js +0 -3
  123. package/.output/server/node_modules/@logdna/tail-file/lib/tail-file.js +0 -326
  124. package/.output/server/node_modules/@logdna/tail-file/package.json +0 -162
  125. package/.output/server/node_modules/@protobufjs/aspromise/index.js +0 -52
  126. package/.output/server/node_modules/@protobufjs/aspromise/package.json +0 -21
  127. package/.output/server/node_modules/@protobufjs/base64/index.js +0 -139
  128. package/.output/server/node_modules/@protobufjs/base64/package.json +0 -21
  129. package/.output/server/node_modules/@protobufjs/codegen/index.js +0 -99
  130. package/.output/server/node_modules/@protobufjs/codegen/package.json +0 -13
  131. package/.output/server/node_modules/@protobufjs/eventemitter/index.js +0 -76
  132. package/.output/server/node_modules/@protobufjs/eventemitter/package.json +0 -21
  133. package/.output/server/node_modules/@protobufjs/fetch/index.js +0 -115
  134. package/.output/server/node_modules/@protobufjs/fetch/package.json +0 -25
  135. package/.output/server/node_modules/@protobufjs/float/index.js +0 -335
  136. package/.output/server/node_modules/@protobufjs/float/package.json +0 -26
  137. package/.output/server/node_modules/@protobufjs/inquire/index.js +0 -17
  138. package/.output/server/node_modules/@protobufjs/inquire/package.json +0 -21
  139. package/.output/server/node_modules/@protobufjs/path/index.js +0 -65
  140. package/.output/server/node_modules/@protobufjs/path/package.json +0 -21
  141. package/.output/server/node_modules/@protobufjs/pool/index.js +0 -48
  142. package/.output/server/node_modules/@protobufjs/pool/package.json +0 -21
  143. package/.output/server/node_modules/@protobufjs/utf8/index.js +0 -105
  144. package/.output/server/node_modules/@protobufjs/utf8/package.json +0 -21
  145. package/.output/server/node_modules/@pulumi/pulumi/asset/archive.js +0 -84
  146. package/.output/server/node_modules/@pulumi/pulumi/asset/asset.js +0 -84
  147. package/.output/server/node_modules/@pulumi/pulumi/asset/index.js +0 -21
  148. package/.output/server/node_modules/@pulumi/pulumi/automation/cmd.js +0 -270
  149. package/.output/server/node_modules/@pulumi/pulumi/automation/errors.js +0 -84
  150. package/.output/server/node_modules/@pulumi/pulumi/automation/events.js +0 -47
  151. package/.output/server/node_modules/@pulumi/pulumi/automation/index.js +0 -27
  152. package/.output/server/node_modules/@pulumi/pulumi/automation/localWorkspace.js +0 -1049
  153. package/.output/server/node_modules/@pulumi/pulumi/automation/minimumVersion.js +0 -28
  154. package/.output/server/node_modules/@pulumi/pulumi/automation/remoteStack.js +0 -130
  155. package/.output/server/node_modules/@pulumi/pulumi/automation/remoteWorkspace.js +0 -131
  156. package/.output/server/node_modules/@pulumi/pulumi/automation/server.js +0 -170
  157. package/.output/server/node_modules/@pulumi/pulumi/automation/stack.js +0 -991
  158. package/.output/server/node_modules/@pulumi/pulumi/automation/stackSettings.js +0 -24
  159. package/.output/server/node_modules/@pulumi/pulumi/errors.js +0 -126
  160. package/.output/server/node_modules/@pulumi/pulumi/log/index.js +0 -132
  161. package/.output/server/node_modules/@pulumi/pulumi/metadata.js +0 -46
  162. package/.output/server/node_modules/@pulumi/pulumi/output.js +0 -677
  163. package/.output/server/node_modules/@pulumi/pulumi/package.json +0 -93
  164. package/.output/server/node_modules/@pulumi/pulumi/proto/alias_pb.js +0 -631
  165. package/.output/server/node_modules/@pulumi/pulumi/proto/callback_grpc_pb.js +0 -61
  166. package/.output/server/node_modules/@pulumi/pulumi/proto/callback_pb.js +0 -582
  167. package/.output/server/node_modules/@pulumi/pulumi/proto/codegen/hcl_pb.js +0 -808
  168. package/.output/server/node_modules/@pulumi/pulumi/proto/engine_grpc_pb.js +0 -158
  169. package/.output/server/node_modules/@pulumi/pulumi/proto/engine_pb.js +0 -1058
  170. package/.output/server/node_modules/@pulumi/pulumi/proto/language_grpc_pb.js +0 -510
  171. package/.output/server/node_modules/@pulumi/pulumi/proto/language_pb.js +0 -7222
  172. package/.output/server/node_modules/@pulumi/pulumi/proto/plugin_pb.js +0 -1159
  173. package/.output/server/node_modules/@pulumi/pulumi/proto/provider_pb.js +0 -11300
  174. package/.output/server/node_modules/@pulumi/pulumi/proto/resource_grpc_pb.js +0 -310
  175. package/.output/server/node_modules/@pulumi/pulumi/proto/resource_pb.js +0 -7447
  176. package/.output/server/node_modules/@pulumi/pulumi/proto/source_pb.js +0 -230
  177. package/.output/server/node_modules/@pulumi/pulumi/resource.js +0 -774
  178. package/.output/server/node_modules/@pulumi/pulumi/runtime/asyncIterableUtil.js +0 -103
  179. package/.output/server/node_modules/@pulumi/pulumi/runtime/callbacks.js +0 -456
  180. package/.output/server/node_modules/@pulumi/pulumi/runtime/config.js +0 -129
  181. package/.output/server/node_modules/@pulumi/pulumi/runtime/debuggable.js +0 -137
  182. package/.output/server/node_modules/@pulumi/pulumi/runtime/dependsOn.js +0 -64
  183. package/.output/server/node_modules/@pulumi/pulumi/runtime/invoke.js +0 -498
  184. package/.output/server/node_modules/@pulumi/pulumi/runtime/resource.js +0 -928
  185. package/.output/server/node_modules/@pulumi/pulumi/runtime/rpc.js +0 -844
  186. package/.output/server/node_modules/@pulumi/pulumi/runtime/settings.js +0 -551
  187. package/.output/server/node_modules/@pulumi/pulumi/runtime/stack.js +0 -276
  188. package/.output/server/node_modules/@pulumi/pulumi/runtime/state.js +0 -187
  189. package/.output/server/node_modules/@pulumi/pulumi/utils.js +0 -89
  190. package/.output/server/node_modules/@pulumi/pulumi/version.js +0 -17
  191. package/.output/server/node_modules/@pulumi/query/asyncQueryable.js +0 -279
  192. package/.output/server/node_modules/@pulumi/query/base.js +0 -34
  193. package/.output/server/node_modules/@pulumi/query/index.js +0 -87
  194. package/.output/server/node_modules/@pulumi/query/interfaces.js +0 -24
  195. package/.output/server/node_modules/@pulumi/query/operators.js +0 -1269
  196. package/.output/server/node_modules/@pulumi/query/package.json +0 -22
  197. package/.output/server/node_modules/@pulumi/query/sources.js +0 -81
  198. package/.output/server/node_modules/@pulumi/query/util.js +0 -23
  199. package/.output/server/node_modules/@sinclair/typebox/build/esm/index.mjs +0 -78
  200. package/.output/server/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +0 -54
  201. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +0 -6
  202. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +0 -1
  203. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +0 -6
  204. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +0 -1
  205. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +0 -6
  206. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +0 -1
  207. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +0 -37
  208. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +0 -1
  209. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +0 -6
  210. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +0 -1
  211. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +0 -6
  212. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +0 -1
  213. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +0 -2
  214. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +0 -9
  215. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +0 -36
  216. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +0 -42
  217. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +0 -1
  218. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +0 -6
  219. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +0 -1
  220. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +0 -54
  221. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +0 -1
  222. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +0 -6
  223. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +0 -1
  224. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +0 -5
  225. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +0 -1
  226. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +0 -33
  227. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +0 -1
  228. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +0 -15
  229. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +0 -6
  230. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +0 -1
  231. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +0 -8
  232. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +0 -1
  233. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +0 -18
  234. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +0 -1
  235. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +0 -6
  236. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +0 -1
  237. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +0 -18
  238. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +0 -5
  239. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +0 -25
  240. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +0 -3
  241. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +0 -635
  242. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +0 -25
  243. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +0 -19
  244. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +0 -20
  245. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +0 -23
  246. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +0 -5
  247. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +0 -18
  248. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +0 -5
  249. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +0 -25
  250. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +0 -3
  251. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +0 -6
  252. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +0 -1
  253. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +0 -3
  254. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +0 -230
  255. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +0 -501
  256. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +0 -70
  257. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +0 -4
  258. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +0 -1
  259. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +0 -4
  260. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +0 -22
  261. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +0 -20
  262. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +0 -32
  263. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +0 -91
  264. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +0 -1
  265. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +0 -5
  266. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +0 -1
  267. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +0 -6
  268. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +0 -3
  269. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +0 -19
  270. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +0 -38
  271. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +0 -1
  272. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +0 -17
  273. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +0 -5
  274. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +0 -6
  275. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +0 -26
  276. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +0 -64
  277. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +0 -5
  278. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +0 -5
  279. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +0 -5
  280. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +0 -1
  281. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +0 -6
  282. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +0 -4
  283. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +0 -19
  284. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +0 -12
  285. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +0 -73
  286. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +0 -35
  287. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +0 -1
  288. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +0 -10
  289. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +0 -3
  290. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +0 -9
  291. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +0 -9
  292. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +0 -102
  293. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +0 -151
  294. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +0 -1
  295. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +0 -32
  296. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +0 -1
  297. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +0 -6
  298. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +0 -1
  299. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +0 -6
  300. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +0 -1
  301. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +0 -6
  302. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +0 -1
  303. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +0 -6
  304. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +0 -1
  305. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +0 -22
  306. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +0 -3
  307. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +0 -22
  308. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +0 -19
  309. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +0 -71
  310. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +0 -2
  311. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +0 -18
  312. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +0 -22
  313. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +0 -1
  314. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +0 -5
  315. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +0 -2
  316. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +0 -19
  317. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +0 -61
  318. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +0 -1
  319. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +0 -8
  320. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +0 -3
  321. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +0 -24
  322. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +0 -19
  323. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +0 -66
  324. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +0 -1
  325. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +0 -6
  326. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +0 -2
  327. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +0 -18
  328. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +0 -22
  329. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +0 -1
  330. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +0 -6
  331. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +0 -1
  332. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +0 -94
  333. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +0 -1
  334. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +0 -15
  335. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +0 -1
  336. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +0 -10
  337. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +0 -1
  338. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +0 -8
  339. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +0 -26
  340. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +0 -2
  341. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +0 -26
  342. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +0 -2
  343. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +0 -18
  344. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +0 -60
  345. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +0 -1
  346. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +0 -15
  347. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +0 -1
  348. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +0 -5
  349. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +0 -1
  350. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +0 -2
  351. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +0 -1
  352. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +0 -1
  353. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +0 -48
  354. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +0 -1
  355. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +0 -1
  356. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +0 -1
  357. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +0 -6
  358. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +0 -1
  359. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +0 -6
  360. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +0 -1
  361. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +0 -10
  362. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +0 -49
  363. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +0 -53
  364. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +0 -7
  365. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +0 -167
  366. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +0 -33
  367. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +0 -55
  368. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +0 -13
  369. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +0 -9
  370. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +0 -1
  371. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +0 -40
  372. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +0 -1
  373. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +0 -9
  374. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +0 -13
  375. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +0 -89
  376. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +0 -221
  377. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +0 -60
  378. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +0 -1
  379. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +0 -6
  380. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +0 -1
  381. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +0 -6
  382. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +0 -3
  383. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +0 -5
  384. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +0 -36
  385. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +0 -1
  386. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +0 -10
  387. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +0 -1
  388. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +0 -6
  389. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +0 -1
  390. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +0 -6
  391. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +0 -1
  392. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +0 -6
  393. package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +0 -158
  394. package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +0 -1
  395. package/.output/server/node_modules/@sinclair/typebox/package.json +0 -106
  396. package/.output/server/node_modules/@sindresorhus/is/dist/index.js +0 -434
  397. package/.output/server/node_modules/@sindresorhus/is/package.json +0 -96
  398. package/.output/server/node_modules/@szmarczak/http-timer/dist/source/index.js +0 -126
  399. package/.output/server/node_modules/@szmarczak/http-timer/package.json +0 -72
  400. package/.output/server/node_modules/acorn/dist/acorn.mjs +0 -6145
  401. package/.output/server/node_modules/acorn/package.json +0 -50
  402. package/.output/server/node_modules/better-lock/dist/better_lock.js +0 -377
  403. package/.output/server/node_modules/better-lock/dist/errors.js +0 -136
  404. package/.output/server/node_modules/better-lock/dist/index.js +0 -28
  405. package/.output/server/node_modules/better-lock/dist/internals.js +0 -75
  406. package/.output/server/node_modules/better-lock/dist/tools.js +0 -109
  407. package/.output/server/node_modules/better-lock/package.json +0 -60
  408. package/.output/server/node_modules/cacheable-lookup/package.json +0 -45
  409. package/.output/server/node_modules/cacheable-lookup/source/index.js +0 -436
  410. package/.output/server/node_modules/cacheable-request/package.json +0 -56
  411. package/.output/server/node_modules/cacheable-request/src/index.js +0 -251
  412. package/.output/server/node_modules/clone-response/package.json +0 -41
  413. package/.output/server/node_modules/clone-response/src/index.js +0 -17
  414. package/.output/server/node_modules/confbox/dist/index.mjs +0 -1
  415. package/.output/server/node_modules/confbox/dist/json5.mjs +0 -14
  416. package/.output/server/node_modules/confbox/dist/shared/confbox.9388d834.mjs +0 -1
  417. package/.output/server/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs +0 -7
  418. package/.output/server/node_modules/confbox/dist/toml.mjs +0 -239
  419. package/.output/server/node_modules/confbox/dist/yaml.mjs +0 -32
  420. package/.output/server/node_modules/confbox/package.json +0 -86
  421. package/.output/server/node_modules/consola/dist/core.mjs +0 -410
  422. package/.output/server/node_modules/consola/package.json +0 -101
  423. package/.output/server/node_modules/cross-spawn/index.js +0 -39
  424. package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
  425. package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
  426. package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
  427. package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  428. package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  429. package/.output/server/node_modules/cross-spawn/package.json +0 -73
  430. package/.output/server/node_modules/decompress-response/index.js +0 -58
  431. package/.output/server/node_modules/decompress-response/package.json +0 -56
  432. package/.output/server/node_modules/defer-to-connect/dist/source/index.js +0 -47
  433. package/.output/server/node_modules/defer-to-connect/package.json +0 -71
  434. package/.output/server/node_modules/dettle/dist/debounce.js +0 -91
  435. package/.output/server/node_modules/dettle/dist/index.js +0 -5
  436. package/.output/server/node_modules/dettle/dist/throttle.js +0 -12
  437. package/.output/server/node_modules/dettle/package.json +0 -28
  438. package/.output/server/node_modules/dotenv/config.js +0 -9
  439. package/.output/server/node_modules/dotenv/lib/cli-options.js +0 -11
  440. package/.output/server/node_modules/dotenv/lib/env-options.js +0 -24
  441. package/.output/server/node_modules/dotenv/lib/main.js +0 -361
  442. package/.output/server/node_modules/dotenv/package.json +0 -61
  443. package/.output/server/node_modules/end-of-stream/index.js +0 -94
  444. package/.output/server/node_modules/end-of-stream/package.json +0 -37
  445. package/.output/server/node_modules/esprima/dist/esprima.js +0 -6709
  446. package/.output/server/node_modules/esprima/package.json +0 -112
  447. package/.output/server/node_modules/execa/index.js +0 -268
  448. package/.output/server/node_modules/execa/lib/command.js +0 -52
  449. package/.output/server/node_modules/execa/lib/error.js +0 -88
  450. package/.output/server/node_modules/execa/lib/kill.js +0 -115
  451. package/.output/server/node_modules/execa/lib/promise.js +0 -46
  452. package/.output/server/node_modules/execa/lib/stdio.js +0 -52
  453. package/.output/server/node_modules/execa/lib/stream.js +0 -97
  454. package/.output/server/node_modules/execa/package.json +0 -74
  455. package/.output/server/node_modules/google-protobuf/google/protobuf/empty_pb.js +0 -147
  456. package/.output/server/node_modules/google-protobuf/google/protobuf/struct_pb.js +0 -955
  457. package/.output/server/node_modules/google-protobuf/google-protobuf.js +0 -149
  458. package/.output/server/node_modules/google-protobuf/package.json +0 -35
  459. package/.output/server/node_modules/got/dist/source/as-promise/create-rejection.js +0 -30
  460. package/.output/server/node_modules/got/dist/source/as-promise/index.js +0 -176
  461. package/.output/server/node_modules/got/dist/source/as-promise/normalize-arguments.js +0 -78
  462. package/.output/server/node_modules/got/dist/source/as-promise/parse-body.js +0 -25
  463. package/.output/server/node_modules/got/dist/source/as-promise/types.js +0 -42
  464. package/.output/server/node_modules/got/dist/source/core/calculate-retry-delay.js +0 -29
  465. package/.output/server/node_modules/got/dist/source/core/index.js +0 -1505
  466. package/.output/server/node_modules/got/dist/source/core/utils/dns-ip-version.js +0 -17
  467. package/.output/server/node_modules/got/dist/source/core/utils/get-body-size.js +0 -32
  468. package/.output/server/node_modules/got/dist/source/core/utils/get-buffer.js +0 -16
  469. package/.output/server/node_modules/got/dist/source/core/utils/is-form-data.js +0 -4
  470. package/.output/server/node_modules/got/dist/source/core/utils/is-response-ok.js +0 -8
  471. package/.output/server/node_modules/got/dist/source/core/utils/options-to-url.js +0 -53
  472. package/.output/server/node_modules/got/dist/source/core/utils/proxy-events.js +0 -17
  473. package/.output/server/node_modules/got/dist/source/core/utils/timed-out.js +0 -121
  474. package/.output/server/node_modules/got/dist/source/core/utils/unhandle.js +0 -22
  475. package/.output/server/node_modules/got/dist/source/core/utils/url-to-options.js +0 -24
  476. package/.output/server/node_modules/got/dist/source/core/utils/weakable-map.js +0 -29
  477. package/.output/server/node_modules/got/dist/source/create.js +0 -240
  478. package/.output/server/node_modules/got/dist/source/index.js +0 -132
  479. package/.output/server/node_modules/got/dist/source/types.js +0 -2
  480. package/.output/server/node_modules/got/dist/source/utils/deep-freeze.js +0 -12
  481. package/.output/server/node_modules/got/dist/source/utils/deprecation-warning.js +0 -13
  482. package/.output/server/node_modules/got/package.json +0 -131
  483. package/.output/server/node_modules/http-cache-semantics/index.js +0 -674
  484. package/.output/server/node_modules/http-cache-semantics/package.json +0 -18
  485. package/.output/server/node_modules/http2-wrapper/package.json +0 -54
  486. package/.output/server/node_modules/http2-wrapper/source/agent.js +0 -670
  487. package/.output/server/node_modules/http2-wrapper/source/auto.js +0 -149
  488. package/.output/server/node_modules/http2-wrapper/source/client-request.js +0 -445
  489. package/.output/server/node_modules/http2-wrapper/source/incoming-message.js +0 -58
  490. package/.output/server/node_modules/http2-wrapper/source/index.js +0 -28
  491. package/.output/server/node_modules/http2-wrapper/source/utils/calculate-server-name.js +0 -27
  492. package/.output/server/node_modules/http2-wrapper/source/utils/errors.js +0 -45
  493. package/.output/server/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +0 -13
  494. package/.output/server/node_modules/http2-wrapper/source/utils/proxy-events.js +0 -7
  495. package/.output/server/node_modules/http2-wrapper/source/utils/url-to-options.js +0 -25
  496. package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
  497. package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
  498. package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
  499. package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
  500. package/.output/server/node_modules/human-signals/package.json +0 -64
  501. package/.output/server/node_modules/import-meta-resolve/index.js +0 -47
  502. package/.output/server/node_modules/import-meta-resolve/lib/errors.js +0 -507
  503. package/.output/server/node_modules/import-meta-resolve/lib/get-format.js +0 -159
  504. package/.output/server/node_modules/import-meta-resolve/lib/package-json-reader.js +0 -177
  505. package/.output/server/node_modules/import-meta-resolve/lib/resolve.js +0 -1297
  506. package/.output/server/node_modules/import-meta-resolve/lib/utils.js +0 -47
  507. package/.output/server/node_modules/import-meta-resolve/package.json +0 -95
  508. package/.output/server/node_modules/is-stream/index.js +0 -28
  509. package/.output/server/node_modules/is-stream/package.json +0 -42
  510. package/.output/server/node_modules/isexe/index.js +0 -57
  511. package/.output/server/node_modules/isexe/mode.js +0 -41
  512. package/.output/server/node_modules/isexe/package.json +0 -31
  513. package/.output/server/node_modules/isexe/windows.js +0 -42
  514. package/.output/server/node_modules/js-yaml/index.js +0 -7
  515. package/.output/server/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
  516. package/.output/server/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
  517. package/.output/server/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
  518. package/.output/server/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
  519. package/.output/server/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
  520. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
  521. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
  522. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
  523. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
  524. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
  525. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
  526. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
  527. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
  528. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
  529. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
  530. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
  531. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
  532. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  533. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
  534. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
  535. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
  536. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
  537. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
  538. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
  539. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
  540. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
  541. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
  542. package/.output/server/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
  543. package/.output/server/node_modules/js-yaml/lib/js-yaml.js +0 -39
  544. package/.output/server/node_modules/js-yaml/package.json +0 -49
  545. package/.output/server/node_modules/json-buffer/index.js +0 -58
  546. package/.output/server/node_modules/json-buffer/package.json +0 -34
  547. package/.output/server/node_modules/keyv/package.json +0 -57
  548. package/.output/server/node_modules/keyv/src/index.js +0 -259
  549. package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
  550. package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
  551. package/.output/server/node_modules/long/package.json +0 -50
  552. package/.output/server/node_modules/long/umd/index.js +0 -1432
  553. package/.output/server/node_modules/long/umd/package.json +0 -3
  554. package/.output/server/node_modules/lowercase-keys/index.js +0 -10
  555. package/.output/server/node_modules/lowercase-keys/package.json +0 -38
  556. package/.output/server/node_modules/merge-stream/index.js +0 -41
  557. package/.output/server/node_modules/merge-stream/package.json +0 -19
  558. package/.output/server/node_modules/mimic-fn/index.js +0 -13
  559. package/.output/server/node_modules/mimic-fn/package.json +0 -42
  560. package/.output/server/node_modules/mlly/dist/index.mjs +0 -2606
  561. package/.output/server/node_modules/mlly/package.json +0 -50
  562. package/.output/server/node_modules/normalize-url/index.js +0 -216
  563. package/.output/server/node_modules/normalize-url/package.json +0 -50
  564. package/.output/server/node_modules/npm-run-path/index.js +0 -47
  565. package/.output/server/node_modules/npm-run-path/package.json +0 -44
  566. package/.output/server/node_modules/nypm/dist/index.mjs +0 -306
  567. package/.output/server/node_modules/nypm/package.json +0 -60
  568. package/.output/server/node_modules/once/once.js +0 -42
  569. package/.output/server/node_modules/once/package.json +0 -33
  570. package/.output/server/node_modules/onetime/index.js +0 -44
  571. package/.output/server/node_modules/onetime/package.json +0 -43
  572. package/.output/server/node_modules/p-cancelable/index.js +0 -111
  573. package/.output/server/node_modules/p-cancelable/package.json +0 -49
  574. package/.output/server/node_modules/path-key/index.js +0 -16
  575. package/.output/server/node_modules/path-key/package.json +0 -39
  576. package/.output/server/node_modules/pathe/dist/index.mjs +0 -1
  577. package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +0 -221
  578. package/.output/server/node_modules/pathe/package.json +0 -48
  579. package/.output/server/node_modules/pkg-types/dist/index.mjs +0 -156
  580. package/.output/server/node_modules/pkg-types/package.json +0 -47
  581. package/.output/server/node_modules/promise-make-counter/dist/index.js +0 -24
  582. package/.output/server/node_modules/promise-make-counter/package.json +0 -32
  583. package/.output/server/node_modules/promise-make-naked/dist/index.js +0 -25
  584. package/.output/server/node_modules/promise-make-naked/dist/utils.js +0 -4
  585. package/.output/server/node_modules/promise-make-naked/package.json +0 -27
  586. package/.output/server/node_modules/protobufjs/ext/descriptor/index.js +0 -1052
  587. package/.output/server/node_modules/protobufjs/google/protobuf/api.json +0 -118
  588. package/.output/server/node_modules/protobufjs/google/protobuf/descriptor.json +0 -739
  589. package/.output/server/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
  590. package/.output/server/node_modules/protobufjs/google/protobuf/type.json +0 -202
  591. package/.output/server/node_modules/protobufjs/index.js +0 -4
  592. package/.output/server/node_modules/protobufjs/package.json +0 -112
  593. package/.output/server/node_modules/protobufjs/src/common.js +0 -399
  594. package/.output/server/node_modules/protobufjs/src/converter.js +0 -301
  595. package/.output/server/node_modules/protobufjs/src/decoder.js +0 -129
  596. package/.output/server/node_modules/protobufjs/src/encoder.js +0 -100
  597. package/.output/server/node_modules/protobufjs/src/enum.js +0 -198
  598. package/.output/server/node_modules/protobufjs/src/field.js +0 -377
  599. package/.output/server/node_modules/protobufjs/src/index-light.js +0 -104
  600. package/.output/server/node_modules/protobufjs/src/index-minimal.js +0 -36
  601. package/.output/server/node_modules/protobufjs/src/index.js +0 -12
  602. package/.output/server/node_modules/protobufjs/src/mapfield.js +0 -126
  603. package/.output/server/node_modules/protobufjs/src/message.js +0 -139
  604. package/.output/server/node_modules/protobufjs/src/method.js +0 -160
  605. package/.output/server/node_modules/protobufjs/src/namespace.js +0 -433
  606. package/.output/server/node_modules/protobufjs/src/object.js +0 -243
  607. package/.output/server/node_modules/protobufjs/src/oneof.js +0 -203
  608. package/.output/server/node_modules/protobufjs/src/parse.js +0 -893
  609. package/.output/server/node_modules/protobufjs/src/reader.js +0 -416
  610. package/.output/server/node_modules/protobufjs/src/reader_buffer.js +0 -51
  611. package/.output/server/node_modules/protobufjs/src/root.js +0 -368
  612. package/.output/server/node_modules/protobufjs/src/roots.js +0 -18
  613. package/.output/server/node_modules/protobufjs/src/rpc/service.js +0 -142
  614. package/.output/server/node_modules/protobufjs/src/rpc.js +0 -36
  615. package/.output/server/node_modules/protobufjs/src/service.js +0 -167
  616. package/.output/server/node_modules/protobufjs/src/tokenize.js +0 -416
  617. package/.output/server/node_modules/protobufjs/src/type.js +0 -589
  618. package/.output/server/node_modules/protobufjs/src/types.js +0 -196
  619. package/.output/server/node_modules/protobufjs/src/util/longbits.js +0 -200
  620. package/.output/server/node_modules/protobufjs/src/util/minimal.js +0 -438
  621. package/.output/server/node_modules/protobufjs/src/util.js +0 -212
  622. package/.output/server/node_modules/protobufjs/src/verifier.js +0 -177
  623. package/.output/server/node_modules/protobufjs/src/wrappers.js +0 -102
  624. package/.output/server/node_modules/protobufjs/src/writer.js +0 -465
  625. package/.output/server/node_modules/protobufjs/src/writer_buffer.js +0 -85
  626. package/.output/server/node_modules/pump/index.js +0 -86
  627. package/.output/server/node_modules/pump/package.json +0 -24
  628. package/.output/server/node_modules/quick-lru/index.js +0 -123
  629. package/.output/server/node_modules/quick-lru/package.json +0 -43
  630. package/.output/server/node_modules/remeda/dist/chunk-23J5WHPE.js +0 -1
  631. package/.output/server/node_modules/remeda/dist/chunk-2H7222YL.js +0 -1
  632. package/.output/server/node_modules/remeda/dist/chunk-2TTHCYUC.js +0 -1
  633. package/.output/server/node_modules/remeda/dist/chunk-3AO76THC.js +0 -1
  634. package/.output/server/node_modules/remeda/dist/chunk-3MWN2VHC.js +0 -1
  635. package/.output/server/node_modules/remeda/dist/chunk-3X47EJDR.js +0 -1
  636. package/.output/server/node_modules/remeda/dist/chunk-54BCGHSM.js +0 -1
  637. package/.output/server/node_modules/remeda/dist/chunk-5DU4ITSF.js +0 -1
  638. package/.output/server/node_modules/remeda/dist/chunk-5G3KY7YR.js +0 -1
  639. package/.output/server/node_modules/remeda/dist/chunk-5K4XWC27.js +0 -1
  640. package/.output/server/node_modules/remeda/dist/chunk-5LYW332I.js +0 -1
  641. package/.output/server/node_modules/remeda/dist/chunk-5O3FBXU6.js +0 -1
  642. package/.output/server/node_modules/remeda/dist/chunk-5VD5RID3.js +0 -1
  643. package/.output/server/node_modules/remeda/dist/chunk-6GTAPB47.js +0 -1
  644. package/.output/server/node_modules/remeda/dist/chunk-6HBEBUDI.js +0 -1
  645. package/.output/server/node_modules/remeda/dist/chunk-6IHL7GXT.js +0 -1
  646. package/.output/server/node_modules/remeda/dist/chunk-6MJCR2TC.js +0 -1
  647. package/.output/server/node_modules/remeda/dist/chunk-73TZMTEA.js +0 -1
  648. package/.output/server/node_modules/remeda/dist/chunk-7BKSRZNG.js +0 -1
  649. package/.output/server/node_modules/remeda/dist/chunk-7EFS5WOU.js +0 -1
  650. package/.output/server/node_modules/remeda/dist/chunk-7KI2QQIQ.js +0 -1
  651. package/.output/server/node_modules/remeda/dist/chunk-7LYAC624.js +0 -1
  652. package/.output/server/node_modules/remeda/dist/chunk-7QX4DO53.js +0 -1
  653. package/.output/server/node_modules/remeda/dist/chunk-7ROMSESG.js +0 -1
  654. package/.output/server/node_modules/remeda/dist/chunk-A3FCILQE.js +0 -1
  655. package/.output/server/node_modules/remeda/dist/chunk-ANXBDSUI.js +0 -1
  656. package/.output/server/node_modules/remeda/dist/chunk-ATQJ6737.js +0 -1
  657. package/.output/server/node_modules/remeda/dist/chunk-AWX7RJXY.js +0 -1
  658. package/.output/server/node_modules/remeda/dist/chunk-BLEEZ23Z.js +0 -1
  659. package/.output/server/node_modules/remeda/dist/chunk-BO3LQZNF.js +0 -1
  660. package/.output/server/node_modules/remeda/dist/chunk-BONXESQ2.js +0 -1
  661. package/.output/server/node_modules/remeda/dist/chunk-BQ7TSIFE.js +0 -1
  662. package/.output/server/node_modules/remeda/dist/chunk-BTFWISLJ.js +0 -1
  663. package/.output/server/node_modules/remeda/dist/chunk-BYFE4FDX.js +0 -1
  664. package/.output/server/node_modules/remeda/dist/chunk-BZNENX2T.js +0 -1
  665. package/.output/server/node_modules/remeda/dist/chunk-C4ACUJGS.js +0 -1
  666. package/.output/server/node_modules/remeda/dist/chunk-C4OSHTCI.js +0 -1
  667. package/.output/server/node_modules/remeda/dist/chunk-C6IMN7SF.js +0 -1
  668. package/.output/server/node_modules/remeda/dist/chunk-CAZXBO45.js +0 -1
  669. package/.output/server/node_modules/remeda/dist/chunk-CETFG6TX.js +0 -1
  670. package/.output/server/node_modules/remeda/dist/chunk-CGDTCOHY.js +0 -1
  671. package/.output/server/node_modules/remeda/dist/chunk-CGU6DJQK.js +0 -1
  672. package/.output/server/node_modules/remeda/dist/chunk-COZRMC32.js +0 -1
  673. package/.output/server/node_modules/remeda/dist/chunk-DAHUGBAA.js +0 -1
  674. package/.output/server/node_modules/remeda/dist/chunk-DAQH7UR3.js +0 -1
  675. package/.output/server/node_modules/remeda/dist/chunk-DEVKGLTN.js +0 -2
  676. package/.output/server/node_modules/remeda/dist/chunk-DH3BPT6T.js +0 -1
  677. package/.output/server/node_modules/remeda/dist/chunk-DSLWSGID.js +0 -1
  678. package/.output/server/node_modules/remeda/dist/chunk-DUDVLQA2.js +0 -1
  679. package/.output/server/node_modules/remeda/dist/chunk-E3EM3KJY.js +0 -1
  680. package/.output/server/node_modules/remeda/dist/chunk-E5GMYZMA.js +0 -1
  681. package/.output/server/node_modules/remeda/dist/chunk-EJCQEWX4.js +0 -1
  682. package/.output/server/node_modules/remeda/dist/chunk-EKGXROMD.js +0 -1
  683. package/.output/server/node_modules/remeda/dist/chunk-EM24PB7A.js +0 -1
  684. package/.output/server/node_modules/remeda/dist/chunk-EMIEIAAH.js +0 -1
  685. package/.output/server/node_modules/remeda/dist/chunk-ENOHV5LT.js +0 -1
  686. package/.output/server/node_modules/remeda/dist/chunk-ENXBNJ36.js +0 -1
  687. package/.output/server/node_modules/remeda/dist/chunk-F6MOVT3B.js +0 -1
  688. package/.output/server/node_modules/remeda/dist/chunk-FB2ENREB.js +0 -1
  689. package/.output/server/node_modules/remeda/dist/chunk-FDH4IRIM.js +0 -1
  690. package/.output/server/node_modules/remeda/dist/chunk-FFFVS7XT.js +0 -1
  691. package/.output/server/node_modules/remeda/dist/chunk-FJ47D26D.js +0 -1
  692. package/.output/server/node_modules/remeda/dist/chunk-FMPZ2CLX.js +0 -1
  693. package/.output/server/node_modules/remeda/dist/chunk-FTGV3QMT.js +0 -1
  694. package/.output/server/node_modules/remeda/dist/chunk-FW6RZCGF.js +0 -1
  695. package/.output/server/node_modules/remeda/dist/chunk-G4OU46SC.js +0 -1
  696. package/.output/server/node_modules/remeda/dist/chunk-GJJNKHO2.js +0 -1
  697. package/.output/server/node_modules/remeda/dist/chunk-GK5I7C4J.js +0 -1
  698. package/.output/server/node_modules/remeda/dist/chunk-H2MMZB4H.js +0 -1
  699. package/.output/server/node_modules/remeda/dist/chunk-HBSRBOZK.js +0 -1
  700. package/.output/server/node_modules/remeda/dist/chunk-HJSE3ESO.js +0 -1
  701. package/.output/server/node_modules/remeda/dist/chunk-HO4FFX2R.js +0 -1
  702. package/.output/server/node_modules/remeda/dist/chunk-HQOQUMZV.js +0 -1
  703. package/.output/server/node_modules/remeda/dist/chunk-HV3WACXG.js +0 -1
  704. package/.output/server/node_modules/remeda/dist/chunk-I3D2BSWJ.js +0 -1
  705. package/.output/server/node_modules/remeda/dist/chunk-I76XIBD5.js +0 -1
  706. package/.output/server/node_modules/remeda/dist/chunk-ICQWNDYD.js +0 -1
  707. package/.output/server/node_modules/remeda/dist/chunk-IEE7G5JG.js +0 -1
  708. package/.output/server/node_modules/remeda/dist/chunk-IFSMCGFE.js +0 -1
  709. package/.output/server/node_modules/remeda/dist/chunk-IUVYQYF2.js +0 -1
  710. package/.output/server/node_modules/remeda/dist/chunk-J3IRE4DI.js +0 -1
  711. package/.output/server/node_modules/remeda/dist/chunk-JET27MOQ.js +0 -1
  712. package/.output/server/node_modules/remeda/dist/chunk-JJZ7E4YG.js +0 -1
  713. package/.output/server/node_modules/remeda/dist/chunk-JK3VNB42.js +0 -1
  714. package/.output/server/node_modules/remeda/dist/chunk-JWKJXNB2.js +0 -1
  715. package/.output/server/node_modules/remeda/dist/chunk-JYNHUNML.js +0 -1
  716. package/.output/server/node_modules/remeda/dist/chunk-K26VP6CL.js +0 -1
  717. package/.output/server/node_modules/remeda/dist/chunk-K3UJMX27.js +0 -1
  718. package/.output/server/node_modules/remeda/dist/chunk-K5HTIQFL.js +0 -1
  719. package/.output/server/node_modules/remeda/dist/chunk-K5LCXBBG.js +0 -1
  720. package/.output/server/node_modules/remeda/dist/chunk-KCAOR2LA.js +0 -1
  721. package/.output/server/node_modules/remeda/dist/chunk-KIA3HX3M.js +0 -1
  722. package/.output/server/node_modules/remeda/dist/chunk-KQINSXIJ.js +0 -1
  723. package/.output/server/node_modules/remeda/dist/chunk-KSDEFWLH.js +0 -1
  724. package/.output/server/node_modules/remeda/dist/chunk-LAI77QME.js +0 -1
  725. package/.output/server/node_modules/remeda/dist/chunk-LFEOZTJ2.js +0 -1
  726. package/.output/server/node_modules/remeda/dist/chunk-LIVAT3FO.js +0 -1
  727. package/.output/server/node_modules/remeda/dist/chunk-LKOWEUPS.js +0 -1
  728. package/.output/server/node_modules/remeda/dist/chunk-MD7HNZ54.js +0 -1
  729. package/.output/server/node_modules/remeda/dist/chunk-MQWMWXZY.js +0 -1
  730. package/.output/server/node_modules/remeda/dist/chunk-N4JUOEMS.js +0 -1
  731. package/.output/server/node_modules/remeda/dist/chunk-NGEN63UD.js +0 -1
  732. package/.output/server/node_modules/remeda/dist/chunk-NJXNQM3G.js +0 -1
  733. package/.output/server/node_modules/remeda/dist/chunk-NMC53JVB.js +0 -1
  734. package/.output/server/node_modules/remeda/dist/chunk-NMJS7ULY.js +0 -1
  735. package/.output/server/node_modules/remeda/dist/chunk-NP7PEDI6.js +0 -1
  736. package/.output/server/node_modules/remeda/dist/chunk-OC26KGXM.js +0 -1
  737. package/.output/server/node_modules/remeda/dist/chunk-OEI2BOBZ.js +0 -1
  738. package/.output/server/node_modules/remeda/dist/chunk-OIQJEOF7.js +0 -1
  739. package/.output/server/node_modules/remeda/dist/chunk-OWH4IQQW.js +0 -1
  740. package/.output/server/node_modules/remeda/dist/chunk-OYJAL6JK.js +0 -1
  741. package/.output/server/node_modules/remeda/dist/chunk-PJOV2RDB.js +0 -1
  742. package/.output/server/node_modules/remeda/dist/chunk-PULGOXDA.js +0 -1
  743. package/.output/server/node_modules/remeda/dist/chunk-PWMUXL7T.js +0 -1
  744. package/.output/server/node_modules/remeda/dist/chunk-PZOXR343.js +0 -1
  745. package/.output/server/node_modules/remeda/dist/chunk-QEKOZYJ5.js +0 -1
  746. package/.output/server/node_modules/remeda/dist/chunk-R72GEKLP.js +0 -1
  747. package/.output/server/node_modules/remeda/dist/chunk-RAAYCPUM.js +0 -1
  748. package/.output/server/node_modules/remeda/dist/chunk-RBODUO3Q.js +0 -1
  749. package/.output/server/node_modules/remeda/dist/chunk-RIKUOZVG.js +0 -1
  750. package/.output/server/node_modules/remeda/dist/chunk-RLZQTLGN.js +0 -1
  751. package/.output/server/node_modules/remeda/dist/chunk-RTWSSDNQ.js +0 -1
  752. package/.output/server/node_modules/remeda/dist/chunk-RU7WR4KH.js +0 -1
  753. package/.output/server/node_modules/remeda/dist/chunk-RUHQUI2Z.js +0 -1
  754. package/.output/server/node_modules/remeda/dist/chunk-RXDTYBQM.js +0 -1
  755. package/.output/server/node_modules/remeda/dist/chunk-S23N53O3.js +0 -1
  756. package/.output/server/node_modules/remeda/dist/chunk-S3CYJTB5.js +0 -1
  757. package/.output/server/node_modules/remeda/dist/chunk-SFZGYJFI.js +0 -1
  758. package/.output/server/node_modules/remeda/dist/chunk-SGAFZVQH.js +0 -1
  759. package/.output/server/node_modules/remeda/dist/chunk-SIBGEYD6.js +0 -1
  760. package/.output/server/node_modules/remeda/dist/chunk-SIQPZPLZ.js +0 -1
  761. package/.output/server/node_modules/remeda/dist/chunk-SOGKZP3K.js +0 -1
  762. package/.output/server/node_modules/remeda/dist/chunk-T5XG33UI.js +0 -1
  763. package/.output/server/node_modules/remeda/dist/chunk-TOHMEB3C.js +0 -1
  764. package/.output/server/node_modules/remeda/dist/chunk-U2GFW3LV.js +0 -1
  765. package/.output/server/node_modules/remeda/dist/chunk-U54ONDS6.js +0 -1
  766. package/.output/server/node_modules/remeda/dist/chunk-U753ZCO5.js +0 -1
  767. package/.output/server/node_modules/remeda/dist/chunk-UA6DVSZ3.js +0 -1
  768. package/.output/server/node_modules/remeda/dist/chunk-UEZTW4YU.js +0 -1
  769. package/.output/server/node_modules/remeda/dist/chunk-UIZMRUOL.js +0 -1
  770. package/.output/server/node_modules/remeda/dist/chunk-UWLP4KOD.js +0 -1
  771. package/.output/server/node_modules/remeda/dist/chunk-V6HCOU6T.js +0 -1
  772. package/.output/server/node_modules/remeda/dist/chunk-VBBPTWMC.js +0 -1
  773. package/.output/server/node_modules/remeda/dist/chunk-VCURCCIJ.js +0 -1
  774. package/.output/server/node_modules/remeda/dist/chunk-VCYTMP4D.js +0 -1
  775. package/.output/server/node_modules/remeda/dist/chunk-VFKB5IBK.js +0 -1
  776. package/.output/server/node_modules/remeda/dist/chunk-VFSOOVKJ.js +0 -1
  777. package/.output/server/node_modules/remeda/dist/chunk-VMV5GVZ5.js +0 -1
  778. package/.output/server/node_modules/remeda/dist/chunk-VPCXVUT7.js +0 -1
  779. package/.output/server/node_modules/remeda/dist/chunk-W2HQ33EO.js +0 -1
  780. package/.output/server/node_modules/remeda/dist/chunk-W3QI2BKC.js +0 -1
  781. package/.output/server/node_modules/remeda/dist/chunk-WIMS2EYK.js +0 -1
  782. package/.output/server/node_modules/remeda/dist/chunk-WT5BLBHJ.js +0 -1
  783. package/.output/server/node_modules/remeda/dist/chunk-WY3JJUR4.js +0 -1
  784. package/.output/server/node_modules/remeda/dist/chunk-WZSGNJRX.js +0 -1
  785. package/.output/server/node_modules/remeda/dist/chunk-X5E5CJJQ.js +0 -1
  786. package/.output/server/node_modules/remeda/dist/chunk-XBEN2OB2.js +0 -1
  787. package/.output/server/node_modules/remeda/dist/chunk-XJHR6NID.js +0 -1
  788. package/.output/server/node_modules/remeda/dist/chunk-XMLUDZIW.js +0 -1
  789. package/.output/server/node_modules/remeda/dist/chunk-XSF7OVJO.js +0 -1
  790. package/.output/server/node_modules/remeda/dist/chunk-XZ6COQKM.js +0 -1
  791. package/.output/server/node_modules/remeda/dist/chunk-Y67GVJD3.js +0 -1
  792. package/.output/server/node_modules/remeda/dist/chunk-YL2OFO3L.js +0 -1
  793. package/.output/server/node_modules/remeda/dist/chunk-YVMG2XEU.js +0 -1
  794. package/.output/server/node_modules/remeda/dist/chunk-ZF7KX2VP.js +0 -1
  795. package/.output/server/node_modules/remeda/dist/index.js +0 -1
  796. package/.output/server/node_modules/remeda/package.json +0 -88
  797. package/.output/server/node_modules/resolve-alpn/index.js +0 -43
  798. package/.output/server/node_modules/resolve-alpn/package.json +0 -34
  799. package/.output/server/node_modules/responselike/package.json +0 -39
  800. package/.output/server/node_modules/responselike/src/index.js +0 -34
  801. package/.output/server/node_modules/semver/classes/comparator.js +0 -141
  802. package/.output/server/node_modules/semver/classes/range.js +0 -554
  803. package/.output/server/node_modules/semver/classes/semver.js +0 -302
  804. package/.output/server/node_modules/semver/functions/clean.js +0 -6
  805. package/.output/server/node_modules/semver/functions/cmp.js +0 -52
  806. package/.output/server/node_modules/semver/functions/coerce.js +0 -60
  807. package/.output/server/node_modules/semver/functions/compare-build.js +0 -7
  808. package/.output/server/node_modules/semver/functions/compare-loose.js +0 -3
  809. package/.output/server/node_modules/semver/functions/compare.js +0 -5
  810. package/.output/server/node_modules/semver/functions/diff.js +0 -65
  811. package/.output/server/node_modules/semver/functions/eq.js +0 -3
  812. package/.output/server/node_modules/semver/functions/gt.js +0 -3
  813. package/.output/server/node_modules/semver/functions/gte.js +0 -3
  814. package/.output/server/node_modules/semver/functions/inc.js +0 -19
  815. package/.output/server/node_modules/semver/functions/lt.js +0 -3
  816. package/.output/server/node_modules/semver/functions/lte.js +0 -3
  817. package/.output/server/node_modules/semver/functions/major.js +0 -3
  818. package/.output/server/node_modules/semver/functions/minor.js +0 -3
  819. package/.output/server/node_modules/semver/functions/neq.js +0 -3
  820. package/.output/server/node_modules/semver/functions/parse.js +0 -16
  821. package/.output/server/node_modules/semver/functions/patch.js +0 -3
  822. package/.output/server/node_modules/semver/functions/prerelease.js +0 -6
  823. package/.output/server/node_modules/semver/functions/rcompare.js +0 -3
  824. package/.output/server/node_modules/semver/functions/rsort.js +0 -3
  825. package/.output/server/node_modules/semver/functions/satisfies.js +0 -10
  826. package/.output/server/node_modules/semver/functions/sort.js +0 -3
  827. package/.output/server/node_modules/semver/functions/valid.js +0 -6
  828. package/.output/server/node_modules/semver/index.js +0 -89
  829. package/.output/server/node_modules/semver/internal/constants.js +0 -35
  830. package/.output/server/node_modules/semver/internal/debug.js +0 -9
  831. package/.output/server/node_modules/semver/internal/identifiers.js +0 -23
  832. package/.output/server/node_modules/semver/internal/lrucache.js +0 -40
  833. package/.output/server/node_modules/semver/internal/parse-options.js +0 -15
  834. package/.output/server/node_modules/semver/internal/re.js +0 -217
  835. package/.output/server/node_modules/semver/package.json +0 -77
  836. package/.output/server/node_modules/semver/preload.js +0 -2
  837. package/.output/server/node_modules/semver/ranges/gtr.js +0 -4
  838. package/.output/server/node_modules/semver/ranges/intersects.js +0 -7
  839. package/.output/server/node_modules/semver/ranges/ltr.js +0 -4
  840. package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -25
  841. package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -24
  842. package/.output/server/node_modules/semver/ranges/min-version.js +0 -61
  843. package/.output/server/node_modules/semver/ranges/outside.js +0 -80
  844. package/.output/server/node_modules/semver/ranges/simplify.js +0 -47
  845. package/.output/server/node_modules/semver/ranges/subset.js +0 -247
  846. package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -8
  847. package/.output/server/node_modules/semver/ranges/valid.js +0 -11
  848. package/.output/server/node_modules/shebang-command/index.js +0 -19
  849. package/.output/server/node_modules/shebang-command/package.json +0 -34
  850. package/.output/server/node_modules/shebang-regex/index.js +0 -2
  851. package/.output/server/node_modules/shebang-regex/package.json +0 -35
  852. package/.output/server/node_modules/signal-exit/index.js +0 -202
  853. package/.output/server/node_modules/signal-exit/package.json +0 -38
  854. package/.output/server/node_modules/signal-exit/signals.js +0 -53
  855. package/.output/server/node_modules/strip-final-newline/index.js +0 -16
  856. package/.output/server/node_modules/strip-final-newline/package.json +0 -40
  857. package/.output/server/node_modules/stubborn-fs/dist/attemptify.js +0 -19
  858. package/.output/server/node_modules/stubborn-fs/dist/constants.js +0 -8
  859. package/.output/server/node_modules/stubborn-fs/dist/handlers.js +0 -36
  860. package/.output/server/node_modules/stubborn-fs/dist/index.js +0 -53
  861. package/.output/server/node_modules/stubborn-fs/dist/retryify.js +0 -46
  862. package/.output/server/node_modules/stubborn-fs/dist/retryify_queue.js +0 -62
  863. package/.output/server/node_modules/stubborn-fs/package.json +0 -28
  864. package/.output/server/node_modules/tiny-readdir/dist/constants.js +0 -9
  865. package/.output/server/node_modules/tiny-readdir/dist/index.js +0 -185
  866. package/.output/server/node_modules/tiny-readdir/dist/utils.js +0 -9
  867. package/.output/server/node_modules/tiny-readdir/package.json +0 -34
  868. package/.output/server/node_modules/tinyexec/dist/main.js +0 -578
  869. package/.output/server/node_modules/tinyexec/package.json +0 -66
  870. package/.output/server/node_modules/tmp/lib/tmp.js +0 -784
  871. package/.output/server/node_modules/tmp/package.json +0 -56
  872. package/.output/server/node_modules/upath/build/code/upath.js +0 -171
  873. package/.output/server/node_modules/upath/package.json +0 -60
  874. package/.output/server/node_modules/watcher/dist/constants.js +0 -16
  875. package/.output/server/node_modules/watcher/dist/enums.js +0 -35
  876. package/.output/server/node_modules/watcher/dist/lazy_map_set.js +0 -81
  877. package/.output/server/node_modules/watcher/dist/utils.js +0 -120
  878. package/.output/server/node_modules/watcher/dist/watcher.js +0 -396
  879. package/.output/server/node_modules/watcher/dist/watcher_handler.js +0 -248
  880. package/.output/server/node_modules/watcher/dist/watcher_locker.js +0 -139
  881. package/.output/server/node_modules/watcher/dist/watcher_locks_resolver.js +0 -42
  882. package/.output/server/node_modules/watcher/dist/watcher_poller.js +0 -116
  883. package/.output/server/node_modules/watcher/dist/watcher_stats.js +0 -29
  884. package/.output/server/node_modules/watcher/package.json +0 -37
  885. package/.output/server/node_modules/which/package.json +0 -43
  886. package/.output/server/node_modules/which/which.js +0 -125
  887. package/.output/server/node_modules/wrappy/package.json +0 -29
  888. package/.output/server/node_modules/wrappy/wrappy.js +0 -33
@@ -1,1049 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2023, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
- return new (P || (P = Promise))(function (resolve, reject) {
18
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
- step((generator = generator.apply(thisArg, _arguments || [])).next());
22
- });
23
- };
24
- var __importStar = (this && this.__importStar) || function (mod) {
25
- if (mod && mod.__esModule) return mod;
26
- var result = {};
27
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
28
- result["default"] = mod;
29
- return result;
30
- };
31
- Object.defineProperty(exports, "__esModule", { value: true });
32
- const fs = __importStar(require("fs"));
33
- const yaml = __importStar(require("js-yaml"));
34
- const os = __importStar(require("os"));
35
- const semver = __importStar(require("semver"));
36
- const upath = __importStar(require("upath"));
37
- const cmd_1 = require("./cmd");
38
- const stack_1 = require("./stack");
39
- const stackSettings_1 = require("./stackSettings");
40
- const SKIP_VERSION_CHECK_VAR = "PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK";
41
- /**
42
- * {@link LocalWorkspace} is a default implementation of the {@link Workspace} interface.
43
- *
44
- * A {@link Workspace} is the execution context containing a single Pulumi
45
- * project, a program, and multiple stacks. Workspaces are used to manage the
46
- * execution environment, providing various utilities such as plugin
47
- * installation, environment configuration (`$PULUMI_HOME`), and creation,
48
- * deletion, and listing of Stacks.
49
- *
50
- * {@link LocalWorkspace} relies on `Pulumi.yaml` and `Pulumi.<stack>.yaml` as
51
- * the intermediate format for Project and Stack settings. Modifying the
52
- * workspace's {@link ProjectSettings} will alter the workspace's `Pulumi.yaml`
53
- * file, and setting config on a Stack will modify the relevant
54
- * `Pulumi.<stack>.yaml` file. This is identical to the behavior of Pulumi CLI
55
- * driven workspaces.
56
- *
57
- * @alpha
58
- */
59
- class LocalWorkspace {
60
- /**
61
- * Constructs a new {@link LocalWorkspace}.
62
- */
63
- constructor(opts) {
64
- let dir = "";
65
- let envs = {};
66
- if (opts) {
67
- const { workDir, pulumiHome, program, envVars, secretsProvider, remote, remoteGitProgramArgs, remotePreRunCommands, remoteEnvVars, remoteSkipInstallDependencies, remoteInheritSettings, } = opts;
68
- if (workDir) {
69
- // Verify that the workdir exists.
70
- if (!fs.existsSync(workDir)) {
71
- throw new Error(`Invalid workDir passed to local workspace: '${workDir}' does not exist`);
72
- }
73
- dir = workDir;
74
- }
75
- this.pulumiHome = pulumiHome;
76
- this.program = program;
77
- this.secretsProvider = secretsProvider;
78
- this.remote = remote;
79
- this.remoteGitProgramArgs = remoteGitProgramArgs;
80
- this.remotePreRunCommands = remotePreRunCommands;
81
- this.remoteEnvVars = Object.assign({}, remoteEnvVars);
82
- this.remoteSkipInstallDependencies = remoteSkipInstallDependencies;
83
- this.remoteInheritSettings = remoteInheritSettings;
84
- envs = Object.assign({}, envVars);
85
- }
86
- if (!dir) {
87
- dir = fs.mkdtempSync(upath.joinSafe(os.tmpdir(), "automation-"));
88
- }
89
- this.workDir = dir;
90
- this.envVars = envs;
91
- const skipVersionCheck = !!this.envVars[SKIP_VERSION_CHECK_VAR] || !!process.env[SKIP_VERSION_CHECK_VAR];
92
- const pulumiCommand = (opts === null || opts === void 0 ? void 0 : opts.pulumiCommand) ? Promise.resolve(opts.pulumiCommand)
93
- : cmd_1.PulumiCommand.get({ skipVersionCheck });
94
- const readinessPromises = [
95
- pulumiCommand.then((p) => {
96
- this._pulumiCommand = p;
97
- if (p.version) {
98
- this._pulumiVersion = p.version;
99
- }
100
- return this.checkRemoteSupport();
101
- }),
102
- ];
103
- if (opts === null || opts === void 0 ? void 0 : opts.projectSettings) {
104
- readinessPromises.push(this.saveProjectSettings(opts.projectSettings));
105
- }
106
- if (opts === null || opts === void 0 ? void 0 : opts.stackSettings) {
107
- for (const [name, value] of Object.entries(opts.stackSettings)) {
108
- readinessPromises.push(this.saveStackSettings(name, value));
109
- }
110
- }
111
- this.ready = Promise.all(readinessPromises);
112
- }
113
- /**
114
- * The underlying Pulumi CLI.
115
- */
116
- get pulumiCommand() {
117
- if (this._pulumiCommand === undefined) {
118
- throw new Error("Failed to get Pulumi CLI");
119
- }
120
- return this._pulumiCommand;
121
- }
122
- /**
123
- * The version of the underlying Pulumi CLI/engine.
124
- *
125
- * @returns A string representation of the version, if available. `null` otherwise.
126
- */
127
- get pulumiVersion() {
128
- if (this._pulumiVersion === undefined) {
129
- throw new Error(`Failed to get Pulumi version`);
130
- }
131
- return this._pulumiVersion.toString();
132
- }
133
- /**
134
- * Creates a workspace using the specified options. Used for maximal control and customization
135
- * of the underlying environment before any stacks are created or selected.
136
- *
137
- * @param opts Options used to configure the Workspace
138
- */
139
- static create(opts) {
140
- return __awaiter(this, void 0, void 0, function* () {
141
- const ws = new LocalWorkspace(opts);
142
- yield ws.ready;
143
- return ws;
144
- });
145
- }
146
- static createStack(args, opts) {
147
- return __awaiter(this, void 0, void 0, function* () {
148
- if (isInlineProgramArgs(args)) {
149
- return yield this.inlineSourceStackHelper(args, stack_1.Stack.create, opts);
150
- }
151
- else if (isLocalProgramArgs(args)) {
152
- return yield this.localSourceStackHelper(args, stack_1.Stack.create, opts);
153
- }
154
- throw new Error(`unexpected args: ${args}`);
155
- });
156
- }
157
- static selectStack(args, opts) {
158
- return __awaiter(this, void 0, void 0, function* () {
159
- if (isInlineProgramArgs(args)) {
160
- return yield this.inlineSourceStackHelper(args, stack_1.Stack.select, opts);
161
- }
162
- else if (isLocalProgramArgs(args)) {
163
- return yield this.localSourceStackHelper(args, stack_1.Stack.select, opts);
164
- }
165
- throw new Error(`unexpected args: ${args}`);
166
- });
167
- }
168
- static createOrSelectStack(args, opts) {
169
- return __awaiter(this, void 0, void 0, function* () {
170
- if (isInlineProgramArgs(args)) {
171
- return yield this.inlineSourceStackHelper(args, stack_1.Stack.createOrSelect, opts);
172
- }
173
- else if (isLocalProgramArgs(args)) {
174
- return yield this.localSourceStackHelper(args, stack_1.Stack.createOrSelect, opts);
175
- }
176
- throw new Error(`unexpected args: ${args}`);
177
- });
178
- }
179
- static localSourceStackHelper(args, initFn, opts) {
180
- return __awaiter(this, void 0, void 0, function* () {
181
- let wsOpts = { workDir: args.workDir };
182
- if (opts) {
183
- wsOpts = Object.assign(Object.assign({}, opts), { workDir: args.workDir });
184
- }
185
- const ws = new LocalWorkspace(wsOpts);
186
- yield ws.ready;
187
- return yield initFn(args.stackName, ws);
188
- });
189
- }
190
- static inlineSourceStackHelper(args, initFn, opts) {
191
- return __awaiter(this, void 0, void 0, function* () {
192
- let wsOpts = { program: args.program };
193
- if (opts) {
194
- wsOpts = Object.assign(Object.assign({}, opts), { program: args.program });
195
- }
196
- if (!wsOpts.projectSettings) {
197
- if (wsOpts.workDir) {
198
- try {
199
- // Try to load the project settings.
200
- loadProjectSettings(wsOpts.workDir);
201
- }
202
- catch (e) {
203
- // If it failed to find the project settings file, set a default project.
204
- if (e.toString().includes("failed to find project settings")) {
205
- wsOpts.projectSettings = defaultProject(args.projectName);
206
- }
207
- else {
208
- throw e;
209
- }
210
- }
211
- }
212
- else {
213
- wsOpts.projectSettings = defaultProject(args.projectName);
214
- }
215
- }
216
- const ws = new LocalWorkspace(wsOpts);
217
- yield ws.ready;
218
- return yield initFn(args.stackName, ws);
219
- });
220
- }
221
- /**
222
- * Returns the settings object for the current project if any
223
- * {@link LocalWorkspace} reads settings from the `Pulumi.yaml`
224
- * in the workspace. A workspace can contain only a single project at a
225
- * time.
226
- */
227
- projectSettings() {
228
- return __awaiter(this, void 0, void 0, function* () {
229
- return loadProjectSettings(this.workDir);
230
- });
231
- }
232
- /**
233
- * Overwrites the settings object in the current project. There can only be
234
- * a single project per workspace. Fails if new project name does not match
235
- * old. {@link LocalWorkspace} writes this value to a `Pulumi.yaml` file in
236
- * `Workspace.WorkDir()`.
237
- *
238
- * @param settings
239
- * The settings object to save to the Workspace.
240
- */
241
- saveProjectSettings(settings) {
242
- return __awaiter(this, void 0, void 0, function* () {
243
- let foundExt = ".yaml";
244
- for (const ext of settingsExtensions) {
245
- const testPath = upath.joinSafe(this.workDir, `Pulumi${ext}`);
246
- if (fs.existsSync(testPath)) {
247
- foundExt = ext;
248
- break;
249
- }
250
- }
251
- const path = upath.joinSafe(this.workDir, `Pulumi${foundExt}`);
252
- let contents;
253
- if (foundExt === ".json") {
254
- contents = JSON.stringify(settings, null, 4);
255
- }
256
- else {
257
- contents = yaml.safeDump(settings, { skipInvalid: true });
258
- }
259
- return fs.writeFileSync(path, contents);
260
- });
261
- }
262
- /**
263
- * Returns the settings object for the stack matching the specified stack
264
- * name if any. {@link LocalWorkspace} reads this from a
265
- * `Pulumi.<stack>.yaml` file in `Workspace.WorkDir()`.
266
- *
267
- * @param stackName
268
- * The stack to retrieve settings from.
269
- */
270
- stackSettings(stackName) {
271
- return __awaiter(this, void 0, void 0, function* () {
272
- const stackSettingsName = getStackSettingsName(stackName);
273
- for (const ext of settingsExtensions) {
274
- const isJSON = ext === ".json";
275
- const path = upath.joinSafe(this.workDir, `Pulumi.${stackSettingsName}${ext}`);
276
- if (!fs.existsSync(path)) {
277
- continue;
278
- }
279
- const contents = fs.readFileSync(path).toString();
280
- let stackSettings;
281
- if (isJSON) {
282
- stackSettings = JSON.parse(contents);
283
- }
284
- stackSettings = yaml.safeLoad(contents);
285
- // Transform the serialized representation back to what we expect.
286
- for (const key of stackSettings_1.stackSettingsSerDeKeys) {
287
- if (stackSettings.hasOwnProperty(key[0])) {
288
- stackSettings[key[1]] = stackSettings[key[0]];
289
- delete stackSettings[key[0]];
290
- }
291
- }
292
- return stackSettings;
293
- }
294
- throw new Error(`failed to find stack settings file in workdir: ${this.workDir}`);
295
- });
296
- }
297
- /**
298
- * Overwrites the settings object for the stack matching the specified stack
299
- * name. {@link LocalWorkspace} writes this value to a `Pulumi.<stack>.yaml`
300
- * file in `Workspace.WorkDir()`
301
- *
302
- * @param stackName
303
- * The stack to operate on.
304
- * @param settings
305
- * The settings object to save.
306
- */
307
- saveStackSettings(stackName, settings) {
308
- return __awaiter(this, void 0, void 0, function* () {
309
- const stackSettingsName = getStackSettingsName(stackName);
310
- let foundExt = ".yaml";
311
- for (const ext of settingsExtensions) {
312
- const testPath = upath.joinSafe(this.workDir, `Pulumi.${stackSettingsName}${ext}`);
313
- if (fs.existsSync(testPath)) {
314
- foundExt = ext;
315
- break;
316
- }
317
- }
318
- const path = upath.joinSafe(this.workDir, `Pulumi.${stackSettingsName}${foundExt}`);
319
- const serializeSettings = Object.assign({}, settings);
320
- let contents;
321
- // Transform the keys to the serialized representation that we expect.
322
- for (const key of stackSettings_1.stackSettingsSerDeKeys) {
323
- if (serializeSettings.hasOwnProperty(key[1])) {
324
- serializeSettings[key[0]] = serializeSettings[key[1]];
325
- delete serializeSettings[key[1]];
326
- }
327
- }
328
- if (foundExt === ".json") {
329
- contents = JSON.stringify(serializeSettings, null, 4);
330
- }
331
- else {
332
- contents = yaml.safeDump(serializeSettings, { skipInvalid: true });
333
- }
334
- return fs.writeFileSync(path, contents);
335
- });
336
- }
337
- /**
338
- * Creates and sets a new stack with the stack name, failing if one already
339
- * exists.
340
- *
341
- * @param stackName The stack to create.
342
- */
343
- createStack(stackName) {
344
- return __awaiter(this, void 0, void 0, function* () {
345
- const args = ["stack", "init", stackName];
346
- if (this.secretsProvider) {
347
- args.push("--secrets-provider", this.secretsProvider);
348
- }
349
- if (this.isRemote) {
350
- args.push("--no-select");
351
- }
352
- yield this.runPulumiCmd(args);
353
- });
354
- }
355
- /**
356
- * Selects and sets an existing stack matching the stack name, failing if
357
- * none exists.
358
- *
359
- * @param stackName The stack to select.
360
- */
361
- selectStack(stackName) {
362
- return __awaiter(this, void 0, void 0, function* () {
363
- // If this is a remote workspace, we don't want to actually select the stack (which would modify global state);
364
- // but we will ensure the stack exists by calling `pulumi stack`.
365
- const args = ["stack"];
366
- if (!this.isRemote) {
367
- args.push("select");
368
- }
369
- args.push("--stack", stackName);
370
- yield this.runPulumiCmd(args);
371
- });
372
- }
373
- /**
374
- * Deletes the stack and all associated configuration and history.
375
- *
376
- * @param stackName The stack to remove
377
- */
378
- removeStack(stackName, opts) {
379
- return __awaiter(this, void 0, void 0, function* () {
380
- const args = ["stack", "rm", "--yes"];
381
- if (opts === null || opts === void 0 ? void 0 : opts.force) {
382
- args.push("--force");
383
- }
384
- if (opts === null || opts === void 0 ? void 0 : opts.preserveConfig) {
385
- args.push("--preserve-config");
386
- }
387
- args.push(stackName);
388
- yield this.runPulumiCmd(args);
389
- });
390
- }
391
- /**
392
- * Adds environments to the end of a stack's import list. Imported
393
- * environments are merged in order per the ESC merge rules. The list of
394
- * environments behaves as if it were the import list in an anonymous
395
- * environment.
396
- *
397
- * @param stackName
398
- * The stack to operate on
399
- * @param environments
400
- * The names of the environments to add to the stack's configuration
401
- */
402
- addEnvironments(stackName, ...environments) {
403
- return __awaiter(this, void 0, void 0, function* () {
404
- let ver = this._pulumiVersion;
405
- if (ver === undefined) {
406
- // Assume an old version. Doesn't really matter what this is as long as it's pre-3.95.
407
- ver = semver.parse("3.0.0");
408
- }
409
- // 3.95 added this command (https://github.com/pulumi/pulumi/releases/tag/v3.95.0)
410
- if (ver.compare("3.95.0") < 0) {
411
- throw new Error(`addEnvironments requires Pulumi version >= 3.95.0`);
412
- }
413
- yield this.runPulumiCmd(["config", "env", "add", ...environments, "--stack", stackName, "--yes"]);
414
- });
415
- }
416
- /**
417
- * Returns the list of environments associated with the specified stack name.
418
- *
419
- * @param stackName The stack to operate on
420
- */
421
- listEnvironments(stackName) {
422
- return __awaiter(this, void 0, void 0, function* () {
423
- let ver = this._pulumiVersion;
424
- if (ver === undefined) {
425
- // Assume an old version. Doesn't really matter what this is as long as it's pre-3.99.
426
- ver = semver.parse("3.0.0");
427
- }
428
- // 3.99 added this command (https://github.com/pulumi/pulumi/releases/tag/v3.99.0)
429
- if (ver.compare("3.99.0") < 0) {
430
- throw new Error(`listEnvironments requires Pulumi version >= 3.99.0`);
431
- }
432
- const result = yield this.runPulumiCmd(["config", "env", "ls", "--stack", stackName, "--json"]);
433
- return JSON.parse(result.stdout);
434
- });
435
- }
436
- /**
437
- * Removes an environment from a stack's import list.
438
- *
439
- * @param stackName
440
- * The stack to operate on
441
- * @param environment
442
- * The name of the environment to remove from the stack's configuration
443
- */
444
- removeEnvironment(stackName, environment) {
445
- return __awaiter(this, void 0, void 0, function* () {
446
- let ver = this._pulumiVersion;
447
- if (ver === undefined) {
448
- // Assume an old version. Doesn't really matter what this is as long as it's pre-3.95.
449
- ver = semver.parse("3.0.0");
450
- }
451
- // 3.95 added this command (https://github.com/pulumi/pulumi/releases/tag/v3.95.0)
452
- if (ver.compare("3.95.0") < 0) {
453
- throw new Error(`removeEnvironments requires Pulumi version >= 3.95.0`);
454
- }
455
- yield this.runPulumiCmd(["config", "env", "rm", environment, "--stack", stackName, "--yes"]);
456
- });
457
- }
458
- /**
459
- * Returns the value associated with the specified stack name and key,
460
- * scoped to the current workspace. {@link LocalWorkspace} reads this config
461
- * from the matching `Pulumi.stack.yaml` file.
462
- *
463
- * @param stackName
464
- * The stack to read config from
465
- * @param key
466
- * The key to use for the config lookup
467
- * @param path
468
- * The key contains a path to a property in a map or list to get
469
- */
470
- getConfig(stackName, key, path) {
471
- return __awaiter(this, void 0, void 0, function* () {
472
- const args = ["config", "get"];
473
- if (path) {
474
- args.push("--path");
475
- }
476
- args.push(key, "--json", "--stack", stackName);
477
- const result = yield this.runPulumiCmd(args);
478
- return JSON.parse(result.stdout);
479
- });
480
- }
481
- /**
482
- * Returns the config map for the specified stack name, scoped to the
483
- * current workspace. {@link LocalWorkspace} reads this config from the
484
- * matching `Pulumi.stack.yaml` file.
485
- *
486
- * @param stackName
487
- * The stack to read config from
488
- */
489
- getAllConfig(stackName) {
490
- return __awaiter(this, void 0, void 0, function* () {
491
- const result = yield this.runPulumiCmd(["config", "--show-secrets", "--json", "--stack", stackName]);
492
- return JSON.parse(result.stdout);
493
- });
494
- }
495
- /**
496
- * Sets the specified key-value pair on the provided stack name. {@link
497
- * LocalWorkspace} writes this value to the matching `Pulumi.<stack>.yaml`
498
- * file in `Workspace.WorkDir()`.
499
- *
500
- * @param stackName
501
- * The stack to operate on
502
- * @param key
503
- * The config key to set
504
- * @param value
505
- * The value to set
506
- * @param path
507
- * The key contains a path to a property in a map or list to set
508
- */
509
- setConfig(stackName, key, value, path) {
510
- return __awaiter(this, void 0, void 0, function* () {
511
- const args = ["config", "set"];
512
- if (path) {
513
- args.push("--path");
514
- }
515
- const secretArg = value.secret ? "--secret" : "--plaintext";
516
- args.push(key, "--stack", stackName, secretArg, "--non-interactive", "--", value.value);
517
- yield this.runPulumiCmd(args);
518
- });
519
- }
520
- /**
521
- * Sets all values in the provided config map for the specified stack name.
522
- * {@link LocalWorkspace} writes the config to the matching
523
- * `Pulumi.<stack>.yaml` file in `Workspace.WorkDir()`.
524
- *
525
- * @param stackName
526
- * The stack to operate on
527
- * @param config
528
- * The {@link ConfigMap} to upsert against the existing config
529
- * @param path
530
- * The keys contain a path to a property in a map or list to set
531
- */
532
- setAllConfig(stackName, config, path) {
533
- return __awaiter(this, void 0, void 0, function* () {
534
- const args = ["config", "set-all", "--stack", stackName];
535
- if (path) {
536
- args.push("--path");
537
- }
538
- for (const [key, value] of Object.entries(config)) {
539
- const secretArg = value.secret ? "--secret" : "--plaintext";
540
- args.push(secretArg, `${key}=${value.value}`);
541
- }
542
- yield this.runPulumiCmd(args);
543
- });
544
- }
545
- /**
546
- * Removes the specified key-value pair on the provided stack name. Will
547
- * remove any matching values in the `Pulumi.<stack>.yaml` file in
548
- * `Workspace.WorkDir()`.
549
- *
550
- * @param stackName
551
- * The stack to operate on
552
- * @param key
553
- * The config key to remove
554
- * @param path
555
- * The key contains a path to a property in a map or list to remove
556
- */
557
- removeConfig(stackName, key, path) {
558
- return __awaiter(this, void 0, void 0, function* () {
559
- const args = ["config", "rm", key, "--stack", stackName];
560
- if (path) {
561
- args.push("--path");
562
- }
563
- yield this.runPulumiCmd(args);
564
- });
565
- }
566
- /**
567
- * Removes all values in the provided key list for the specified stack name
568
- * Will remove any matching values in the `Pulumi.<stack>.yaml` file in
569
- * `Workspace.WorkDir()`.
570
- *
571
- * @param stackName
572
- * The stack to operate on
573
- * @param keys
574
- * The list of keys to remove from the underlying config
575
- * @param path
576
- * The keys contain a path to a property in a map or list to remove
577
- */
578
- removeAllConfig(stackName, keys, path) {
579
- return __awaiter(this, void 0, void 0, function* () {
580
- const args = ["config", "rm-all", "--stack", stackName];
581
- if (path) {
582
- args.push("--path");
583
- }
584
- args.push(...keys);
585
- yield this.runPulumiCmd(args);
586
- });
587
- }
588
- /**
589
- * Gets and sets the config map used with the last update for the stack
590
- * matching the given name. This will overwrite all configuration in the
591
- * `Pulumi.<stack>.yaml` file in `Workspace.WorkDir()`.
592
- *
593
- * @param stackName
594
- * The stack to refresh
595
- */
596
- refreshConfig(stackName) {
597
- return __awaiter(this, void 0, void 0, function* () {
598
- yield this.runPulumiCmd(["config", "refresh", "--force", "--stack", stackName]);
599
- return this.getAllConfig(stackName);
600
- });
601
- }
602
- /**
603
- * Returns the value associated with the specified stack name and key,
604
- * scoped to the {@link LocalWorkspace.}
605
- *
606
- * @param stackName
607
- * The stack to read tag metadata from.
608
- * @param key
609
- * The key to use for the tag lookup.
610
- */
611
- getTag(stackName, key) {
612
- return __awaiter(this, void 0, void 0, function* () {
613
- const result = yield this.runPulumiCmd(["stack", "tag", "get", key, "--stack", stackName]);
614
- return result.stdout.trim();
615
- });
616
- }
617
- /**
618
- * Sets the specified key-value pair on the stack with the given name.
619
- *
620
- * @param stackName
621
- * The stack to operate on.
622
- * @param key
623
- * The tag key to set.
624
- * @param value
625
- * The tag value to set.
626
- */
627
- setTag(stackName, key, value) {
628
- return __awaiter(this, void 0, void 0, function* () {
629
- yield this.runPulumiCmd(["stack", "tag", "set", key, value, "--stack", stackName]);
630
- });
631
- }
632
- /**
633
- * Removes the specified key-value pair on the stack with the given name.
634
- *
635
- * @param stackName
636
- * The stack to operate on.
637
- * @param key
638
- * The tag key to remove.
639
- */
640
- removeTag(stackName, key) {
641
- return __awaiter(this, void 0, void 0, function* () {
642
- yield this.runPulumiCmd(["stack", "tag", "rm", key, "--stack", stackName]);
643
- });
644
- }
645
- /**
646
- * Returns the tag map for the specified stack, scoped to the current
647
- * {@link LocalWorkspace.}
648
- *
649
- * @param stackName
650
- * The stack to read tag metadata from.
651
- */
652
- listTags(stackName) {
653
- return __awaiter(this, void 0, void 0, function* () {
654
- const result = yield this.runPulumiCmd(["stack", "tag", "ls", "--json", "--stack", stackName]);
655
- return JSON.parse(result.stdout);
656
- });
657
- }
658
- /**
659
- * Returns information about the currently authenticated user.
660
- */
661
- whoAmI() {
662
- return __awaiter(this, void 0, void 0, function* () {
663
- let ver = this._pulumiVersion;
664
- if (ver === undefined) {
665
- // Assume an old version. Doesn't really matter what this is as long as it's pre-3.58.
666
- ver = semver.parse("3.0.0");
667
- }
668
- // 3.58 added the --json flag (https://github.com/pulumi/pulumi/releases/tag/v3.58.0)
669
- if (ver.compare("3.58.0") >= 0) {
670
- const result = yield this.runPulumiCmd(["whoami", "--json"]);
671
- return JSON.parse(result.stdout);
672
- }
673
- else {
674
- const result = yield this.runPulumiCmd(["whoami"]);
675
- return { user: result.stdout.trim() };
676
- }
677
- });
678
- }
679
- /**
680
- * Returns a summary of the currently selected stack, if any.
681
- */
682
- stack() {
683
- return __awaiter(this, void 0, void 0, function* () {
684
- const stacks = yield this.listStacks();
685
- for (const stack of stacks) {
686
- if (stack.current) {
687
- return stack;
688
- }
689
- }
690
- return undefined;
691
- });
692
- }
693
- /**
694
- * Returns all stacks from the underlying backend based on the provided
695
- * options. This queries the underlying backend and may return stacks not
696
- * present in the workspace as `Pulumi.<stack>.yaml` files.
697
- *
698
- * @param opts
699
- * Options to customize the behavior of the list.
700
- */
701
- listStacks(opts) {
702
- return __awaiter(this, void 0, void 0, function* () {
703
- const args = ["stack", "ls", "--json"];
704
- if (opts) {
705
- if (opts.all) {
706
- args.push("--all");
707
- }
708
- }
709
- const result = yield this.runPulumiCmd(args);
710
- return JSON.parse(result.stdout);
711
- });
712
- }
713
- /**
714
- * Install plugin and language dependencies needed for the project.
715
- *
716
- * @param opts Options to customize the behavior of install.
717
- */
718
- install(opts) {
719
- return __awaiter(this, void 0, void 0, function* () {
720
- let ver = this._pulumiVersion;
721
- if (ver === undefined) {
722
- ver = semver.parse("3.0.0");
723
- }
724
- if (ver.compare("3.91.0") < 0) {
725
- // Pulumi 3.91.0 added the `pulumi install` command.
726
- // https://github.com/pulumi/pulumi/releases/tag/v3.91.0
727
- throw new Error(`pulumi install requires Pulumi version >= 3.91.0`);
728
- }
729
- const args = [];
730
- if (opts === null || opts === void 0 ? void 0 : opts.useLanguageVersionTools) {
731
- if (ver.compare("3.130.0") < 0) {
732
- // Pulumi 3.130.0 introduced the `--use-language-version-tools` flag.
733
- // https://github.com/pulumi/pulumi/releases/tag/v3.130.0
734
- throw new Error(`useLanguageVersionTools requires Pulumi version >= 3.130.0`);
735
- }
736
- args.push("--use-language-version-tools");
737
- }
738
- if (opts === null || opts === void 0 ? void 0 : opts.noPlugins) {
739
- args.push("--no-plugins");
740
- }
741
- if (opts === null || opts === void 0 ? void 0 : opts.noDependencies) {
742
- args.push("--no-dependencies");
743
- }
744
- if (opts === null || opts === void 0 ? void 0 : opts.reinstall) {
745
- args.push("--reinstall");
746
- }
747
- yield this.runPulumiCmd(["install", ...args]);
748
- });
749
- }
750
- /**
751
- * Installs a plugin in the workspace, for example to use cloud providers
752
- * like AWS or GCP.
753
- *
754
- * @param name
755
- * The name of the plugin.
756
- * @param version
757
- * The version of the plugin e.g. "v1.0.0".
758
- * @param kind
759
- * The kind of plugin, defaults to "resource"
760
- */
761
- installPlugin(name, version, kind = "resource") {
762
- return __awaiter(this, void 0, void 0, function* () {
763
- yield this.runPulumiCmd(["plugin", "install", kind, name, version]);
764
- });
765
- }
766
- /**
767
- * Installs a plugin in the workspace from a third party server.
768
- *
769
- * @param name
770
- * The name of the plugin.
771
- * @param version
772
- * The version of the plugin e.g. "v1.0.0".
773
- * @param server
774
- * The server to install the plugin from
775
- */
776
- installPluginFromServer(name, version, server) {
777
- return __awaiter(this, void 0, void 0, function* () {
778
- yield this.runPulumiCmd(["plugin", "install", "resource", name, version, "--server", server]);
779
- });
780
- }
781
- /**
782
- * Removes a plugin from the workspace matching the specified name and version.
783
- *
784
- * @param name
785
- * The optional name of the plugin.
786
- * @param versionRange
787
- * An optional semver range to check when removing plugins matching the
788
- * given name e.g. "1.0.0", ">1.0.0".
789
- * @param kind
790
- * The kind of plugin, defaults to "resource".
791
- */
792
- removePlugin(name, versionRange, kind = "resource") {
793
- return __awaiter(this, void 0, void 0, function* () {
794
- const args = ["plugin", "rm", kind];
795
- if (name) {
796
- args.push(name);
797
- }
798
- if (versionRange) {
799
- args.push(versionRange);
800
- }
801
- args.push("--yes");
802
- yield this.runPulumiCmd(args);
803
- });
804
- }
805
- /**
806
- * Returns a list of all plugins installed in the workspace.
807
- */
808
- listPlugins() {
809
- return __awaiter(this, void 0, void 0, function* () {
810
- const result = yield this.runPulumiCmd(["plugin", "ls", "--json"]);
811
- return JSON.parse(result.stdout, (key, value) => {
812
- if (key === "installTime" || key === "lastUsedTime") {
813
- return new Date(value);
814
- }
815
- return value;
816
- });
817
- });
818
- }
819
- /**
820
- * Exports the deployment state of the stack. This can be combined with
821
- * {@link importStack} to edit a stack's state (such as recovery from failed
822
- * deployments).
823
- *
824
- * @param stackName
825
- * The name of the stack.
826
- */
827
- exportStack(stackName) {
828
- return __awaiter(this, void 0, void 0, function* () {
829
- const result = yield this.runPulumiCmd(["stack", "export", "--show-secrets", "--stack", stackName]);
830
- return JSON.parse(result.stdout);
831
- });
832
- }
833
- /**
834
- * Imports the given deployment state into a pre-existing stack. This can be
835
- * combined with {@link exportStack} to edit a stack's state (such as
836
- * recovery from failed deployments).
837
- *
838
- * @param stackName
839
- * The name of the stack.
840
- * @param state
841
- * The stack state to import.
842
- */
843
- importStack(stackName, state) {
844
- return __awaiter(this, void 0, void 0, function* () {
845
- const randomSuffix = Math.floor(100000 + Math.random() * 900000);
846
- const filepath = upath.joinSafe(os.tmpdir(), `automation-${randomSuffix}`);
847
- const contents = JSON.stringify(state, null, 4);
848
- fs.writeFileSync(filepath, contents);
849
- yield this.runPulumiCmd(["stack", "import", "--file", filepath, "--stack", stackName]);
850
- fs.unlinkSync(filepath);
851
- });
852
- }
853
- /**
854
- * Gets the current set of Stack outputs from the last {@link Stack.up}.
855
- *
856
- * @param stackName The name of the stack.
857
- */
858
- stackOutputs(stackName) {
859
- return __awaiter(this, void 0, void 0, function* () {
860
- // TODO: do this in parallel after this is fixed https://github.com/pulumi/pulumi/issues/6050
861
- const maskedResult = yield this.runPulumiCmd(["stack", "output", "--json", "--stack", stackName]);
862
- const plaintextResult = yield this.runPulumiCmd([
863
- "stack",
864
- "output",
865
- "--json",
866
- "--show-secrets",
867
- "--stack",
868
- stackName,
869
- ]);
870
- const maskedOuts = JSON.parse(maskedResult.stdout);
871
- const plaintextOuts = JSON.parse(plaintextResult.stdout);
872
- const outputs = {};
873
- for (const [key, value] of Object.entries(plaintextOuts)) {
874
- const secret = maskedOuts[key] === "[secret]";
875
- outputs[key] = { value, secret };
876
- }
877
- return outputs;
878
- });
879
- }
880
- /**
881
- * A hook to provide additional args to every CLI commands before they are
882
- * executed. Provided with stack name, this function returns a list of
883
- * arguments to append to an invoked command (e.g. `["--config=...", ...]`)
884
- * Presently, {@link LocalWorkspace} does not utilize this extensibility
885
- * point.
886
- */
887
- serializeArgsForOp(_) {
888
- return __awaiter(this, void 0, void 0, function* () {
889
- return [];
890
- });
891
- }
892
- /**
893
- * A hook executed after every command. Called with the stack name. An
894
- * extensibility point to perform workspace cleanup (CLI operations may
895
- * create/modify a `Pulumi.stack.yaml`) {@link LocalWorkspace} does not
896
- * utilize this extensibility point.
897
- */
898
- postCommandCallback(_) {
899
- return __awaiter(this, void 0, void 0, function* () {
900
- return;
901
- });
902
- }
903
- checkRemoteSupport() {
904
- return __awaiter(this, void 0, void 0, function* () {
905
- const optOut = !!this.envVars[SKIP_VERSION_CHECK_VAR] || !!process.env[SKIP_VERSION_CHECK_VAR];
906
- // If remote was specified, ensure the CLI supports it.
907
- if (!optOut && this.isRemote) {
908
- // See if `--remote` is present in `pulumi preview --help`'s output.
909
- const previewResult = yield this.runPulumiCmd(["preview", "--help"]);
910
- const previewOutput = previewResult.stdout.trim();
911
- if (!previewOutput.includes("--remote")) {
912
- throw new Error("The Pulumi CLI does not support remote operations. Please upgrade.");
913
- }
914
- }
915
- });
916
- }
917
- runPulumiCmd(args) {
918
- return __awaiter(this, void 0, void 0, function* () {
919
- let envs = {};
920
- if (this.pulumiHome) {
921
- envs["PULUMI_HOME"] = this.pulumiHome;
922
- }
923
- if (this.isRemote) {
924
- envs["PULUMI_EXPERIMENTAL"] = "true";
925
- }
926
- envs = Object.assign(Object.assign({}, envs), this.envVars);
927
- return this.pulumiCommand.run(args, this.workDir, envs);
928
- });
929
- }
930
- /**
931
- * @internal
932
- */
933
- get isRemote() {
934
- return !!this.remote;
935
- }
936
- /**
937
- * @internal
938
- */
939
- remoteArgs() {
940
- var _a, _b;
941
- const args = [];
942
- if (!this.isRemote) {
943
- return args;
944
- }
945
- args.push("--remote");
946
- if (this.remoteGitProgramArgs) {
947
- const { url, projectPath, branch, commitHash, auth } = this.remoteGitProgramArgs;
948
- if (url) {
949
- args.push(url);
950
- }
951
- if (projectPath) {
952
- args.push("--remote-git-repo-dir", projectPath);
953
- }
954
- if (branch) {
955
- args.push("--remote-git-branch", branch);
956
- }
957
- if (commitHash) {
958
- args.push("--remote-git-commit", commitHash);
959
- }
960
- if (auth) {
961
- const { personalAccessToken, sshPrivateKey, sshPrivateKeyPath, password, username } = auth;
962
- if (personalAccessToken) {
963
- args.push("--remote-git-auth-access-token", personalAccessToken);
964
- }
965
- if (sshPrivateKey) {
966
- args.push("--remote-git-auth-ssh-private-key", sshPrivateKey);
967
- }
968
- if (sshPrivateKeyPath) {
969
- args.push("--remote-git-auth-ssh-private-key-path", sshPrivateKeyPath);
970
- }
971
- if (password) {
972
- args.push("--remote-git-auth-password", password);
973
- }
974
- if (username) {
975
- args.push("--remote-git-auth-username", username);
976
- }
977
- }
978
- }
979
- for (const key of Object.keys((_a = this.remoteEnvVars) !== null && _a !== void 0 ? _a : {})) {
980
- const val = this.remoteEnvVars[key];
981
- if (typeof val === "string") {
982
- args.push("--remote-env", `${key}=${val}`);
983
- }
984
- else if ("secret" in val) {
985
- args.push("--remote-env-secret", `${key}=${val.secret}`);
986
- }
987
- else {
988
- throw new Error(`unexpected env value '${val}' for key '${key}'`);
989
- }
990
- }
991
- for (const command of (_b = this.remotePreRunCommands) !== null && _b !== void 0 ? _b : []) {
992
- args.push("--remote-pre-run-command", command);
993
- }
994
- if (this.remoteSkipInstallDependencies) {
995
- args.push("--remote-skip-install-dependencies");
996
- }
997
- if (this.remoteInheritSettings) {
998
- args.push("--remote-inherit-settings");
999
- }
1000
- return args;
1001
- }
1002
- }
1003
- exports.LocalWorkspace = LocalWorkspace;
1004
- /**
1005
- * Returns true if the provided arguments satisfy the {@link LocalProgramArgs} interface.
1006
- *
1007
- * @param args
1008
- * The args object to evaluate
1009
- */
1010
- function isLocalProgramArgs(args) {
1011
- return args.workDir !== undefined;
1012
- }
1013
- /**
1014
- * Returns true if the provided arguments satisfy the {@link InlineProgramArgs} interface.
1015
- *
1016
- * @param args
1017
- * The args object to evaluate
1018
- */
1019
- function isInlineProgramArgs(args) {
1020
- return args.projectName !== undefined && args.program !== undefined;
1021
- }
1022
- const settingsExtensions = [".yaml", ".yml", ".json"];
1023
- function getStackSettingsName(name) {
1024
- const parts = name.split("/");
1025
- if (parts.length < 1) {
1026
- return name;
1027
- }
1028
- return parts[parts.length - 1];
1029
- }
1030
- function defaultProject(projectName) {
1031
- const settings = { name: projectName, runtime: "nodejs", main: process.cwd() };
1032
- return settings;
1033
- }
1034
- function loadProjectSettings(workDir) {
1035
- for (const ext of settingsExtensions) {
1036
- const isJSON = ext === ".json";
1037
- const path = upath.joinSafe(workDir, `Pulumi${ext}`);
1038
- if (!fs.existsSync(path)) {
1039
- continue;
1040
- }
1041
- const contents = fs.readFileSync(path).toString();
1042
- if (isJSON) {
1043
- return JSON.parse(contents);
1044
- }
1045
- return yaml.safeLoad(contents);
1046
- }
1047
- throw new Error(`failed to find project settings file in workdir: ${workDir}`);
1048
- }
1049
- //# sourceMappingURL=localWorkspace.js.map