create-microact-app 1.0.1

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 (213) hide show
  1. package/index.js +95 -0
  2. package/package.json +21 -0
  3. package/templates/vanilla/.github/workflows/deploy.yml +38 -0
  4. package/templates/vanilla/index.html +13 -0
  5. package/templates/vanilla/node_modules/.package-lock.json +207 -0
  6. package/templates/vanilla/node_modules/@esbuild/darwin-x64/README.md +3 -0
  7. package/templates/vanilla/node_modules/@esbuild/darwin-x64/bin/esbuild +0 -0
  8. package/templates/vanilla/node_modules/@esbuild/darwin-x64/package.json +17 -0
  9. package/templates/vanilla/node_modules/@monygroupcorp/microact/README.md +154 -0
  10. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.cjs.js +1749 -0
  11. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.cjs.js.map +1 -0
  12. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.esm.js +1743 -0
  13. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.esm.js.map +1 -0
  14. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.umd.js +2 -0
  15. package/templates/vanilla/node_modules/@monygroupcorp/microact/dist/microact.umd.js.map +1 -0
  16. package/templates/vanilla/node_modules/@monygroupcorp/microact/example/index.html +13 -0
  17. package/templates/vanilla/node_modules/@monygroupcorp/microact/example/index.js +63 -0
  18. package/templates/vanilla/node_modules/@monygroupcorp/microact/package.json +38 -0
  19. package/templates/vanilla/node_modules/@monygroupcorp/microact/rollup.config.cjs +30 -0
  20. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/Component.js +831 -0
  21. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/DOMUpdater.js +320 -0
  22. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/EventBus.js +123 -0
  23. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/Router.js +253 -0
  24. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/UpdateScheduler.js +218 -0
  25. package/templates/vanilla/node_modules/@monygroupcorp/microact/src/index.js +6 -0
  26. package/templates/vanilla/node_modules/esbuild/LICENSE.md +21 -0
  27. package/templates/vanilla/node_modules/esbuild/README.md +3 -0
  28. package/templates/vanilla/node_modules/esbuild/bin/esbuild +0 -0
  29. package/templates/vanilla/node_modules/esbuild/install.js +287 -0
  30. package/templates/vanilla/node_modules/esbuild/lib/main.d.ts +660 -0
  31. package/templates/vanilla/node_modules/esbuild/lib/main.js +2393 -0
  32. package/templates/vanilla/node_modules/esbuild/package.json +42 -0
  33. package/templates/vanilla/node_modules/nanoid/LICENSE +20 -0
  34. package/templates/vanilla/node_modules/nanoid/README.md +39 -0
  35. package/templates/vanilla/node_modules/nanoid/async/index.browser.cjs +69 -0
  36. package/templates/vanilla/node_modules/nanoid/async/index.browser.js +34 -0
  37. package/templates/vanilla/node_modules/nanoid/async/index.cjs +71 -0
  38. package/templates/vanilla/node_modules/nanoid/async/index.d.ts +56 -0
  39. package/templates/vanilla/node_modules/nanoid/async/index.js +35 -0
  40. package/templates/vanilla/node_modules/nanoid/async/index.native.js +26 -0
  41. package/templates/vanilla/node_modules/nanoid/async/package.json +12 -0
  42. package/templates/vanilla/node_modules/nanoid/bin/nanoid.cjs +55 -0
  43. package/templates/vanilla/node_modules/nanoid/index.browser.cjs +72 -0
  44. package/templates/vanilla/node_modules/nanoid/index.browser.js +34 -0
  45. package/templates/vanilla/node_modules/nanoid/index.cjs +85 -0
  46. package/templates/vanilla/node_modules/nanoid/index.d.cts +91 -0
  47. package/templates/vanilla/node_modules/nanoid/index.d.ts +91 -0
  48. package/templates/vanilla/node_modules/nanoid/index.js +45 -0
  49. package/templates/vanilla/node_modules/nanoid/nanoid.js +1 -0
  50. package/templates/vanilla/node_modules/nanoid/non-secure/index.cjs +34 -0
  51. package/templates/vanilla/node_modules/nanoid/non-secure/index.d.ts +33 -0
  52. package/templates/vanilla/node_modules/nanoid/non-secure/index.js +21 -0
  53. package/templates/vanilla/node_modules/nanoid/non-secure/package.json +6 -0
  54. package/templates/vanilla/node_modules/nanoid/package.json +89 -0
  55. package/templates/vanilla/node_modules/nanoid/url-alphabet/index.cjs +7 -0
  56. package/templates/vanilla/node_modules/nanoid/url-alphabet/index.js +3 -0
  57. package/templates/vanilla/node_modules/nanoid/url-alphabet/package.json +6 -0
  58. package/templates/vanilla/node_modules/picocolors/LICENSE +15 -0
  59. package/templates/vanilla/node_modules/picocolors/README.md +21 -0
  60. package/templates/vanilla/node_modules/picocolors/package.json +25 -0
  61. package/templates/vanilla/node_modules/picocolors/picocolors.browser.js +4 -0
  62. package/templates/vanilla/node_modules/picocolors/picocolors.d.ts +5 -0
  63. package/templates/vanilla/node_modules/picocolors/picocolors.js +75 -0
  64. package/templates/vanilla/node_modules/picocolors/types.d.ts +51 -0
  65. package/templates/vanilla/node_modules/postcss/LICENSE +20 -0
  66. package/templates/vanilla/node_modules/postcss/README.md +29 -0
  67. package/templates/vanilla/node_modules/postcss/lib/at-rule.d.ts +140 -0
  68. package/templates/vanilla/node_modules/postcss/lib/at-rule.js +25 -0
  69. package/templates/vanilla/node_modules/postcss/lib/comment.d.ts +68 -0
  70. package/templates/vanilla/node_modules/postcss/lib/comment.js +13 -0
  71. package/templates/vanilla/node_modules/postcss/lib/container.d.ts +483 -0
  72. package/templates/vanilla/node_modules/postcss/lib/container.js +447 -0
  73. package/templates/vanilla/node_modules/postcss/lib/css-syntax-error.d.ts +248 -0
  74. package/templates/vanilla/node_modules/postcss/lib/css-syntax-error.js +133 -0
  75. package/templates/vanilla/node_modules/postcss/lib/declaration.d.ts +151 -0
  76. package/templates/vanilla/node_modules/postcss/lib/declaration.js +24 -0
  77. package/templates/vanilla/node_modules/postcss/lib/document.d.ts +69 -0
  78. package/templates/vanilla/node_modules/postcss/lib/document.js +33 -0
  79. package/templates/vanilla/node_modules/postcss/lib/fromJSON.d.ts +9 -0
  80. package/templates/vanilla/node_modules/postcss/lib/fromJSON.js +54 -0
  81. package/templates/vanilla/node_modules/postcss/lib/input.d.ts +227 -0
  82. package/templates/vanilla/node_modules/postcss/lib/input.js +265 -0
  83. package/templates/vanilla/node_modules/postcss/lib/lazy-result.d.ts +190 -0
  84. package/templates/vanilla/node_modules/postcss/lib/lazy-result.js +550 -0
  85. package/templates/vanilla/node_modules/postcss/lib/list.d.ts +60 -0
  86. package/templates/vanilla/node_modules/postcss/lib/list.js +58 -0
  87. package/templates/vanilla/node_modules/postcss/lib/map-generator.js +368 -0
  88. package/templates/vanilla/node_modules/postcss/lib/no-work-result.d.ts +46 -0
  89. package/templates/vanilla/node_modules/postcss/lib/no-work-result.js +138 -0
  90. package/templates/vanilla/node_modules/postcss/lib/node.d.ts +556 -0
  91. package/templates/vanilla/node_modules/postcss/lib/node.js +449 -0
  92. package/templates/vanilla/node_modules/postcss/lib/parse.d.ts +9 -0
  93. package/templates/vanilla/node_modules/postcss/lib/parse.js +42 -0
  94. package/templates/vanilla/node_modules/postcss/lib/parser.js +611 -0
  95. package/templates/vanilla/node_modules/postcss/lib/postcss.d.mts +69 -0
  96. package/templates/vanilla/node_modules/postcss/lib/postcss.d.ts +458 -0
  97. package/templates/vanilla/node_modules/postcss/lib/postcss.js +101 -0
  98. package/templates/vanilla/node_modules/postcss/lib/postcss.mjs +30 -0
  99. package/templates/vanilla/node_modules/postcss/lib/previous-map.d.ts +81 -0
  100. package/templates/vanilla/node_modules/postcss/lib/previous-map.js +144 -0
  101. package/templates/vanilla/node_modules/postcss/lib/processor.d.ts +115 -0
  102. package/templates/vanilla/node_modules/postcss/lib/processor.js +67 -0
  103. package/templates/vanilla/node_modules/postcss/lib/result.d.ts +205 -0
  104. package/templates/vanilla/node_modules/postcss/lib/result.js +42 -0
  105. package/templates/vanilla/node_modules/postcss/lib/root.d.ts +87 -0
  106. package/templates/vanilla/node_modules/postcss/lib/root.js +61 -0
  107. package/templates/vanilla/node_modules/postcss/lib/rule.d.ts +126 -0
  108. package/templates/vanilla/node_modules/postcss/lib/rule.js +27 -0
  109. package/templates/vanilla/node_modules/postcss/lib/stringifier.d.ts +46 -0
  110. package/templates/vanilla/node_modules/postcss/lib/stringifier.js +353 -0
  111. package/templates/vanilla/node_modules/postcss/lib/stringify.d.ts +9 -0
  112. package/templates/vanilla/node_modules/postcss/lib/stringify.js +11 -0
  113. package/templates/vanilla/node_modules/postcss/lib/symbols.js +5 -0
  114. package/templates/vanilla/node_modules/postcss/lib/terminal-highlight.js +70 -0
  115. package/templates/vanilla/node_modules/postcss/lib/tokenize.js +266 -0
  116. package/templates/vanilla/node_modules/postcss/lib/warn-once.js +13 -0
  117. package/templates/vanilla/node_modules/postcss/lib/warning.d.ts +147 -0
  118. package/templates/vanilla/node_modules/postcss/lib/warning.js +37 -0
  119. package/templates/vanilla/node_modules/postcss/package.json +88 -0
  120. package/templates/vanilla/node_modules/rollup/LICENSE.md +695 -0
  121. package/templates/vanilla/node_modules/rollup/README.md +125 -0
  122. package/templates/vanilla/node_modules/rollup/dist/bin/rollup +1715 -0
  123. package/templates/vanilla/node_modules/rollup/dist/es/getLogFilter.js +64 -0
  124. package/templates/vanilla/node_modules/rollup/dist/es/package.json +1 -0
  125. package/templates/vanilla/node_modules/rollup/dist/es/rollup.js +17 -0
  126. package/templates/vanilla/node_modules/rollup/dist/es/shared/node-entry.js +27273 -0
  127. package/templates/vanilla/node_modules/rollup/dist/es/shared/watch.js +4857 -0
  128. package/templates/vanilla/node_modules/rollup/dist/getLogFilter.d.ts +5 -0
  129. package/templates/vanilla/node_modules/rollup/dist/getLogFilter.js +69 -0
  130. package/templates/vanilla/node_modules/rollup/dist/loadConfigFile.d.ts +20 -0
  131. package/templates/vanilla/node_modules/rollup/dist/loadConfigFile.js +29 -0
  132. package/templates/vanilla/node_modules/rollup/dist/rollup.d.ts +1012 -0
  133. package/templates/vanilla/node_modules/rollup/dist/rollup.js +31 -0
  134. package/templates/vanilla/node_modules/rollup/dist/shared/fsevents-importer.js +37 -0
  135. package/templates/vanilla/node_modules/rollup/dist/shared/index.js +4571 -0
  136. package/templates/vanilla/node_modules/rollup/dist/shared/loadConfigFile.js +546 -0
  137. package/templates/vanilla/node_modules/rollup/dist/shared/rollup.js +27351 -0
  138. package/templates/vanilla/node_modules/rollup/dist/shared/watch-cli.js +561 -0
  139. package/templates/vanilla/node_modules/rollup/dist/shared/watch-proxy.js +87 -0
  140. package/templates/vanilla/node_modules/rollup/dist/shared/watch.js +316 -0
  141. package/templates/vanilla/node_modules/rollup/package.json +181 -0
  142. package/templates/vanilla/node_modules/source-map-js/LICENSE +28 -0
  143. package/templates/vanilla/node_modules/source-map-js/README.md +765 -0
  144. package/templates/vanilla/node_modules/source-map-js/lib/array-set.js +121 -0
  145. package/templates/vanilla/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  146. package/templates/vanilla/node_modules/source-map-js/lib/base64.js +67 -0
  147. package/templates/vanilla/node_modules/source-map-js/lib/binary-search.js +111 -0
  148. package/templates/vanilla/node_modules/source-map-js/lib/mapping-list.js +79 -0
  149. package/templates/vanilla/node_modules/source-map-js/lib/quick-sort.js +132 -0
  150. package/templates/vanilla/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  151. package/templates/vanilla/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  152. package/templates/vanilla/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  153. package/templates/vanilla/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  154. package/templates/vanilla/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  155. package/templates/vanilla/node_modules/source-map-js/lib/source-node.js +413 -0
  156. package/templates/vanilla/node_modules/source-map-js/lib/util.js +594 -0
  157. package/templates/vanilla/node_modules/source-map-js/package.json +71 -0
  158. package/templates/vanilla/node_modules/source-map-js/source-map.d.ts +104 -0
  159. package/templates/vanilla/node_modules/source-map-js/source-map.js +8 -0
  160. package/templates/vanilla/node_modules/vite/LICENSE.md +3396 -0
  161. package/templates/vanilla/node_modules/vite/README.md +20 -0
  162. package/templates/vanilla/node_modules/vite/bin/openChrome.applescript +95 -0
  163. package/templates/vanilla/node_modules/vite/bin/vite.js +61 -0
  164. package/templates/vanilla/node_modules/vite/client.d.ts +281 -0
  165. package/templates/vanilla/node_modules/vite/dist/client/client.mjs +725 -0
  166. package/templates/vanilla/node_modules/vite/dist/client/client.mjs.map +1 -0
  167. package/templates/vanilla/node_modules/vite/dist/client/env.mjs +30 -0
  168. package/templates/vanilla/node_modules/vite/dist/client/env.mjs.map +1 -0
  169. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-7ec6f216.js +914 -0
  170. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-827b23df.js +66713 -0
  171. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-c423598f.js +561 -0
  172. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-f0c7dae0.js +7930 -0
  173. package/templates/vanilla/node_modules/vite/dist/node/chunks/dep-f1e8587f.js +7646 -0
  174. package/templates/vanilla/node_modules/vite/dist/node/cli.js +929 -0
  175. package/templates/vanilla/node_modules/vite/dist/node/constants.js +130 -0
  176. package/templates/vanilla/node_modules/vite/dist/node/index.d.ts +3548 -0
  177. package/templates/vanilla/node_modules/vite/dist/node/index.js +158 -0
  178. package/templates/vanilla/node_modules/vite/dist/node-cjs/publicUtils.cjs +4555 -0
  179. package/templates/vanilla/node_modules/vite/index.cjs +34 -0
  180. package/templates/vanilla/node_modules/vite/package.json +173 -0
  181. package/templates/vanilla/node_modules/vite/types/customEvent.d.ts +35 -0
  182. package/templates/vanilla/node_modules/vite/types/hmrPayload.d.ts +61 -0
  183. package/templates/vanilla/node_modules/vite/types/hot.d.ts +32 -0
  184. package/templates/vanilla/node_modules/vite/types/importGlob.d.ts +97 -0
  185. package/templates/vanilla/node_modules/vite/types/importMeta.d.ts +26 -0
  186. package/templates/vanilla/node_modules/vite/types/metadata.d.ts +10 -0
  187. package/templates/vanilla/node_modules/vite/types/package.json +4 -0
  188. package/templates/vanilla/package-lock.json +589 -0
  189. package/templates/vanilla/package.json +17 -0
  190. package/templates/vanilla/src/components/App.js +60 -0
  191. package/templates/vanilla/src/components/Card.js +21 -0
  192. package/templates/vanilla/src/components/Hero.js +15 -0
  193. package/templates/vanilla/src/components/InteractiveDemo.js +59 -0
  194. package/templates/vanilla/src/main.js +9 -0
  195. package/templates/vanilla/src/style/main.css +172 -0
  196. package/templates/vanilla/vite.config.js +8 -0
  197. package/templates/web3/.env.example +15 -0
  198. package/templates/web3/.github/workflows/deploy.yml +38 -0
  199. package/templates/web3/README.md +33 -0
  200. package/templates/web3/contracts/foundry.toml +11 -0
  201. package/templates/web3/contracts/script/Deploy.s.sol +13 -0
  202. package/templates/web3/contracts/src/Counter.sol +21 -0
  203. package/templates/web3/index.html +13 -0
  204. package/templates/web3/package.json +25 -0
  205. package/templates/web3/scripts/chain-start.mjs +305 -0
  206. package/templates/web3/scripts/chain-stop.mjs +34 -0
  207. package/templates/web3/scripts/deploy.mjs +155 -0
  208. package/templates/web3/scripts/setup.mjs +42 -0
  209. package/templates/web3/src/components/App.js +49 -0
  210. package/templates/web3/src/components/CounterCard.js +111 -0
  211. package/templates/web3/src/main.js +54 -0
  212. package/templates/web3/src/style/main.css +345 -0
  213. package/templates/web3/vite.config.js +29 -0
@@ -0,0 +1,589 @@
1
+ {
2
+ "name": "my-app",
3
+ "version": "0.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "my-app",
9
+ "version": "0.0.0",
10
+ "dependencies": {
11
+ "@monygroupcorp/microact": "^0.1.1"
12
+ },
13
+ "devDependencies": {
14
+ "vite": "^4.4.5"
15
+ }
16
+ },
17
+ "node_modules/@esbuild/android-arm": {
18
+ "version": "0.18.20",
19
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
20
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
21
+ "cpu": [
22
+ "arm"
23
+ ],
24
+ "dev": true,
25
+ "license": "MIT",
26
+ "optional": true,
27
+ "os": [
28
+ "android"
29
+ ],
30
+ "engines": {
31
+ "node": ">=12"
32
+ }
33
+ },
34
+ "node_modules/@esbuild/android-arm64": {
35
+ "version": "0.18.20",
36
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
37
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
38
+ "cpu": [
39
+ "arm64"
40
+ ],
41
+ "dev": true,
42
+ "license": "MIT",
43
+ "optional": true,
44
+ "os": [
45
+ "android"
46
+ ],
47
+ "engines": {
48
+ "node": ">=12"
49
+ }
50
+ },
51
+ "node_modules/@esbuild/android-x64": {
52
+ "version": "0.18.20",
53
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
54
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
55
+ "cpu": [
56
+ "x64"
57
+ ],
58
+ "dev": true,
59
+ "license": "MIT",
60
+ "optional": true,
61
+ "os": [
62
+ "android"
63
+ ],
64
+ "engines": {
65
+ "node": ">=12"
66
+ }
67
+ },
68
+ "node_modules/@esbuild/darwin-arm64": {
69
+ "version": "0.18.20",
70
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
71
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
72
+ "cpu": [
73
+ "arm64"
74
+ ],
75
+ "dev": true,
76
+ "license": "MIT",
77
+ "optional": true,
78
+ "os": [
79
+ "darwin"
80
+ ],
81
+ "engines": {
82
+ "node": ">=12"
83
+ }
84
+ },
85
+ "node_modules/@esbuild/darwin-x64": {
86
+ "version": "0.18.20",
87
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
88
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
89
+ "cpu": [
90
+ "x64"
91
+ ],
92
+ "dev": true,
93
+ "license": "MIT",
94
+ "optional": true,
95
+ "os": [
96
+ "darwin"
97
+ ],
98
+ "engines": {
99
+ "node": ">=12"
100
+ }
101
+ },
102
+ "node_modules/@esbuild/freebsd-arm64": {
103
+ "version": "0.18.20",
104
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
105
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
106
+ "cpu": [
107
+ "arm64"
108
+ ],
109
+ "dev": true,
110
+ "license": "MIT",
111
+ "optional": true,
112
+ "os": [
113
+ "freebsd"
114
+ ],
115
+ "engines": {
116
+ "node": ">=12"
117
+ }
118
+ },
119
+ "node_modules/@esbuild/freebsd-x64": {
120
+ "version": "0.18.20",
121
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
122
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
123
+ "cpu": [
124
+ "x64"
125
+ ],
126
+ "dev": true,
127
+ "license": "MIT",
128
+ "optional": true,
129
+ "os": [
130
+ "freebsd"
131
+ ],
132
+ "engines": {
133
+ "node": ">=12"
134
+ }
135
+ },
136
+ "node_modules/@esbuild/linux-arm": {
137
+ "version": "0.18.20",
138
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
139
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
140
+ "cpu": [
141
+ "arm"
142
+ ],
143
+ "dev": true,
144
+ "license": "MIT",
145
+ "optional": true,
146
+ "os": [
147
+ "linux"
148
+ ],
149
+ "engines": {
150
+ "node": ">=12"
151
+ }
152
+ },
153
+ "node_modules/@esbuild/linux-arm64": {
154
+ "version": "0.18.20",
155
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
156
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
157
+ "cpu": [
158
+ "arm64"
159
+ ],
160
+ "dev": true,
161
+ "license": "MIT",
162
+ "optional": true,
163
+ "os": [
164
+ "linux"
165
+ ],
166
+ "engines": {
167
+ "node": ">=12"
168
+ }
169
+ },
170
+ "node_modules/@esbuild/linux-ia32": {
171
+ "version": "0.18.20",
172
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
173
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
174
+ "cpu": [
175
+ "ia32"
176
+ ],
177
+ "dev": true,
178
+ "license": "MIT",
179
+ "optional": true,
180
+ "os": [
181
+ "linux"
182
+ ],
183
+ "engines": {
184
+ "node": ">=12"
185
+ }
186
+ },
187
+ "node_modules/@esbuild/linux-loong64": {
188
+ "version": "0.18.20",
189
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
190
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
191
+ "cpu": [
192
+ "loong64"
193
+ ],
194
+ "dev": true,
195
+ "license": "MIT",
196
+ "optional": true,
197
+ "os": [
198
+ "linux"
199
+ ],
200
+ "engines": {
201
+ "node": ">=12"
202
+ }
203
+ },
204
+ "node_modules/@esbuild/linux-mips64el": {
205
+ "version": "0.18.20",
206
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
207
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
208
+ "cpu": [
209
+ "mips64el"
210
+ ],
211
+ "dev": true,
212
+ "license": "MIT",
213
+ "optional": true,
214
+ "os": [
215
+ "linux"
216
+ ],
217
+ "engines": {
218
+ "node": ">=12"
219
+ }
220
+ },
221
+ "node_modules/@esbuild/linux-ppc64": {
222
+ "version": "0.18.20",
223
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
224
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
225
+ "cpu": [
226
+ "ppc64"
227
+ ],
228
+ "dev": true,
229
+ "license": "MIT",
230
+ "optional": true,
231
+ "os": [
232
+ "linux"
233
+ ],
234
+ "engines": {
235
+ "node": ">=12"
236
+ }
237
+ },
238
+ "node_modules/@esbuild/linux-riscv64": {
239
+ "version": "0.18.20",
240
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
241
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
242
+ "cpu": [
243
+ "riscv64"
244
+ ],
245
+ "dev": true,
246
+ "license": "MIT",
247
+ "optional": true,
248
+ "os": [
249
+ "linux"
250
+ ],
251
+ "engines": {
252
+ "node": ">=12"
253
+ }
254
+ },
255
+ "node_modules/@esbuild/linux-s390x": {
256
+ "version": "0.18.20",
257
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
258
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
259
+ "cpu": [
260
+ "s390x"
261
+ ],
262
+ "dev": true,
263
+ "license": "MIT",
264
+ "optional": true,
265
+ "os": [
266
+ "linux"
267
+ ],
268
+ "engines": {
269
+ "node": ">=12"
270
+ }
271
+ },
272
+ "node_modules/@esbuild/linux-x64": {
273
+ "version": "0.18.20",
274
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
275
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
276
+ "cpu": [
277
+ "x64"
278
+ ],
279
+ "dev": true,
280
+ "license": "MIT",
281
+ "optional": true,
282
+ "os": [
283
+ "linux"
284
+ ],
285
+ "engines": {
286
+ "node": ">=12"
287
+ }
288
+ },
289
+ "node_modules/@esbuild/netbsd-x64": {
290
+ "version": "0.18.20",
291
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
292
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
293
+ "cpu": [
294
+ "x64"
295
+ ],
296
+ "dev": true,
297
+ "license": "MIT",
298
+ "optional": true,
299
+ "os": [
300
+ "netbsd"
301
+ ],
302
+ "engines": {
303
+ "node": ">=12"
304
+ }
305
+ },
306
+ "node_modules/@esbuild/openbsd-x64": {
307
+ "version": "0.18.20",
308
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
309
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
310
+ "cpu": [
311
+ "x64"
312
+ ],
313
+ "dev": true,
314
+ "license": "MIT",
315
+ "optional": true,
316
+ "os": [
317
+ "openbsd"
318
+ ],
319
+ "engines": {
320
+ "node": ">=12"
321
+ }
322
+ },
323
+ "node_modules/@esbuild/sunos-x64": {
324
+ "version": "0.18.20",
325
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
326
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
327
+ "cpu": [
328
+ "x64"
329
+ ],
330
+ "dev": true,
331
+ "license": "MIT",
332
+ "optional": true,
333
+ "os": [
334
+ "sunos"
335
+ ],
336
+ "engines": {
337
+ "node": ">=12"
338
+ }
339
+ },
340
+ "node_modules/@esbuild/win32-arm64": {
341
+ "version": "0.18.20",
342
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
343
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
344
+ "cpu": [
345
+ "arm64"
346
+ ],
347
+ "dev": true,
348
+ "license": "MIT",
349
+ "optional": true,
350
+ "os": [
351
+ "win32"
352
+ ],
353
+ "engines": {
354
+ "node": ">=12"
355
+ }
356
+ },
357
+ "node_modules/@esbuild/win32-ia32": {
358
+ "version": "0.18.20",
359
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
360
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
361
+ "cpu": [
362
+ "ia32"
363
+ ],
364
+ "dev": true,
365
+ "license": "MIT",
366
+ "optional": true,
367
+ "os": [
368
+ "win32"
369
+ ],
370
+ "engines": {
371
+ "node": ">=12"
372
+ }
373
+ },
374
+ "node_modules/@esbuild/win32-x64": {
375
+ "version": "0.18.20",
376
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
377
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
378
+ "cpu": [
379
+ "x64"
380
+ ],
381
+ "dev": true,
382
+ "license": "MIT",
383
+ "optional": true,
384
+ "os": [
385
+ "win32"
386
+ ],
387
+ "engines": {
388
+ "node": ">=12"
389
+ }
390
+ },
391
+ "node_modules/@monygroupcorp/microact": {
392
+ "version": "0.1.1",
393
+ "resolved": "https://registry.npmjs.org/@monygroupcorp/microact/-/microact-0.1.1.tgz",
394
+ "integrity": "sha512-DaA02WzBEMiznRPvf/j+Oakp64N3A1ZqyVUN6SYZgBl10M570AAcfHFgQOTg/23K8bwn6Hk4GHY9DTuGYbWo9g==",
395
+ "license": "MIT"
396
+ },
397
+ "node_modules/esbuild": {
398
+ "version": "0.18.20",
399
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
400
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
401
+ "dev": true,
402
+ "hasInstallScript": true,
403
+ "license": "MIT",
404
+ "bin": {
405
+ "esbuild": "bin/esbuild"
406
+ },
407
+ "engines": {
408
+ "node": ">=12"
409
+ },
410
+ "optionalDependencies": {
411
+ "@esbuild/android-arm": "0.18.20",
412
+ "@esbuild/android-arm64": "0.18.20",
413
+ "@esbuild/android-x64": "0.18.20",
414
+ "@esbuild/darwin-arm64": "0.18.20",
415
+ "@esbuild/darwin-x64": "0.18.20",
416
+ "@esbuild/freebsd-arm64": "0.18.20",
417
+ "@esbuild/freebsd-x64": "0.18.20",
418
+ "@esbuild/linux-arm": "0.18.20",
419
+ "@esbuild/linux-arm64": "0.18.20",
420
+ "@esbuild/linux-ia32": "0.18.20",
421
+ "@esbuild/linux-loong64": "0.18.20",
422
+ "@esbuild/linux-mips64el": "0.18.20",
423
+ "@esbuild/linux-ppc64": "0.18.20",
424
+ "@esbuild/linux-riscv64": "0.18.20",
425
+ "@esbuild/linux-s390x": "0.18.20",
426
+ "@esbuild/linux-x64": "0.18.20",
427
+ "@esbuild/netbsd-x64": "0.18.20",
428
+ "@esbuild/openbsd-x64": "0.18.20",
429
+ "@esbuild/sunos-x64": "0.18.20",
430
+ "@esbuild/win32-arm64": "0.18.20",
431
+ "@esbuild/win32-ia32": "0.18.20",
432
+ "@esbuild/win32-x64": "0.18.20"
433
+ }
434
+ },
435
+ "node_modules/fsevents": {
436
+ "version": "2.3.3",
437
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
438
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
439
+ "dev": true,
440
+ "hasInstallScript": true,
441
+ "license": "MIT",
442
+ "optional": true,
443
+ "os": [
444
+ "darwin"
445
+ ],
446
+ "engines": {
447
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
448
+ }
449
+ },
450
+ "node_modules/nanoid": {
451
+ "version": "3.3.11",
452
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
453
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
454
+ "dev": true,
455
+ "funding": [
456
+ {
457
+ "type": "github",
458
+ "url": "https://github.com/sponsors/ai"
459
+ }
460
+ ],
461
+ "license": "MIT",
462
+ "bin": {
463
+ "nanoid": "bin/nanoid.cjs"
464
+ },
465
+ "engines": {
466
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
467
+ }
468
+ },
469
+ "node_modules/picocolors": {
470
+ "version": "1.1.1",
471
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
472
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
473
+ "dev": true,
474
+ "license": "ISC"
475
+ },
476
+ "node_modules/postcss": {
477
+ "version": "8.5.6",
478
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
479
+ "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
480
+ "dev": true,
481
+ "funding": [
482
+ {
483
+ "type": "opencollective",
484
+ "url": "https://opencollective.com/postcss/"
485
+ },
486
+ {
487
+ "type": "tidelift",
488
+ "url": "https://tidelift.com/funding/github/npm/postcss"
489
+ },
490
+ {
491
+ "type": "github",
492
+ "url": "https://github.com/sponsors/ai"
493
+ }
494
+ ],
495
+ "license": "MIT",
496
+ "dependencies": {
497
+ "nanoid": "^3.3.11",
498
+ "picocolors": "^1.1.1",
499
+ "source-map-js": "^1.2.1"
500
+ },
501
+ "engines": {
502
+ "node": "^10 || ^12 || >=14"
503
+ }
504
+ },
505
+ "node_modules/rollup": {
506
+ "version": "3.29.5",
507
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.5.tgz",
508
+ "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==",
509
+ "dev": true,
510
+ "license": "MIT",
511
+ "bin": {
512
+ "rollup": "dist/bin/rollup"
513
+ },
514
+ "engines": {
515
+ "node": ">=14.18.0",
516
+ "npm": ">=8.0.0"
517
+ },
518
+ "optionalDependencies": {
519
+ "fsevents": "~2.3.2"
520
+ }
521
+ },
522
+ "node_modules/source-map-js": {
523
+ "version": "1.2.1",
524
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
525
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
526
+ "dev": true,
527
+ "license": "BSD-3-Clause",
528
+ "engines": {
529
+ "node": ">=0.10.0"
530
+ }
531
+ },
532
+ "node_modules/vite": {
533
+ "version": "4.5.14",
534
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.14.tgz",
535
+ "integrity": "sha512-+v57oAaoYNnO3hIu5Z/tJRZjq5aHM2zDve9YZ8HngVHbhk66RStobhb1sqPMIPEleV6cNKYK4eGrAbE9Ulbl2g==",
536
+ "dev": true,
537
+ "license": "MIT",
538
+ "dependencies": {
539
+ "esbuild": "^0.18.10",
540
+ "postcss": "^8.4.27",
541
+ "rollup": "^3.27.1"
542
+ },
543
+ "bin": {
544
+ "vite": "bin/vite.js"
545
+ },
546
+ "engines": {
547
+ "node": "^14.18.0 || >=16.0.0"
548
+ },
549
+ "funding": {
550
+ "url": "https://github.com/vitejs/vite?sponsor=1"
551
+ },
552
+ "optionalDependencies": {
553
+ "fsevents": "~2.3.2"
554
+ },
555
+ "peerDependencies": {
556
+ "@types/node": ">= 14",
557
+ "less": "*",
558
+ "lightningcss": "^1.21.0",
559
+ "sass": "*",
560
+ "stylus": "*",
561
+ "sugarss": "*",
562
+ "terser": "^5.4.0"
563
+ },
564
+ "peerDependenciesMeta": {
565
+ "@types/node": {
566
+ "optional": true
567
+ },
568
+ "less": {
569
+ "optional": true
570
+ },
571
+ "lightningcss": {
572
+ "optional": true
573
+ },
574
+ "sass": {
575
+ "optional": true
576
+ },
577
+ "stylus": {
578
+ "optional": true
579
+ },
580
+ "sugarss": {
581
+ "optional": true
582
+ },
583
+ "terser": {
584
+ "optional": true
585
+ }
586
+ }
587
+ }
588
+ }
589
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "my-app",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "vite build",
9
+ "preview": "vite preview"
10
+ },
11
+ "dependencies": {
12
+ "@monygroupcorp/microact": "^0.1.1"
13
+ },
14
+ "devDependencies": {
15
+ "vite": "^4.4.5"
16
+ }
17
+ }
@@ -0,0 +1,60 @@
1
+ import { Component } from '@monygroupcorp/microact';
2
+ import Hero from './Hero.js';
3
+ import Card from './Card.js';
4
+ import InteractiveDemo from './InteractiveDemo.js';
5
+
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
+ render() {
19
+ const cardData = [
20
+ {
21
+ title: 'Lightweight',
22
+ description: 'Microact is a fraction of the size of other frameworks, making it ideal for performance-critical applications.',
23
+ },
24
+ {
25
+ title: 'Easy to Learn',
26
+ description: 'If you know React, you already know Microact. The API is designed to be familiar and intuitive.',
27
+ },
28
+ {
29
+ title: 'Component-Based',
30
+ description: 'Build encapsulated components that manage their own state, then compose them to make complex UIs.',
31
+ },
32
+ ];
33
+
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
+ `;
57
+ }
58
+ }
59
+
60
+ export default App;
@@ -0,0 +1,21 @@
1
+ import { Component } from '@monygroupcorp/microact';
2
+
3
+ class Card extends Component {
4
+ constructor(props) {
5
+ super();
6
+ this.props = props;
7
+ }
8
+
9
+ render() {
10
+ const { title, description } = this.props;
11
+
12
+ return `
13
+ <div class="card">
14
+ <h3>${title}</h3>
15
+ <p>${description}</p>
16
+ </div>
17
+ `;
18
+ }
19
+ }
20
+
21
+ export default Card;