lucy-cli 2.0.0-alpha.9 → 2.0.0-beta.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 (453) hide show
  1. package/.yarnrc.yml +0 -1
  2. package/README.md +117 -102
  3. package/dist/args.d.ts +1 -6
  4. package/dist/args.js +103 -7
  5. package/dist/args.js.map +1 -0
  6. package/dist/commands/checks.d.ts +7 -0
  7. package/dist/commands/checks.js +47 -0
  8. package/dist/commands/checks.js.map +1 -0
  9. package/dist/commands/cleanup.d.ts +4 -0
  10. package/dist/commands/cleanup.js +10 -0
  11. package/dist/commands/cleanup.js.map +1 -0
  12. package/dist/commands/copy.d.ts +6 -0
  13. package/dist/commands/copy.js +20 -0
  14. package/dist/commands/copy.js.map +1 -0
  15. package/dist/commands/edit.d.ts +10 -0
  16. package/dist/commands/edit.js +67 -0
  17. package/dist/commands/edit.js.map +1 -0
  18. package/dist/commands/exec.d.ts +7 -0
  19. package/dist/commands/exec.js +67 -0
  20. package/dist/commands/exec.js.map +1 -0
  21. package/dist/commands/git.d.ts +8 -0
  22. package/dist/commands/git.js +104 -0
  23. package/dist/commands/git.js.map +1 -0
  24. package/dist/commands/home.d.ts +4 -0
  25. package/dist/commands/home.js +18 -0
  26. package/dist/commands/home.js.map +1 -0
  27. package/dist/commands/install.d.ts +8 -0
  28. package/dist/commands/install.js +165 -0
  29. package/dist/commands/install.js.map +1 -0
  30. package/dist/commands/read.d.ts +6 -0
  31. package/dist/commands/read.js +40 -0
  32. package/dist/commands/read.js.map +1 -0
  33. package/dist/commands/write.d.ts +7 -0
  34. package/dist/commands/write.js +28 -0
  35. package/dist/commands/write.js.map +1 -0
  36. package/dist/commands.js +1 -0
  37. package/dist/commands.js.map +1 -0
  38. package/dist/config.d.ts +29 -7
  39. package/dist/config.js +90 -26
  40. package/dist/config.js.map +1 -0
  41. package/dist/error.d.ts +1 -9
  42. package/dist/error.js +1 -2
  43. package/dist/error.js.map +1 -0
  44. package/dist/helpers.d.ts +9 -0
  45. package/dist/helpers.js +83 -0
  46. package/dist/helpers.js.map +1 -0
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.js +77 -9
  49. package/dist/index.js.map +1 -0
  50. package/dist/init/blocks.d.ts +5 -0
  51. package/dist/init/blocks.js +62 -0
  52. package/dist/init/blocks.js.map +1 -0
  53. package/dist/init/cargo.d.ts +2 -0
  54. package/dist/init/cargo.js +21 -0
  55. package/dist/init/cargo.js.map +1 -0
  56. package/dist/init/expo.d.ts +5 -0
  57. package/dist/init/expo.js +52 -0
  58. package/dist/init/expo.js.map +1 -0
  59. package/dist/init/gitModules.d.ts +2 -0
  60. package/dist/init/gitModules.js +13 -0
  61. package/dist/init/gitModules.js.map +1 -0
  62. package/dist/init/index.d.ts +4 -0
  63. package/dist/init/index.js +77 -0
  64. package/dist/init/index.js.map +1 -0
  65. package/dist/init/monorepo.d.ts +4 -0
  66. package/dist/init/monorepo.js +48 -0
  67. package/dist/init/monorepo.js.map +1 -0
  68. package/dist/init/prepareVelo.d.ts +2 -0
  69. package/dist/init/prepareVelo.js +16 -0
  70. package/dist/init/prepareVelo.js.map +1 -0
  71. package/dist/init/tauri.d.ts +5 -0
  72. package/dist/init/tauri.js +32 -0
  73. package/dist/init/tauri.js.map +1 -0
  74. package/dist/init/templates.d.ts +5 -0
  75. package/dist/init/templates.js +93 -0
  76. package/dist/init/templates.js.map +1 -0
  77. package/dist/init/velo.d.ts +5 -0
  78. package/dist/init/velo.js +60 -0
  79. package/dist/init/velo.js.map +1 -0
  80. package/dist/policy.js +1 -0
  81. package/dist/policy.js.map +1 -0
  82. package/dist/prepare.js +1 -0
  83. package/dist/prepare.js.map +1 -0
  84. package/dist/runtime.d.ts +1 -1
  85. package/dist/runtime.js +1 -0
  86. package/dist/runtime.js.map +1 -0
  87. package/dist/schemas/gulp.d.ts +25 -0
  88. package/dist/schemas/gulp.js +8 -0
  89. package/dist/schemas/gulp.js.map +1 -0
  90. package/dist/schemas/index.d.ts +10 -0
  91. package/dist/schemas/index.js +9 -0
  92. package/dist/schemas/index.js.map +1 -0
  93. package/dist/schemas/lucy.d.ts +29 -0
  94. package/dist/schemas/lucy.js +42 -0
  95. package/dist/schemas/lucy.js.map +1 -0
  96. package/dist/schemas/tsconfig.js +2 -0
  97. package/dist/schemas/tsconfig.js.map +1 -0
  98. package/dist/schemas/types.d.ts +33 -0
  99. package/dist/schemas/types.js +5 -1
  100. package/dist/schemas/types.js.map +1 -0
  101. package/dist/states.js +1 -0
  102. package/dist/states.js.map +1 -0
  103. package/dist/tasks/Gulpfile.d.ts +4 -0
  104. package/dist/tasks/Gulpfile.js +111 -0
  105. package/dist/tasks/Gulpfile.js.map +1 -0
  106. package/dist/tasks/gulp/backend.d.ts +4 -0
  107. package/dist/tasks/gulp/backend.js +92 -0
  108. package/dist/tasks/gulp/backend.js.map +1 -0
  109. package/dist/tasks/gulp/checks.d.ts +4 -0
  110. package/dist/tasks/gulp/checks.js +202 -0
  111. package/dist/tasks/gulp/checks.js.map +1 -0
  112. package/dist/tasks/gulp/clean.d.ts +3 -0
  113. package/dist/tasks/gulp/clean.js +33 -0
  114. package/dist/tasks/gulp/clean.js.map +1 -0
  115. package/dist/tasks/gulp/copy.d.ts +3 -0
  116. package/dist/tasks/gulp/copy.js +34 -0
  117. package/dist/tasks/gulp/copy.js.map +1 -0
  118. package/dist/tasks/gulp/helpers.d.ts +3 -0
  119. package/dist/tasks/gulp/helpers.js +19 -0
  120. package/dist/tasks/gulp/helpers.js.map +1 -0
  121. package/dist/tasks/gulp/pages.d.ts +2 -0
  122. package/dist/tasks/gulp/pages.js +39 -0
  123. package/dist/tasks/gulp/pages.js.map +1 -0
  124. package/dist/tasks/gulp/pipeline.d.ts +1 -0
  125. package/dist/tasks/gulp/pipeline.js +29 -0
  126. package/dist/tasks/gulp/pipeline.js.map +1 -0
  127. package/dist/tasks/gulp/public.d.ts +3 -0
  128. package/dist/tasks/gulp/public.js +50 -0
  129. package/dist/tasks/gulp/public.js.map +1 -0
  130. package/dist/tasks/gulp/styles.d.ts +3 -0
  131. package/dist/tasks/gulp/styles.js +40 -0
  132. package/dist/tasks/gulp/styles.js.map +1 -0
  133. package/dist/tasks/gulp/templates.d.ts +2 -0
  134. package/dist/tasks/gulp/templates.js +45 -0
  135. package/dist/tasks/gulp/templates.js.map +1 -0
  136. package/dist/tasks/gulp/types.d.ts +4 -0
  137. package/dist/tasks/gulp/types.js +293 -0
  138. package/dist/tasks/gulp/types.js.map +1 -0
  139. package/dist/tasks/gulp/watchers.d.ts +3 -0
  140. package/dist/tasks/gulp/watchers.js +59 -0
  141. package/dist/tasks/gulp/watchers.js.map +1 -0
  142. package/dist/tasks/index.d.ts +4 -0
  143. package/dist/tasks/index.js +23 -0
  144. package/dist/tasks/index.js.map +1 -0
  145. package/dist/tasks/syncSettings.d.ts +3 -0
  146. package/dist/tasks/syncSettings.js +18 -0
  147. package/dist/tasks/syncSettings.js.map +1 -0
  148. package/dist/utils/index.js +2 -0
  149. package/dist/utils/index.js.map +1 -0
  150. package/dist/utils/logger.d.ts +17 -0
  151. package/dist/utils/logger.js +37 -0
  152. package/dist/utils/logger.js.map +1 -0
  153. package/dist/wix-sdk/check.d.ts +4 -0
  154. package/dist/wix-sdk/check.js +23 -0
  155. package/dist/wix-sdk/check.js.map +1 -0
  156. package/dist/wix-sdk/client.d.ts +10 -0
  157. package/dist/wix-sdk/client.js +18 -0
  158. package/dist/wix-sdk/client.js.map +1 -0
  159. package/dist/wix-sdk/index.d.ts +4 -0
  160. package/dist/wix-sdk/index.js +15 -0
  161. package/dist/wix-sdk/index.js.map +1 -0
  162. package/dist/wix-sdk/init.d.ts +4 -0
  163. package/dist/wix-sdk/init.js +51 -0
  164. package/dist/wix-sdk/init.js.map +1 -0
  165. package/dist/wix-sdk/run.d.ts +4 -0
  166. package/dist/wix-sdk/run.js +53 -0
  167. package/dist/wix-sdk/run.js.map +1 -0
  168. package/dist/wix-sync/client.d.ts +3 -0
  169. package/dist/wix-sync/client.js +5 -0
  170. package/dist/wix-sync/client.js.map +1 -0
  171. package/dist/wix-sync/export.d.ts +4 -0
  172. package/dist/wix-sync/export.js +15 -0
  173. package/dist/wix-sync/export.js.map +1 -0
  174. package/dist/wix-sync/import.d.ts +4 -0
  175. package/dist/wix-sync/import.js +26 -0
  176. package/dist/wix-sync/import.js.map +1 -0
  177. package/dist/wix-sync/index.d.ts +4 -0
  178. package/dist/wix-sync/index.js +35 -0
  179. package/dist/wix-sync/index.js.map +1 -0
  180. package/dist/wix-sync/init.d.ts +4 -0
  181. package/dist/wix-sync/init.js +74 -0
  182. package/dist/wix-sync/init.js.map +1 -0
  183. package/dist/wix-sync/is-alive.d.ts +4 -0
  184. package/dist/wix-sync/is-alive.js +23 -0
  185. package/dist/wix-sync/is-alive.js.map +1 -0
  186. package/dist/wix-sync/migrate.d.ts +4 -0
  187. package/dist/wix-sync/migrate.js +21 -0
  188. package/dist/wix-sync/migrate.js.map +1 -0
  189. package/dist/wix-sync/sync.d.ts +4 -0
  190. package/dist/wix-sync/sync.js +26 -0
  191. package/dist/wix-sync/sync.js.map +1 -0
  192. package/files/sync-data/data/test.csv +17 -0
  193. package/files/sync-data/files/lucy.jpg +0 -0
  194. package/files/sync-data/schema/test.json +11 -0
  195. package/files/templates/block[D]/files/.stylelintrc.js +8 -0
  196. package/files/templates/block[D]/lucy.json +9 -0
  197. package/files/templates/cargo[D]/files/.env +1 -0
  198. package/files/templates/cargo[D]/files/Cargo.toml +238 -0
  199. package/files/templates/cargo[D]/files/Makefile.toml +4 -0
  200. package/files/templates/cargo[D]/files/build/main.rs +35 -0
  201. package/files/templates/cargo[D]/files/config/beta.json +19 -0
  202. package/files/templates/cargo[D]/files/config/ci.json +15 -0
  203. package/files/templates/cargo[D]/files/config/default.json +71 -0
  204. package/files/templates/cargo[D]/files/config/development.json +10 -0
  205. package/files/templates/cargo[D]/files/config/produktion.json +5 -0
  206. package/files/templates/cargo[D]/files/config/stage.json +4 -0
  207. package/files/templates/cargo[D]/files/locales/todo.yml +3 -0
  208. package/files/templates/cargo[D]/files/public/index.html +1 -0
  209. package/files/templates/cargo[D]/lucy.json +15 -0
  210. package/files/templates/expo[D]/files/.stylelintrc.js +8 -0
  211. package/files/{expo → templates/expo[D]/files}/eas.json +9 -3
  212. package/files/templates/expo[D]/files/lib/data.ts +197 -0
  213. package/files/{expo → templates/expo[D]/files}/metro.config.js +6 -0
  214. package/files/templates/expo[D]/files/pnpm-workspace.yaml +3 -0
  215. package/files/templates/expo[D]/lucy.json +86 -0
  216. package/files/templates/monorepo[D]/files/.editorconfig +10 -0
  217. package/files/templates/monorepo[D]/files/.nvmrc +1 -0
  218. package/files/templates/monorepo[D]/files/.prettierignore +23 -0
  219. package/files/templates/monorepo[D]/files/.prettierrc.json +15 -0
  220. package/files/templates/monorepo[D]/files/.stylelintrc.js +8 -0
  221. package/files/templates/monorepo[D]/files/.yarnrc +1 -0
  222. package/files/templates/monorepo[D]/files/.yarnrc.yml +3 -0
  223. package/files/templates/monorepo[D]/files/README.md +109 -0
  224. package/files/templates/monorepo[D]/files/currents.config.ts +5 -0
  225. package/files/templates/monorepo[D]/files/nx.json +25 -0
  226. package/files/templates/monorepo[D]/files/pnpm-workspace.yaml +11 -0
  227. package/files/templates/monorepo[D]/files/tsconfig.json +6 -0
  228. package/files/templates/monorepo[D]/files/typedoc.json +25 -0
  229. package/files/templates/monorepo[D]/files/vitest.config.ts +27 -0
  230. package/files/templates/monorepo[D]/lucy.json +69 -0
  231. package/files/templates/tauri[D]/lucy.json +9 -0
  232. package/files/templates/velo[D]/files/.prettierignore +23 -0
  233. package/files/templates/velo[D]/files/.prettierrc.js +16 -0
  234. package/files/templates/velo[D]/lucy.json +137 -0
  235. package/lucy.jpg +0 -0
  236. package/old/Gulpfile.d.ts +34 -0
  237. package/old/Gulpfile.js +116 -0
  238. package/old/Gulpfile.js.map +1 -0
  239. package/old/gulp/backend.d.ts +3 -0
  240. package/old/gulp/backend.js +92 -0
  241. package/old/gulp/backend.js.map +1 -0
  242. package/old/gulp/checks.d.ts +3 -0
  243. package/old/gulp/checks.js +205 -0
  244. package/old/gulp/checks.js.map +1 -0
  245. package/old/gulp/clean.d.ts +3 -0
  246. package/old/gulp/clean.js +29 -0
  247. package/old/gulp/clean.js.map +1 -0
  248. package/old/gulp/copy.d.ts +2 -0
  249. package/old/gulp/copy.js +34 -0
  250. package/old/gulp/copy.js.map +1 -0
  251. package/old/gulp/helpers.d.ts +2 -0
  252. package/old/gulp/helpers.js +25 -0
  253. package/old/gulp/helpers.js.map +1 -0
  254. package/old/gulp/pages.d.ts +2 -0
  255. package/old/gulp/pages.js +37 -0
  256. package/old/gulp/pages.js.map +1 -0
  257. package/old/gulp/pipeline.d.ts +1 -0
  258. package/old/gulp/pipeline.js +29 -0
  259. package/old/gulp/pipeline.js.map +1 -0
  260. package/old/gulp/public.d.ts +2 -0
  261. package/old/gulp/public.js +50 -0
  262. package/old/gulp/public.js.map +1 -0
  263. package/old/gulp/styles.d.ts +2 -0
  264. package/old/gulp/styles.js +40 -0
  265. package/old/gulp/styles.js.map +1 -0
  266. package/old/gulp/templates.d.ts +2 -0
  267. package/old/gulp/templates.js +33 -0
  268. package/old/gulp/templates.js.map +1 -0
  269. package/old/gulp/types.d.ts +4 -0
  270. package/old/gulp/types.js +289 -0
  271. package/old/gulp/types.js.map +1 -0
  272. package/old/gulp/watchers.d.ts +9 -0
  273. package/old/gulp/watchers.js +59 -0
  274. package/old/gulp/watchers.js.map +1 -0
  275. package/old/helpers.d.ts +32 -0
  276. package/old/helpers.js +267 -0
  277. package/old/helpers.js.map +1 -0
  278. package/{src copy/helpers.ts → old/helpers.ts} +1 -1
  279. package/old/index.d.ts +59 -0
  280. package/old/index.js +288 -0
  281. package/old/index.js.map +1 -0
  282. package/old/init.d.ts +8 -0
  283. package/old/init.js +165 -0
  284. package/old/init.js.map +1 -0
  285. package/old/models.d.ts +37 -0
  286. package/old/models.js +2 -0
  287. package/old/models.js.map +1 -0
  288. package/old/prepare.d.ts +8 -0
  289. package/old/prepare.js +20 -0
  290. package/old/prepare.js.map +1 -0
  291. package/old/schemas/index.js +2 -0
  292. package/old/schemas/index.js.map +1 -0
  293. package/old/schemas/index.ts +0 -0
  294. package/old/schemas/types.d.ts +0 -0
  295. package/old/schemas/types.js +2 -0
  296. package/old/schemas/types.js.map +1 -0
  297. package/old/schemas/types.ts +0 -0
  298. package/old/sync.d.ts +2 -0
  299. package/old/sync.js +88 -0
  300. package/old/sync.js.map +1 -0
  301. package/package.json +18 -19
  302. package/patches/velo-sync+0.0.9.patch +13 -0
  303. package/src/args.ts +103 -17
  304. package/src/commands/checks.ts +51 -0
  305. package/src/commands/cleanup.ts +11 -0
  306. package/src/commands/copy.ts +28 -0
  307. package/src/commands/edit.ts +81 -0
  308. package/src/commands/exec.ts +69 -0
  309. package/src/commands/git.ts +113 -0
  310. package/src/commands/home.ts +22 -0
  311. package/src/commands/install.ts +249 -0
  312. package/src/commands/read.ts +45 -0
  313. package/src/commands/write.ts +45 -0
  314. package/src/config.ts +116 -35
  315. package/src/error.ts +1 -2
  316. package/src/helpers.ts +92 -0
  317. package/src/index.ts +88 -13
  318. package/src/init/blocks.ts +85 -0
  319. package/src/init/cargo.ts +25 -0
  320. package/src/init/expo.ts +69 -0
  321. package/src/init/gitModules.ts +15 -0
  322. package/src/init/index.ts +81 -0
  323. package/src/init/monorepo.ts +72 -0
  324. package/src/init/prepareVelo.ts +19 -0
  325. package/src/init/tauri.ts +42 -0
  326. package/src/init/templates.ts +98 -0
  327. package/src/init/velo.ts +65 -0
  328. package/src/runtime.ts +1 -0
  329. package/src/schemas/gulp.ts +31 -0
  330. package/src/schemas/index.ts +13 -1
  331. package/src/schemas/lucy.ts +43 -0
  332. package/src/schemas/types.ts +40 -0
  333. package/src/tasks/Gulpfile.ts +207 -0
  334. package/src/tasks/gulp/backend.ts +113 -0
  335. package/src/tasks/gulp/checks.ts +218 -0
  336. package/src/tasks/gulp/clean.ts +38 -0
  337. package/src/tasks/gulp/copy.ts +38 -0
  338. package/src/tasks/gulp/helpers.ts +18 -0
  339. package/src/tasks/gulp/pages.ts +43 -0
  340. package/src/tasks/gulp/pipeline.ts +31 -0
  341. package/src/tasks/gulp/public.ts +61 -0
  342. package/src/tasks/gulp/styles.ts +47 -0
  343. package/src/tasks/gulp/templates.ts +53 -0
  344. package/src/tasks/gulp/types.ts +310 -0
  345. package/src/tasks/gulp/watchers.ts +97 -0
  346. package/src/tasks/index.ts +24 -0
  347. package/src/tasks/syncSettings.ts +21 -0
  348. package/src/types.d.ts +1 -1
  349. package/src/utils/index.ts +0 -0
  350. package/src/utils/logger.ts +40 -0
  351. package/src/wix-sdk/check.ts +24 -0
  352. package/src/wix-sdk/client.ts +18 -0
  353. package/src/wix-sdk/index.ts +17 -0
  354. package/src/wix-sdk/init.ts +54 -0
  355. package/src/wix-sdk/run.ts +56 -0
  356. package/src/wix-sync/client.ts +6 -0
  357. package/src/wix-sync/export.ts +19 -0
  358. package/src/wix-sync/import.ts +27 -0
  359. package/src/wix-sync/index.ts +36 -0
  360. package/src/wix-sync/init.ts +77 -0
  361. package/src/wix-sync/is-alive.ts +25 -0
  362. package/src/wix-sync/migrate.ts +23 -0
  363. package/src/wix-sync/sync.ts +27 -0
  364. package/tsconfig.json +6 -5
  365. package/dist/init.d.ts +0 -4
  366. package/dist/init.js +0 -275
  367. package/dist/models.js +0 -1
  368. package/dist/params.d.ts +0 -7
  369. package/dist/params.js +0 -23
  370. package/files/expo/lib/data.ts +0 -48
  371. package/files/expo/lucy.json +0 -8
  372. package/src/init.ts +0 -392
  373. /package/dist/{models.d.ts → schemas/tsconfig.d.ts} +0 -0
  374. /package/{files/expo/components/.gitkeep → dist/utils/index.d.ts} +0 -0
  375. /package/files/{expo → templates/expo[D]/files}/.nvmrc +0 -0
  376. /package/files/{expo → templates/expo[D]/files}/.prettierignore +0 -0
  377. /package/files/{expo → templates/expo[D]/files}/.prettierrc.js +0 -0
  378. /package/files/{expo → templates/expo[D]/files}/.yarnrc +0 -0
  379. /package/files/{expo → templates/expo[D]/files}/.yarnrc.yml +0 -0
  380. /package/files/{expo → templates/expo[D]/files}/README.md +0 -0
  381. /package/files/{expo → templates/expo[D]/files}/assets/fonts/SpaceMono-Regular.ttf +0 -0
  382. /package/files/{expo → templates/expo[D]/files}/assets/images/adaptive-icon.png +0 -0
  383. /package/files/{expo → templates/expo[D]/files}/assets/images/favicon.png +0 -0
  384. /package/files/{expo → templates/expo[D]/files}/assets/images/icon.png +0 -0
  385. /package/files/{expo → templates/expo[D]/files}/assets/images/splash-icon.png +0 -0
  386. /package/files/{expo → templates/expo[D]/files}/babel.config.js +0 -0
  387. /package/files/{expo/components/ui → templates/expo[D]/files/components}/.gitkeep +0 -0
  388. /package/files/{velo/typescript/__mocks__ → templates/expo[D]/files/components/ui}/.gitkeep +0 -0
  389. /package/files/{expo → templates/expo[D]/files}/constants/theme.ts +0 -0
  390. /package/files/{expo → templates/expo[D]/files}/eslint.config.mjs +0 -0
  391. /package/files/{expo → templates/expo[D]/files}/global.css +0 -0
  392. /package/files/{expo → templates/expo[D]/files}/hooks/useColorScheme.ts +0 -0
  393. /package/files/{expo → templates/expo[D]/files}/index.ts +0 -0
  394. /package/files/{expo → templates/expo[D]/files}/lib/utils/index.ts +0 -0
  395. /package/files/{expo → templates/expo[D]/files}/lib/utils/polyfills.ts +0 -0
  396. /package/files/{expo → templates/expo[D]/files}/lib/wix/client.ts +0 -0
  397. /package/files/{expo → templates/expo[D]/files}/lib/wix/error.ts +0 -0
  398. /package/files/{expo → templates/expo[D]/files}/lib/wix/index.ts +0 -0
  399. /package/files/{expo → templates/expo[D]/files}/nativewind-env.d.ts +0 -0
  400. /package/files/{expo → templates/expo[D]/files}/scripts/reset-project.ts +0 -0
  401. /package/files/{expo → templates/expo[D]/files}/tailwind.config.js +0 -0
  402. /package/files/{expo → templates/expo[D]/files}/tsconfig.json +0 -0
  403. /package/files/{expo → templates/expo[D]/files}/types/reset.d.ts +0 -0
  404. /package/files/{velo → templates/velo[D]/files}/.gitmodules +0 -0
  405. /package/files/{velo → templates/velo[D]/files}/.madgerc +0 -0
  406. /package/files/{velo → templates/velo[D]/files}/.nvmrc +0 -0
  407. /package/files/{velo → templates/velo[D]/files}/.stylelintrc.js +0 -0
  408. /package/files/{velo → templates/velo[D]/files}/.yarnrc.yml +0 -0
  409. /package/files/{velo → templates/velo[D]/files}/currents.config.js +0 -0
  410. /package/files/{velo → templates/velo[D]/files}/cypress/e2e/base/base.cy.ts +0 -0
  411. /package/files/{velo → templates/velo[D]/files}/cypress/fixtures/example.json +0 -0
  412. /package/files/{velo → templates/velo[D]/files}/cypress/support/commands.ts +0 -0
  413. /package/files/{velo → templates/velo[D]/files}/cypress/support/e2e.ts +0 -0
  414. /package/files/{velo → templates/velo[D]/files}/cypress/tsconfig.json +0 -0
  415. /package/files/{velo → templates/velo[D]/files}/cypress.config.mjs +0 -0
  416. /package/files/{velo → templates/velo[D]/files}/eslint.config.mjs +0 -0
  417. /package/files/{velo → templates/velo[D]/files}/local.tsconfig.json +0 -0
  418. /package/files/{velo → templates/velo[D]/files}/typedoc.json +0 -0
  419. /package/files/{velo/typescript/pages → templates/velo[D]/files/typescript/__mocks__}/.gitkeep +0 -0
  420. /package/files/{velo → templates/velo[D]/files}/typescript/backend/data.ts +0 -0
  421. /package/files/{velo → templates/velo[D]/files}/typescript/backend/events.ts +0 -0
  422. /package/files/{velo → templates/velo[D]/files}/typescript/backend/http-functions.ts +0 -0
  423. /package/files/{velo → templates/velo[D]/files}/typescript/backend/lib/http-functions/sync.ts +0 -0
  424. /package/files/{velo → templates/velo[D]/files}/typescript/backend/permissions.json +0 -0
  425. /package/files/{velo/typescript/public → templates/velo[D]/files/typescript/pages}/.gitkeep +0 -0
  426. /package/files/{velo/typescript/styles → templates/velo[D]/files/typescript/public}/.gitkeep +0 -0
  427. /package/files/{velo → templates/velo[D]/files}/typescript/public/scss/app.scss +0 -0
  428. /package/files/{velo/typescript/styles/global.scss → templates/velo[D]/files/typescript/styles/.gitkeep} +0 -0
  429. /package/{src copy/schemas/index.ts → files/templates/velo[D]/files/typescript/styles/global.scss} +0 -0
  430. /package/files/{velo → templates/velo[D]/files}/typescript/tsconfig.json +0 -0
  431. /package/files/{velo → templates/velo[D]/files}/vitest.config.ts +0 -0
  432. /package/{src copy → old}/Gulpfile.ts +0 -0
  433. /package/{src copy → old}/gulp/backend.ts +0 -0
  434. /package/{src copy → old}/gulp/checks.ts +0 -0
  435. /package/{src copy → old}/gulp/clean.ts +0 -0
  436. /package/{src copy → old}/gulp/copy.ts +0 -0
  437. /package/{src copy → old}/gulp/helpers.ts +0 -0
  438. /package/{src copy → old}/gulp/pages.ts +0 -0
  439. /package/{src copy → old}/gulp/pipeline.ts +0 -0
  440. /package/{src copy → old}/gulp/public.ts +0 -0
  441. /package/{src copy → old}/gulp/styles.ts +0 -0
  442. /package/{src copy → old}/gulp/templates.ts +0 -0
  443. /package/{src copy → old}/gulp/types.ts +0 -0
  444. /package/{src copy → old}/gulp/watchers.ts +0 -0
  445. /package/{src copy → old}/index.ts +0 -0
  446. /package/{src copy → old}/init.ts +0 -0
  447. /package/{src copy → old}/models.ts +0 -0
  448. /package/{src copy → old}/prepare.ts +0 -0
  449. /package/{src copy/schemas/types.ts → old/schemas/index.d.ts} +0 -0
  450. /package/{src copy → old}/settings.json +0 -0
  451. /package/{src copy → old}/sync.ts +0 -0
  452. /package/{src copy → old}/types.d.ts +0 -0
  453. /package/src/{models.ts → schemas/tsconfig.ts} +0 -0
@@ -0,0 +1,69 @@
1
+ {
2
+ "modules": {
3
+ "lucy-typescript-config": {
4
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-typescript-config.git",
5
+ "branch": "1.0.0"
6
+ },
7
+ "lucy-eslint-config": {
8
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-eslint-config.git",
9
+ "branch": "1.0.0"
10
+ },
11
+ "lucy-i18n": {
12
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-i18n.git",
13
+ "branch": "1.0.0"
14
+ },
15
+ "lucy-error": {
16
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-error.git",
17
+ "branch": "1.0.0"
18
+ },
19
+ "lucy-cypress": {
20
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-cypress.git",
21
+ "branch": "1.0.0"
22
+ },
23
+ "lucy-vitest-config": {
24
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-vitest-config.git",
25
+ "branch": "1.0.0"
26
+ },
27
+ "lucy-schema-lib": {
28
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-schema-lib.git",
29
+ "branch": "1.0.0"
30
+ },
31
+ "lucy-frontend-lib": {
32
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-frontend-lib.git",
33
+ "branch": "1.0.0"
34
+ },
35
+ "lucy-backend-lib": {
36
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-backend-lib.git",
37
+ "branch": "1.0.0"
38
+ }
39
+ },
40
+ "devDependencies": {
41
+ "vitest": "",
42
+ "@vitest/ui": "",
43
+ "syncpack": "",
44
+ "typescript-eslint": "",
45
+ "typescript-eslint-language-service": "",
46
+ "@typescript-eslint/parser": "",
47
+ "@lucy/vitest-config": "workspace:*"
48
+ },
49
+ "dependencies": {},
50
+ "scripts": {
51
+ "build": "turbo run build",
52
+ "dev": "turbo run dev",
53
+ "lint": "turbo run lint",
54
+ "format": "prettier --write \"./*.json\" \"**/*.{ts,tsx,md,json,jsonc,json5}\"",
55
+ "check-types": "turbo run check-types",
56
+ "update": "syncpack -- update",
57
+ "update:list": "syncpack -- list",
58
+ "test": "turbo run test",
59
+ "test:projects": "vitest run",
60
+ "test:projects:watch": "vitest --watch",
61
+ "view-report": "turbo run view-report",
62
+ "test:ui": "vitest --ui",
63
+ "test:e2e": "turbo run test:e2e"
64
+ },
65
+ "initialized": false,
66
+ "type": "monorepo",
67
+ "packageManager": "pnpm",
68
+ "defaultModulePath": "shared"
69
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "modules": {},
3
+ "devDependencies": {},
4
+ "dependencies": {},
5
+ "scripts": {},
6
+ "initialized": false,
7
+ "type": "tauri",
8
+ "packageManager": "pnpm"
9
+ }
@@ -0,0 +1,23 @@
1
+ # Dependencies
2
+ node_modules/
3
+
4
+ # Build output
5
+ dist
6
+ .next/
7
+ .wix/
8
+ build
9
+ out
10
+
11
+ # Turbo cache
12
+ .turbo
13
+
14
+ # Logs
15
+ *.log
16
+ npm-debug.log*
17
+ yarn-debug.log*
18
+ yarn-error.log*
19
+ pnpm-debug.log*
20
+
21
+ # As per your ESLint config, JS files are not formatted.
22
+ **/*.js
23
+
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ printWidth: 80,
3
+ tabWidth: 4,
4
+ useTabs: true,
5
+ singleQuote: true,
6
+ trailingComma: 'all',
7
+ plugins: ['prettier-plugin-tailwindcss'],
8
+ overrides: [
9
+ {
10
+ files: ['**/*.{json,jsonc,json5}', '*.{json,jsonc,json5}'],
11
+ options: {
12
+ useTabs: true
13
+ }
14
+ }
15
+ ]
16
+ };
@@ -0,0 +1,137 @@
1
+ {
2
+ "modules": {
3
+ "lib": {
4
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-velo-lib.git",
5
+ "branch": "1.0.0"
6
+ },
7
+ "custom-elements": {
8
+ "source": "git@github.com:Sunnyside-UP-GmbH/lucy-custom-elements.git",
9
+ "branch": "1.0.0",
10
+ "path": "typescript/public/custom-elements",
11
+ "noCompile": true
12
+ }
13
+ },
14
+ "wixSettings": {
15
+ "compilerOptions": {
16
+ "composite": true,
17
+ "noEmit": false,
18
+ "lib": [],
19
+ "jsx": "react-jsx"
20
+ },
21
+ "exclude": ["**/*.js"]
22
+ },
23
+ "initialized": false,
24
+ "dependencies": {
25
+ "@effect/cluster": "0.39.4",
26
+ "@effect/experimental": "0.49.2",
27
+ "@effect/opentelemetry": "0.51.2",
28
+ "@effect/platform": "0.85.2",
29
+ "@effect/platform-node": "0.86.4",
30
+ "@effect/rpc": "0.62.4",
31
+ "@effect/sql": "0.38.2",
32
+ "@faker-js/faker": "^9.8.0",
33
+ "@opentelemetry/api": "^1.9.0",
34
+ "@opentelemetry/resources": "^2.0.1",
35
+ "@opentelemetry/sdk-logs": "^0.202.0",
36
+ "@opentelemetry/sdk-metrics": "^2.0.1",
37
+ "@opentelemetry/sdk-trace-base": "^2.0.1",
38
+ "@opentelemetry/sdk-trace-node": "^2.0.1",
39
+ "@opentelemetry/sdk-trace-web": "^2.0.1",
40
+ "@opentelemetry/semantic-conventions": "^1.34.0",
41
+ "@react-pdf/renderer": "^4.3.0",
42
+ "@wix/cache": "^1.0.25",
43
+ "@wix/data": "^1.0.241",
44
+ "@wix/essentials": "^0.1.24",
45
+ "@wix/groups": "^1.0.131",
46
+ "@wix/http-functions": "^1.0.0",
47
+ "@wix/media": "^1.0.170",
48
+ "@wix/members": "^1.0.299",
49
+ "@wix/multilingual": "^1.0.171",
50
+ "@wix/pricing-plans": "^1.0.188",
51
+ "@wix/secrets": "^1.0.53",
52
+ "@wix/site-location": "^1.26.0",
53
+ "@wix/site-members": "^1.26.0",
54
+ "@wix/site-realtime": "^1.19.0",
55
+ "@wix/site-seo": "^1.21.0",
56
+ "@wix/site-site": "^1.25.0",
57
+ "@wix/site-storage": "^1.21.0",
58
+ "@wix/site-window": "^1.38.0",
59
+ "@wix/web-methods": "^1.0.11",
60
+ "@xstate/store": "^3.6.2",
61
+ "add": "^2.0.6",
62
+ "axios": "^1.9.0",
63
+ "casbin": "^5.38.0",
64
+ "casbin.js": "^0.5.1",
65
+ "effect": "^3.16.4",
66
+ "geolib": "^3.3.4",
67
+ "gsap": "^3.13.0",
68
+ "i18next": "^25.2.1",
69
+ "immer": "^10.1.1",
70
+ "jwt-decode": "^4.0.0",
71
+ "meilisearch": "0.51.0",
72
+ "nats": "^2.29.3",
73
+ "njwt": "^2.0.1",
74
+ "nodemailer": "^7.0.3",
75
+ "openapi-fetch": "^0.14.0",
76
+ "openapi-typescript": "^7.8.0",
77
+ "react": "^19.1.0",
78
+ "react-dom": "^19.1.0",
79
+ "react-transition-group": "^4.4.5",
80
+ "tinybase": "^6.2.1",
81
+ "uuid": "^11.1.0",
82
+ "xstate": "^5.19.4"
83
+ },
84
+ "devDependencies": {
85
+ "@eslint/js": "^9.17.0",
86
+ "@styled/typescript-styled-plugin": "^1.0.1",
87
+ "@total-typescript/ts-reset": "^0.6.1",
88
+ "@types/node": "^22.10.2",
89
+ "@types/nodemailer": "^6.4.17",
90
+ "@types/react": "^19.0.1",
91
+ "@typescript-eslint/eslint-plugin": "^8.18.1",
92
+ "@typescript-eslint/parser": "^8.18.1",
93
+ "@typescript-eslint/utils": "^8.18.1",
94
+ "@vitest/coverage-v8": "^2.1.8",
95
+ "@vitest/ui": "^2.1.8",
96
+ "@wix/cli": "^1.1.53",
97
+ "@wix/eslint-plugin-cli": "^1.0.2",
98
+ "cypress": "^13.16.1",
99
+ "cypress-cloud": "^1.13.0",
100
+ "esbuild": "^0.24.0",
101
+ "eslint": "^9.17.0",
102
+ "eslint-plugin-exception-handling": "^1.5.4",
103
+ "eslint-plugin-import": "^2.31.0",
104
+ "eslint-plugin-jsdoc": "^50.6.1",
105
+ "eslint-plugin-named-import-spacing": "^1.0.3",
106
+ "eslint-plugin-promise": "^7.2.1",
107
+ "eslint-plugin-simple-import-sort": "^12.1.1",
108
+ "prettier": "^3.4.2",
109
+ "sass": "^1.83.0",
110
+ "ts-node": "^10.9.2",
111
+ "tsx": "^4.19.2",
112
+ "typedoc": "^0.27.5",
113
+ "typedoc-github-theme": "^0.2.0",
114
+ "typescript": "^5.7.2",
115
+ "typescript-eslint": "^8.18.1",
116
+ "typescript-eslint-language-service": "^5.0.5",
117
+ "vite-tsconfig-paths": "^5.1.4",
118
+ "vitest": "^2.1.8",
119
+ "vitest-tsconfig-paths": "^3.4.1"
120
+ },
121
+ "scripts": {
122
+ "postinstall": "wix sync-types",
123
+ "wix:dev": "wix dev",
124
+ "dev": "lucy-cli dev",
125
+ "lint": "NODE_OPTIONS=\"--max-old-space-size=32768\" eslint .",
126
+ "docs": "typedoc --tsconfig typescript/tsconfig.json --skipErrorChecking",
127
+ "build": "lucy-cli build-prod",
128
+ "fix-wix": "lucy-cli fix-wix",
129
+ "tsc": "tsc -p ./typescript/tsconfig.json --noEmit",
130
+ "test": "vitest --ui --coverage",
131
+ "coverage": "vitest run --coverage",
132
+ "cypress": "cypress open",
133
+ "e2e": "cypress-cloud run --parallel --record"
134
+ },
135
+ "type": "velo",
136
+ "packageManager": "pnpm"
137
+ }
package/lucy.jpg CHANGED
Binary file
@@ -0,0 +1,34 @@
1
+ import gulpSass from 'gulp-sass';
2
+ import backendSettings from '../settings/backend-settings.json';
3
+ import masterSettings from '../settings/master-settings.json';
4
+ import pageSettings from '../settings/page-settings.json';
5
+ import publicSettings from '../settings/public-settings.json';
6
+ import { ModuleSettings, ProjectSettings } from './index.js';
7
+ export type TaskOptions = {
8
+ moduleSettings?: ModuleSettings;
9
+ projectSettings?: ProjectSettings;
10
+ enableIncrementalBuild: boolean;
11
+ outputDir: string;
12
+ sass: ReturnType<typeof gulpSass>;
13
+ userHomeDir: string;
14
+ replaceOptions: typeof replaceOptions;
15
+ backendSettings: typeof backendSettings;
16
+ masterSettings: typeof masterSettings;
17
+ pageSettings: typeof pageSettings;
18
+ publicSettings: typeof publicSettings;
19
+ modulesSync: Record<string, string> | undefined;
20
+ modulesSourcePaths: string[];
21
+ cwd: string;
22
+ isWatching?: boolean;
23
+ };
24
+ export interface File {
25
+ path: string;
26
+ dirname: string;
27
+ }
28
+ declare const replaceOptions: {
29
+ logs: {
30
+ enabled: boolean;
31
+ };
32
+ };
33
+ export declare function runTask(task: string, moduleSettings: ModuleSettings, projectSettings: ProjectSettings): Promise<void>;
34
+ export {};
@@ -0,0 +1,116 @@
1
+ import gulp from 'gulp';
2
+ import gulpSass from 'gulp-sass';
3
+ import shell from 'gulp-shell';
4
+ import * as os from 'os';
5
+ import * as dartSass from 'sass';
6
+ import backendSettings from '../settings/backend-settings.json' with { type: "json" };
7
+ ;
8
+ import masterSettings from '../settings/master-settings.json' with { type: "json" };
9
+ ;
10
+ import pageSettings from '../settings/page-settings.json' with { type: "json" };
11
+ ;
12
+ import publicSettings from '../settings/public-settings.json' with { type: "json" };
13
+ ;
14
+ import { buildPublic } from './gulp/public.js';
15
+ import { buildBackend, buildBackendJSW } from './gulp/backend.js';
16
+ import { checkPages, checkTs } from './gulp/checks.js';
17
+ import { compileScss } from './gulp/styles.js';
18
+ import { buildPages } from './gulp/pages.js';
19
+ import { previewTemplates } from './gulp/templates.js';
20
+ import { copyFiles } from './gulp/copy.js';
21
+ import { cleanSrc, cleanWix } from './gulp/clean.js';
22
+ import { addTypes, updateWixTypes } from './gulp/types.js';
23
+ import { setProdConfig } from './gulp/pipeline.js';
24
+ import { watchAll } from './gulp/watchers.js';
25
+ import { blue, green, magenta, orange, red } from './index.js';
26
+ import { getModulesSourcePaths, getModulesSync } from './gulp/helpers.js';
27
+ const sass = gulpSass(dartSass);
28
+ const outputDir = './src';
29
+ const userHomeDir = os.homedir();
30
+ const replaceOptions = {
31
+ logs: {
32
+ enabled: false
33
+ }
34
+ };
35
+ const taskOptions = {
36
+ enableIncrementalBuild: false,
37
+ outputDir,
38
+ sass,
39
+ userHomeDir,
40
+ pageSettings,
41
+ publicSettings,
42
+ backendSettings,
43
+ masterSettings,
44
+ replaceOptions,
45
+ cwd: process.cwd(),
46
+ modulesSync: getModulesSync(),
47
+ modulesSourcePaths: getModulesSourcePaths(),
48
+ };
49
+ const watchTaskOptions = { ...taskOptions, isWatching: true };
50
+ gulp.task('check-ts', gulp.parallel(checkTs(taskOptions)));
51
+ gulp.task('scss', gulp.parallel(compileScss(taskOptions)));
52
+ gulp.task('build-backend', gulp.parallel(buildBackend(taskOptions), buildBackendJSW(taskOptions)));
53
+ gulp.task('build-public', gulp.parallel(buildPublic(taskOptions)));
54
+ gulp.task('preview-templates', gulp.parallel(previewTemplates(taskOptions)));
55
+ gulp.task('copy-files', gulp.parallel(copyFiles(taskOptions)));
56
+ gulp.task('test', function () {
57
+ return shell.task(['yarn test'], { ignoreErrors: true })().then(() => {
58
+ console.log("🐕" + blue.underline.bold(' => Exited test task!'));
59
+ }).catch(err => {
60
+ console.log("💩" + red.underline.bold(' => Error in test task!'));
61
+ });
62
+ });
63
+ gulp.task('test-ci', function () {
64
+ return shell.task(['yarn test --run'], { ignoreErrors: true })().then(() => {
65
+ console.log("🐕" + blue.underline.bold(' => Exited test task!'));
66
+ }).catch(err => {
67
+ console.log("💩" + red.underline.bold(' => Error in test task!'));
68
+ });
69
+ });
70
+ gulp.task('sync-types', shell.task([
71
+ 'yarn postinstall',
72
+ ]));
73
+ gulp.task('fix-wixtypes', gulp.parallel(updateWixTypes(taskOptions)));
74
+ gulp.task('add-wix-types', function (done) {
75
+ return addTypes(taskOptions, done);
76
+ });
77
+ gulp.task('set-production', gulp.parallel(setProdConfig()));
78
+ gulp.task('start-wix', shell.task([
79
+ 'yarn wix:dev',
80
+ ]));
81
+ gulp.task('gen-docs', shell.task([
82
+ 'yarn docs',
83
+ ]));
84
+ gulp.task('fix-wix', gulp.series(cleanWix(), 'sync-types', 'fix-wixtypes', 'add-wix-types'));
85
+ gulp.task('build', gulp.parallel('build-backend', 'build-public', 'preview-templates', buildPages(taskOptions), compileScss(taskOptions), 'copy-files'));
86
+ gulp.task('build-pipeline', gulp.series(cleanSrc(taskOptions), 'set-production', 'check-ts', 'fix-wixtypes', 'add-wix-types', 'test-ci', 'build'));
87
+ gulp.task('build-prod', gulp.series((done) => checkPages(true, false).then(() => done(), (err) => done(err)), cleanSrc(taskOptions), 'set-production', 'fix-wix', 'check-ts', 'test-ci', 'build-backend', 'build-public', buildPages(taskOptions), 'copy-files', compileScss(taskOptions)));
88
+ gulp.task('start-dev-env', gulp.parallel(watchAll(watchTaskOptions), 'test', 'start-wix', 'check-ts', (done) => checkPages(false, taskOptions.moduleSettings?.force ?? false).then(() => done(), (err) => done(err))));
89
+ gulp.task('dev', gulp.series(cleanSrc(taskOptions), 'fix-wix', 'build', 'start-dev-env'));
90
+ async function gulpTaskRunner(task) {
91
+ return new Promise(function (resolve, reject) {
92
+ gulp.series(task, (done) => {
93
+ resolve(true);
94
+ done();
95
+ })(function (err) {
96
+ if (err) {
97
+ console.log((`💩 ${red.underline.bold("=> Error starting tasks =>")} ${orange(err)}`));
98
+ reject(err);
99
+ }
100
+ });
101
+ });
102
+ }
103
+ export async function runTask(task, moduleSettings, projectSettings) {
104
+ taskOptions.cwd = moduleSettings.targetFolder;
105
+ taskOptions.moduleSettings = moduleSettings;
106
+ taskOptions.projectSettings = projectSettings;
107
+ console.log("🐕" + magenta.underline(' => Starting Task => ' + orange(task)));
108
+ try {
109
+ await gulpTaskRunner(task);
110
+ }
111
+ catch (err) {
112
+ console.log((`💩 ${red.underline.bold("=> Error starting tasks =>")} ${orange(err)}`));
113
+ }
114
+ console.log("🐶" + green.underline.bold(' => Task completed: ' + task));
115
+ }
116
+ //# sourceMappingURL=Gulpfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gulpfile.js","sourceRoot":"","sources":["Gulpfile.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,QAAQ,MAAM,MAAM,CAAC;AAEjC,OAAO,eAAe,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAAA,CAAC;AACvF,OAAO,cAAc,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAAA,CAAC;AACrF,OAAO,YAAY,MAAM,gCAAgC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAAA,CAAC;AACjF,OAAO,cAAc,MAAM,kCAAkC,CAAC,OAA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C,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,4BAA4B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IACxF,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC,CAAC;AACzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TaskOptions } from '../Gulpfile';
2
+ export declare function buildBackend(options: TaskOptions): import("undertaker").TaskFunction;
3
+ export declare function buildBackendJSW(options: TaskOptions): import("undertaker").TaskFunction;
@@ -0,0 +1,92 @@
1
+ import gulp from 'gulp';
2
+ import rename from 'gulp-rename';
3
+ import * as path from 'path';
4
+ import { blue, orange, red } from '../index.js';
5
+ import swc from 'gulp-swc';
6
+ const swcOptions = {
7
+ jsc: {
8
+ target: 'es2020',
9
+ parser: {
10
+ syntax: "typescript",
11
+ tsx: true,
12
+ decorators: true,
13
+ // preserveAllComments: true
14
+ },
15
+ preserveAllComments: false,
16
+ minify: {
17
+ compress: true // equivalent to {}
18
+ }
19
+ },
20
+ };
21
+ export function buildBackend(options) {
22
+ const folders = ['typescript', ...options.modulesSourcePaths];
23
+ const { outputDir } = options;
24
+ // Create tasks for each folder
25
+ const tasks = folders.map((folder) => {
26
+ const taskName = `build_Backend-${folder}`; // Create a unique name for each task
27
+ const task = () => gulp.src([
28
+ `${folder}/backend/**/*.ts`,
29
+ `${folder}/backend/**/*.tsx`,
30
+ `!${folder}/backend/**/*.jsw.ts`,
31
+ `!${folder}/backend/**/*.spec.ts`,
32
+ ])
33
+ .pipe(swc(swcOptions))
34
+ .on('error', function (e) {
35
+ console.log("💩" + red.underline.bold(` => Build of Backend files for ${orange(folder)} failed!`));
36
+ console.log("💩" + red.underline.bold(` => Error: ${orange(e.message)}`));
37
+ this.emit('end');
38
+ })
39
+ .pipe(gulp.dest(path.join(outputDir, 'backend')))
40
+ .on('error', function (e) {
41
+ console.log("💩" + red.underline.bold(` => Build of Backend files for ${orange(folder)} failed!`));
42
+ console.log("💩" + red.underline.bold(` => Error: ${orange(e.message)}`));
43
+ this.emit('end');
44
+ })
45
+ .on('end', function () {
46
+ console.log("🐶" + blue.underline(` => Build of Backend files for ${orange(folder)} succeeded!`));
47
+ });
48
+ // Register the task with Gulp
49
+ Object.defineProperty(task, 'name', { value: taskName }); // Set a unique name for debugging
50
+ return task;
51
+ });
52
+ // Run all tasks in parallel
53
+ return gulp.parallel(...tasks);
54
+ }
55
+ export function buildBackendJSW(options) {
56
+ const folders = ['typescript', ...options.modulesSourcePaths];
57
+ const swcOptions = {
58
+ jsc: {
59
+ target: 'es6',
60
+ },
61
+ };
62
+ const { outputDir } = options;
63
+ // Create tasks for each folder
64
+ const tasks = folders.map((folder) => {
65
+ const taskName = `build-${folder}`; // Create a unique name for each task
66
+ const task = () => gulp.src([
67
+ `${folder}/backend/**/*.jsw.ts`,
68
+ ])
69
+ .pipe(swc(swcOptions))
70
+ .on('error', function (e) {
71
+ console.log("💩" + red.underline.bold(` => Build of Public files for ${orange(folder)} failed!`));
72
+ console.log("💩" + red.underline.bold(` => Error: ${orange(e.message)}`));
73
+ this.emit('end');
74
+ })
75
+ .pipe(rename({ extname: '' }))
76
+ .pipe(gulp.dest(path.join(outputDir, 'backend')))
77
+ .on('error', function (e) {
78
+ console.log("💩" + red.underline.bold(` => Build of JSW files for ${orange(folder)} failed!`));
79
+ console.log("💩" + red.underline.bold(` => Error: ${orange(e.message)}`));
80
+ this.emit('end');
81
+ })
82
+ .on('end', function () {
83
+ console.log("🐶" + blue.underline(` => Build of JSW files for ${orange(folder)} succeeded!`));
84
+ });
85
+ // Register the task with Gulp
86
+ Object.defineProperty(task, 'name', { value: taskName }); // Set a unique name for debugging
87
+ return task;
88
+ });
89
+ // Run all tasks in parallel
90
+ return gulp.parallel(...tasks);
91
+ }
92
+ //# sourceMappingURL=backend.js.map
@@ -0,0 +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AA8B,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;YAC/F,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;YAC1E,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC,CAAC;aACD,EAAE,CAAC,KAAK,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,8BAA8B,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC;QAClG,CAAC,CAAC,CAAC;QAEP,8BAA8B;QAC9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,kCAAkC;QAC5F,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC,CAAC;IAEH,4BAA4B;IAC5B,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC;AACnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TaskOptions } from '../Gulpfile.js';
2
+ export declare function checkPages(fail: boolean, force: boolean): Promise<void>;
3
+ export declare function checkTs(options: TaskOptions): import("undertaker").TaskFunction;