create-microact-app 1.0.1 → 1.0.2

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 (264) hide show
  1. package/package.json +1 -1
  2. package/templates/vanilla/package.json +1 -1
  3. package/templates/vanilla/src/components/App.js +22 -35
  4. package/templates/vanilla/src/components/Card.js +5 -12
  5. package/templates/vanilla/src/components/Hero.js +6 -8
  6. package/templates/vanilla/src/components/InteractiveDemo.js +34 -32
  7. package/templates/vanilla/src/main.js +2 -6
  8. package/templates/web3/contracts/.gitmodules +3 -0
  9. package/templates/web3/contracts/foundry.lock +8 -0
  10. package/templates/web3/contracts/lib/forge-std/.gitattributes +1 -0
  11. package/templates/web3/contracts/lib/forge-std/.github/CODEOWNERS +1 -0
  12. package/templates/web3/contracts/lib/forge-std/.github/dependabot.yml +6 -0
  13. package/templates/web3/contracts/lib/forge-std/.github/workflows/ci.yml +125 -0
  14. package/templates/web3/contracts/lib/forge-std/.github/workflows/sync.yml +36 -0
  15. package/templates/web3/contracts/lib/forge-std/CONTRIBUTING.md +193 -0
  16. package/templates/web3/contracts/lib/forge-std/LICENSE-APACHE +203 -0
  17. package/templates/web3/contracts/lib/forge-std/LICENSE-MIT +25 -0
  18. package/templates/web3/contracts/lib/forge-std/README.md +268 -0
  19. package/templates/web3/contracts/lib/forge-std/RELEASE_CHECKLIST.md +12 -0
  20. package/templates/web3/contracts/lib/forge-std/foundry.toml +18 -0
  21. package/templates/web3/contracts/lib/forge-std/package.json +16 -0
  22. package/templates/web3/contracts/lib/forge-std/scripts/vm.py +636 -0
  23. package/templates/web3/contracts/lib/forge-std/src/Base.sol +48 -0
  24. package/templates/web3/contracts/lib/forge-std/src/Config.sol +60 -0
  25. package/templates/web3/contracts/lib/forge-std/src/LibVariable.sol +477 -0
  26. package/templates/web3/contracts/lib/forge-std/src/Script.sol +28 -0
  27. package/templates/web3/contracts/lib/forge-std/src/StdAssertions.sol +779 -0
  28. package/templates/web3/contracts/lib/forge-std/src/StdChains.sol +295 -0
  29. package/templates/web3/contracts/lib/forge-std/src/StdCheats.sol +825 -0
  30. package/templates/web3/contracts/lib/forge-std/src/StdConfig.sol +632 -0
  31. package/templates/web3/contracts/lib/forge-std/src/StdConstants.sol +30 -0
  32. package/templates/web3/contracts/lib/forge-std/src/StdError.sol +15 -0
  33. package/templates/web3/contracts/lib/forge-std/src/StdInvariant.sol +120 -0
  34. package/templates/web3/contracts/lib/forge-std/src/StdJson.sol +275 -0
  35. package/templates/web3/contracts/lib/forge-std/src/StdMath.sol +47 -0
  36. package/templates/web3/contracts/lib/forge-std/src/StdStorage.sol +475 -0
  37. package/templates/web3/contracts/lib/forge-std/src/StdStyle.sol +333 -0
  38. package/templates/web3/contracts/lib/forge-std/src/StdToml.sol +275 -0
  39. package/templates/web3/contracts/lib/forge-std/src/StdUtils.sol +200 -0
  40. package/templates/web3/contracts/lib/forge-std/src/Test.sol +32 -0
  41. package/templates/web3/contracts/lib/forge-std/src/Vm.sol +2500 -0
  42. package/templates/web3/contracts/lib/forge-std/src/console.sol +1551 -0
  43. package/templates/web3/contracts/lib/forge-std/src/console2.sol +4 -0
  44. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC1155.sol +105 -0
  45. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC165.sol +12 -0
  46. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC20.sol +43 -0
  47. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC4626.sol +190 -0
  48. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC6909.sol +72 -0
  49. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC721.sol +164 -0
  50. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC7540.sol +144 -0
  51. package/templates/web3/contracts/lib/forge-std/src/interfaces/IERC7575.sol +241 -0
  52. package/templates/web3/contracts/lib/forge-std/src/interfaces/IMulticall3.sol +68 -0
  53. package/templates/web3/contracts/lib/forge-std/src/safeconsole.sol +13248 -0
  54. package/templates/web3/contracts/lib/forge-std/test/CommonBase.t.sol +44 -0
  55. package/templates/web3/contracts/lib/forge-std/test/Config.t.sol +381 -0
  56. package/templates/web3/contracts/lib/forge-std/test/LibVariable.t.sol +452 -0
  57. package/templates/web3/contracts/lib/forge-std/test/StdAssertions.t.sol +141 -0
  58. package/templates/web3/contracts/lib/forge-std/test/StdChains.t.sol +227 -0
  59. package/templates/web3/contracts/lib/forge-std/test/StdCheats.t.sol +638 -0
  60. package/templates/web3/contracts/lib/forge-std/test/StdConstants.t.sol +38 -0
  61. package/templates/web3/contracts/lib/forge-std/test/StdError.t.sol +119 -0
  62. package/templates/web3/contracts/lib/forge-std/test/StdJson.t.sol +49 -0
  63. package/templates/web3/contracts/lib/forge-std/test/StdMath.t.sol +202 -0
  64. package/templates/web3/contracts/lib/forge-std/test/StdStorage.t.sol +485 -0
  65. package/templates/web3/contracts/lib/forge-std/test/StdStyle.t.sol +110 -0
  66. package/templates/web3/contracts/lib/forge-std/test/StdToml.t.sol +49 -0
  67. package/templates/web3/contracts/lib/forge-std/test/StdUtils.t.sol +342 -0
  68. package/templates/web3/contracts/lib/forge-std/test/Vm.t.sol +18 -0
  69. package/templates/web3/contracts/lib/forge-std/test/compilation/CompilationScript.sol +8 -0
  70. package/templates/web3/contracts/lib/forge-std/test/compilation/CompilationScriptBase.sol +8 -0
  71. package/templates/web3/contracts/lib/forge-std/test/compilation/CompilationTest.sol +8 -0
  72. package/templates/web3/contracts/lib/forge-std/test/compilation/CompilationTestBase.sol +8 -0
  73. package/templates/web3/contracts/lib/forge-std/test/fixtures/broadcast.log.json +187 -0
  74. package/templates/web3/contracts/lib/forge-std/test/fixtures/config.toml +81 -0
  75. package/templates/web3/contracts/lib/forge-std/test/fixtures/test.json +8 -0
  76. package/templates/web3/contracts/lib/forge-std/test/fixtures/test.toml +6 -0
  77. package/templates/web3/package.json +1 -1
  78. package/templates/web3/src/components/App.js +23 -36
  79. package/templates/web3/src/components/CounterCard.js +45 -45
  80. package/templates/web3/src/main.js +5 -7
  81. package/templates/vanilla/node_modules/.package-lock.json +0 -207
  82. package/templates/vanilla/node_modules/@esbuild/darwin-x64/README.md +0 -3
  83. package/templates/vanilla/node_modules/@esbuild/darwin-x64/bin/esbuild +0 -0
  84. package/templates/vanilla/node_modules/@esbuild/darwin-x64/package.json +0 -17
  85. package/templates/vanilla/node_modules/@monygroupcorp/microact/README.md +0 -154
  86. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.cjs.js +0 -1749
  87. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.cjs.js.map +0 -1
  88. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.esm.js +0 -1743
  89. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.esm.js.map +0 -1
  90. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.umd.js +0 -2
  91. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.umd.js.map +0 -1
  92. package/templates/vanilla/node_modules/@monygroupcorp/microact/example/index.html +0 -13
  93. package/templates/vanilla/node_modules/@monygroupcorp/microact/example/index.js +0 -63
  94. package/templates/vanilla/node_modules/@monygroupcorp/microact/package.json +0 -38
  95. package/templates/vanilla/node_modules/@monygroupcorp/microact/rollup.config.cjs +0 -30
  96. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/Component.js +0 -831
  97. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/DOMUpdater.js +0 -320
  98. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/EventBus.js +0 -123
  99. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/Router.js +0 -253
  100. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/UpdateScheduler.js +0 -218
  101. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/index.js +0 -6
  102. package/templates/vanilla/node_modules/esbuild/LICENSE.md +0 -21
  103. package/templates/vanilla/node_modules/esbuild/README.md +0 -3
  104. package/templates/vanilla/node_modules/esbuild/bin/esbuild +0 -0
  105. package/templates/vanilla/node_modules/esbuild/install.js +0 -287
  106. package/templates/vanilla/node_modules/esbuild/lib/main.d.ts +0 -660
  107. package/templates/vanilla/node_modules/esbuild/lib/main.js +0 -2393
  108. package/templates/vanilla/node_modules/esbuild/package.json +0 -42
  109. package/templates/vanilla/node_modules/nanoid/LICENSE +0 -20
  110. package/templates/vanilla/node_modules/nanoid/README.md +0 -39
  111. package/templates/vanilla/node_modules/nanoid/async/index.browser.cjs +0 -69
  112. package/templates/vanilla/node_modules/nanoid/async/index.browser.js +0 -34
  113. package/templates/vanilla/node_modules/nanoid/async/index.cjs +0 -71
  114. package/templates/vanilla/node_modules/nanoid/async/index.d.ts +0 -56
  115. package/templates/vanilla/node_modules/nanoid/async/index.js +0 -35
  116. package/templates/vanilla/node_modules/nanoid/async/index.native.js +0 -26
  117. package/templates/vanilla/node_modules/nanoid/async/package.json +0 -12
  118. package/templates/vanilla/node_modules/nanoid/bin/nanoid.cjs +0 -55
  119. package/templates/vanilla/node_modules/nanoid/index.browser.cjs +0 -72
  120. package/templates/vanilla/node_modules/nanoid/index.browser.js +0 -34
  121. package/templates/vanilla/node_modules/nanoid/index.cjs +0 -85
  122. package/templates/vanilla/node_modules/nanoid/index.d.cts +0 -91
  123. package/templates/vanilla/node_modules/nanoid/index.d.ts +0 -91
  124. package/templates/vanilla/node_modules/nanoid/index.js +0 -45
  125. package/templates/vanilla/node_modules/nanoid/nanoid.js +0 -1
  126. package/templates/vanilla/node_modules/nanoid/non-secure/index.cjs +0 -34
  127. package/templates/vanilla/node_modules/nanoid/non-secure/index.d.ts +0 -33
  128. package/templates/vanilla/node_modules/nanoid/non-secure/index.js +0 -21
  129. package/templates/vanilla/node_modules/nanoid/non-secure/package.json +0 -6
  130. package/templates/vanilla/node_modules/nanoid/package.json +0 -89
  131. package/templates/vanilla/node_modules/nanoid/url-alphabet/index.cjs +0 -7
  132. package/templates/vanilla/node_modules/nanoid/url-alphabet/index.js +0 -3
  133. package/templates/vanilla/node_modules/nanoid/url-alphabet/package.json +0 -6
  134. package/templates/vanilla/node_modules/picocolors/LICENSE +0 -15
  135. package/templates/vanilla/node_modules/picocolors/README.md +0 -21
  136. package/templates/vanilla/node_modules/picocolors/package.json +0 -25
  137. package/templates/vanilla/node_modules/picocolors/picocolors.browser.js +0 -4
  138. package/templates/vanilla/node_modules/picocolors/picocolors.d.ts +0 -5
  139. package/templates/vanilla/node_modules/picocolors/picocolors.js +0 -75
  140. package/templates/vanilla/node_modules/picocolors/types.d.ts +0 -51
  141. package/templates/vanilla/node_modules/postcss/LICENSE +0 -20
  142. package/templates/vanilla/node_modules/postcss/README.md +0 -29
  143. package/templates/vanilla/node_modules/postcss/lib/at-rule.d.ts +0 -140
  144. package/templates/vanilla/node_modules/postcss/lib/at-rule.js +0 -25
  145. package/templates/vanilla/node_modules/postcss/lib/comment.d.ts +0 -68
  146. package/templates/vanilla/node_modules/postcss/lib/comment.js +0 -13
  147. package/templates/vanilla/node_modules/postcss/lib/container.d.ts +0 -483
  148. package/templates/vanilla/node_modules/postcss/lib/container.js +0 -447
  149. package/templates/vanilla/node_modules/postcss/lib/css-syntax-error.d.ts +0 -248
  150. package/templates/vanilla/node_modules/postcss/lib/css-syntax-error.js +0 -133
  151. package/templates/vanilla/node_modules/postcss/lib/declaration.d.ts +0 -151
  152. package/templates/vanilla/node_modules/postcss/lib/declaration.js +0 -24
  153. package/templates/vanilla/node_modules/postcss/lib/document.d.ts +0 -69
  154. package/templates/vanilla/node_modules/postcss/lib/document.js +0 -33
  155. package/templates/vanilla/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  156. package/templates/vanilla/node_modules/postcss/lib/fromJSON.js +0 -54
  157. package/templates/vanilla/node_modules/postcss/lib/input.d.ts +0 -227
  158. package/templates/vanilla/node_modules/postcss/lib/input.js +0 -265
  159. package/templates/vanilla/node_modules/postcss/lib/lazy-result.d.ts +0 -190
  160. package/templates/vanilla/node_modules/postcss/lib/lazy-result.js +0 -550
  161. package/templates/vanilla/node_modules/postcss/lib/list.d.ts +0 -60
  162. package/templates/vanilla/node_modules/postcss/lib/list.js +0 -58
  163. package/templates/vanilla/node_modules/postcss/lib/map-generator.js +0 -368
  164. package/templates/vanilla/node_modules/postcss/lib/no-work-result.d.ts +0 -46
  165. package/templates/vanilla/node_modules/postcss/lib/no-work-result.js +0 -138
  166. package/templates/vanilla/node_modules/postcss/lib/node.d.ts +0 -556
  167. package/templates/vanilla/node_modules/postcss/lib/node.js +0 -449
  168. package/templates/vanilla/node_modules/postcss/lib/parse.d.ts +0 -9
  169. package/templates/vanilla/node_modules/postcss/lib/parse.js +0 -42
  170. package/templates/vanilla/node_modules/postcss/lib/parser.js +0 -611
  171. package/templates/vanilla/node_modules/postcss/lib/postcss.d.mts +0 -69
  172. package/templates/vanilla/node_modules/postcss/lib/postcss.d.ts +0 -458
  173. package/templates/vanilla/node_modules/postcss/lib/postcss.js +0 -101
  174. package/templates/vanilla/node_modules/postcss/lib/postcss.mjs +0 -30
  175. package/templates/vanilla/node_modules/postcss/lib/previous-map.d.ts +0 -81
  176. package/templates/vanilla/node_modules/postcss/lib/previous-map.js +0 -144
  177. package/templates/vanilla/node_modules/postcss/lib/processor.d.ts +0 -115
  178. package/templates/vanilla/node_modules/postcss/lib/processor.js +0 -67
  179. package/templates/vanilla/node_modules/postcss/lib/result.d.ts +0 -205
  180. package/templates/vanilla/node_modules/postcss/lib/result.js +0 -42
  181. package/templates/vanilla/node_modules/postcss/lib/root.d.ts +0 -87
  182. package/templates/vanilla/node_modules/postcss/lib/root.js +0 -61
  183. package/templates/vanilla/node_modules/postcss/lib/rule.d.ts +0 -126
  184. package/templates/vanilla/node_modules/postcss/lib/rule.js +0 -27
  185. package/templates/vanilla/node_modules/postcss/lib/stringifier.d.ts +0 -46
  186. package/templates/vanilla/node_modules/postcss/lib/stringifier.js +0 -353
  187. package/templates/vanilla/node_modules/postcss/lib/stringify.d.ts +0 -9
  188. package/templates/vanilla/node_modules/postcss/lib/stringify.js +0 -11
  189. package/templates/vanilla/node_modules/postcss/lib/symbols.js +0 -5
  190. package/templates/vanilla/node_modules/postcss/lib/terminal-highlight.js +0 -70
  191. package/templates/vanilla/node_modules/postcss/lib/tokenize.js +0 -266
  192. package/templates/vanilla/node_modules/postcss/lib/warn-once.js +0 -13
  193. package/templates/vanilla/node_modules/postcss/lib/warning.d.ts +0 -147
  194. package/templates/vanilla/node_modules/postcss/lib/warning.js +0 -37
  195. package/templates/vanilla/node_modules/postcss/package.json +0 -88
  196. package/templates/vanilla/node_modules/rollup/LICENSE.md +0 -695
  197. package/templates/vanilla/node_modules/rollup/README.md +0 -125
  198. package/templates/vanilla/node_modules/rollup/dist/bin/rollup +0 -1715
  199. package/templates/vanilla/node_modules/rollup/dist/es/getLogFilter.js +0 -64
  200. package/templates/vanilla/node_modules/rollup/dist/es/package.json +0 -1
  201. package/templates/vanilla/node_modules/rollup/dist/es/rollup.js +0 -17
  202. package/templates/vanilla/node_modules/rollup/dist/es/shared/node-entry.js +0 -27273
  203. package/templates/vanilla/node_modules/rollup/dist/es/shared/watch.js +0 -4857
  204. package/templates/vanilla/node_modules/rollup/dist/getLogFilter.d.ts +0 -5
  205. package/templates/vanilla/node_modules/rollup/dist/getLogFilter.js +0 -69
  206. package/templates/vanilla/node_modules/rollup/dist/loadConfigFile.d.ts +0 -20
  207. package/templates/vanilla/node_modules/rollup/dist/loadConfigFile.js +0 -29
  208. package/templates/vanilla/node_modules/rollup/dist/rollup.d.ts +0 -1012
  209. package/templates/vanilla/node_modules/rollup/dist/rollup.js +0 -31
  210. package/templates/vanilla/node_modules/rollup/dist/shared/fsevents-importer.js +0 -37
  211. package/templates/vanilla/node_modules/rollup/dist/shared/index.js +0 -4571
  212. package/templates/vanilla/node_modules/rollup/dist/shared/loadConfigFile.js +0 -546
  213. package/templates/vanilla/node_modules/rollup/dist/shared/rollup.js +0 -27351
  214. package/templates/vanilla/node_modules/rollup/dist/shared/watch-cli.js +0 -561
  215. package/templates/vanilla/node_modules/rollup/dist/shared/watch-proxy.js +0 -87
  216. package/templates/vanilla/node_modules/rollup/dist/shared/watch.js +0 -316
  217. package/templates/vanilla/node_modules/rollup/package.json +0 -181
  218. package/templates/vanilla/node_modules/source-map-js/LICENSE +0 -28
  219. package/templates/vanilla/node_modules/source-map-js/README.md +0 -765
  220. package/templates/vanilla/node_modules/source-map-js/lib/array-set.js +0 -121
  221. package/templates/vanilla/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  222. package/templates/vanilla/node_modules/source-map-js/lib/base64.js +0 -67
  223. package/templates/vanilla/node_modules/source-map-js/lib/binary-search.js +0 -111
  224. package/templates/vanilla/node_modules/source-map-js/lib/mapping-list.js +0 -79
  225. package/templates/vanilla/node_modules/source-map-js/lib/quick-sort.js +0 -132
  226. package/templates/vanilla/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  227. package/templates/vanilla/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  228. package/templates/vanilla/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  229. package/templates/vanilla/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  230. package/templates/vanilla/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  231. package/templates/vanilla/node_modules/source-map-js/lib/source-node.js +0 -413
  232. package/templates/vanilla/node_modules/source-map-js/lib/util.js +0 -594
  233. package/templates/vanilla/node_modules/source-map-js/package.json +0 -71
  234. package/templates/vanilla/node_modules/source-map-js/source-map.d.ts +0 -104
  235. package/templates/vanilla/node_modules/source-map-js/source-map.js +0 -8
  236. package/templates/vanilla/node_modules/vite/LICENSE.md +0 -3396
  237. package/templates/vanilla/node_modules/vite/README.md +0 -20
  238. package/templates/vanilla/node_modules/vite/bin/openChrome.applescript +0 -95
  239. package/templates/vanilla/node_modules/vite/bin/vite.js +0 -61
  240. package/templates/vanilla/node_modules/vite/client.d.ts +0 -281
  241. package/templates/vanilla/node_modules/vite/dist/client/client.mjs +0 -725
  242. package/templates/vanilla/node_modules/vite/dist/client/client.mjs.map +0 -1
  243. package/templates/vanilla/node_modules/vite/dist/client/env.mjs +0 -30
  244. package/templates/vanilla/node_modules/vite/dist/client/env.mjs.map +0 -1
  245. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-7ec6f216.js +0 -914
  246. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-827b23df.js +0 -66713
  247. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-c423598f.js +0 -561
  248. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-f0c7dae0.js +0 -7930
  249. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-f1e8587f.js +0 -7646
  250. package/templates/vanilla/node_modules/vite/dist/node/cli.js +0 -929
  251. package/templates/vanilla/node_modules/vite/dist/node/constants.js +0 -130
  252. package/templates/vanilla/node_modules/vite/dist/node/index.d.ts +0 -3548
  253. package/templates/vanilla/node_modules/vite/dist/node/index.js +0 -158
  254. package/templates/vanilla/node_modules/vite/dist/node-cjs/publicUtils.cjs +0 -4555
  255. package/templates/vanilla/node_modules/vite/index.cjs +0 -34
  256. package/templates/vanilla/node_modules/vite/package.json +0 -173
  257. package/templates/vanilla/node_modules/vite/types/customEvent.d.ts +0 -35
  258. package/templates/vanilla/node_modules/vite/types/hmrPayload.d.ts +0 -61
  259. package/templates/vanilla/node_modules/vite/types/hot.d.ts +0 -32
  260. package/templates/vanilla/node_modules/vite/types/importGlob.d.ts +0 -97
  261. package/templates/vanilla/node_modules/vite/types/importMeta.d.ts +0 -26
  262. package/templates/vanilla/node_modules/vite/types/metadata.d.ts +0 -10
  263. package/templates/vanilla/node_modules/vite/types/package.json +0 -4
  264. package/templates/vanilla/package-lock.json +0 -589
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-microact-app",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "A CLI tool to scaffold Microact and Micro-Web3 applications.",
6
6
  "main": "index.js",
@@ -9,7 +9,7 @@
9
9
  "preview": "vite preview"
10
10
  },
11
11
  "dependencies": {
12
- "@monygroupcorp/microact": "^0.1.1"
12
+ "@monygroupcorp/microact": "^0.2.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "vite": "^4.4.5"
@@ -1,59 +1,46 @@
1
- import { Component } from '@monygroupcorp/microact';
1
+ import { Component, h } from '@monygroupcorp/microact';
2
2
  import Hero from './Hero.js';
3
3
  import Card from './Card.js';
4
4
  import InteractiveDemo from './InteractiveDemo.js';
5
5
 
6
6
  class App extends Component {
7
- constructor(props) {
8
- super(props);
9
- this.interactiveDemo = this.createChild('interactive-demo', new InteractiveDemo());
10
- }
11
-
12
- children() {
13
- return {
14
- '#interactive-demo': this.interactiveDemo,
15
- };
16
- }
17
-
18
7
  render() {
19
8
  const cardData = [
20
9
  {
10
+ id: 'lightweight',
21
11
  title: 'Lightweight',
22
12
  description: 'Microact is a fraction of the size of other frameworks, making it ideal for performance-critical applications.',
23
13
  },
24
14
  {
15
+ id: 'easy-to-learn',
25
16
  title: 'Easy to Learn',
26
17
  description: 'If you know React, you already know Microact. The API is designed to be familiar and intuitive.',
27
18
  },
28
19
  {
20
+ id: 'component-based',
29
21
  title: 'Component-Based',
30
22
  description: 'Build encapsulated components that manage their own state, then compose them to make complex UIs.',
31
23
  },
32
24
  ];
33
25
 
34
- const heroComponent = new Hero();
35
- const cardComponents = cardData.map(data => new Card(data));
36
-
37
- return `
38
- <div class="app-container">
39
- ${heroComponent.render()}
40
- <main class="main-content">
41
- <div class="card-container">
42
- ${cardComponents.map(card => card.render()).join('')}
43
- </div>
44
- </main>
45
- <section class="interactive-section">
46
- <div class="interactive-section__copy">
47
- <h2>Event System Demo</h2>
48
- <p>This interactive card lives inside the App component and relies on Microact's lifecycle and event binding.</p>
49
- </div>
50
- <div id="interactive-demo"></div>
51
- </section>
52
- <footer class="footer">
53
- <p>2026 Mony Group Corporation - All code is released under the VPL (Viral Public License)</p>
54
- </footer>
55
- </div>
56
- `;
26
+ return h('div', { className: 'app-container' },
27
+ h(Hero),
28
+ h('main', { className: 'main-content' },
29
+ h('div', { className: 'card-container' },
30
+ cardData.map(data => h(Card, { key: data.id, title: data.title, description: data.description }))
31
+ )
32
+ ),
33
+ h('section', { className: 'interactive-section' },
34
+ h('div', { className: 'interactive-section__copy' },
35
+ h('h2', null, 'Event System Demo'),
36
+ h('p', null, 'This interactive card lives inside the App component and relies on Microact\'s lifecycle and event binding.')
37
+ ),
38
+ h(InteractiveDemo)
39
+ ),
40
+ h('footer', { className: 'footer' },
41
+ h('p', null, '2026 Mony Group Corporation - All code is released under the VPL (Viral Public License)')
42
+ )
43
+ );
57
44
  }
58
45
  }
59
46
 
@@ -1,20 +1,13 @@
1
- import { Component } from '@monygroupcorp/microact';
1
+ import { Component, h } from '@monygroupcorp/microact';
2
2
 
3
3
  class Card extends Component {
4
- constructor(props) {
5
- super();
6
- this.props = props;
7
- }
8
-
9
4
  render() {
10
5
  const { title, description } = this.props;
11
6
 
12
- return `
13
- <div class="card">
14
- <h3>${title}</h3>
15
- <p>${description}</p>
16
- </div>
17
- `;
7
+ return h('div', { className: 'card' },
8
+ h('h3', null, title),
9
+ h('p', null, description)
10
+ );
18
11
  }
19
12
  }
20
13
 
@@ -1,14 +1,12 @@
1
- import { Component } from '@monygroupcorp/microact';
1
+ import { Component, h } from '@monygroupcorp/microact';
2
2
 
3
3
  class Hero extends Component {
4
4
  render() {
5
- return `
6
- <section class="hero">
7
- <h1>Microact</h1>
8
- <p>A lean, minimal React-like framework for client-side applications.</p>
9
- <a href="https://github.com/Monygroup/microact" class="button">Learn More</a>
10
- </section>
11
- `;
5
+ return h('section', { className: 'hero' },
6
+ h('h1', null, 'Microact'),
7
+ h('p', null, 'A lean, minimal React-like framework for client-side applications.'),
8
+ h('a', { href: 'https://github.com/Monygroup/microact', className: 'button' }, 'Learn More')
9
+ );
12
10
  }
13
11
  }
14
12
 
@@ -1,25 +1,14 @@
1
- import { Component } from '@monygroupcorp/microact';
1
+ import { Component, h } from '@monygroupcorp/microact';
2
2
 
3
3
  class InteractiveDemo extends Component {
4
- constructor() {
5
- super();
4
+ constructor(props) {
5
+ super(props);
6
6
  this.state = {
7
7
  count: 0,
8
8
  isHighlighted: false,
9
9
  };
10
10
  }
11
11
 
12
- events() {
13
- return {
14
- 'click .demo__increment': 'handleIncrement',
15
- 'click .demo__reset': () => this.resetCount(),
16
- 'click .demo__toggle': (event) => {
17
- event.preventDefault();
18
- this.toggleHighlight();
19
- },
20
- };
21
- }
22
-
23
12
  handleIncrement() {
24
13
  this.setState({ count: this.state.count + 1 });
25
14
  }
@@ -35,24 +24,37 @@ class InteractiveDemo extends Component {
35
24
  render() {
36
25
  const { count, isHighlighted } = this.state;
37
26
 
38
- return `
39
- <section class="interactive-demo ${isHighlighted ? 'interactive-demo--active' : ''}">
40
- <div class="demo__copy">
41
- <p>This widget exercises Microact's event system using both method references and inline functions.</p>
42
- <p>Try clicking the buttons to update state and see the DOM update without a full re-render.</p>
43
- </div>
44
- <div class="demo__controls">
45
- <p class="demo__count" aria-live="polite">
46
- Button clicked <strong>${count}</strong> ${count === 1 ? 'time' : 'times'}
47
- </p>
48
- <div class="demo__buttons">
49
- <button class="demo__increment">Increment</button>
50
- <button class="demo__toggle">${isHighlighted ? 'Disable' : 'Enable'} Highlight</button>
51
- <button class="demo__reset" type="reset">Reset</button>
52
- </div>
53
- </div>
54
- </section>
55
- `;
27
+ return h('section', { className: `interactive-demo ${isHighlighted ? 'interactive-demo--active' : ''}` },
28
+ h('div', { className: 'demo__copy' },
29
+ h('p', null, "This widget exercises Microact's event system using both method references and inline functions."),
30
+ h('p', null, 'Try clicking the buttons to update state and see the DOM update without a full re-render.')
31
+ ),
32
+ h('div', { className: 'demo__controls' },
33
+ h('p', { className: 'demo__count', 'aria-live': 'polite' },
34
+ 'Button clicked ',
35
+ h('strong', null, count),
36
+ ` ${count === 1 ? 'time' : 'times'}`
37
+ ),
38
+ h('div', { className: 'demo__buttons' },
39
+ h('button', {
40
+ className: 'demo__increment',
41
+ onClick: this.bind(this.handleIncrement)
42
+ }, 'Increment'),
43
+ h('button', {
44
+ className: 'demo__toggle',
45
+ onClick: (e) => {
46
+ e.preventDefault();
47
+ this.toggleHighlight();
48
+ }
49
+ }, isHighlighted ? 'Disable' : 'Enable', ' Highlight'),
50
+ h('button', {
51
+ className: 'demo__reset',
52
+ type: 'reset',
53
+ onClick: this.bind(this.resetCount)
54
+ }, 'Reset')
55
+ )
56
+ )
57
+ );
56
58
  }
57
59
  }
58
60
 
@@ -1,9 +1,5 @@
1
1
  import './style/main.css';
2
+ import { render, h } from '@monygroupcorp/microact';
2
3
  import App from './components/App.js';
3
4
 
4
- const appRoot = document.getElementById('app');
5
- const app = new App(appRoot);
6
- app.mount(appRoot);
7
-
8
-
9
-
5
+ render(h(App), document.getElementById('app'));
@@ -0,0 +1,3 @@
1
+ [submodule "lib/forge-std"]
2
+ path = lib/forge-std
3
+ url = https://github.com/foundry-rs/forge-std
@@ -0,0 +1,8 @@
1
+ {
2
+ "lib/forge-std": {
3
+ "tag": {
4
+ "name": "v1.14.0",
5
+ "rev": "1801b0541f4fda118a10798fd3486bb7051c5dd6"
6
+ }
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ src/Vm.sol linguist-generated
@@ -0,0 +1 @@
1
+ * @danipopes @klkvr @mattsse @grandizzy @yash-atreya @zerosnacks @onbjerg @0xrusowsky
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
@@ -0,0 +1,125 @@
1
+ name: CI
2
+
3
+ permissions: {}
4
+
5
+ on:
6
+ workflow_dispatch:
7
+ pull_request:
8
+ push:
9
+ branches:
10
+ - master
11
+
12
+ jobs:
13
+ build:
14
+ name: build +${{ matrix.toolchain }} ${{ matrix.flags }}
15
+ runs-on: ubuntu-latest
16
+ timeout-minutes: 10
17
+ permissions:
18
+ contents: read
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ toolchain: [stable, nightly]
23
+ flags:
24
+ - ""
25
+ - --via-ir
26
+ - --use solc:0.8.33 --via-ir
27
+ - --use solc:0.8.33
28
+ - --use solc:0.8.13 --via-ir
29
+ - --use solc:0.8.13
30
+ steps:
31
+ - uses: actions/checkout@v6
32
+ with:
33
+ persist-credentials: false
34
+ - uses: foundry-rs/foundry-toolchain@v1
35
+ with:
36
+ version: ${{ matrix.toolchain }}
37
+ - run: forge --version
38
+ - run: forge build -vvvvv --skip test --deny warnings ${{ matrix.flags }} --contracts 'test/compilation/*'
39
+
40
+ test:
41
+ runs-on: ubuntu-latest
42
+ timeout-minutes: 10
43
+ permissions:
44
+ contents: read
45
+ strategy:
46
+ fail-fast: false
47
+ matrix:
48
+ toolchain: [stable, nightly]
49
+ steps:
50
+ - uses: actions/checkout@v6
51
+ with:
52
+ persist-credentials: false
53
+ - uses: foundry-rs/foundry-toolchain@v1
54
+ with:
55
+ version: ${{ matrix.toolchain }}
56
+ - run: forge --version
57
+ - run: forge test -vvv
58
+
59
+ fmt:
60
+ runs-on: ubuntu-latest
61
+ timeout-minutes: 10
62
+ permissions:
63
+ contents: read
64
+ steps:
65
+ - uses: actions/checkout@v6
66
+ with:
67
+ persist-credentials: false
68
+ - uses: foundry-rs/foundry-toolchain@v1
69
+ - run: forge --version
70
+ - run: forge fmt --check
71
+
72
+ typos:
73
+ runs-on: ubuntu-latest
74
+ timeout-minutes: 10
75
+ permissions:
76
+ contents: read
77
+ steps:
78
+ - uses: actions/checkout@v6
79
+ with:
80
+ persist-credentials: false
81
+ - uses: crate-ci/typos@5c19779cb52ea50e151f5a10333ccd269227b5ae # v1
82
+
83
+ codeql:
84
+ name: Analyze (${{ matrix.language }})
85
+ runs-on: ubuntu-latest
86
+ permissions:
87
+ security-events: write
88
+ actions: read
89
+ contents: read
90
+ strategy:
91
+ fail-fast: false
92
+ matrix:
93
+ include:
94
+ - language: actions
95
+ build-mode: none
96
+ steps:
97
+ - name: Checkout repository
98
+ uses: actions/checkout@v6
99
+ with:
100
+ persist-credentials: false
101
+ - name: Initialize CodeQL
102
+ uses: github/codeql-action/init@v4
103
+ with:
104
+ languages: ${{ matrix.language }}
105
+ build-mode: ${{ matrix.build-mode }}
106
+ - name: Perform CodeQL Analysis
107
+ uses: github/codeql-action/analyze@v4
108
+ with:
109
+ category: "/language:${{matrix.language}}"
110
+
111
+ ci-success:
112
+ runs-on: ubuntu-latest
113
+ if: always()
114
+ needs:
115
+ - build
116
+ - test
117
+ - fmt
118
+ - typos
119
+ - codeql
120
+ timeout-minutes: 10
121
+ steps:
122
+ - name: Decide whether the needed jobs succeeded or failed
123
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
124
+ with:
125
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,36 @@
1
+ name: Sync Release Branch
2
+
3
+ permissions: {}
4
+
5
+ on:
6
+ release:
7
+ types:
8
+ - created
9
+
10
+ jobs:
11
+ sync-release-branch:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: write
15
+ if: startsWith(github.event.release.tag_name, 'v1')
16
+ steps:
17
+ - name: Check out the repo
18
+ uses: actions/checkout@v6
19
+ with:
20
+ persist-credentials: true
21
+ fetch-depth: 0
22
+ ref: v1
23
+
24
+ # The email is derived from the bots user id,
25
+ # found here: https://api.github.com/users/github-actions%5Bbot%5D
26
+ - name: Configure Git
27
+ run: |
28
+ git config user.name github-actions[bot]
29
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
30
+
31
+ - name: Sync Release Branch
32
+ run: |
33
+ git fetch --tags
34
+ git checkout v1
35
+ git reset --hard ${GITHUB_REF}
36
+ git push --force
@@ -0,0 +1,193 @@
1
+ ## Contributing to Foundry
2
+
3
+ Thanks for your interest in improving Foundry!
4
+
5
+ There are multiple opportunities to contribute at any level. It doesn't matter if you are just getting started with Rust or are the most weathered expert, we can use your help.
6
+
7
+ This document will help you get started. **Do not let the document intimidate you**.
8
+ It should be considered as a guide to help you navigate the process.
9
+
10
+ The [dev Telegram][dev-tg] is available for any concerns you may have that are not covered in this guide.
11
+
12
+ ### Code of Conduct
13
+
14
+ The Foundry project adheres to the [Rust Code of Conduct][rust-coc]. This code of conduct describes the _minimum_ behavior expected from all contributors.
15
+
16
+ Instances of violations of the Code of Conduct can be reported by contacting the team at [me@gakonst.com](mailto:me@gakonst.com).
17
+
18
+ ### Ways to contribute
19
+
20
+ There are fundamentally four ways an individual can contribute:
21
+
22
+ 1. **By opening an issue:** For example, if you believe that you have uncovered a bug
23
+ in Foundry, creating a new issue in the issue tracker is the way to report it.
24
+ 2. **By adding context:** Providing additional context to existing issues,
25
+ such as screenshots and code snippets, which help resolve issues.
26
+ 3. **By resolving issues:** Typically this is done in the form of either
27
+ demonstrating that the issue reported is not a problem after all, or more often,
28
+ by opening a pull request that fixes the underlying problem, in a concrete and
29
+ reviewable manner.
30
+
31
+ **Anybody can participate in any stage of contribution**. We urge you to participate in the discussion
32
+ around bugs and participate in reviewing PRs.
33
+
34
+ ### Contributions Related to Spelling and Grammar
35
+
36
+ At this time, we will not be accepting contributions that only fix spelling or grammatical errors in documentation, code or
37
+ elsewhere.
38
+
39
+ ### Asking for help
40
+
41
+ If you have reviewed existing documentation and still have questions, or you are having problems, you can get help in the following ways:
42
+
43
+ - **Asking in the support Telegram:** The [Foundry Support Telegram][support-tg] is a fast and easy way to ask questions.
44
+ - **Opening a discussion:** This repository comes with a discussions board where you can also ask for help. Click the "Discussions" tab at the top.
45
+
46
+ As Foundry is still in heavy development, the documentation can be a bit scattered.
47
+ The [Foundry Book][foundry-book] is our current best-effort attempt at keeping up-to-date information.
48
+
49
+ ### Submitting a bug report
50
+
51
+ When filing a new bug report in the issue tracker, you will be presented with a basic form to fill out.
52
+
53
+ If you believe that you have uncovered a bug, please fill out the form to the best of your ability. Do not worry if you cannot answer every detail; just fill in what you can. Contributors will ask follow-up questions if something is unclear.
54
+
55
+ The most important pieces of information we need in a bug report are:
56
+
57
+ - The Foundry version you are on (and that it is up to date)
58
+ - The platform you are on (Windows, macOS, an M1 Mac or Linux)
59
+ - Code snippets if this is happening in relation to testing or building code
60
+ - Concrete steps to reproduce the bug
61
+
62
+ In order to rule out the possibility of the bug being in your project, the code snippets should be as minimal
63
+ as possible. It is better if you can reproduce the bug with a small snippet as opposed to an entire project!
64
+
65
+ See [this guide][mcve] on how to create a minimal, complete, and verifiable example.
66
+
67
+ ### Submitting a feature request
68
+
69
+ When adding a feature request in the issue tracker, you will be presented with a basic form to fill out.
70
+
71
+ Please include as detailed of an explanation as possible of the feature you would like, adding additional context if necessary.
72
+
73
+ If you have examples of other tools that have the feature you are requesting, please include them as well.
74
+
75
+ ### Resolving an issue
76
+
77
+ Pull requests are the way concrete changes are made to the code, documentation, and dependencies of Foundry.
78
+
79
+ Even minor pull requests, such as those fixing wording, are greatly appreciated. Before making a large change, it is usually
80
+ a good idea to first open an issue describing the change to solicit feedback and guidance. This will increase
81
+ the likelihood of the PR getting merged.
82
+
83
+ Please make sure that the following commands pass if you have changed the code:
84
+
85
+ ```sh
86
+ forge fmt --check
87
+ forge test -vvv
88
+ ```
89
+
90
+ To make sure your changes are compatible with all compiler version targets, run the following commands:
91
+
92
+ ```sh
93
+ forge build --skip test --use solc:0.6.2
94
+ forge build --skip test --use solc:0.6.12
95
+ forge build --skip test --use solc:0.7.0
96
+ forge build --skip test --use solc:0.7.6
97
+ forge build --skip test --use solc:0.8.0
98
+ ```
99
+
100
+ The CI will also ensure that the code is formatted correctly and that the tests are passing across all compiler version targets.
101
+
102
+ #### Adding cheatcodes
103
+
104
+ Please follow the guide outlined in the [cheatcodes](https://github.com/foundry-rs/foundry/blob/master/docs/dev/cheatcodes.md#adding-a-new-cheatcode) documentation of Foundry.
105
+
106
+ When making modifications to the native cheatcodes or adding new ones, please make sure to run [`./scripts/vm.py`](./scripts/vm.py) to update the cheatcodes in the [`src/Vm.sol`](./src/Vm.sol) file.
107
+
108
+ By default the script will automatically generate the cheatcodes from the [`cheatcodes.json`](https://raw.githubusercontent.com/foundry-rs/foundry/master/crates/cheatcodes/assets/cheatcodes.json) file but alternatively you can provide a path to a JSON file containing the Vm interface, as generated by Foundry, with the `--from` flag.
109
+
110
+ ```sh
111
+ ./scripts/vm.py --from path/to/cheatcodes.json
112
+ ```
113
+
114
+ It is possible that the resulting [`src/Vm.sol`](./src/Vm.sol) file will have some changes that are not directly related to your changes, this is not a problem.
115
+
116
+ #### Commits
117
+
118
+ It is a recommended best practice to keep your changes as logically grouped as possible within individual commits. There is no limit to the number of commits any single pull request may have, and many contributors find it easier to review changes that are split across multiple commits.
119
+
120
+ That said, if you have a number of commits that are "checkpoints" and don't represent a single logical change, please squash those together.
121
+
122
+ #### Opening the pull request
123
+
124
+ From within GitHub, opening a new pull request will present you with a template that should be filled out. Please try your best at filling out the details, but feel free to skip parts if you're not sure what to put.
125
+
126
+ #### Discuss and update
127
+
128
+ You will probably get feedback or requests for changes to your pull request.
129
+ This is a big part of the submission process, so don't be discouraged! Some contributors may sign off on the pull request right away, others may have more detailed comments or feedback.
130
+ This is a necessary part of the process in order to evaluate whether the changes are correct and necessary.
131
+
132
+ **Any community member can review a PR, so you might get conflicting feedback**.
133
+ Keep an eye out for comments from code owners to provide guidance on conflicting feedback.
134
+
135
+ #### Reviewing pull requests
136
+
137
+ **Any Foundry community member is welcome to review any pull request**.
138
+
139
+ All contributors who choose to review and provide feedback on pull requests have a responsibility to both the project and individual making the contribution. Reviews and feedback must be helpful, insightful, and geared towards improving the contribution as opposed to simply blocking it. If there are reasons why you feel the PR should not be merged, explain what those are. Do not expect to be able to block a PR from advancing simply because you say "no" without giving an explanation. Be open to having your mind changed. Be open to working _with_ the contributor to make the pull request better.
140
+
141
+ Reviews that are dismissive or disrespectful of the contributor or any other reviewers are strictly counter to the Code of Conduct.
142
+
143
+ When reviewing a pull request, the primary goals are for the codebase to improve and for the person submitting the request to succeed. **Even if a pull request is not merged, the submitter should come away from the experience feeling like their effort was not unappreciated**. Every PR from a new contributor is an opportunity to grow the community.
144
+
145
+ ##### Review a bit at a time
146
+
147
+ Do not overwhelm new contributors.
148
+
149
+ It is tempting to micro-optimize and make everything about relative performance, perfect grammar, or exact style matches. Do not succumb to that temptation.
150
+
151
+ Focus first on the most significant aspects of the change:
152
+
153
+ 1. Does this change make sense for Foundry?
154
+ 2. Does this change make Foundry better, even if only incrementally?
155
+ 3. Are there clear bugs or larger scale issues that need attending?
156
+ 4. Are the commit messages readable and correct? If it contains a breaking change, is it clear enough?
157
+
158
+ Note that only **incremental** improvement is needed to land a PR. This means that the PR does not need to be perfect, only better than the status quo. Follow-up PRs may be opened to continue iterating.
159
+
160
+ When changes are necessary, _request_ them, do not _demand_ them, and **do not assume that the submitter already knows how to add a test or run a benchmark**.
161
+
162
+ Specific performance optimization techniques, coding styles and conventions change over time. The first impression you give to a new contributor never does.
163
+
164
+ Nits (requests for small changes that are not essential) are fine, but try to avoid stalling the pull request. Most nits can typically be fixed by the Foundry maintainers merging the pull request, but they can also be an opportunity for the contributor to learn a bit more about the project.
165
+
166
+ It is always good to clearly indicate nits when you comment, e.g.: `Nit: change foo() to bar(). But this is not blocking`.
167
+
168
+ If your comments were addressed but were not folded after new commits, or if they proved to be mistaken, please, [hide them][hiding-a-comment] with the appropriate reason to keep the conversation flow concise and relevant.
169
+
170
+ ##### Be aware of the person behind the code
171
+
172
+ Be aware that _how_ you communicate requests and reviews in your feedback can have a significant impact on the success of the pull request. Yes, we may merge a particular change that makes Foundry better, but the individual might just not want to have anything to do with Foundry ever again. The goal is not just having good code.
173
+
174
+ ##### Abandoned or stale pull requests
175
+
176
+ If a pull request appears to be abandoned or stalled, it is polite to first check with the contributor to see if they intend to continue the work before checking if they would mind if you took it over (especially if it just has nits left). When doing so, it is courteous to give the original contributor credit for the work they started, either by preserving their name and e-mail address in the commit log, or by using the `Author: ` or `Co-authored-by: ` metadata tag in the commits.
177
+
178
+ _Adapted from the [ethers-rs contributing guide](https://github.com/gakonst/ethers-rs/blob/master/CONTRIBUTING.md)_.
179
+
180
+ ### Releasing
181
+
182
+ Releases are automatically done by the release workflow when a tag is pushed, however, these steps still need to be taken:
183
+
184
+ 1. Ensure that the versions in the relevant `Cargo.toml` files are up-to-date.
185
+ 2. Update documentation links
186
+ 3. Perform a final audit for breaking changes.
187
+
188
+ [rust-coc]: https://github.com/rust-lang/rust/blob/master/CODE_OF_CONDUCT.md
189
+ [dev-tg]: https://t.me/foundry_rs
190
+ [foundry-book]: https://github.com/foundry-rs/foundry-book
191
+ [support-tg]: https://t.me/foundry_support
192
+ [mcve]: https://stackoverflow.com/help/mcve
193
+ [hiding-a-comment]: https://help.github.com/articles/managing-disruptive-comments/#hiding-a-comment