@taqueria/protocol 0.39.19 → 0.39.20

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 (292) hide show
  1. package/Alias.js +31 -30
  2. package/Alias.js.map +1 -1
  3. package/Base.js.map +1 -1
  4. package/Command.js +31 -30
  5. package/Command.js.map +1 -1
  6. package/Config.js +31 -30
  7. package/Config.js.map +1 -1
  8. package/ConfigContractsDir.js +31 -30
  9. package/ConfigContractsDir.js.map +1 -1
  10. package/ConfigEnvironmentFileV2.js +31 -30
  11. package/ConfigEnvironmentFileV2.js.map +1 -1
  12. package/ConfigFileV2.js +31 -30
  13. package/ConfigFileV2.js.map +1 -1
  14. package/Contract.js +31 -30
  15. package/Contract.js.map +1 -1
  16. package/EconomicalProtocolHash.js +31 -30
  17. package/EconomicalProtocolHash.js.map +1 -1
  18. package/Environment.js +31 -30
  19. package/Environment.js.map +1 -1
  20. package/EphemeralState.d.ts +17 -17
  21. package/EphemeralState.js.map +1 -1
  22. package/Faucet.js +31 -30
  23. package/Faucet.js.map +1 -1
  24. package/HumanReadableIdentifier.js +31 -30
  25. package/HumanReadableIdentifier.js.map +1 -1
  26. package/InstalledPlugin.js +31 -30
  27. package/InstalledPlugin.js.map +1 -1
  28. package/LoadedConfig.js +31 -30
  29. package/LoadedConfig.js.map +1 -1
  30. package/MetadataConfig.js +31 -30
  31. package/MetadataConfig.js.map +1 -1
  32. package/NetworkAccountConfig.js +31 -30
  33. package/NetworkAccountConfig.js.map +1 -1
  34. package/NetworkConfig.js +31 -30
  35. package/NetworkConfig.js.map +1 -1
  36. package/NonEmptyString.js +31 -30
  37. package/NonEmptyString.js.map +1 -1
  38. package/Operation.js +31 -30
  39. package/Operation.js.map +1 -1
  40. package/Option.js +31 -30
  41. package/Option.js.map +1 -1
  42. package/ParsedOperation.js +31 -30
  43. package/ParsedOperation.js.map +1 -1
  44. package/ParsedPluginInfo.d.ts +17 -17
  45. package/ParsedPluginInfo.js +31 -30
  46. package/ParsedPluginInfo.js.map +1 -1
  47. package/ParsedTemplate.js +31 -30
  48. package/ParsedTemplate.js.map +1 -1
  49. package/PersistentState.js +31 -30
  50. package/PersistentState.js.map +1 -1
  51. package/PluginActionName.js +31 -30
  52. package/PluginActionName.js.map +1 -1
  53. package/PluginDependenciesResponse.js +31 -30
  54. package/PluginDependenciesResponse.js.map +1 -1
  55. package/PluginInfo.d.ts +34 -34
  56. package/PluginInfo.js +31 -30
  57. package/PluginInfo.js.map +1 -1
  58. package/PluginJsonResponse.js +31 -30
  59. package/PluginJsonResponse.js.map +1 -1
  60. package/PluginProxyResponse.js +31 -30
  61. package/PluginProxyResponse.js.map +1 -1
  62. package/PluginResponseEncoding.js +31 -30
  63. package/PluginResponseEncoding.js.map +1 -1
  64. package/PluginSchema.d.ts +534 -534
  65. package/PluginSchema.js +31 -30
  66. package/PluginSchema.js.map +1 -1
  67. package/PositionalArg.js +31 -30
  68. package/PositionalArg.js.map +1 -1
  69. package/Provisioner.js +31 -30
  70. package/Provisioner.js.map +1 -1
  71. package/ProvisionerID.js +31 -30
  72. package/ProvisionerID.js.map +1 -1
  73. package/Provisions.js +31 -30
  74. package/Provisions.js.map +1 -1
  75. package/ProxyTaskArgs.js +31 -30
  76. package/ProxyTaskArgs.js.map +1 -1
  77. package/ProxyTemplateArgs.js +31 -30
  78. package/ProxyTemplateArgs.js.map +1 -1
  79. package/PublicKeyHash.js +31 -30
  80. package/PublicKeyHash.js.map +1 -1
  81. package/RequestArgs.js +31 -30
  82. package/RequestArgs.js.map +1 -1
  83. package/SHA256.js +4 -0
  84. package/SHA256.js.map +1 -1
  85. package/SandboxAccountConfig.js +31 -30
  86. package/SandboxAccountConfig.js.map +1 -1
  87. package/SandboxConfig.js +31 -30
  88. package/SandboxConfig.js.map +1 -1
  89. package/SanitizedAbsPath.js +4 -0
  90. package/SanitizedAbsPath.js.map +1 -1
  91. package/SanitizedArgs.js +35 -30
  92. package/SanitizedArgs.js.map +1 -1
  93. package/SanitizedPath.js +31 -30
  94. package/SanitizedPath.js.map +1 -1
  95. package/ScaffoldConfig.js +31 -30
  96. package/ScaffoldConfig.js.map +1 -1
  97. package/Settings.js +31 -30
  98. package/Settings.js.map +1 -1
  99. package/SingleChar.js +31 -30
  100. package/SingleChar.js.map +1 -1
  101. package/Task.js +31 -30
  102. package/Task.js.map +1 -1
  103. package/Template.js +31 -30
  104. package/Template.js.map +1 -1
  105. package/Timestamp.js +31 -30
  106. package/Timestamp.js.map +1 -1
  107. package/Tz.js +31 -30
  108. package/Tz.js.map +1 -1
  109. package/Url.js +31 -30
  110. package/Url.js.map +1 -1
  111. package/Verb.js +31 -30
  112. package/Verb.js.map +1 -1
  113. package/VersionNumber.js +31 -30
  114. package/VersionNumber.js.map +1 -1
  115. package/helpers.js.map +1 -1
  116. package/i18n.d.ts +2 -1
  117. package/i18n.d.ts.map +1 -1
  118. package/i18n.js +5 -0
  119. package/i18n.js.map +1 -1
  120. package/index.js +36 -30
  121. package/index.js.map +1 -1
  122. package/out/types/Alias.js +31 -30
  123. package/out/types/Alias.js.map +1 -1
  124. package/out/types/BuildNumber.js +31 -30
  125. package/out/types/BuildNumber.js.map +1 -1
  126. package/out/types/Command.js +31 -30
  127. package/out/types/Command.js.map +1 -1
  128. package/out/types/Config.d.ts +20 -20
  129. package/out/types/Config.js +31 -30
  130. package/out/types/Config.js.map +1 -1
  131. package/out/types/ConfigAccount.js +31 -30
  132. package/out/types/ConfigAccount.js.map +1 -1
  133. package/out/types/ConfigArtifactsDir.d.ts +4 -4
  134. package/out/types/ConfigArtifactsDir.d.ts.map +1 -1
  135. package/out/types/ConfigArtifactsDir.js +31 -30
  136. package/out/types/ConfigArtifactsDir.js.map +1 -1
  137. package/out/types/ConfigContractsDir.d.ts +4 -4
  138. package/out/types/ConfigContractsDir.d.ts.map +1 -1
  139. package/out/types/ConfigContractsDir.js +31 -30
  140. package/out/types/ConfigContractsDir.js.map +1 -1
  141. package/out/types/ConfigEnvironmentFileV2.js +31 -30
  142. package/out/types/ConfigEnvironmentFileV2.js.map +1 -1
  143. package/out/types/ConfigFileV1.d.ts +20 -20
  144. package/out/types/ConfigFileV1.js +31 -30
  145. package/out/types/ConfigFileV1.js.map +1 -1
  146. package/out/types/ConfigFileV2.d.ts +12 -12
  147. package/out/types/ConfigFileV2.js +31 -30
  148. package/out/types/ConfigFileV2.js.map +1 -1
  149. package/out/types/Contract.js +31 -30
  150. package/out/types/Contract.js.map +1 -1
  151. package/out/types/CurrencyAmountV2.js +31 -30
  152. package/out/types/CurrencyAmountV2.js.map +1 -1
  153. package/out/types/EconomicalProtocolHash.js +31 -30
  154. package/out/types/EconomicalProtocolHash.js.map +1 -1
  155. package/out/types/Environment.js +31 -30
  156. package/out/types/Environment.js.map +1 -1
  157. package/out/types/EphemeralState.d.ts +136 -136
  158. package/out/types/EphemeralState.js +31 -30
  159. package/out/types/EphemeralState.js.map +1 -1
  160. package/out/types/Faucet.js +31 -30
  161. package/out/types/Faucet.js.map +1 -1
  162. package/out/types/HumanReadableIdentifier.js +31 -30
  163. package/out/types/HumanReadableIdentifier.js.map +1 -1
  164. package/out/types/InstalledPlugin.js +31 -30
  165. package/out/types/InstalledPlugin.js.map +1 -1
  166. package/out/types/LoadedConfig.d.ts +20 -20
  167. package/out/types/LoadedConfig.js +31 -30
  168. package/out/types/LoadedConfig.js.map +1 -1
  169. package/out/types/MetadataConfig.js +31 -30
  170. package/out/types/MetadataConfig.js.map +1 -1
  171. package/out/types/NetworkAccountConfig.js +31 -30
  172. package/out/types/NetworkAccountConfig.js.map +1 -1
  173. package/out/types/NetworkConfig.js +31 -30
  174. package/out/types/NetworkConfig.js.map +1 -1
  175. package/out/types/NonEmptyString.js +31 -30
  176. package/out/types/NonEmptyString.js.map +1 -1
  177. package/out/types/Operation.d.ts +105 -105
  178. package/out/types/Operation.js +31 -30
  179. package/out/types/Operation.js.map +1 -1
  180. package/out/types/Option.js +31 -30
  181. package/out/types/Option.js.map +1 -1
  182. package/out/types/ParsedConfig.d.ts +20 -20
  183. package/out/types/ParsedConfig.js +31 -30
  184. package/out/types/ParsedConfig.js.map +1 -1
  185. package/out/types/ParsedOperation.d.ts +60 -60
  186. package/out/types/ParsedOperation.js +31 -30
  187. package/out/types/ParsedOperation.js.map +1 -1
  188. package/out/types/ParsedTemplate.d.ts +4 -4
  189. package/out/types/ParsedTemplate.js +31 -30
  190. package/out/types/ParsedTemplate.js.map +1 -1
  191. package/out/types/PersistedOperation.js +31 -30
  192. package/out/types/PersistedOperation.js.map +1 -1
  193. package/out/types/PersistedTask.js +31 -30
  194. package/out/types/PersistedTask.js.map +1 -1
  195. package/out/types/PersistentState.js +31 -30
  196. package/out/types/PersistentState.js.map +1 -1
  197. package/out/types/PluginActionName.js +31 -30
  198. package/out/types/PluginActionName.js.map +1 -1
  199. package/out/types/PluginDependenciesResponse.js +31 -30
  200. package/out/types/PluginDependenciesResponse.js.map +1 -1
  201. package/out/types/PluginInfo.d.ts +68 -68
  202. package/out/types/PluginInfo.js +31 -30
  203. package/out/types/PluginInfo.js.map +1 -1
  204. package/out/types/PluginJsonResponse.d.ts +9 -9
  205. package/out/types/PluginJsonResponse.js +31 -30
  206. package/out/types/PluginJsonResponse.js.map +1 -1
  207. package/out/types/PluginProxyResponse.d.ts +9 -9
  208. package/out/types/PluginProxyResponse.js +31 -30
  209. package/out/types/PluginProxyResponse.js.map +1 -1
  210. package/out/types/PluginResponseEncoding.d.ts +5 -5
  211. package/out/types/PluginResponseEncoding.d.ts.map +1 -1
  212. package/out/types/PluginResponseEncoding.js +31 -30
  213. package/out/types/PluginResponseEncoding.js.map +1 -1
  214. package/out/types/PluginSchema.d.ts +763 -763
  215. package/out/types/PluginSchema.js +31 -30
  216. package/out/types/PluginSchema.js.map +1 -1
  217. package/out/types/PositionalArg.js +31 -30
  218. package/out/types/PositionalArg.js.map +1 -1
  219. package/out/types/Provisioner.js +31 -30
  220. package/out/types/Provisioner.js.map +1 -1
  221. package/out/types/ProvisionerID.js +31 -30
  222. package/out/types/ProvisionerID.js.map +1 -1
  223. package/out/types/Provisions.js +31 -30
  224. package/out/types/Provisions.js.map +1 -1
  225. package/out/types/ProxyTaskArgs.d.ts +65 -65
  226. package/out/types/ProxyTaskArgs.js +31 -30
  227. package/out/types/ProxyTaskArgs.js.map +1 -1
  228. package/out/types/ProxyTemplateArgs.d.ts +65 -65
  229. package/out/types/ProxyTemplateArgs.js +31 -30
  230. package/out/types/ProxyTemplateArgs.js.map +1 -1
  231. package/out/types/PublicKeyHash.js +31 -30
  232. package/out/types/PublicKeyHash.js.map +1 -1
  233. package/out/types/RequestArgs.d.ts +65 -65
  234. package/out/types/RequestArgs.js +31 -30
  235. package/out/types/RequestArgs.js.map +1 -1
  236. package/out/types/RuntimeDependency.js +31 -30
  237. package/out/types/RuntimeDependency.js.map +1 -1
  238. package/out/types/RuntimeDependencyReport.js +31 -30
  239. package/out/types/RuntimeDependencyReport.js.map +1 -1
  240. package/out/types/SHA256.js +31 -30
  241. package/out/types/SHA256.js.map +1 -1
  242. package/out/types/SandboxAccount.js +31 -30
  243. package/out/types/SandboxAccount.js.map +1 -1
  244. package/out/types/SandboxAccountConfig.js +31 -30
  245. package/out/types/SandboxAccountConfig.js.map +1 -1
  246. package/out/types/SandboxAccounts.js +31 -30
  247. package/out/types/SandboxAccounts.js.map +1 -1
  248. package/out/types/SandboxConfig.d.ts +8 -8
  249. package/out/types/SandboxConfig.js +31 -30
  250. package/out/types/SandboxConfig.js.map +1 -1
  251. package/out/types/SanitizedAbsPath.js +31 -30
  252. package/out/types/SanitizedAbsPath.js.map +1 -1
  253. package/out/types/SanitizedArgs.js +31 -30
  254. package/out/types/SanitizedArgs.js.map +1 -1
  255. package/out/types/SanitizedPath.js +31 -30
  256. package/out/types/SanitizedPath.js.map +1 -1
  257. package/out/types/ScaffoldConfig.js +31 -30
  258. package/out/types/ScaffoldConfig.js.map +1 -1
  259. package/out/types/Settings.js +31 -30
  260. package/out/types/Settings.js.map +1 -1
  261. package/out/types/SingleChar.js +31 -30
  262. package/out/types/SingleChar.js.map +1 -1
  263. package/out/types/Task.d.ts +4 -4
  264. package/out/types/Task.js +31 -30
  265. package/out/types/Task.js.map +1 -1
  266. package/out/types/Template.d.ts +190 -190
  267. package/out/types/Template.js +31 -30
  268. package/out/types/Template.js.map +1 -1
  269. package/out/types/Timestamp.js +31 -30
  270. package/out/types/Timestamp.js.map +1 -1
  271. package/out/types/Tz.js +31 -30
  272. package/out/types/Tz.js.map +1 -1
  273. package/out/types/TzKtConfig.d.ts +8 -8
  274. package/out/types/TzKtConfig.js +31 -30
  275. package/out/types/TzKtConfig.js.map +1 -1
  276. package/out/types/Url.js +31 -30
  277. package/out/types/Url.js.map +1 -1
  278. package/out/types/Verb.js +31 -30
  279. package/out/types/Verb.js.map +1 -1
  280. package/out/types/VersionNumber.js +31 -30
  281. package/out/types/VersionNumber.js.map +1 -1
  282. package/out/types-zod.d.js.map +1 -1
  283. package/out/types-zod.d.ts +398 -398
  284. package/out/types-zod.d.ts.map +1 -1
  285. package/out/types-zod.js +31 -30
  286. package/out/types-zod.js.map +1 -1
  287. package/package.json +9 -9
  288. package/taqueria-protocol-types.js +36 -30
  289. package/taqueria-protocol-types.js.map +1 -1
  290. package/types-config-files.js +20 -0
  291. package/types-config-files.js.map +1 -1
  292. package/tzkt-config.js.map +1 -1
package/i18n.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["i18n.ts"],"sourcesContent":["import i18next from 'i18next';\n\nexport interface i18n {\n\t__: (...args: unknown[]) => string;\n}\n\nexport type t = i18n;\n\nexport default async (): Promise<i18n> => {\n\t// TODO: i18next is feature-rich, but rather large. Determine whether you need all of the functionality\n\tconst i18n = {\n\t\t...await i18next.init({\n\t\t\tlng: 'en',\n\t\t\tdebug: false,\n\t\t\tresources: {\n\t\t\t\t// TODO: Move to separate language files\n\t\t\t\ten: {\n\t\t\t\t\ttranslation: {\n\t\t\t\t\t\t'appName': 'Taqueria',\n\t\t\t\t\t\t'appDesc': 'Taqueria is an integrated environment for compiling, testing, and deploying Tezos software.',\n\t\t\t\t\t\t'versionDesc': 'Display the version number of the Taqueria program',\n\t\t\t\t\t\t'betaWarning': 'Please be advised that Taqueria is currently in BETA.',\n\t\t\t\t\t\t'configDirDesc': 'Config directory (default ./.taq)',\n\t\t\t\t\t\t'initDesc': 'Initialize a new project',\n\t\t\t\t\t\t'optInDesc': 'Opt-in to sharing anonymous usage analytics',\n\t\t\t\t\t\t'optOutDesc': 'Opt-out of sharing anonymous usage analytics',\n\t\t\t\t\t\t'initPathDesc': 'Path to your project directory',\n\t\t\t\t\t\t'workflowDesc':\n\t\t\t\t\t\t\t'Select a workflow to initialize your Taqueria project. Choices are (ligo|smartpy|archetype|michelson)',\n\t\t\t\t\t\t'scaffoldDesc': 'Generate a new project using pre-made scaffold',\n\t\t\t\t\t\t'scaffoldUrlDesc': 'Alias or Url for the scaffold project',\n\t\t\t\t\t\t'scaffoldProjectDirDesc': 'Path where to create the new project. This must be a new directory.',\n\t\t\t\t\t\t'scaffoldDoneMsg': 'The project was created using the scaffold.',\n\t\t\t\t\t\t'installDesc': 'Install a plugin',\n\t\t\t\t\t\t'pluginInstalled': 'Plugin installed successfully',\n\t\t\t\t\t\t'pluginUninstalled': 'Plugin uninstalled successfully',\n\t\t\t\t\t\t'uninstallDesc': 'Uninstall a plugin',\n\t\t\t\t\t\t'pluginNameDesc': 'The name of the plugin',\n\t\t\t\t\t\t'promptForTask':\n\t\t\t\t\t\t\t\"Please specify which task you would like to execute. If you're starting a new project, please run 'init'.\\n\",\n\t\t\t\t\t\t'pluginKindDesc': 'Kind of plugin (NPM, Binary)',\n\t\t\t\t\t\t'pluginAlreadyInstalled': 'That plugin is already installed.',\n\t\t\t\t\t\t'pluginOptionDesc': 'Use the task from this plugin',\n\t\t\t\t\t\t'bootstrapMsg': \"Project taq'ified!\",\n\t\t\t\t\t\t'maxConcurrencyDesc': 'Set the maximum concurrency limit used internally',\n\t\t\t\t\t\t'providedByMany': 'Provided by more than one plugin. The option --plugin is required.',\n\t\t\t\t\t\t'pluginDesc':\n\t\t\t\t\t\t\t'Specify what plugin should execute this command. Use this when more than one plugin provide a task of the same name.',\n\t\t\t\t\t\t'listNetworks': 'List known networks',\n\t\t\t\t\t\t'envDesc': 'Specify an environment configuration',\n\t\t\t\t\t\t'disableStateDesc': 'Does not use the saved state.json file. State is computed for each execution.',\n\t\t\t\t\t\t'logPluginCallsDesc': 'Logs any execution calls to a plugin to the console',\n\t\t\t\t\t\t'npmInitRequired': \"This project isn't a valid NPM project. Please run: npm init\",\n\t\t\t\t\t\t'testFromVsCode': 'An internal command used by VS Code to test for the taq binary',\n\t\t\t\t\t\t'fromVsCode': 'An internal flag used to indicate that taq is executed via vscode',\n\t\t\t\t\t\t'buildDesc': 'Display build information about the current version',\n\t\t\t\t\t\t'pluginOption': \"Use to specify what plugin you'd like when running this task.\",\n\t\t\t\t\t\t'yesOptionDesc': 'Select \"yes\" to any prompt',\n\t\t\t\t\t\t'templateNotFound': 'Template not found. Perhaps you need to install a plugin?',\n\t\t\t\t\t\t'createDesc': 'Create files from pre-existing templates',\n\t\t\t\t\t\t'templateDesc': 'Name of the template to use',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t\t__: i18next.t,\n\t};\n\n\treturn i18n;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAoB;AAQpB,IAAO,eAAQ,YAA2B;AAEzC,QAAM,OAAO;AAAA,IACZ,GAAG,MAAM,eAAAA,QAAQ,KAAK;AAAA,MACrB,KAAK;AAAA,MACL,OAAO;AAAA,MACP,WAAW;AAAA,QAEV,IAAI;AAAA,UACH,aAAa;AAAA,YACZ,WAAW;AAAA,YACX,WAAW;AAAA,YACX,eAAe;AAAA,YACf,eAAe;AAAA,YACf,iBAAiB;AAAA,YACjB,YAAY;AAAA,YACZ,aAAa;AAAA,YACb,cAAc;AAAA,YACd,gBAAgB;AAAA,YAChB,gBACC;AAAA,YACD,gBAAgB;AAAA,YAChB,mBAAmB;AAAA,YACnB,0BAA0B;AAAA,YAC1B,mBAAmB;AAAA,YACnB,eAAe;AAAA,YACf,mBAAmB;AAAA,YACnB,qBAAqB;AAAA,YACrB,iBAAiB;AAAA,YACjB,kBAAkB;AAAA,YAClB,iBACC;AAAA,YACD,kBAAkB;AAAA,YAClB,0BAA0B;AAAA,YAC1B,oBAAoB;AAAA,YACpB,gBAAgB;AAAA,YAChB,sBAAsB;AAAA,YACtB,kBAAkB;AAAA,YAClB,cACC;AAAA,YACD,gBAAgB;AAAA,YAChB,WAAW;AAAA,YACX,oBAAoB;AAAA,YACpB,sBAAsB;AAAA,YACtB,mBAAmB;AAAA,YACnB,kBAAkB;AAAA,YAClB,cAAc;AAAA,YACd,aAAa;AAAA,YACb,gBAAgB;AAAA,YAChB,iBAAiB;AAAA,YACjB,oBAAoB;AAAA,YACpB,cAAc;AAAA,YACd,gBAAgB;AAAA,UACjB;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAAA,IACD,IAAI,eAAAA,QAAQ;AAAA,EACb;AAEA,SAAO;AACR;","names":["i18next"]}
1
+ {"version":3,"sources":["i18n.ts"],"sourcesContent":["import i18next from 'i18next';\n\nexport interface i18n {\n\t__: typeof i18next.t\n}\n\nexport type t = i18n;\n\nexport default async (): Promise<i18n> => {\n\t// TODO: i18next is feature-rich, but rather large. Determine whether you need all of the functionality\n\tconst i18n = {\n\t\t...await i18next.init({\n\t\t\tlng: 'en',\n\t\t\tdebug: false,\n\t\t\tresources: {\n\t\t\t\t// TODO: Move to separate language files\n\t\t\t\ten: {\n\t\t\t\t\ttranslation: {\n\t\t\t\t\t\t'appName': 'Taqueria',\n\t\t\t\t\t\t'appDesc': 'Taqueria is an integrated environment for compiling, testing, and deploying Tezos software.',\n\t\t\t\t\t\t'versionDesc': 'Display the version number of the Taqueria program',\n\t\t\t\t\t\t'betaWarning': 'Please be advised that Taqueria is currently in BETA.',\n\t\t\t\t\t\t'configDirDesc': 'Config directory (default ./.taq)',\n\t\t\t\t\t\t'initDesc': 'Initialize a new project',\n\t\t\t\t\t\t'optInDesc': 'Opt-in to sharing anonymous usage analytics',\n\t\t\t\t\t\t'optOutDesc': 'Opt-out of sharing anonymous usage analytics',\n\t\t\t\t\t\t'initPathDesc': 'Path to your project directory',\n\t\t\t\t\t\t'workflowDesc':\n\t\t\t\t\t\t\t'Select a workflow to initialize your Taqueria project. Choices are (ligo|smartpy|archetype|michelson)',\n\t\t\t\t\t\t'scaffoldDesc': 'Generate a new project using pre-made scaffold',\n\t\t\t\t\t\t'scaffoldUrlDesc': 'Alias or Url for the scaffold project',\n\t\t\t\t\t\t'scaffoldProjectDirDesc': 'Path where to create the new project. This must be a new directory.',\n\t\t\t\t\t\t'scaffoldDoneMsg': 'The project was created using the scaffold.',\n\t\t\t\t\t\t'installDesc': 'Install a plugin',\n\t\t\t\t\t\t'pluginInstalled': 'Plugin installed successfully',\n\t\t\t\t\t\t'pluginUninstalled': 'Plugin uninstalled successfully',\n\t\t\t\t\t\t'uninstallDesc': 'Uninstall a plugin',\n\t\t\t\t\t\t'pluginNameDesc': 'The name of the plugin',\n\t\t\t\t\t\t'promptForTask':\n\t\t\t\t\t\t\t\"Please specify which task you would like to execute. If you're starting a new project, please run 'init'.\\n\",\n\t\t\t\t\t\t'pluginKindDesc': 'Kind of plugin (NPM, Binary)',\n\t\t\t\t\t\t'pluginAlreadyInstalled': 'That plugin is already installed.',\n\t\t\t\t\t\t'pluginOptionDesc': 'Use the task from this plugin',\n\t\t\t\t\t\t'bootstrapMsg': \"Project taq'ified!\",\n\t\t\t\t\t\t'maxConcurrencyDesc': 'Set the maximum concurrency limit used internally',\n\t\t\t\t\t\t'providedByMany': 'Provided by more than one plugin. The option --plugin is required.',\n\t\t\t\t\t\t'pluginDesc':\n\t\t\t\t\t\t\t'Specify what plugin should execute this command. Use this when more than one plugin provide a task of the same name.',\n\t\t\t\t\t\t'listNetworks': 'List known networks',\n\t\t\t\t\t\t'envDesc': 'Specify an environment configuration',\n\t\t\t\t\t\t'disableStateDesc': 'Does not use the saved state.json file. State is computed for each execution.',\n\t\t\t\t\t\t'logPluginCallsDesc': 'Logs any execution calls to a plugin to the console',\n\t\t\t\t\t\t'npmInitRequired': \"This project isn't a valid NPM project. Please run: npm init\",\n\t\t\t\t\t\t'testFromVsCode': 'An internal command used by VS Code to test for the taq binary',\n\t\t\t\t\t\t'fromVsCode': 'An internal flag used to indicate that taq is executed via vscode',\n\t\t\t\t\t\t'buildDesc': 'Display build information about the current version',\n\t\t\t\t\t\t'pluginOption': \"Use to specify what plugin you'd like when running this task.\",\n\t\t\t\t\t\t'yesOptionDesc': 'Select \"yes\" to any prompt',\n\t\t\t\t\t\t'templateNotFound': 'Template not found. Perhaps you need to install a plugin?',\n\t\t\t\t\t\t'createDesc': 'Create files from pre-existing templates',\n\t\t\t\t\t\t'templateDesc': 'Name of the template to use',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t\t__: i18next.t,\n\t};\n\n\treturn i18n;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAoB;AAQpB,IAAO,eAAQ,YAA2B;AAEzC,QAAM,OAAO;AAAA,IACZ,GAAG,MAAM,eAAAA,QAAQ,KAAK;AAAA,MACrB,KAAK;AAAA,MACL,OAAO;AAAA,MACP,WAAW;AAAA;AAAA,QAEV,IAAI;AAAA,UACH,aAAa;AAAA,YACZ,WAAW;AAAA,YACX,WAAW;AAAA,YACX,eAAe;AAAA,YACf,eAAe;AAAA,YACf,iBAAiB;AAAA,YACjB,YAAY;AAAA,YACZ,aAAa;AAAA,YACb,cAAc;AAAA,YACd,gBAAgB;AAAA,YAChB,gBACC;AAAA,YACD,gBAAgB;AAAA,YAChB,mBAAmB;AAAA,YACnB,0BAA0B;AAAA,YAC1B,mBAAmB;AAAA,YACnB,eAAe;AAAA,YACf,mBAAmB;AAAA,YACnB,qBAAqB;AAAA,YACrB,iBAAiB;AAAA,YACjB,kBAAkB;AAAA,YAClB,iBACC;AAAA,YACD,kBAAkB;AAAA,YAClB,0BAA0B;AAAA,YAC1B,oBAAoB;AAAA,YACpB,gBAAgB;AAAA,YAChB,sBAAsB;AAAA,YACtB,kBAAkB;AAAA,YAClB,cACC;AAAA,YACD,gBAAgB;AAAA,YAChB,WAAW;AAAA,YACX,oBAAoB;AAAA,YACpB,sBAAsB;AAAA,YACtB,mBAAmB;AAAA,YACnB,kBAAkB;AAAA,YAClB,cAAc;AAAA,YACd,aAAa;AAAA,YACb,gBAAgB;AAAA,YAChB,iBAAiB;AAAA,YACjB,oBAAoB;AAAA,YACpB,cAAc;AAAA,YACd,gBAAgB;AAAA,UACjB;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAAA,IACD,IAAI,eAAAA,QAAQ;AAAA,EACb;AAEA,SAAO;AACR;","names":["i18next"]}
package/index.js CHANGED
@@ -18,6 +18,10 @@ var __copyProps = (to, from46, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -127,13 +131,11 @@ var import_zod2 = require("zod");
127
131
 
128
132
  // out/types-zod.ts
129
133
  var import_zod = require("zod");
130
- var nonEmptyStringSchema = import_zod.z.string().min(1);
131
- var singleCharSchema = nonEmptyStringSchema.regex(/^[A-Za-z]$/);
132
- var verbSchema = nonEmptyStringSchema.regex(/^[A-Za-z\-\ ]+/);
134
+ var nonEmptyStringSchema = import_zod.z.string();
135
+ var singleCharSchema = nonEmptyStringSchema;
136
+ var verbSchema = nonEmptyStringSchema;
133
137
  var aliasSchema = import_zod.z.union([verbSchema, singleCharSchema]);
134
- var humanReadableIdentifierSchema = nonEmptyStringSchema.regex(
135
- /^[A-Za-z]+[A-Za-z0-9-_ ]*$/
136
- );
138
+ var humanReadableIdentifierSchema = nonEmptyStringSchema;
137
139
  var sanitizedAbsPathSchema = nonEmptyStringSchema;
138
140
  var sanitizedPathSchema = nonEmptyStringSchema;
139
141
  var settingsSchema = import_zod.z.object({
@@ -143,10 +145,10 @@ var settingsSchema = import_zod.z.object({
143
145
  import_zod.z.literal("unspecified")
144
146
  ])
145
147
  });
146
- var timestampSchema = import_zod.z.number().min(1651846877);
147
- var tzSchema = nonEmptyStringSchema.min(1).regex(/^\d([\d_]+\d)?$/);
148
- var versionNumberSchema = nonEmptyStringSchema.min(1).regex(/^\d+\.\d+(\.\d+)*$/);
149
- var urlSchema = nonEmptyStringSchema.url();
148
+ var timestampSchema = import_zod.z.number();
149
+ var tzSchema = nonEmptyStringSchema;
150
+ var versionNumberSchema = nonEmptyStringSchema;
151
+ var urlSchema = nonEmptyStringSchema;
150
152
  var commandSchema = nonEmptyStringSchema;
151
153
  var optionSchema = import_zod.z.object({
152
154
  shortFlag: singleCharSchema.optional(),
@@ -190,7 +192,11 @@ var pluginJsonResponseSchema = import_zod.z.union([
190
192
  header: import_zod.z.string().optional(),
191
193
  footer: import_zod.z.string().optional()
192
194
  }).optional(),
193
- render: import_zod.z.union([import_zod.z.literal("none"), import_zod.z.literal("table"), import_zod.z.literal("string")]).default("none")
195
+ render: import_zod.z.union([
196
+ import_zod.z.literal("none"),
197
+ import_zod.z.literal("table"),
198
+ import_zod.z.literal("string")
199
+ ])
194
200
  }),
195
201
  import_zod.z.void()
196
202
  ]);
@@ -198,7 +204,11 @@ var pluginProxyResponseSchema = import_zod.z.union([
198
204
  import_zod.z.void(),
199
205
  pluginJsonResponseSchema
200
206
  ]);
201
- var pluginResponseEncodingSchema = import_zod.z.union([import_zod.z.literal("none"), import_zod.z.literal("json"), import_zod.z.literal("application/json")]).default("none");
207
+ var pluginResponseEncodingSchema = import_zod.z.union([
208
+ import_zod.z.literal("none"),
209
+ import_zod.z.literal("json"),
210
+ import_zod.z.literal("application/json")
211
+ ]);
202
212
  var buildNumberSchema = import_zod.z.number();
203
213
  var sanitizedArgsSchema = import_zod.z.object({
204
214
  _: import_zod.z.array(import_zod.z.string()),
@@ -227,8 +237,8 @@ var pluginActionNameSchema = import_zod.z.union([
227
237
  import_zod.z.literal("proxyTemplate")
228
238
  ]);
229
239
  var economicalProtocolHashSchema = import_zod.z.string();
230
- var publicKeyHashSchema = import_zod.z.string().regex(/^tz\d[A-Za-z0-9]{33}$/);
231
- var sha256Schema = import_zod.z.string().regex(/^[A-Fa-f0-9]{64}$/);
240
+ var publicKeyHashSchema = import_zod.z.string();
241
+ var sha256Schema = import_zod.z.string();
232
242
  var contractSchema = import_zod.z.object({
233
243
  sourceFile: nonEmptyStringSchema,
234
244
  hash: sha256Schema
@@ -236,13 +246,13 @@ var contractSchema = import_zod.z.object({
236
246
  var faucetSchema = import_zod.z.object({
237
247
  pkh: publicKeyHashSchema,
238
248
  mnemonic: import_zod.z.array(import_zod.z.string()),
239
- email: import_zod.z.string().email(),
249
+ email: import_zod.z.string(),
240
250
  password: import_zod.z.string(),
241
- amount: import_zod.z.string().regex(/^\d+$/),
251
+ amount: import_zod.z.string(),
242
252
  activation_code: import_zod.z.string()
243
253
  });
244
- var tzKtConfigPostgresqlPortSchema = import_zod.z.number().default(5432);
245
- var tzKtConfigApiPortSchema = import_zod.z.number().default(5e3);
254
+ var tzKtConfigPostgresqlPortSchema = import_zod.z.number();
255
+ var tzKtConfigApiPortSchema = import_zod.z.number();
246
256
  var tzKtConfigSchema = import_zod.z.object({
247
257
  disableAutostartWithSandbox: import_zod.z.boolean().optional(),
248
258
  postgresqlPort: tzKtConfigPostgresqlPortSchema.optional(),
@@ -259,9 +269,7 @@ var persistedOperationSchema = import_zod.z.object({
259
269
  time: timestampSchema,
260
270
  output: import_zod.z.unknown().optional()
261
271
  });
262
- var provisionerIDSchema = import_zod.z.string().min(1).regex(
263
- /^[A-Za-z0-9]+[A-Za-z0-9-_]+\.[A-Za-z0-9]+[A-Za-z0-9-_]+\.[A-Za-z0-9]+[A-Za-z0-9-_]+$/
264
- );
272
+ var provisionerIDSchema = import_zod.z.string();
265
273
  var provisionerSchema = import_zod.z.object({
266
274
  id: provisionerIDSchema,
267
275
  plugin: nonEmptyStringSchema,
@@ -277,18 +285,15 @@ var environmentSchema = import_zod.z.object({
277
285
  storage: import_zod.z.record(nonEmptyStringSchema).optional(),
278
286
  aliases: import_zod.z.record(import_zod.z.record(nonEmptyStringSchema)).optional()
279
287
  });
280
- var environmentNameSchema = nonEmptyStringSchema.min(
281
- 1,
282
- "Default environment must reference the name of an existing environment."
283
- );
284
- var humanLanguageSchema = import_zod.z.union([import_zod.z.literal("en"), import_zod.z.literal("fr")]).default("en");
285
- var configContractsDirSchema = import_zod.z.string().min(1).default("contracts");
286
- var configArtifactsDirSchema = import_zod.z.string().min(1).default("artifacts");
288
+ var environmentNameSchema = nonEmptyStringSchema;
289
+ var humanLanguageSchema = import_zod.z.union([import_zod.z.literal("en"), import_zod.z.literal("fr")]);
290
+ var configContractsDirSchema = import_zod.z.string();
291
+ var configArtifactsDirSchema = import_zod.z.string();
287
292
  var currencyAmountV2Schema = import_zod.z.object({
288
293
  amount: import_zod.z.string(),
289
294
  units: import_zod.z.string()
290
295
  });
291
- var versionV2Schema = import_zod.z.string().regex(/^v2$/);
296
+ var versionV2Schema = import_zod.z.string();
292
297
  var sandboxAccountSchema = import_zod.z.object({
293
298
  type: import_zod.z.string().optional()
294
299
  }).passthrough();
@@ -337,7 +342,7 @@ var taskSchema = import_zod.z.object({
337
342
  task: verbSchema,
338
343
  command: commandSchema,
339
344
  aliases: import_zod.z.array(aliasSchema).optional(),
340
- description: nonEmptyStringSchema.min(3).optional(),
345
+ description: nonEmptyStringSchema.optional(),
341
346
  example: nonEmptyStringSchema.optional(),
342
347
  hidden: import_zod.z.boolean().optional(),
343
348
  encoding: pluginResponseEncodingSchema.optional(),
@@ -3120,6 +3125,7 @@ var i18n_default = async () => {
3120
3125
  lng: "en",
3121
3126
  debug: false,
3122
3127
  resources: {
3128
+ // TODO: Move to separate language files
3123
3129
  en: {
3124
3130
  translation: {
3125
3131
  "appName": "Taqueria",