create-leo-app 0.7.3 → 0.8.4

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 (280) hide show
  1. package/README.md +3 -3
  2. package/dist/index.mjs +38 -38
  3. package/package.json +5 -7
  4. package/template-extension/package.json +4 -4
  5. package/template-nextjs-ts/package.json +9 -9
  6. package/template-node/package.json +2 -2
  7. package/template-node-ts/package.json +5 -5
  8. package/template-offline-public-transaction-ts/package.json +5 -5
  9. package/template-react-leo/README.md +3 -8
  10. package/template-react-leo/package.json +23 -23
  11. package/template-react-leo/vite.config.js +2 -1
  12. package/template-react-managed-worker/README.md +1 -3
  13. package/template-react-managed-worker/package.json +22 -22
  14. package/template-react-managed-worker/vite.config.js +2 -1
  15. package/template-react-ts/README.md +3 -8
  16. package/template-react-ts/package.json +28 -28
  17. package/template-react-ts/vite.config.ts +2 -1
  18. package/template-vanilla/main.js +1 -1
  19. package/template-vanilla/package.json +3 -3
  20. package/template-vanilla/vite.config.js +3 -1
  21. package/template-nextjs-ts/node_modules/@types/node/LICENSE +0 -21
  22. package/template-nextjs-ts/node_modules/@types/node/README.md +0 -15
  23. package/template-nextjs-ts/node_modules/@types/node/assert/strict.d.ts +0 -8
  24. package/template-nextjs-ts/node_modules/@types/node/assert.d.ts +0 -1040
  25. package/template-nextjs-ts/node_modules/@types/node/async_hooks.d.ts +0 -541
  26. package/template-nextjs-ts/node_modules/@types/node/buffer.d.ts +0 -2301
  27. package/template-nextjs-ts/node_modules/@types/node/child_process.d.ts +0 -1544
  28. package/template-nextjs-ts/node_modules/@types/node/cluster.d.ts +0 -578
  29. package/template-nextjs-ts/node_modules/@types/node/console.d.ts +0 -452
  30. package/template-nextjs-ts/node_modules/@types/node/constants.d.ts +0 -19
  31. package/template-nextjs-ts/node_modules/@types/node/crypto.d.ts +0 -4524
  32. package/template-nextjs-ts/node_modules/@types/node/dgram.d.ts +0 -596
  33. package/template-nextjs-ts/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  34. package/template-nextjs-ts/node_modules/@types/node/dns/promises.d.ts +0 -476
  35. package/template-nextjs-ts/node_modules/@types/node/dns.d.ts +0 -864
  36. package/template-nextjs-ts/node_modules/@types/node/dom-events.d.ts +0 -124
  37. package/template-nextjs-ts/node_modules/@types/node/domain.d.ts +0 -170
  38. package/template-nextjs-ts/node_modules/@types/node/events.d.ts +0 -931
  39. package/template-nextjs-ts/node_modules/@types/node/fs/promises.d.ts +0 -1245
  40. package/template-nextjs-ts/node_modules/@types/node/fs.d.ts +0 -4317
  41. package/template-nextjs-ts/node_modules/@types/node/globals.d.ts +0 -503
  42. package/template-nextjs-ts/node_modules/@types/node/globals.global.d.ts +0 -1
  43. package/template-nextjs-ts/node_modules/@types/node/http.d.ts +0 -1908
  44. package/template-nextjs-ts/node_modules/@types/node/http2.d.ts +0 -2418
  45. package/template-nextjs-ts/node_modules/@types/node/https.d.ts +0 -550
  46. package/template-nextjs-ts/node_modules/@types/node/index.d.ts +0 -89
  47. package/template-nextjs-ts/node_modules/@types/node/inspector.d.ts +0 -3696
  48. package/template-nextjs-ts/node_modules/@types/node/module.d.ts +0 -315
  49. package/template-nextjs-ts/node_modules/@types/node/net.d.ts +0 -999
  50. package/template-nextjs-ts/node_modules/@types/node/os.d.ts +0 -495
  51. package/template-nextjs-ts/node_modules/@types/node/package.json +0 -217
  52. package/template-nextjs-ts/node_modules/@types/node/path.d.ts +0 -191
  53. package/template-nextjs-ts/node_modules/@types/node/perf_hooks.d.ts +0 -934
  54. package/template-nextjs-ts/node_modules/@types/node/process.d.ts +0 -1879
  55. package/template-nextjs-ts/node_modules/@types/node/punycode.d.ts +0 -117
  56. package/template-nextjs-ts/node_modules/@types/node/querystring.d.ts +0 -153
  57. package/template-nextjs-ts/node_modules/@types/node/readline/promises.d.ts +0 -150
  58. package/template-nextjs-ts/node_modules/@types/node/readline.d.ts +0 -540
  59. package/template-nextjs-ts/node_modules/@types/node/repl.d.ts +0 -430
  60. package/template-nextjs-ts/node_modules/@types/node/sea.d.ts +0 -153
  61. package/template-nextjs-ts/node_modules/@types/node/stream/consumers.d.ts +0 -12
  62. package/template-nextjs-ts/node_modules/@types/node/stream/promises.d.ts +0 -83
  63. package/template-nextjs-ts/node_modules/@types/node/stream/web.d.ts +0 -521
  64. package/template-nextjs-ts/node_modules/@types/node/stream.d.ts +0 -1707
  65. package/template-nextjs-ts/node_modules/@types/node/string_decoder.d.ts +0 -67
  66. package/template-nextjs-ts/node_modules/@types/node/test.d.ts +0 -1874
  67. package/template-nextjs-ts/node_modules/@types/node/timers/promises.d.ts +0 -97
  68. package/template-nextjs-ts/node_modules/@types/node/timers.d.ts +0 -240
  69. package/template-nextjs-ts/node_modules/@types/node/tls.d.ts +0 -1217
  70. package/template-nextjs-ts/node_modules/@types/node/trace_events.d.ts +0 -197
  71. package/template-nextjs-ts/node_modules/@types/node/tty.d.ts +0 -208
  72. package/template-nextjs-ts/node_modules/@types/node/url.d.ts +0 -952
  73. package/template-nextjs-ts/node_modules/@types/node/util.d.ts +0 -2298
  74. package/template-nextjs-ts/node_modules/@types/node/v8.d.ts +0 -808
  75. package/template-nextjs-ts/node_modules/@types/node/vm.d.ts +0 -924
  76. package/template-nextjs-ts/node_modules/@types/node/wasi.d.ts +0 -181
  77. package/template-nextjs-ts/node_modules/@types/node/worker_threads.d.ts +0 -694
  78. package/template-nextjs-ts/node_modules/@types/node/zlib.d.ts +0 -539
  79. package/template-react-ts/node_modules/@types/node/LICENSE +0 -21
  80. package/template-react-ts/node_modules/@types/node/README.md +0 -15
  81. package/template-react-ts/node_modules/@types/node/assert/strict.d.ts +0 -8
  82. package/template-react-ts/node_modules/@types/node/assert.d.ts +0 -1040
  83. package/template-react-ts/node_modules/@types/node/async_hooks.d.ts +0 -541
  84. package/template-react-ts/node_modules/@types/node/buffer.d.ts +0 -2301
  85. package/template-react-ts/node_modules/@types/node/child_process.d.ts +0 -1544
  86. package/template-react-ts/node_modules/@types/node/cluster.d.ts +0 -578
  87. package/template-react-ts/node_modules/@types/node/console.d.ts +0 -452
  88. package/template-react-ts/node_modules/@types/node/constants.d.ts +0 -19
  89. package/template-react-ts/node_modules/@types/node/crypto.d.ts +0 -4524
  90. package/template-react-ts/node_modules/@types/node/dgram.d.ts +0 -596
  91. package/template-react-ts/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  92. package/template-react-ts/node_modules/@types/node/dns/promises.d.ts +0 -476
  93. package/template-react-ts/node_modules/@types/node/dns.d.ts +0 -864
  94. package/template-react-ts/node_modules/@types/node/dom-events.d.ts +0 -124
  95. package/template-react-ts/node_modules/@types/node/domain.d.ts +0 -170
  96. package/template-react-ts/node_modules/@types/node/events.d.ts +0 -931
  97. package/template-react-ts/node_modules/@types/node/fs/promises.d.ts +0 -1245
  98. package/template-react-ts/node_modules/@types/node/fs.d.ts +0 -4317
  99. package/template-react-ts/node_modules/@types/node/globals.d.ts +0 -503
  100. package/template-react-ts/node_modules/@types/node/globals.global.d.ts +0 -1
  101. package/template-react-ts/node_modules/@types/node/http.d.ts +0 -1908
  102. package/template-react-ts/node_modules/@types/node/http2.d.ts +0 -2418
  103. package/template-react-ts/node_modules/@types/node/https.d.ts +0 -550
  104. package/template-react-ts/node_modules/@types/node/index.d.ts +0 -89
  105. package/template-react-ts/node_modules/@types/node/inspector.d.ts +0 -3696
  106. package/template-react-ts/node_modules/@types/node/module.d.ts +0 -315
  107. package/template-react-ts/node_modules/@types/node/net.d.ts +0 -999
  108. package/template-react-ts/node_modules/@types/node/os.d.ts +0 -495
  109. package/template-react-ts/node_modules/@types/node/package.json +0 -217
  110. package/template-react-ts/node_modules/@types/node/path.d.ts +0 -191
  111. package/template-react-ts/node_modules/@types/node/perf_hooks.d.ts +0 -934
  112. package/template-react-ts/node_modules/@types/node/process.d.ts +0 -1879
  113. package/template-react-ts/node_modules/@types/node/punycode.d.ts +0 -117
  114. package/template-react-ts/node_modules/@types/node/querystring.d.ts +0 -153
  115. package/template-react-ts/node_modules/@types/node/readline/promises.d.ts +0 -150
  116. package/template-react-ts/node_modules/@types/node/readline.d.ts +0 -540
  117. package/template-react-ts/node_modules/@types/node/repl.d.ts +0 -430
  118. package/template-react-ts/node_modules/@types/node/sea.d.ts +0 -153
  119. package/template-react-ts/node_modules/@types/node/stream/consumers.d.ts +0 -12
  120. package/template-react-ts/node_modules/@types/node/stream/promises.d.ts +0 -83
  121. package/template-react-ts/node_modules/@types/node/stream/web.d.ts +0 -521
  122. package/template-react-ts/node_modules/@types/node/stream.d.ts +0 -1707
  123. package/template-react-ts/node_modules/@types/node/string_decoder.d.ts +0 -67
  124. package/template-react-ts/node_modules/@types/node/test.d.ts +0 -1874
  125. package/template-react-ts/node_modules/@types/node/timers/promises.d.ts +0 -97
  126. package/template-react-ts/node_modules/@types/node/timers.d.ts +0 -240
  127. package/template-react-ts/node_modules/@types/node/tls.d.ts +0 -1217
  128. package/template-react-ts/node_modules/@types/node/trace_events.d.ts +0 -197
  129. package/template-react-ts/node_modules/@types/node/tty.d.ts +0 -208
  130. package/template-react-ts/node_modules/@types/node/url.d.ts +0 -952
  131. package/template-react-ts/node_modules/@types/node/util.d.ts +0 -2298
  132. package/template-react-ts/node_modules/@types/node/v8.d.ts +0 -808
  133. package/template-react-ts/node_modules/@types/node/vm.d.ts +0 -924
  134. package/template-react-ts/node_modules/@types/node/wasi.d.ts +0 -181
  135. package/template-react-ts/node_modules/@types/node/worker_threads.d.ts +0 -694
  136. package/template-react-ts/node_modules/@types/node/zlib.d.ts +0 -539
  137. package/template-react-ts/node_modules/diff/CONTRIBUTING.md +0 -39
  138. package/template-react-ts/node_modules/diff/LICENSE +0 -31
  139. package/template-react-ts/node_modules/diff/README.md +0 -207
  140. package/template-react-ts/node_modules/diff/dist/diff.js +0 -1585
  141. package/template-react-ts/node_modules/diff/dist/diff.min.js +0 -38
  142. package/template-react-ts/node_modules/diff/lib/convert/dmp.js +0 -32
  143. package/template-react-ts/node_modules/diff/lib/convert/xml.js +0 -42
  144. package/template-react-ts/node_modules/diff/lib/diff/array.js +0 -45
  145. package/template-react-ts/node_modules/diff/lib/diff/base.js +0 -304
  146. package/template-react-ts/node_modules/diff/lib/diff/character.js +0 -37
  147. package/template-react-ts/node_modules/diff/lib/diff/css.js +0 -41
  148. package/template-react-ts/node_modules/diff/lib/diff/json.js +0 -163
  149. package/template-react-ts/node_modules/diff/lib/diff/line.js +0 -89
  150. package/template-react-ts/node_modules/diff/lib/diff/sentence.js +0 -41
  151. package/template-react-ts/node_modules/diff/lib/diff/word.js +0 -107
  152. package/template-react-ts/node_modules/diff/lib/index.es6.js +0 -1519
  153. package/template-react-ts/node_modules/diff/lib/index.js +0 -216
  154. package/template-react-ts/node_modules/diff/lib/patch/apply.js +0 -243
  155. package/template-react-ts/node_modules/diff/lib/patch/create.js +0 -247
  156. package/template-react-ts/node_modules/diff/lib/patch/merge.js +0 -609
  157. package/template-react-ts/node_modules/diff/lib/patch/parse.js +0 -156
  158. package/template-react-ts/node_modules/diff/lib/util/array.js +0 -32
  159. package/template-react-ts/node_modules/diff/lib/util/distance-iterator.js +0 -57
  160. package/template-react-ts/node_modules/diff/lib/util/params.js +0 -24
  161. package/template-react-ts/node_modules/diff/package.json +0 -73
  162. package/template-react-ts/node_modules/diff/release-notes.md +0 -261
  163. package/template-react-ts/node_modules/diff/runtime.js +0 -3
  164. package/template-react-ts/node_modules/ts-node/LICENSE +0 -21
  165. package/template-react-ts/node_modules/ts-node/README.md +0 -1442
  166. package/template-react-ts/node_modules/ts-node/child-loader.mjs +0 -8
  167. package/template-react-ts/node_modules/ts-node/dist/bin-cwd.d.ts +0 -2
  168. package/template-react-ts/node_modules/ts-node/dist/bin-cwd.js +0 -6
  169. package/template-react-ts/node_modules/ts-node/dist/bin-cwd.js.map +0 -1
  170. package/template-react-ts/node_modules/ts-node/dist/bin-esm.d.ts +0 -2
  171. package/template-react-ts/node_modules/ts-node/dist/bin-esm.js +0 -6
  172. package/template-react-ts/node_modules/ts-node/dist/bin-esm.js.map +0 -1
  173. package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.d.ts +0 -2
  174. package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.js +0 -7
  175. package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.js.map +0 -1
  176. package/template-react-ts/node_modules/ts-node/dist/bin-script.d.ts +0 -2
  177. package/template-react-ts/node_modules/ts-node/dist/bin-script.js +0 -6
  178. package/template-react-ts/node_modules/ts-node/dist/bin-script.js.map +0 -1
  179. package/template-react-ts/node_modules/ts-node/dist/bin-transpile.d.ts +0 -2
  180. package/template-react-ts/node_modules/ts-node/dist/bin-transpile.js +0 -6
  181. package/template-react-ts/node_modules/ts-node/dist/bin-transpile.js.map +0 -1
  182. package/template-react-ts/node_modules/ts-node/dist/bin.d.ts +0 -11
  183. package/template-react-ts/node_modules/ts-node/dist/bin.js +0 -581
  184. package/template-react-ts/node_modules/ts-node/dist/bin.js.map +0 -1
  185. package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.d.ts +0 -1
  186. package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.js +0 -19
  187. package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.js.map +0 -1
  188. package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.d.ts +0 -1
  189. package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.js +0 -24
  190. package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.js.map +0 -1
  191. package/template-react-ts/node_modules/ts-node/dist/child/child-loader.d.ts +0 -1
  192. package/template-react-ts/node_modules/ts-node/dist/child/child-loader.js +0 -32
  193. package/template-react-ts/node_modules/ts-node/dist/child/child-loader.js.map +0 -1
  194. package/template-react-ts/node_modules/ts-node/dist/child/child-require.d.ts +0 -7
  195. package/template-react-ts/node_modules/ts-node/dist/child/child-require.js +0 -22
  196. package/template-react-ts/node_modules/ts-node/dist/child/child-require.js.map +0 -1
  197. package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.d.ts +0 -1
  198. package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.js +0 -49
  199. package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.js.map +0 -1
  200. package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.d.ts +0 -1
  201. package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.js +0 -29
  202. package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +0 -1
  203. package/template-react-ts/node_modules/ts-node/dist/configuration.d.ts +0 -1
  204. package/template-react-ts/node_modules/ts-node/dist/configuration.js +0 -308
  205. package/template-react-ts/node_modules/ts-node/dist/configuration.js.map +0 -1
  206. package/template-react-ts/node_modules/ts-node/dist/esm.d.ts +0 -53
  207. package/template-react-ts/node_modules/ts-node/dist/esm.js +0 -228
  208. package/template-react-ts/node_modules/ts-node/dist/esm.js.map +0 -1
  209. package/template-react-ts/node_modules/ts-node/dist/file-extensions.d.ts +0 -1
  210. package/template-react-ts/node_modules/ts-node/dist/file-extensions.js +0 -133
  211. package/template-react-ts/node_modules/ts-node/dist/file-extensions.js.map +0 -1
  212. package/template-react-ts/node_modules/ts-node/dist/index.d.ts +0 -332
  213. package/template-react-ts/node_modules/ts-node/dist/index.js +0 -953
  214. package/template-react-ts/node_modules/ts-node/dist/index.js.map +0 -1
  215. package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.d.ts +0 -1
  216. package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.js +0 -64
  217. package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.js.map +0 -1
  218. package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.d.ts +0 -1
  219. package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.js +0 -39
  220. package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.js.map +0 -1
  221. package/template-react-ts/node_modules/ts-node/dist/repl.d.ts +0 -78
  222. package/template-react-ts/node_modules/ts-node/dist/repl.js +0 -561
  223. package/template-react-ts/node_modules/ts-node/dist/repl.js.map +0 -1
  224. package/template-react-ts/node_modules/ts-node/dist/resolver-functions.d.ts +0 -1
  225. package/template-react-ts/node_modules/ts-node/dist/resolver-functions.js +0 -143
  226. package/template-react-ts/node_modules/ts-node/dist/resolver-functions.js.map +0 -1
  227. package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.d.ts +0 -11
  228. package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.js +0 -218
  229. package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.js.map +0 -1
  230. package/template-react-ts/node_modules/ts-node/dist/transpilers/types.d.ts +0 -35
  231. package/template-react-ts/node_modules/ts-node/dist/transpilers/types.js +0 -3
  232. package/template-react-ts/node_modules/ts-node/dist/transpilers/types.js.map +0 -1
  233. package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.d.ts +0 -63
  234. package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.js +0 -3
  235. package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.js.map +0 -1
  236. package/template-react-ts/node_modules/ts-node/dist/ts-internals.d.ts +0 -6
  237. package/template-react-ts/node_modules/ts-node/dist/ts-internals.js +0 -321
  238. package/template-react-ts/node_modules/ts-node/dist/ts-internals.js.map +0 -1
  239. package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.d.ts +0 -1
  240. package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.js +0 -100
  241. package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.js.map +0 -1
  242. package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.d.ts +0 -13
  243. package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.js +0 -3
  244. package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.js.map +0 -1
  245. package/template-react-ts/node_modules/ts-node/dist/tsconfigs.d.ts +0 -1
  246. package/template-react-ts/node_modules/ts-node/dist/tsconfigs.js +0 -36
  247. package/template-react-ts/node_modules/ts-node/dist/tsconfigs.js.map +0 -1
  248. package/template-react-ts/node_modules/ts-node/dist/util.d.ts +0 -4
  249. package/template-react-ts/node_modules/ts-node/dist/util.js +0 -175
  250. package/template-react-ts/node_modules/ts-node/dist/util.js.map +0 -1
  251. package/template-react-ts/node_modules/ts-node/dist-raw/NODE-LICENSE.md +0 -24
  252. package/template-react-ts/node_modules/ts-node/dist-raw/README.md +0 -36
  253. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-constants.js +0 -4
  254. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-errors.js +0 -82
  255. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-cjs-helpers.js +0 -89
  256. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-cjs-loader.js +0 -593
  257. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-esm-get_format.js +0 -106
  258. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js +0 -962
  259. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-package_json_reader.js +0 -44
  260. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-repl-await.js +0 -254
  261. package/template-react-ts/node_modules/ts-node/dist-raw/node-internalBinding-fs.js +0 -58
  262. package/template-react-ts/node_modules/ts-node/dist-raw/node-nativemodule.js +0 -9
  263. package/template-react-ts/node_modules/ts-node/dist-raw/node-options.js +0 -103
  264. package/template-react-ts/node_modules/ts-node/dist-raw/node-primordials.js +0 -37
  265. package/template-react-ts/node_modules/ts-node/dist-raw/runmain-hack.js +0 -9
  266. package/template-react-ts/node_modules/ts-node/esm/transpile-only.mjs +0 -8
  267. package/template-react-ts/node_modules/ts-node/esm.mjs +0 -8
  268. package/template-react-ts/node_modules/ts-node/node10/tsconfig.json +0 -3
  269. package/template-react-ts/node_modules/ts-node/node12/tsconfig.json +0 -3
  270. package/template-react-ts/node_modules/ts-node/node14/tsconfig.json +0 -3
  271. package/template-react-ts/node_modules/ts-node/node16/tsconfig.json +0 -3
  272. package/template-react-ts/node_modules/ts-node/package.json +0 -182
  273. package/template-react-ts/node_modules/ts-node/register/files.js +0 -3
  274. package/template-react-ts/node_modules/ts-node/register/index.js +0 -1
  275. package/template-react-ts/node_modules/ts-node/register/transpile-only.js +0 -3
  276. package/template-react-ts/node_modules/ts-node/register/type-check.js +0 -3
  277. package/template-react-ts/node_modules/ts-node/transpilers/swc-experimental.js +0 -1
  278. package/template-react-ts/node_modules/ts-node/transpilers/swc.js +0 -1
  279. package/template-react-ts/node_modules/ts-node/tsconfig.schema.json +0 -183
  280. package/template-react-ts/node_modules/ts-node/tsconfig.schemastore-schema.json +0 -1326
@@ -1,124 +0,0 @@
1
- export {}; // Don't export anything!
2
-
3
- //// DOM-like Events
4
- // NB: The Event / EventTarget / EventListener implementations below were copied
5
- // from lib.dom.d.ts, then edited to reflect Node's documentation at
6
- // https://nodejs.org/api/events.html#class-eventtarget.
7
- // Please read that link to understand important implementation differences.
8
-
9
- // This conditional type will be the existing global Event in a browser, or
10
- // the copy below in a Node environment.
11
- type __Event = typeof globalThis extends { onmessage: any; Event: any } ? {}
12
- : {
13
- /** This is not used in Node.js and is provided purely for completeness. */
14
- readonly bubbles: boolean;
15
- /** Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. */
16
- cancelBubble: () => void;
17
- /** True if the event was created with the cancelable option */
18
- readonly cancelable: boolean;
19
- /** This is not used in Node.js and is provided purely for completeness. */
20
- readonly composed: boolean;
21
- /** Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. */
22
- composedPath(): [EventTarget?];
23
- /** Alias for event.target. */
24
- readonly currentTarget: EventTarget | null;
25
- /** Is true if cancelable is true and event.preventDefault() has been called. */
26
- readonly defaultPrevented: boolean;
27
- /** This is not used in Node.js and is provided purely for completeness. */
28
- readonly eventPhase: 0 | 2;
29
- /** The `AbortSignal` "abort" event is emitted with `isTrusted` set to `true`. The value is `false` in all other cases. */
30
- readonly isTrusted: boolean;
31
- /** Sets the `defaultPrevented` property to `true` if `cancelable` is `true`. */
32
- preventDefault(): void;
33
- /** This is not used in Node.js and is provided purely for completeness. */
34
- returnValue: boolean;
35
- /** Alias for event.target. */
36
- readonly srcElement: EventTarget | null;
37
- /** Stops the invocation of event listeners after the current one completes. */
38
- stopImmediatePropagation(): void;
39
- /** This is not used in Node.js and is provided purely for completeness. */
40
- stopPropagation(): void;
41
- /** The `EventTarget` dispatching the event */
42
- readonly target: EventTarget | null;
43
- /** The millisecond timestamp when the Event object was created. */
44
- readonly timeStamp: number;
45
- /** Returns the type of event, e.g. "click", "hashchange", or "submit". */
46
- readonly type: string;
47
- };
48
-
49
- // See comment above explaining conditional type
50
- type __EventTarget = typeof globalThis extends { onmessage: any; EventTarget: any } ? {}
51
- : {
52
- /**
53
- * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value.
54
- *
55
- * If the `once` option is true, the `listener` is removed after the next time a `type` event is dispatched.
56
- *
57
- * The `capture` option is not used by Node.js in any functional way other than tracking registered event listeners per the `EventTarget` specification.
58
- * Specifically, the `capture` option is used as part of the key when registering a `listener`.
59
- * Any individual `listener` may be added once with `capture = false`, and once with `capture = true`.
60
- */
61
- addEventListener(
62
- type: string,
63
- listener: EventListener | EventListenerObject,
64
- options?: AddEventListenerOptions | boolean,
65
- ): void;
66
- /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */
67
- dispatchEvent(event: Event): boolean;
68
- /** Removes the event listener in target's event listener list with the same type, callback, and options. */
69
- removeEventListener(
70
- type: string,
71
- listener: EventListener | EventListenerObject,
72
- options?: EventListenerOptions | boolean,
73
- ): void;
74
- };
75
-
76
- interface EventInit {
77
- bubbles?: boolean;
78
- cancelable?: boolean;
79
- composed?: boolean;
80
- }
81
-
82
- interface EventListenerOptions {
83
- /** Not directly used by Node.js. Added for API completeness. Default: `false`. */
84
- capture?: boolean;
85
- }
86
-
87
- interface AddEventListenerOptions extends EventListenerOptions {
88
- /** When `true`, the listener is automatically removed when it is first invoked. Default: `false`. */
89
- once?: boolean;
90
- /** When `true`, serves as a hint that the listener will not call the `Event` object's `preventDefault()` method. Default: false. */
91
- passive?: boolean;
92
- /** The listener will be removed when the given AbortSignal object's `abort()` method is called. */
93
- signal?: AbortSignal;
94
- }
95
-
96
- interface EventListener {
97
- (evt: Event): void;
98
- }
99
-
100
- interface EventListenerObject {
101
- handleEvent(object: Event): void;
102
- }
103
-
104
- import {} from "events"; // Make this an ambient declaration
105
- declare global {
106
- /** An event which takes place in the DOM. */
107
- interface Event extends __Event {}
108
- var Event: typeof globalThis extends { onmessage: any; Event: infer T } ? T
109
- : {
110
- prototype: __Event;
111
- new(type: string, eventInitDict?: EventInit): __Event;
112
- };
113
-
114
- /**
115
- * EventTarget is a DOM interface implemented by objects that can
116
- * receive events and may have listeners for them.
117
- */
118
- interface EventTarget extends __EventTarget {}
119
- var EventTarget: typeof globalThis extends { onmessage: any; EventTarget: infer T } ? T
120
- : {
121
- prototype: __EventTarget;
122
- new(): __EventTarget;
123
- };
124
- }
@@ -1,170 +0,0 @@
1
- /**
2
- * **This module is pending deprecation.** Once a replacement API has been
3
- * finalized, this module will be fully deprecated. Most developers should
4
- * **not** have cause to use this module. Users who absolutely must have
5
- * the functionality that domains provide may rely on it for the time being
6
- * but should expect to have to migrate to a different solution
7
- * in the future.
8
- *
9
- * Domains provide a way to handle multiple different IO operations as a
10
- * single group. If any of the event emitters or callbacks registered to a
11
- * domain emit an `'error'` event, or throw an error, then the domain object
12
- * will be notified, rather than losing the context of the error in the `process.on('uncaughtException')` handler, or causing the program to
13
- * exit immediately with an error code.
14
- * @deprecated Since v1.4.2 - Deprecated
15
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/domain.js)
16
- */
17
- declare module "domain" {
18
- import EventEmitter = require("node:events");
19
- /**
20
- * The `Domain` class encapsulates the functionality of routing errors and
21
- * uncaught exceptions to the active `Domain` object.
22
- *
23
- * To handle the errors that it catches, listen to its `'error'` event.
24
- */
25
- class Domain extends EventEmitter {
26
- /**
27
- * An array of timers and event emitters that have been explicitly added
28
- * to the domain.
29
- */
30
- members: Array<EventEmitter | NodeJS.Timer>;
31
- /**
32
- * The `enter()` method is plumbing used by the `run()`, `bind()`, and `intercept()` methods to set the active domain. It sets `domain.active` and `process.domain` to the domain, and implicitly
33
- * pushes the domain onto the domain
34
- * stack managed by the domain module (see {@link exit} for details on the
35
- * domain stack). The call to `enter()` delimits the beginning of a chain of
36
- * asynchronous calls and I/O operations bound to a domain.
37
- *
38
- * Calling `enter()` changes only the active domain, and does not alter the domain
39
- * itself. `enter()` and `exit()` can be called an arbitrary number of times on a
40
- * single domain.
41
- */
42
- enter(): void;
43
- /**
44
- * The `exit()` method exits the current domain, popping it off the domain stack.
45
- * Any time execution is going to switch to the context of a different chain of
46
- * asynchronous calls, it's important to ensure that the current domain is exited.
47
- * The call to `exit()` delimits either the end of or an interruption to the chain
48
- * of asynchronous calls and I/O operations bound to a domain.
49
- *
50
- * If there are multiple, nested domains bound to the current execution context, `exit()` will exit any domains nested within this domain.
51
- *
52
- * Calling `exit()` changes only the active domain, and does not alter the domain
53
- * itself. `enter()` and `exit()` can be called an arbitrary number of times on a
54
- * single domain.
55
- */
56
- exit(): void;
57
- /**
58
- * Run the supplied function in the context of the domain, implicitly
59
- * binding all event emitters, timers, and low-level requests that are
60
- * created in that context. Optionally, arguments can be passed to
61
- * the function.
62
- *
63
- * This is the most basic way to use a domain.
64
- *
65
- * ```js
66
- * const domain = require('node:domain');
67
- * const fs = require('node:fs');
68
- * const d = domain.create();
69
- * d.on('error', (er) => {
70
- * console.error('Caught error!', er);
71
- * });
72
- * d.run(() => {
73
- * process.nextTick(() => {
74
- * setTimeout(() => { // Simulating some various async stuff
75
- * fs.open('non-existent file', 'r', (er, fd) => {
76
- * if (er) throw er;
77
- * // proceed...
78
- * });
79
- * }, 100);
80
- * });
81
- * });
82
- * ```
83
- *
84
- * In this example, the `d.on('error')` handler will be triggered, rather
85
- * than crashing the program.
86
- */
87
- run<T>(fn: (...args: any[]) => T, ...args: any[]): T;
88
- /**
89
- * Explicitly adds an emitter to the domain. If any event handlers called by
90
- * the emitter throw an error, or if the emitter emits an `'error'` event, it
91
- * will be routed to the domain's `'error'` event, just like with implicit
92
- * binding.
93
- *
94
- * This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by
95
- * the domain `'error'` handler.
96
- *
97
- * If the Timer or `EventEmitter` was already bound to a domain, it is removed
98
- * from that one, and bound to this one instead.
99
- * @param emitter emitter or timer to be added to the domain
100
- */
101
- add(emitter: EventEmitter | NodeJS.Timer): void;
102
- /**
103
- * The opposite of {@link add}. Removes domain handling from the
104
- * specified emitter.
105
- * @param emitter emitter or timer to be removed from the domain
106
- */
107
- remove(emitter: EventEmitter | NodeJS.Timer): void;
108
- /**
109
- * The returned function will be a wrapper around the supplied callback
110
- * function. When the returned function is called, any errors that are
111
- * thrown will be routed to the domain's `'error'` event.
112
- *
113
- * ```js
114
- * const d = domain.create();
115
- *
116
- * function readSomeFile(filename, cb) {
117
- * fs.readFile(filename, 'utf8', d.bind((er, data) => {
118
- * // If this throws, it will also be passed to the domain.
119
- * return cb(er, data ? JSON.parse(data) : null);
120
- * }));
121
- * }
122
- *
123
- * d.on('error', (er) => {
124
- * // An error occurred somewhere. If we throw it now, it will crash the program
125
- * // with the normal line number and stack message.
126
- * });
127
- * ```
128
- * @param callback The callback function
129
- * @return The bound function
130
- */
131
- bind<T extends Function>(callback: T): T;
132
- /**
133
- * This method is almost identical to {@link bind}. However, in
134
- * addition to catching thrown errors, it will also intercept `Error` objects sent as the first argument to the function.
135
- *
136
- * In this way, the common `if (err) return callback(err);` pattern can be replaced
137
- * with a single error handler in a single place.
138
- *
139
- * ```js
140
- * const d = domain.create();
141
- *
142
- * function readSomeFile(filename, cb) {
143
- * fs.readFile(filename, 'utf8', d.intercept((data) => {
144
- * // Note, the first argument is never passed to the
145
- * // callback since it is assumed to be the 'Error' argument
146
- * // and thus intercepted by the domain.
147
- *
148
- * // If this throws, it will also be passed to the domain
149
- * // so the error-handling logic can be moved to the 'error'
150
- * // event on the domain instead of being repeated throughout
151
- * // the program.
152
- * return cb(null, JSON.parse(data));
153
- * }));
154
- * }
155
- *
156
- * d.on('error', (er) => {
157
- * // An error occurred somewhere. If we throw it now, it will crash the program
158
- * // with the normal line number and stack message.
159
- * });
160
- * ```
161
- * @param callback The callback function
162
- * @return The intercepted function
163
- */
164
- intercept<T extends Function>(callback: T): T;
165
- }
166
- function create(): Domain;
167
- }
168
- declare module "node:domain" {
169
- export * from "domain";
170
- }