@undp/create-app 0.1.1 → 0.2.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 (276) hide show
  1. package/README.md +31 -8
  2. package/bin/generateFiles/generateIndexHtml.js +18 -0
  3. package/bin/generateFiles/generatePackageJson.js +160 -0
  4. package/bin/{generateTemplates/templates/configFiles/staticwebapp.config.json → generateFiles/generateStaticWebAppConfig.js} +4 -1
  5. package/bin/{generateTemplates/templates/configFiles/vite.config.ts.txt → generateFiles/generateViteConfig.js} +14 -12
  6. package/bin/generateFiles/index.js +4 -0
  7. package/bin/index.js +46 -14
  8. package/bin/promptUser.js +60 -37
  9. package/bin/templates/next/withDataViz/auth/README.md +108 -0
  10. package/bin/templates/next/withDataViz/auth/app/about/page.tsx +33 -0
  11. package/bin/templates/next/withDataViz/auth/app/api/auth/[...all]/route.ts +5 -0
  12. package/bin/templates/next/withDataViz/auth/app/favicon.ico +0 -0
  13. package/bin/templates/next/withDataViz/auth/app/globals.css +3 -0
  14. package/bin/templates/next/withDataViz/auth/app/layout.tsx +30 -0
  15. package/bin/templates/next/withDataViz/auth/app/login/page.tsx +45 -0
  16. package/bin/templates/next/withDataViz/auth/app/page.tsx +33 -0
  17. package/bin/templates/next/withDataViz/auth/app/user/page.tsx +86 -0
  18. package/bin/templates/next/withDataViz/auth/components/Footer.tsx +16 -0
  19. package/bin/templates/next/withDataViz/auth/components/Header.tsx +56 -0
  20. package/bin/templates/next/withDataViz/auth/eslint.config.mjs +103 -0
  21. package/bin/templates/next/withDataViz/auth/lib/auth-client.ts +7 -0
  22. package/bin/templates/next/withDataViz/auth/lib/auth.ts +30 -0
  23. package/bin/templates/next/withDataViz/auth/next.config.ts +10 -0
  24. package/bin/templates/next/withDataViz/auth/postcss.config.mjs +7 -0
  25. package/bin/templates/next/withDataViz/auth/public/next.svg +1 -0
  26. package/bin/templates/next/withDataViz/auth/tsconfig.json +34 -0
  27. package/bin/templates/next/withDataViz/basic/.prettierrc +10 -0
  28. package/bin/templates/next/withDataViz/basic/README.md +56 -0
  29. package/bin/templates/next/withDataViz/basic/app/about/page.tsx +33 -0
  30. package/bin/templates/next/withDataViz/basic/app/favicon.ico +0 -0
  31. package/bin/templates/next/withDataViz/basic/app/globals.css +3 -0
  32. package/bin/templates/next/withDataViz/basic/app/layout.tsx +31 -0
  33. package/bin/templates/next/withDataViz/basic/app/page.tsx +33 -0
  34. package/bin/templates/next/withDataViz/basic/components/Footer.tsx +16 -0
  35. package/bin/templates/next/withDataViz/basic/components/Header.tsx +27 -0
  36. package/bin/templates/next/withDataViz/basic/eslint.config.mjs +103 -0
  37. package/bin/templates/next/withDataViz/basic/next.config.ts +7 -0
  38. package/bin/templates/next/withDataViz/basic/postcss.config.mjs +7 -0
  39. package/bin/templates/next/withDataViz/basic/public/next.svg +1 -0
  40. package/bin/templates/next/withDataViz/basic/public/undp-logo-blue.svg +1 -0
  41. package/bin/templates/next/withDataViz/basic/tailwind.config.js +7 -0
  42. package/bin/templates/next/withDataViz/basic/tsconfig.json +34 -0
  43. package/bin/templates/next/withoutDataViz/auth/.prettierrc +10 -0
  44. package/bin/templates/next/withoutDataViz/auth/README.md +107 -0
  45. package/bin/templates/next/withoutDataViz/auth/app/about/page.tsx +33 -0
  46. package/bin/templates/next/withoutDataViz/auth/app/api/auth/[...all]/route.ts +5 -0
  47. package/bin/templates/next/withoutDataViz/auth/app/favicon.ico +0 -0
  48. package/bin/templates/next/withoutDataViz/auth/app/globals.css +3 -0
  49. package/bin/templates/next/withoutDataViz/auth/app/layout.tsx +30 -0
  50. package/bin/templates/next/withoutDataViz/auth/app/login/page.tsx +45 -0
  51. package/bin/templates/next/withoutDataViz/auth/app/page.tsx +33 -0
  52. package/bin/templates/next/withoutDataViz/auth/app/user/page.tsx +86 -0
  53. package/bin/templates/next/withoutDataViz/auth/components/Footer.tsx +16 -0
  54. package/bin/templates/next/withoutDataViz/auth/components/Header.tsx +56 -0
  55. package/bin/templates/next/withoutDataViz/auth/eslint.config.mjs +103 -0
  56. package/bin/templates/next/withoutDataViz/auth/lib/auth-client.ts +7 -0
  57. package/bin/templates/next/withoutDataViz/auth/lib/auth.ts +30 -0
  58. package/bin/templates/next/withoutDataViz/auth/next.config.ts +10 -0
  59. package/bin/templates/next/withoutDataViz/auth/postcss.config.mjs +7 -0
  60. package/bin/templates/next/withoutDataViz/auth/public/next.svg +1 -0
  61. package/bin/templates/next/withoutDataViz/auth/public/undp-logo-blue.svg +1 -0
  62. package/bin/templates/next/withoutDataViz/auth/tailwind.config.js +7 -0
  63. package/bin/templates/next/withoutDataViz/auth/tsconfig.json +34 -0
  64. package/bin/templates/next/withoutDataViz/basic/.prettierrc +10 -0
  65. package/bin/templates/next/withoutDataViz/basic/README.md +55 -0
  66. package/bin/templates/next/withoutDataViz/basic/app/about/page.tsx +33 -0
  67. package/bin/templates/next/withoutDataViz/basic/app/favicon.ico +0 -0
  68. package/bin/templates/next/withoutDataViz/basic/app/globals.css +3 -0
  69. package/bin/templates/next/withoutDataViz/basic/app/layout.tsx +31 -0
  70. package/bin/templates/next/withoutDataViz/basic/app/page.tsx +33 -0
  71. package/bin/templates/next/withoutDataViz/basic/components/Footer.tsx +16 -0
  72. package/bin/templates/next/withoutDataViz/basic/components/Header.tsx +27 -0
  73. package/bin/templates/next/withoutDataViz/basic/eslint.config.mjs +103 -0
  74. package/bin/templates/next/withoutDataViz/basic/next.config.ts +7 -0
  75. package/bin/templates/next/withoutDataViz/basic/postcss.config.mjs +7 -0
  76. package/bin/templates/next/withoutDataViz/basic/public/next.svg +1 -0
  77. package/bin/templates/next/withoutDataViz/basic/public/undp-logo-blue.svg +1 -0
  78. package/bin/templates/next/withoutDataViz/basic/tailwind.config.js +7 -0
  79. package/bin/templates/next/withoutDataViz/basic/tsconfig.json +34 -0
  80. package/bin/templates/vite/withDataViz/basic/.prettierrc +10 -0
  81. package/bin/templates/vite/withDataViz/basic/README.md +76 -0
  82. package/bin/{generateTemplates/generateIndexHtml.js → templates/vite/withDataViz/basic/index.html} +3 -5
  83. package/bin/templates/vite/withDataViz/basic/public/favicon.ico +0 -0
  84. package/bin/templates/vite/withDataViz/basic/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  85. package/bin/templates/vite/withDataViz/basic/public/imgs/Vitejs-logo.svg +15 -0
  86. package/bin/templates/vite/withDataViz/basic/public/imgs/undp-logo-blue.svg +1 -0
  87. package/bin/templates/vite/withDataViz/basic/src/App.tsx +38 -0
  88. package/bin/templates/vite/withDataViz/basic/src/assets/undp-logo-blue.svg +1 -0
  89. package/bin/templates/vite/withDataViz/basic/src/components/Footer.tsx +14 -0
  90. package/bin/{generateTemplates/templates/router/components/Header.txt → templates/vite/withDataViz/basic/src/components/Header.tsx} +8 -12
  91. package/bin/templates/vite/withDataViz/basic/src/styles/style.css +4 -0
  92. package/bin/templates/vite/withDataViz/basic/src/vite-env.d.ts +1 -0
  93. package/bin/templates/vite/withDataViz/basic/tailwind.config.js +7 -0
  94. package/bin/{generateTemplates/templates/configFiles → templates/vite/withDataViz/basic}/tsconfig.json +1 -1
  95. package/bin/{generateTemplates/templates/configFiles/viteWithoutPostCss.config.ts.txt → templates/vite/withDataViz/basic/vite.config.ts} +17 -1
  96. package/bin/templates/vite/withDataViz/query/.prettierrc +10 -0
  97. package/bin/templates/vite/withDataViz/query/README.md +80 -0
  98. package/bin/templates/vite/withDataViz/query/eslint.config.mjs +97 -0
  99. package/bin/templates/vite/withDataViz/query/index.html +13 -0
  100. package/bin/templates/vite/withDataViz/query/public/favicon.ico +0 -0
  101. package/bin/templates/vite/withDataViz/query/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  102. package/bin/templates/vite/withDataViz/query/public/imgs/Vitejs-logo.svg +15 -0
  103. package/bin/templates/vite/withDataViz/query/public/imgs/logo-color-600.png +0 -0
  104. package/bin/templates/vite/withDataViz/query/public/imgs/undp-logo-blue.svg +1 -0
  105. package/bin/templates/vite/withDataViz/query/src/App.tsx +70 -0
  106. package/bin/templates/vite/withDataViz/query/src/assets/undp-logo-blue.svg +1 -0
  107. package/bin/templates/vite/withDataViz/query/src/components/Footer.tsx +14 -0
  108. package/bin/templates/vite/withDataViz/query/src/components/Header.tsx +25 -0
  109. package/bin/templates/vite/withDataViz/query/src/integration/tanstack-query.tsx +27 -0
  110. package/bin/templates/vite/withDataViz/query/src/main.tsx +21 -0
  111. package/bin/templates/vite/withDataViz/query/src/styles/fonts.css +213 -0
  112. package/bin/templates/vite/withDataViz/query/src/styles/style.css +4 -0
  113. package/bin/templates/vite/withDataViz/query/src/vite-env.d.ts +1 -0
  114. package/bin/templates/vite/withDataViz/query/tailwind.config.js +7 -0
  115. package/bin/templates/vite/withDataViz/query/tsconfig.json +29 -0
  116. package/bin/templates/vite/withDataViz/query/tsconfig.node.json +9 -0
  117. package/bin/templates/vite/withDataViz/query/vite.config.ts +75 -0
  118. package/bin/templates/vite/withDataViz/query+router/.prettierrc +10 -0
  119. package/bin/templates/vite/withDataViz/query+router/README.md +112 -0
  120. package/bin/templates/vite/withDataViz/query+router/eslint.config.mjs +97 -0
  121. package/bin/templates/vite/withDataViz/query+router/index.html +13 -0
  122. package/bin/templates/vite/withDataViz/query+router/public/favicon.ico +0 -0
  123. package/bin/templates/vite/withDataViz/query+router/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  124. package/bin/templates/vite/withDataViz/query+router/public/imgs/Vitejs-logo.svg +15 -0
  125. package/bin/templates/vite/withDataViz/query+router/public/imgs/logo-color-600.png +0 -0
  126. package/bin/templates/vite/withDataViz/query+router/public/imgs/undp-logo-blue.svg +1 -0
  127. package/bin/templates/vite/withDataViz/query+router/src/App.tsx +42 -0
  128. package/bin/templates/vite/withDataViz/query+router/src/assets/undp-logo-blue.svg +1 -0
  129. package/bin/templates/vite/withDataViz/query+router/src/components/Footer.tsx +14 -0
  130. package/bin/{generateTemplates/templates/router+query/components/Header.txt → templates/vite/withDataViz/query+router/src/components/Header.tsx} +8 -12
  131. package/bin/{generateTemplates/templates/router+query/integration/tanstack-query.txt → templates/vite/withDataViz/query+router/src/integration/tanstack-query.tsx} +5 -5
  132. package/bin/{generateTemplates/templates/router+query/main.txt → templates/vite/withDataViz/query+router/src/main.tsx} +15 -11
  133. package/bin/templates/vite/withDataViz/query+router/src/routes/queryDemo.tsx +73 -0
  134. package/bin/templates/vite/withDataViz/query+router/src/styles/fonts.css +213 -0
  135. package/bin/templates/vite/withDataViz/query+router/src/styles/style.css +4 -0
  136. package/bin/templates/vite/withDataViz/query+router/src/vite-env.d.ts +1 -0
  137. package/bin/templates/vite/withDataViz/query+router/tailwind.config.js +7 -0
  138. package/bin/templates/vite/withDataViz/query+router/tsconfig.json +29 -0
  139. package/bin/templates/vite/withDataViz/query+router/tsconfig.node.json +9 -0
  140. package/bin/templates/vite/withDataViz/query+router/vite.config.ts +75 -0
  141. package/bin/templates/vite/withDataViz/router/.prettierrc +10 -0
  142. package/bin/templates/vite/withDataViz/router/README.md +107 -0
  143. package/bin/templates/vite/withDataViz/router/eslint.config.mjs +97 -0
  144. package/bin/templates/vite/withDataViz/router/index.html +13 -0
  145. package/bin/templates/vite/withDataViz/router/public/favicon.ico +0 -0
  146. package/bin/templates/vite/withDataViz/router/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  147. package/bin/templates/vite/withDataViz/router/public/imgs/Vitejs-logo.svg +15 -0
  148. package/bin/templates/vite/withDataViz/router/public/imgs/logo-color-600.png +0 -0
  149. package/bin/templates/vite/withDataViz/router/public/imgs/undp-logo-blue.svg +1 -0
  150. package/bin/templates/vite/withDataViz/router/src/App.tsx +51 -0
  151. package/bin/templates/vite/withDataViz/router/src/assets/undp-logo-blue.svg +1 -0
  152. package/bin/templates/vite/withDataViz/router/src/components/Footer.tsx +14 -0
  153. package/bin/templates/vite/withDataViz/router/src/components/Header.tsx +25 -0
  154. package/bin/{generateTemplates/templates/router/main.txt → templates/vite/withDataViz/router/src/main.tsx} +18 -12
  155. package/bin/templates/vite/withDataViz/router/src/routes/about.tsx +73 -0
  156. package/bin/templates/vite/withDataViz/router/src/styles/fonts.css +213 -0
  157. package/bin/templates/vite/withDataViz/router/src/styles/style.css +4 -0
  158. package/bin/templates/vite/withDataViz/router/src/vite-env.d.ts +1 -0
  159. package/bin/templates/vite/withDataViz/router/tailwind.config.js +7 -0
  160. package/bin/templates/vite/withDataViz/router/tsconfig.json +29 -0
  161. package/bin/templates/vite/withDataViz/router/tsconfig.node.json +9 -0
  162. package/bin/templates/vite/withDataViz/router/vite.config.ts +75 -0
  163. package/bin/templates/vite/withoutDataViz/basic/.prettierrc +10 -0
  164. package/bin/templates/vite/withoutDataViz/basic/README.md +75 -0
  165. package/bin/templates/vite/withoutDataViz/basic/eslint.config.mjs +97 -0
  166. package/bin/templates/vite/withoutDataViz/basic/index.html +13 -0
  167. package/bin/templates/vite/withoutDataViz/basic/public/favicon.ico +0 -0
  168. package/bin/templates/vite/withoutDataViz/basic/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  169. package/bin/templates/vite/withoutDataViz/basic/public/imgs/Vitejs-logo.svg +15 -0
  170. package/bin/templates/vite/withoutDataViz/basic/public/imgs/undp-logo-blue.svg +1 -0
  171. package/bin/templates/vite/withoutDataViz/basic/src/App.tsx +38 -0
  172. package/bin/templates/vite/withoutDataViz/basic/src/assets/undp-logo-blue.svg +1 -0
  173. package/bin/templates/vite/withoutDataViz/basic/src/components/Footer.tsx +14 -0
  174. package/bin/templates/vite/withoutDataViz/basic/src/components/Header.tsx +25 -0
  175. package/bin/templates/vite/withoutDataViz/basic/src/main.tsx +10 -0
  176. package/bin/templates/vite/withoutDataViz/basic/src/styles/fonts.css +213 -0
  177. package/bin/templates/vite/withoutDataViz/basic/src/styles/style.css +3 -0
  178. package/bin/templates/vite/withoutDataViz/basic/src/vite-env.d.ts +1 -0
  179. package/bin/templates/vite/withoutDataViz/basic/tailwind.config.js +7 -0
  180. package/bin/templates/vite/withoutDataViz/basic/tsconfig.json +29 -0
  181. package/bin/templates/vite/withoutDataViz/basic/tsconfig.node.json +9 -0
  182. package/bin/templates/vite/withoutDataViz/basic/vite.config.ts +75 -0
  183. package/bin/templates/vite/withoutDataViz/query/.prettierrc +10 -0
  184. package/bin/templates/vite/withoutDataViz/query/README.md +80 -0
  185. package/bin/templates/vite/withoutDataViz/query/eslint.config.mjs +97 -0
  186. package/bin/templates/vite/withoutDataViz/query/index.html +13 -0
  187. package/bin/templates/vite/withoutDataViz/query/public/favicon.ico +0 -0
  188. package/bin/templates/vite/withoutDataViz/query/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  189. package/bin/templates/vite/withoutDataViz/query/public/imgs/Vitejs-logo.svg +15 -0
  190. package/bin/templates/vite/withoutDataViz/query/public/imgs/logo-color-600.png +0 -0
  191. package/bin/templates/vite/withoutDataViz/query/public/imgs/undp-logo-blue.svg +1 -0
  192. package/bin/templates/vite/withoutDataViz/query/src/App.tsx +70 -0
  193. package/bin/templates/vite/withoutDataViz/query/src/assets/undp-logo-blue.svg +1 -0
  194. package/bin/templates/vite/withoutDataViz/query/src/components/Footer.tsx +14 -0
  195. package/bin/templates/vite/withoutDataViz/query/src/components/Header.tsx +25 -0
  196. package/bin/templates/vite/withoutDataViz/query/src/integration/tanstack-query.tsx +27 -0
  197. package/bin/templates/vite/withoutDataViz/query/src/main.tsx +21 -0
  198. package/bin/templates/vite/withoutDataViz/query/src/styles/fonts.css +213 -0
  199. package/bin/templates/vite/withoutDataViz/query/src/styles/style.css +3 -0
  200. package/bin/templates/vite/withoutDataViz/query/src/vite-env.d.ts +1 -0
  201. package/bin/templates/vite/withoutDataViz/query/tailwind.config.js +7 -0
  202. package/bin/templates/vite/withoutDataViz/query/tsconfig.json +29 -0
  203. package/bin/templates/vite/withoutDataViz/query/tsconfig.node.json +9 -0
  204. package/bin/templates/vite/withoutDataViz/query/vite.config.ts +75 -0
  205. package/bin/templates/vite/withoutDataViz/query+router/.prettierrc +10 -0
  206. package/bin/templates/vite/withoutDataViz/query+router/README.md +111 -0
  207. package/bin/templates/vite/withoutDataViz/query+router/eslint.config.mjs +97 -0
  208. package/bin/templates/vite/withoutDataViz/query+router/index.html +13 -0
  209. package/bin/templates/vite/withoutDataViz/query+router/public/favicon.ico +0 -0
  210. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  211. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/Vitejs-logo.svg +15 -0
  212. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/logo-color-600.png +0 -0
  213. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/undp-logo-blue.svg +1 -0
  214. package/bin/templates/vite/withoutDataViz/query+router/src/App.tsx +42 -0
  215. package/bin/templates/vite/withoutDataViz/query+router/src/assets/undp-logo-blue.svg +1 -0
  216. package/bin/templates/vite/withoutDataViz/query+router/src/components/Footer.tsx +14 -0
  217. package/bin/templates/vite/withoutDataViz/query+router/src/components/Header.tsx +25 -0
  218. package/bin/templates/vite/withoutDataViz/query+router/src/integration/tanstack-query.tsx +27 -0
  219. package/bin/templates/vite/withoutDataViz/query+router/src/main.tsx +73 -0
  220. package/bin/templates/vite/withoutDataViz/query+router/src/routes/queryDemo.tsx +73 -0
  221. package/bin/templates/vite/withoutDataViz/query+router/src/styles/fonts.css +213 -0
  222. package/bin/templates/vite/withoutDataViz/query+router/src/styles/style.css +3 -0
  223. package/bin/templates/vite/withoutDataViz/query+router/src/vite-env.d.ts +1 -0
  224. package/bin/templates/vite/withoutDataViz/query+router/tailwind.config.js +7 -0
  225. package/bin/templates/vite/withoutDataViz/query+router/tsconfig.json +29 -0
  226. package/bin/templates/vite/withoutDataViz/query+router/tsconfig.node.json +9 -0
  227. package/bin/templates/vite/withoutDataViz/query+router/vite.config.ts +75 -0
  228. package/bin/templates/vite/withoutDataViz/router/.prettierrc +10 -0
  229. package/bin/templates/vite/withoutDataViz/router/README.md +106 -0
  230. package/bin/templates/vite/withoutDataViz/router/eslint.config.mjs +97 -0
  231. package/bin/templates/vite/withoutDataViz/router/index.html +13 -0
  232. package/bin/templates/vite/withoutDataViz/router/public/favicon.ico +0 -0
  233. package/bin/templates/vite/withoutDataViz/router/public/imgs/Tailwind_CSS_Logo.svg +1 -0
  234. package/bin/templates/vite/withoutDataViz/router/public/imgs/Vitejs-logo.svg +15 -0
  235. package/bin/templates/vite/withoutDataViz/router/public/imgs/logo-color-600.png +0 -0
  236. package/bin/templates/vite/withoutDataViz/router/public/imgs/undp-logo-blue.svg +1 -0
  237. package/bin/templates/vite/withoutDataViz/router/src/App.tsx +51 -0
  238. package/bin/templates/vite/withoutDataViz/router/src/assets/undp-logo-blue.svg +1 -0
  239. package/bin/templates/vite/withoutDataViz/router/src/components/Footer.tsx +14 -0
  240. package/bin/templates/vite/withoutDataViz/router/src/components/Header.tsx +25 -0
  241. package/bin/templates/vite/withoutDataViz/router/src/main.tsx +66 -0
  242. package/bin/templates/vite/withoutDataViz/router/src/routes/about.tsx +73 -0
  243. package/bin/templates/vite/withoutDataViz/router/src/styles/fonts.css +213 -0
  244. package/bin/templates/vite/withoutDataViz/router/src/styles/style.css +4 -0
  245. package/bin/templates/vite/withoutDataViz/router/src/vite-env.d.ts +1 -0
  246. package/bin/templates/vite/withoutDataViz/router/tailwind.config.js +7 -0
  247. package/bin/templates/vite/withoutDataViz/router/tsconfig.json +29 -0
  248. package/bin/templates/vite/withoutDataViz/router/tsconfig.node.json +9 -0
  249. package/bin/templates/vite/withoutDataViz/router/vite.config.ts +75 -0
  250. package/bin/utils/printSuccess.js +0 -9
  251. package/package.json +6 -2
  252. package/bin/generateFiles.js +0 -65
  253. package/bin/generateTemplates/copyTemplate.js +0 -18
  254. package/bin/generateTemplates/generatePackageJson.js +0 -105
  255. package/bin/generateTemplates/generateReadme.js +0 -143
  256. package/bin/generateTemplates/generateStyleCss.js +0 -6
  257. package/bin/generateTemplates/index.js +0 -6
  258. package/bin/generateTemplates/templates/basic/App.txt +0 -32
  259. package/bin/generateTemplates/templates/basic/AppWithContainer.txt +0 -32
  260. package/bin/generateTemplates/templates/configFiles/vite-env.txt +0 -1
  261. package/bin/generateTemplates/templates/query/App.txt +0 -57
  262. package/bin/generateTemplates/templates/query/AppWithContainer.txt +0 -67
  263. package/bin/generateTemplates/templates/query/main.txt +0 -29
  264. package/bin/generateTemplates/templates/router/App.txt +0 -30
  265. package/bin/generateTemplates/templates/router/components/Footer.txt +0 -20
  266. package/bin/generateTemplates/templates/router/routes/About.txt +0 -28
  267. package/bin/generateTemplates/templates/router+query/App.txt +0 -30
  268. package/bin/generateTemplates/templates/router+query/components/Footer.txt +0 -20
  269. package/bin/generateTemplates/templates/router+query/routes/queryDemo.txt +0 -56
  270. /package/bin/{generateTemplates/templates/configFiles → templates/next/withDataViz/auth}/.prettierrc +0 -0
  271. /package/bin/{generateTemplates/templates/configFiles/icon.txt → templates/next/withDataViz/auth/public/undp-logo-blue.svg} +0 -0
  272. /package/bin/{generateTemplates/templates/configFiles → templates/next/withDataViz/auth}/tailwind.config.js +0 -0
  273. /package/bin/{generateTemplates/templates/configFiles → templates/vite/withDataViz/basic}/eslint.config.mjs +0 -0
  274. /package/bin/{generateTemplates/templates/basic/main.txt → templates/vite/withDataViz/basic/src/main.tsx} +0 -0
  275. /package/bin/{generateTemplates/templates/css → templates/vite/withDataViz/basic/src/styles}/fonts.css +0 -0
  276. /package/bin/{generateTemplates/templates/configFiles → templates/vite/withDataViz/basic}/tsconfig.node.json +0 -0
@@ -0,0 +1 @@
1
+ <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60.8"><style>.st0{fill:#0468b1}.st1{fill:#fff}</style><path class="st0" d="M0 30.9h14.5v14.5H0z"/><path class="st1" d="M3.7 33.2v5.7c0 3 1.5 4.1 3.5 4.1 2.1 0 3.6-1.2 3.6-4.2v-5.7H9.6v5.8c0 2.1-1 3.1-2.4 3.1-1.3 0-2.3-.9-2.3-3.1v-5.7H3.7z"/><path class="st0" d="M15.4 30.9h14.5v14.5H15.4z"/><path class="st1" d="M20.2 43v-4.1c0-1.6 0-2.8-.1-4 .5 1.1 1.1 2.2 1.8 3.2L25 43h1.3v-9.6h-1.1v4.1c0 1.5 0 2.7.2 4-.4-1-1-2-1.7-3.2l-3.1-4.9h-1.4v9.7l1-.1z"/><path class="st0" d="M15.4 46.3h14.5v14.5H15.4z"/><path class="st1" d="M25.1 49.4c-.6-.5-1.5-.8-2.8-.8-1 0-1.8.1-2.4.2v9.6h1.2v-3.9c.3.1.6.1 1 .1 1.2 0 2.3-.4 2.9-1.1.5-.5.8-1.2.8-2.1.2-.8-.1-1.5-.7-2"/><path class="st0" d="M22.3 53.6c-.4 0-.8 0-1.1-.1v-3.7c.2 0 .6-.1 1.2-.1 1.4 0 2.3.6 2.3 1.9 0 1.3-.9 2-2.4 2M0 46.3h14.5v14.5H0z"/><path class="st1" d="M10.2 49.8c-.8-.8-2.1-1.2-3.9-1.2-1 0-1.9.1-2.7.2v9.6c.6.1 1.4.1 2.3.1 1.9 0 3.4-.5 4.3-1.4.9-.9 1.4-2.2 1.4-3.7 0-1.7-.5-2.8-1.4-3.6"/><path class="st0" d="M6.2 57.4c-.5 0-1 0-1.3-.1v-7.6c.3-.1.8-.2 1.5-.2 2.7 0 3.9 1.4 3.9 3.7 0 2.7-1.5 4.3-4.1 4.2M0 0h30v30H0z"/><path class="st1" d="M25.7 15.6c-.4.6-1 1.1-1.3 1.8 0-.5.1-1.1-.1-1.5-.3-1-.6-1.9-.7-3.1v-.4c.2 1.1 1.3 1.9 1.2 3.1 0 .3-.1.6-.2.8v-.1c.2-.6.2-1.2.5-1.8.4-.8.8-1.6.6-2.6.8 1.2.6 2.7 0 3.8"/><path class="st1" d="M25.1 9.4c.7 1 .9 2.5.3 3.6-.2.5-.3 1-.4 1.5 0-.1 0-.2-.1-.3-.2-1.1-1.3-1.9-1.7-2.8-.2-.3-.2-.6-.3-1.1.4.8 1.5 1.2 1.9 2.2.2.2.1.5.2.8-.2-1-.1-1.9 0-2.8 0-.5-.1-1-.3-1.4.1-.1.2.1.4.3"/><path class="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.3.2-.5.2-.3 0-.6.1-.9-.2m3.4.7c.1 0 .2.1.2.2s.1.2 0 .2c-.2.1-.2-.2-.4-.2v-.1c.1-.2.1 0 .2-.1"/></svg>
@@ -0,0 +1,51 @@
1
+ import { createRoute } from '@tanstack/react-router';
2
+ import type { AnyRootRoute } from '@tanstack/react-router';
3
+ import { H6, P } from '@undp/design-system-react/Typography';
4
+
5
+ export function About() {
6
+ return (
7
+ <>
8
+ <div className='flex gap-4 items-center justify-center my-8 mx-auto'>
9
+ <img
10
+ src='./imgs/Vitejs-logo.svg'
11
+ alt='vite logo'
12
+ width='72px'
13
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
14
+ />
15
+ <P marginBottom='none'>&</P>
16
+ <img
17
+ src='./imgs/Tailwind_CSS_Logo.svg'
18
+ alt='tailwind logo'
19
+ width='72px'
20
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
21
+ />
22
+ <P marginBottom='none'>&</P>
23
+ <img
24
+ src='./imgs/logo-color-600.png'
25
+ alt='tanstack logo'
26
+ width='72px'
27
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
28
+ />
29
+ <P marginBottom='none'>&</P>
30
+ <img
31
+ src='./imgs/undp-logo-blue.svg'
32
+ alt='UNDP logo'
33
+ width='72px'
34
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
35
+ />
36
+ </div>
37
+ <H6 marginBottom='xl' className='text-center'>
38
+ This is the about page.
39
+ </H6>
40
+ </>
41
+ );
42
+ }
43
+ export default function createTanStackQueryAboutRoute(
44
+ parentRoute: AnyRootRoute,
45
+ ) {
46
+ return createRoute({
47
+ path: '/about',
48
+ component: About,
49
+ getParentRoute: () => parentRoute,
50
+ });
51
+ }
@@ -0,0 +1 @@
1
+ <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60.8"><style>.st0{fill:#0468b1}.st1{fill:#fff}</style><path class="st0" d="M0 30.9h14.5v14.5H0z"/><path class="st1" d="M3.7 33.2v5.7c0 3 1.5 4.1 3.5 4.1 2.1 0 3.6-1.2 3.6-4.2v-5.7H9.6v5.8c0 2.1-1 3.1-2.4 3.1-1.3 0-2.3-.9-2.3-3.1v-5.7H3.7z"/><path class="st0" d="M15.4 30.9h14.5v14.5H15.4z"/><path class="st1" d="M20.2 43v-4.1c0-1.6 0-2.8-.1-4 .5 1.1 1.1 2.2 1.8 3.2L25 43h1.3v-9.6h-1.1v4.1c0 1.5 0 2.7.2 4-.4-1-1-2-1.7-3.2l-3.1-4.9h-1.4v9.7l1-.1z"/><path class="st0" d="M15.4 46.3h14.5v14.5H15.4z"/><path class="st1" d="M25.1 49.4c-.6-.5-1.5-.8-2.8-.8-1 0-1.8.1-2.4.2v9.6h1.2v-3.9c.3.1.6.1 1 .1 1.2 0 2.3-.4 2.9-1.1.5-.5.8-1.2.8-2.1.2-.8-.1-1.5-.7-2"/><path class="st0" d="M22.3 53.6c-.4 0-.8 0-1.1-.1v-3.7c.2 0 .6-.1 1.2-.1 1.4 0 2.3.6 2.3 1.9 0 1.3-.9 2-2.4 2M0 46.3h14.5v14.5H0z"/><path class="st1" d="M10.2 49.8c-.8-.8-2.1-1.2-3.9-1.2-1 0-1.9.1-2.7.2v9.6c.6.1 1.4.1 2.3.1 1.9 0 3.4-.5 4.3-1.4.9-.9 1.4-2.2 1.4-3.7 0-1.7-.5-2.8-1.4-3.6"/><path class="st0" d="M6.2 57.4c-.5 0-1 0-1.3-.1v-7.6c.3-.1.8-.2 1.5-.2 2.7 0 3.9 1.4 3.9 3.7 0 2.7-1.5 4.3-4.1 4.2M0 0h30v30H0z"/><path class="st1" d="M25.7 15.6c-.4.6-1 1.1-1.3 1.8 0-.5.1-1.1-.1-1.5-.3-1-.6-1.9-.7-3.1v-.4c.2 1.1 1.3 1.9 1.2 3.1 0 .3-.1.6-.2.8v-.1c.2-.6.2-1.2.5-1.8.4-.8.8-1.6.6-2.6.8 1.2.6 2.7 0 3.8"/><path class="st1" d="M25.1 9.4c.7 1 .9 2.5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1.2.2.2.3.2.4.5.6.6.2.3.5.6.5.9.3.8.6 1.5.6 2.5h1.2c-.1-.1 0-.2-.1-.4-.2-1.8-.9-3.3-2.1-4.6-.2.3-.5.6-.9.8z"/><path class="st1" d="M15.3 7.1c0-.1.2 0 .2 0l.6-.2c.2 0 .5 0 .6.2-.2.2-.3.2-.5.2-.3 0-.6.1-.9-.2m3.4.7c.1 0 .2.1.2.2s.1.2 0 .2c-.2.1-.2-.2-.4-.2v-.1c.1-.2.1 0 .2-.1"/></svg>
@@ -0,0 +1,14 @@
1
+ import {
2
+ Footer,
3
+ FooterLogoUnit,
4
+ FooterCopyrightUnit,
5
+ } from '@undp/design-system-react/Footer';
6
+
7
+ export default function FooterEl() {
8
+ return (
9
+ <Footer>
10
+ <FooterLogoUnit>subscribe to email</FooterLogoUnit>
11
+ <FooterCopyrightUnit>Footnote can be added here</FooterCopyrightUnit>
12
+ </Footer>
13
+ );
14
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ Header,
3
+ HeaderLogoUnit,
4
+ HeaderMainNavUnit,
5
+ HeaderMenuUnit,
6
+ } from '@undp/design-system-react/Header';
7
+ import { Link } from '@tanstack/react-router';
8
+
9
+ export default function HeaderEl() {
10
+ return (
11
+ <Header>
12
+ <HeaderLogoUnit
13
+ hyperlink='./'
14
+ siteName='Site name'
15
+ siteSubName='Sub-site name'
16
+ />
17
+ <HeaderMainNavUnit>
18
+ <HeaderMenuUnit>
19
+ <Link to='/'>Home</Link>
20
+ <Link to='/about'>About</Link>
21
+ </HeaderMenuUnit>
22
+ </HeaderMainNavUnit>
23
+ </Header>
24
+ );
25
+ }
@@ -0,0 +1,66 @@
1
+ import { StrictMode } from 'react';
2
+ import ReactDOM from 'react-dom/client';
3
+ import {
4
+ Outlet,
5
+ RouterProvider,
6
+ createRootRoute,
7
+ createRoute,
8
+ createRouter,
9
+ } from '@tanstack/react-router';
10
+
11
+ import HeaderEl from './components/Header';
12
+ import FooterEl from './components/Footer';
13
+ import App from './App';
14
+ import createTanStackQueryAboutRoute from './routes/about';
15
+
16
+ import './styles/fonts.css';
17
+ import './styles/style.css';
18
+
19
+ const rootRoute = createRootRoute({
20
+ component: () => (
21
+ <div className='flex flex-col gap-0 min-h-screen'>
22
+ <HeaderEl />
23
+ <main className='grow-1 flex flex-col justify-center'>
24
+ <div className='flex flex-col justify-center'>
25
+ <Outlet />
26
+ </div>
27
+ </main>
28
+ <FooterEl />
29
+ </div>
30
+ ),
31
+ });
32
+
33
+ const indexRoute = createRoute({
34
+ getParentRoute: () => rootRoute,
35
+ path: '/',
36
+ component: App,
37
+ });
38
+
39
+ const routeTree = rootRoute.addChildren([
40
+ indexRoute,
41
+ createTanStackQueryAboutRoute(rootRoute),
42
+ ]);
43
+
44
+ const router = createRouter({
45
+ routeTree,
46
+ defaultPreload: 'intent',
47
+ scrollRestoration: true,
48
+ defaultStructuralSharing: true,
49
+ defaultPreloadStaleTime: 0,
50
+ });
51
+
52
+ declare module '@tanstack/react-router' {
53
+ interface Register {
54
+ router: typeof router;
55
+ }
56
+ }
57
+
58
+ const rootElement = document.getElementById('root');
59
+ if (rootElement && !rootElement.innerHTML) {
60
+ const root = ReactDOM.createRoot(rootElement);
61
+ root.render(
62
+ <StrictMode>
63
+ <RouterProvider router={router} />
64
+ </StrictMode>,
65
+ );
66
+ }
@@ -0,0 +1,73 @@
1
+ import { createRoute } from '@tanstack/react-router';
2
+ import { useQuery } from '@tanstack/react-query';
3
+ import type { AnyRootRoute } from '@tanstack/react-router';
4
+ import { Spinner } from '@undp/design-system-react/Spinner';
5
+ import { H6, P } from '@undp/design-system-react/Typography';
6
+
7
+ function useTodoData() {
8
+ return useQuery({
9
+ queryKey: ['todos'],
10
+ queryFn: () =>
11
+ Promise.resolve([
12
+ { id: 1, name: 'Alice' },
13
+ { id: 2, name: 'Bob' },
14
+ { id: 3, name: 'Charlie' },
15
+ ]),
16
+ });
17
+ }
18
+
19
+ export function TanStackQueryDemo() {
20
+ const { data, isLoading, isError } = useTodoData();
21
+
22
+ if (isLoading) return <Spinner size='lg' className='my-20 m-auto' />;
23
+
24
+ if (isError) return <>Error</>;
25
+ return (
26
+ <>
27
+ <div className='flex gap-4 items-center justify-center my-8 mx-auto'>
28
+ <img
29
+ src='./imgs/Vitejs-logo.svg'
30
+ alt='vite logo'
31
+ width='72px'
32
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
33
+ />
34
+ <P marginBottom='none'>&</P>
35
+ <img
36
+ src='./imgs/Tailwind_CSS_Logo.svg'
37
+ alt='tailwind logo'
38
+ width='72px'
39
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
40
+ />
41
+ <P marginBottom='none'>&</P>
42
+ <img
43
+ src='./imgs/logo-color-600.png'
44
+ alt='tanstack logo'
45
+ width='72px'
46
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
47
+ />
48
+ <P marginBottom='none'>&</P>
49
+ <img
50
+ src='./imgs/undp-logo-blue.svg'
51
+ alt='UNDP logo'
52
+ width='72px'
53
+ style={{ marginLeft: 'auto', marginRight: 'auto' }}
54
+ />
55
+ </div>
56
+ <H6 marginBottom='xl' className='text-center'>
57
+ Data loaded successfully
58
+ <br />
59
+ <br />
60
+ {data?.length} elements in the query
61
+ </H6>
62
+ </>
63
+ );
64
+ }
65
+ export default function createTanStackQueryDemoRoute(
66
+ parentRoute: AnyRootRoute,
67
+ ) {
68
+ return createRoute({
69
+ path: '/query-demo',
70
+ component: TanStackQueryDemo,
71
+ getParentRoute: () => parentRoute,
72
+ });
73
+ }
@@ -0,0 +1,213 @@
1
+ @font-face {
2
+ font-display: swap;
3
+ font-family: 'ProximaNova';
4
+ font-style: normal;
5
+ font-weight: 100;
6
+ src: url('./fonts/proximanova-thin-webfont.woff2') format('woff2');
7
+ }
8
+
9
+ @font-face {
10
+ font-display: swap;
11
+ font-family: 'ProximaNova';
12
+ font-style: italic;
13
+ font-weight: 100;
14
+ src: url('./fonts/proximanova-thinit-webfont.woff2') format('woff2');
15
+ }
16
+
17
+ @font-face {
18
+ font-display: swap;
19
+ font-family: 'ProximaNova';
20
+ font-style: normal;
21
+ font-weight: 200;
22
+ src: url('./fonts/proximanova-light-webfont.woff2') format('woff2');
23
+ }
24
+
25
+ @font-face {
26
+ font-display: swap;
27
+ font-family: 'ProximaNova';
28
+ font-style: italic;
29
+ font-weight: 200 300;
30
+ src: url('./fonts/proximanova-lightit-webfont.woff2') format('woff2');
31
+ }
32
+
33
+ @font-face {
34
+ font-display: swap;
35
+ font-family: 'ProximaNova';
36
+ font-style: normal;
37
+ font-weight: 400;
38
+ src: url('./fonts/proximanova-regular-webfont.woff2') format('woff2');
39
+ }
40
+
41
+ @font-face {
42
+ font-display: swap;
43
+ font-family: 'ProximaNova';
44
+ font-style: italic;
45
+ font-weight: 400;
46
+ src: url('./fonts/proximanova-regularit-webfont.woff2') format('woff2');
47
+ }
48
+
49
+ @font-face {
50
+ font-display: swap;
51
+ font-family: 'ProximaNova';
52
+ font-style: normal;
53
+ font-weight: 500;
54
+ src: url('./fonts/proximanova-medium-webfont.woff2') format('woff2');
55
+ }
56
+
57
+ @font-face {
58
+ font-display: swap;
59
+ font-family: 'ProximaNova';
60
+ font-style: italic;
61
+ font-weight: 500;
62
+ src: url('./fonts/proximanova-mediumit-webfont.woff2') format('woff2');
63
+ }
64
+
65
+ @font-face {
66
+ font-display: swap;
67
+ font-family: 'ProximaNova';
68
+ font-style: normal;
69
+ font-weight: 600;
70
+ src: url('./fonts/proximanova-semibold-webfont-2.woff2') format('woff2');
71
+ }
72
+
73
+ @font-face {
74
+ font-display: swap;
75
+ font-family: 'ProximaNova';
76
+ font-style: italic;
77
+ font-weight: 600;
78
+ src: url('./fonts/proximanova-semiboldit-webfont-2.woff2') format('woff2');
79
+ }
80
+
81
+ @font-face {
82
+ font-display: swap;
83
+ font-family: 'ProximaNova';
84
+ font-style: normal;
85
+ font-weight: 700;
86
+ src: url('./fonts/proximanova-bold-webfont.woff2') format('woff2');
87
+ }
88
+
89
+ @font-face {
90
+ font-display: swap;
91
+ font-family: 'ProximaNova';
92
+ font-style: italic;
93
+ font-weight: 700;
94
+ src: url('./fonts/proximanova-boldit-webfont.woff2') format('woff2');
95
+ }
96
+
97
+ @font-face {
98
+ font-display: swap;
99
+ font-family: 'ProximaNova';
100
+ font-style: normal;
101
+ font-weight: 800;
102
+ src: url('./fonts/proximanova-extrabold-webfont.woff2') format('woff2');
103
+ }
104
+
105
+ @font-face {
106
+ font-display: swap;
107
+ font-family: 'ProximaNova';
108
+ font-style: italic;
109
+ font-weight: 800;
110
+ src: url('./fonts/proximanova-extraboldit-webfont.woff2') format('woff2');
111
+ }
112
+
113
+ @font-face {
114
+ font-display: swap;
115
+ font-family: 'ProximaNova';
116
+ font-style: normal;
117
+ font-weight: 900;
118
+ src: url('./fonts/proximanova-black-webfont.woff2') format('woff2');
119
+ }
120
+
121
+ @font-face {
122
+ font-display: swap;
123
+ font-family: 'ProximaNova';
124
+ font-style: italic;
125
+ font-weight: 900;
126
+ src: url('./fonts/proximanova-blackit-webfont.woff2') format('woff2');
127
+ }
128
+
129
+ /* SohneBreit */
130
+ @font-face {
131
+ font-display: swap;
132
+ font-family: 'SohneBreit';
133
+ font-style: normal;
134
+ font-weight: 100 700;
135
+ src: url('./fonts/soehne-breit-web-dreiviertelfett.woff2') format('woff2');
136
+ unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+2070-209F;
137
+ }
138
+
139
+ @font-face {
140
+ font-display: swap;
141
+ font-family: 'SohneBreit';
142
+ font-style: italic;
143
+ font-weight: 100 700;
144
+ src: url('./fonts/soehne-breit-web-dreiviertelfett-kursiv.woff2')
145
+ format('woff2');
146
+ unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+2070-209F;
147
+ }
148
+
149
+ @font-face {
150
+ font-display: swap;
151
+ font-family: 'SohneBreit';
152
+ font-style: normal;
153
+ font-weight: 800 900;
154
+ src: url('./fonts/soehne-breit-web-fett.woff2') format('woff2');
155
+ unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+2070-209F;
156
+ }
157
+
158
+ @font-face {
159
+ font-display: swap;
160
+ font-family: 'SohneBreit';
161
+ font-style: italic;
162
+ font-weight: 800 900;
163
+ src: url('./fonts/soehne-breit-web-fett-kursiv.woff2') format('woff2');
164
+ unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-20CF;
165
+ }
166
+
167
+ @font-face {
168
+ font-display: swap;
169
+ font-family: 'UNBangla';
170
+ font-style: normal;
171
+ font-weight: 100 300;
172
+ src: url('./fonts/UNBangla-Thin.woff2') format('woff2');
173
+ }
174
+
175
+ @font-face {
176
+ font-display: swap;
177
+ font-family: 'UNBangla';
178
+ font-style: italic;
179
+ font-weight: 100 300;
180
+ src: url('./fonts/UNBangla-ThinItalic.woff2') format('woff2');
181
+ }
182
+
183
+ @font-face {
184
+ font-display: swap;
185
+ font-family: 'UNBangla';
186
+ font-style: normal;
187
+ font-weight: 400;
188
+ src: url('./fonts/UNBangla-Regular.woff2') format('woff2');
189
+ }
190
+
191
+ @font-face {
192
+ font-display: swap;
193
+ font-family: 'UNBangla';
194
+ font-style: italic;
195
+ font-weight: 400;
196
+ src: url('./fonts/UNBangla-Italic.woff2') format('woff2');
197
+ }
198
+
199
+ @font-face {
200
+ font-display: swap;
201
+ font-family: 'UNBangla';
202
+ font-style: normal;
203
+ font-weight: 500 900;
204
+ src: url('./fonts/UNBangla-Bold.woff2') format('woff2');
205
+ }
206
+
207
+ @font-face {
208
+ font-display: swap;
209
+ font-family: 'UNBangla';
210
+ font-style: italic;
211
+ font-weight: 500 900;
212
+ src: url('./fonts/UNBangla-BoldItalic.woff2') format('woff2');
213
+ }
@@ -0,0 +1,4 @@
1
+
2
+ @import '@undp/design-system-react/style.css';
3
+ @import 'tailwindcss';
4
+ @config '../../tailwind.config.js';
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -0,0 +1,7 @@
1
+ import * as Preset from '@undp/design-system-react/tailwind.config';
2
+
3
+ /** @type {import('tailwindcss').Config} */
4
+
5
+ export default {
6
+ presets: [Preset],
7
+ };
@@ -0,0 +1,29 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "allowImportingTsExtensions": true,
5
+ "declaration": true,
6
+ "declarationMap": true,
7
+ "useDefineForClassFields": true,
8
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
9
+ "allowJs": false,
10
+ "skipLibCheck": true,
11
+ "esModuleInterop": false,
12
+ "allowSyntheticDefaultImports": true,
13
+ "strict": true,
14
+ "forceConsistentCasingInFileNames": true,
15
+ "module": "ESNext",
16
+ "moduleResolution": "bundler",
17
+ "resolveJsonModule": true,
18
+ "isolatedModules": true,
19
+ "noEmit": true,
20
+ "jsx": "react-jsx",
21
+ "baseUrl": ".",
22
+ "paths": {
23
+ "@/*": ["./src/*"]
24
+ }
25
+ },
26
+ "files": [],
27
+ "include": ["eslint.config.mjs", "src", "tailwind.config.js"],
28
+ "references": [{ "path": "./tsconfig.node.json" }]
29
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "allowSyntheticDefaultImports": true
7
+ },
8
+ "include": ["vite.config.ts"]
9
+ }
@@ -0,0 +1,75 @@
1
+ import path from 'path';
2
+
3
+ import { defineConfig } from 'vite';
4
+ import react from '@vitejs/plugin-react';
5
+ import eslint from '@nabla/vite-plugin-eslint';
6
+ import { visualizer } from 'rollup-plugin-visualizer';
7
+ import postcssNested from 'postcss-nested';
8
+ import tailwindcss from '@tailwindcss/postcss';
9
+ import { viteStaticCopy } from 'vite-plugin-static-copy';
10
+
11
+ export default defineConfig({
12
+ plugins: [
13
+ react({
14
+ babel: {
15
+ plugins: ['babel-plugin-react-compiler'],
16
+ },
17
+ }),
18
+ eslint(),
19
+ visualizer({ filename: 'stats.html', open: true }),
20
+ viteStaticCopy({
21
+ targets: [{ src: 'staticwebapp.config.json', dest: '' }],
22
+ }),
23
+ ],
24
+ css: {
25
+ postcss: {
26
+ plugins: [
27
+ postcssNested(),
28
+ tailwindcss(),
29
+ {
30
+ postcssPlugin: 'move-media-queries-last', // If you want to reorder media queries to the end
31
+ OnceExit(root) {
32
+ const mediaQueries = [];
33
+
34
+ // Collect all media queries
35
+ root.walkAtRules('media', mediaRule => {
36
+ mediaQueries.push(mediaRule.clone());
37
+ mediaRule.remove();
38
+ });
39
+
40
+ // Append them at the end
41
+ mediaQueries.forEach(mediaQuery => {
42
+ root.append(mediaQuery);
43
+ });
44
+ },
45
+ },
46
+ ],
47
+ },
48
+ },
49
+ build: {
50
+ manifest: true,
51
+ cssCodeSplit: false,
52
+ rollupOptions: {
53
+ output: {
54
+ manualChunks(id) {
55
+ if (id.includes('node_modules/react')) return 'react';
56
+ if (id.includes('@undp/design-system-react')) return 'undp';
57
+ if (id.includes('@undp/data-viz')) return 'undp';
58
+ },
59
+ chunkFileNames: '[name]-[hash].js',
60
+ assetFileNames: '[name].[ext]',
61
+ entryFileNames: '[name].js',
62
+ },
63
+ treeshake: true,
64
+ },
65
+ },
66
+ server: {
67
+ cors: {
68
+ origin: '*',
69
+ methods: ['GET'],
70
+ preflightContinue: false,
71
+ optionsSuccessStatus: 204,
72
+ },
73
+ },
74
+ resolve: { alias: { '@': path.resolve(__dirname, './src') } },
75
+ });
@@ -4,15 +4,6 @@ import chalk from 'chalk';
4
4
  export function printSuccess(config, installNow){
5
5
  console.log(chalk.bold.green('\n✅ Project created successfully!\n'));
6
6
 
7
- console.log(chalk.cyan('📦 Added packages:'));
8
- console.log(chalk.gray(' • React + TypeScript + Vite'));
9
- console.log(chalk.gray(' • Tailwind CSS'));
10
- console.log(chalk.gray(' • ESLint + Prettier'));
11
- console.log(chalk.gray(' • @undp/design-system-react'));
12
- if (config.installLucide) console.log(chalk.gray(' • lucide-react'));
13
- if (config.installDataViz) console.log(chalk.gray(' • @undp/data-viz'));
14
- if (config.installQuery) console.log(chalk.gray(' • @tanstack/react-query'));
15
- if (config.installRouter) console.log(chalk.gray(' • @tanstack/react-router'));
16
7
 
17
8
  console.log(chalk.cyan('\n🚀 Next steps:'));
18
9
  console.log(chalk.white(` cd ${chalk.bold(config.projectName)}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/create-app",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "UNDP's project scaffolding tool",
5
5
  "bin": {
6
6
  "create-undp-app": "./bin/index.js"
@@ -11,7 +11,11 @@
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
14
- "files": ["bin", "dist", "templates"],
14
+ "files": [
15
+ "bin",
16
+ "dist",
17
+ "templates"
18
+ ],
15
19
  "keywords": [
16
20
  "UNDP",
17
21
  "scaffold",