@depup/react-email 5.2.10-depup.1 → 6.9.1-depup.0

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 (407) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/README.md +11 -10
  3. package/changes.json +21 -17
  4. package/dev/CHANGELOG.md +2 -0
  5. package/dev/index.js +1 -1
  6. package/dev/package.json +1 -1
  7. package/dist/_virtual/_rolldown/runtime.cjs +23 -0
  8. package/dist/cli/index.mjs +7810 -0
  9. package/dist/components/body/body.cjs +39 -0
  10. package/dist/components/body/body.d.cts +7 -0
  11. package/dist/components/body/body.d.mts +7 -0
  12. package/dist/components/body/body.mjs +37 -0
  13. package/dist/components/body/index.d.cts +1 -0
  14. package/dist/components/body/index.d.mts +1 -0
  15. package/dist/components/body/margin-properties.cjs +30 -0
  16. package/dist/components/body/margin-properties.mjs +29 -0
  17. package/dist/components/button/button.cjs +64 -0
  18. package/dist/components/button/button.d.cts +13 -0
  19. package/dist/components/button/button.d.mts +13 -0
  20. package/dist/components/button/button.mjs +62 -0
  21. package/dist/components/button/index.d.cts +1 -0
  22. package/dist/components/button/index.d.mts +1 -0
  23. package/dist/components/button/utils/parse-padding.cjs +90 -0
  24. package/dist/components/button/utils/parse-padding.mjs +90 -0
  25. package/dist/components/button/utils/px-to-pt.cjs +4 -0
  26. package/dist/components/button/utils/px-to-pt.mjs +4 -0
  27. package/dist/components/code-block/code-block.cjs +79 -0
  28. package/dist/components/code-block/code-block.d.cts +20 -0
  29. package/dist/components/code-block/code-block.d.mts +20 -0
  30. package/dist/components/code-block/code-block.mjs +77 -0
  31. package/dist/components/code-block/index.d.cts +3 -0
  32. package/dist/components/code-block/index.d.mts +3 -0
  33. package/dist/components/code-block/languages-available.d.cts +4 -0
  34. package/dist/components/code-block/languages-available.d.mts +4 -0
  35. package/dist/components/code-block/prism.cjs +14564 -0
  36. package/dist/components/code-block/prism.mjs +14562 -0
  37. package/dist/components/code-block/themes.cjs +2578 -0
  38. package/dist/components/code-block/themes.d.cts +4877 -0
  39. package/dist/components/code-block/themes.d.mts +4877 -0
  40. package/dist/components/code-block/themes.mjs +2541 -0
  41. package/dist/components/code-inline/code-inline.cjs +43 -0
  42. package/dist/components/code-inline/code-inline.d.cts +12 -0
  43. package/dist/components/code-inline/code-inline.d.mts +12 -0
  44. package/dist/components/code-inline/code-inline.mjs +41 -0
  45. package/dist/components/code-inline/index.d.cts +1 -0
  46. package/dist/components/code-inline/index.d.mts +1 -0
  47. package/dist/components/column/column.cjs +19 -0
  48. package/dist/components/column/column.d.cts +7 -0
  49. package/dist/components/column/column.d.mts +7 -0
  50. package/dist/components/column/column.mjs +17 -0
  51. package/dist/components/column/index.d.cts +1 -0
  52. package/dist/components/column/index.d.mts +1 -0
  53. package/dist/components/container/container.cjs +42 -0
  54. package/dist/components/container/container.d.cts +7 -0
  55. package/dist/components/container/container.d.mts +7 -0
  56. package/dist/components/container/container.mjs +40 -0
  57. package/dist/components/container/index.d.cts +1 -0
  58. package/dist/components/container/index.d.mts +1 -0
  59. package/dist/components/element-marker.cjs +8 -0
  60. package/dist/components/element-marker.mjs +7 -0
  61. package/dist/components/font/font.cjs +22 -0
  62. package/dist/components/font/font.d.cts +26 -0
  63. package/dist/components/font/font.d.mts +26 -0
  64. package/dist/components/font/font.mjs +21 -0
  65. package/dist/components/font/index.d.cts +1 -0
  66. package/dist/components/font/index.d.mts +1 -0
  67. package/dist/components/head/head.cjs +20 -0
  68. package/dist/components/head/head.d.cts +7 -0
  69. package/dist/components/head/head.d.mts +7 -0
  70. package/dist/components/head/head.mjs +18 -0
  71. package/dist/components/head/index.d.cts +1 -0
  72. package/dist/components/head/index.d.mts +1 -0
  73. package/dist/components/heading/heading.cjs +30 -0
  74. package/dist/components/heading/heading.d.cts +22 -0
  75. package/dist/components/heading/heading.d.mts +22 -0
  76. package/dist/components/heading/heading.mjs +28 -0
  77. package/dist/components/heading/index.d.cts +1 -0
  78. package/dist/components/heading/index.d.mts +1 -0
  79. package/dist/components/heading/utils/as.d.cts +16 -0
  80. package/dist/components/heading/utils/as.d.mts +16 -0
  81. package/dist/components/heading/utils/spaces.cjs +24 -0
  82. package/dist/components/heading/utils/spaces.d.cts +14 -0
  83. package/dist/components/heading/utils/spaces.d.mts +14 -0
  84. package/dist/components/heading/utils/spaces.mjs +24 -0
  85. package/dist/components/hr/hr.cjs +21 -0
  86. package/dist/components/hr/hr.d.cts +7 -0
  87. package/dist/components/hr/hr.d.mts +7 -0
  88. package/dist/components/hr/hr.mjs +19 -0
  89. package/dist/components/hr/index.d.cts +1 -0
  90. package/dist/components/hr/index.d.mts +1 -0
  91. package/dist/components/html/html.cjs +15 -0
  92. package/dist/components/html/html.d.cts +7 -0
  93. package/dist/components/html/html.d.mts +7 -0
  94. package/dist/components/html/html.mjs +13 -0
  95. package/dist/components/html/index.d.cts +1 -0
  96. package/dist/components/html/index.d.mts +1 -0
  97. package/dist/components/img/img.cjs +25 -0
  98. package/dist/components/img/img.d.cts +7 -0
  99. package/dist/components/img/img.d.mts +7 -0
  100. package/dist/components/img/img.mjs +23 -0
  101. package/dist/components/img/index.d.cts +1 -0
  102. package/dist/components/img/index.d.mts +1 -0
  103. package/dist/components/index.d.cts +24 -0
  104. package/dist/components/index.d.mts +24 -0
  105. package/dist/components/link/index.d.cts +1 -0
  106. package/dist/components/link/index.d.mts +1 -0
  107. package/dist/components/link/link.cjs +21 -0
  108. package/dist/components/link/link.d.cts +7 -0
  109. package/dist/components/link/link.d.mts +7 -0
  110. package/dist/components/link/link.mjs +19 -0
  111. package/dist/components/markdown/index.d.cts +1 -0
  112. package/dist/components/markdown/index.d.mts +1 -0
  113. package/dist/components/markdown/markdown.cjs +101 -0
  114. package/dist/components/markdown/markdown.d.cts +16 -0
  115. package/dist/components/markdown/markdown.d.mts +16 -0
  116. package/dist/components/markdown/markdown.mjs +99 -0
  117. package/dist/components/markdown/styles.cjs +92 -0
  118. package/dist/components/markdown/styles.d.cts +31 -0
  119. package/dist/components/markdown/styles.d.mts +31 -0
  120. package/dist/components/markdown/styles.mjs +92 -0
  121. package/dist/components/markdown/utils/parse-css-in-js-to-inline-css.cjs +60 -0
  122. package/dist/components/markdown/utils/parse-css-in-js-to-inline-css.mjs +60 -0
  123. package/dist/components/preview/index.d.cts +1 -0
  124. package/dist/components/preview/index.d.mts +1 -0
  125. package/dist/components/preview/preview.cjs +34 -0
  126. package/dist/components/preview/preview.d.cts +21 -0
  127. package/dist/components/preview/preview.d.mts +21 -0
  128. package/dist/components/preview/preview.mjs +31 -0
  129. package/dist/components/row/index.d.cts +1 -0
  130. package/dist/components/row/index.d.mts +1 -0
  131. package/dist/components/row/row.cjs +30 -0
  132. package/dist/components/row/row.d.cts +11 -0
  133. package/dist/components/row/row.d.mts +11 -0
  134. package/dist/components/row/row.mjs +28 -0
  135. package/dist/components/section/index.d.cts +1 -0
  136. package/dist/components/section/index.d.mts +1 -0
  137. package/dist/components/section/section.cjs +36 -0
  138. package/dist/components/section/section.d.cts +7 -0
  139. package/dist/components/section/section.d.mts +7 -0
  140. package/dist/components/section/section.mjs +34 -0
  141. package/dist/components/tailwind/hooks/use-suspended-promise.cjs +15 -0
  142. package/dist/components/tailwind/hooks/use-suspended-promise.mjs +15 -0
  143. package/dist/components/tailwind/index.d.cts +4 -0
  144. package/dist/components/tailwind/index.d.mts +4 -0
  145. package/dist/components/tailwind/inline-styles.cjs +11 -0
  146. package/dist/components/tailwind/inline-styles.d.cts +6 -0
  147. package/dist/components/tailwind/inline-styles.d.mts +6 -0
  148. package/dist/components/tailwind/inline-styles.mjs +11 -0
  149. package/dist/components/tailwind/sanitize-stylesheet.cjs +11 -0
  150. package/dist/components/tailwind/sanitize-stylesheet.d.cts +6 -0
  151. package/dist/components/tailwind/sanitize-stylesheet.d.mts +6 -0
  152. package/dist/components/tailwind/sanitize-stylesheet.mjs +11 -0
  153. package/dist/components/tailwind/tailwind.cjs +120 -0
  154. package/dist/components/tailwind/tailwind.d.cts +25 -0
  155. package/dist/components/tailwind/tailwind.d.mts +25 -0
  156. package/dist/components/tailwind/tailwind.mjs +117 -0
  157. package/dist/components/tailwind/utils/compatibility/get-react-property.cjs +10 -0
  158. package/dist/components/tailwind/utils/compatibility/get-react-property.mjs +10 -0
  159. package/dist/components/tailwind/utils/compatibility/sanitize-class-name.cjs +26 -0
  160. package/dist/components/tailwind/utils/compatibility/sanitize-class-name.mjs +26 -0
  161. package/dist/components/tailwind/utils/css/constants.cjs +4 -0
  162. package/dist/components/tailwind/utils/css/constants.mjs +4 -0
  163. package/dist/components/tailwind/utils/css/downlevel-for-email-clients.cjs +127 -0
  164. package/dist/components/tailwind/utils/css/downlevel-for-email-clients.mjs +126 -0
  165. package/dist/components/tailwind/utils/css/extract-rules-per-class.cjs +88 -0
  166. package/dist/components/tailwind/utils/css/extract-rules-per-class.mjs +87 -0
  167. package/dist/components/tailwind/utils/css/get-custom-properties.cjs +35 -0
  168. package/dist/components/tailwind/utils/css/get-custom-properties.mjs +34 -0
  169. package/dist/components/tailwind/utils/css/is-part-inlinable.cjs +10 -0
  170. package/dist/components/tailwind/utils/css/is-part-inlinable.mjs +9 -0
  171. package/dist/components/tailwind/utils/css/is-rule-inlinable.cjs +10 -0
  172. package/dist/components/tailwind/utils/css/is-rule-inlinable.mjs +9 -0
  173. package/dist/components/tailwind/utils/css/make-inline-styles-for.cjs +52 -0
  174. package/dist/components/tailwind/utils/css/make-inline-styles-for.mjs +51 -0
  175. package/dist/components/tailwind/utils/css/resolve-all-css-variables.cjs +89 -0
  176. package/dist/components/tailwind/utils/css/resolve-all-css-variables.mjs +88 -0
  177. package/dist/components/tailwind/utils/css/resolve-calc-expressions.cjs +92 -0
  178. package/dist/components/tailwind/utils/css/resolve-calc-expressions.mjs +91 -0
  179. package/dist/components/tailwind/utils/css/sanitize-declarations.cjs +310 -0
  180. package/dist/components/tailwind/utils/css/sanitize-declarations.mjs +309 -0
  181. package/dist/components/tailwind/utils/css/sanitize-non-inlinable-rules.cjs +46 -0
  182. package/dist/components/tailwind/utils/css/sanitize-non-inlinable-rules.mjs +45 -0
  183. package/dist/components/tailwind/utils/css/split-mixed-rule.cjs +41 -0
  184. package/dist/components/tailwind/utils/css/split-mixed-rule.mjs +40 -0
  185. package/dist/components/tailwind/utils/css/strip-empty-tailwind-vars.cjs +52 -0
  186. package/dist/components/tailwind/utils/css/strip-empty-tailwind-vars.mjs +51 -0
  187. package/dist/components/tailwind/utils/css/unwrap-value.cjs +7 -0
  188. package/dist/components/tailwind/utils/css/unwrap-value.mjs +7 -0
  189. package/dist/components/tailwind/utils/react/is-component.cjs +7 -0
  190. package/dist/components/tailwind/utils/react/is-component.mjs +7 -0
  191. package/dist/components/tailwind/utils/react/map-react-tree.cjs +32 -0
  192. package/dist/components/tailwind/utils/react/map-react-tree.mjs +30 -0
  193. package/dist/components/tailwind/utils/tailwindcss/clone-element-with-inlined-styles.cjs +37 -0
  194. package/dist/components/tailwind/utils/tailwindcss/clone-element-with-inlined-styles.mjs +35 -0
  195. package/dist/components/tailwind/utils/tailwindcss/setup-tailwind.cjs +77 -0
  196. package/dist/components/tailwind/utils/tailwindcss/setup-tailwind.d.cts +19 -0
  197. package/dist/components/tailwind/utils/tailwindcss/setup-tailwind.d.mts +19 -0
  198. package/dist/components/tailwind/utils/tailwindcss/setup-tailwind.mjs +76 -0
  199. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/index.cjs +901 -0
  200. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/index.mjs +901 -0
  201. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/preflight.cjs +398 -0
  202. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/preflight.mjs +398 -0
  203. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/theme.cjs +467 -0
  204. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/theme.mjs +467 -0
  205. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/utilities.cjs +6 -0
  206. package/dist/components/tailwind/utils/tailwindcss/tailwind-stylesheets/utilities.mjs +6 -0
  207. package/dist/components/tailwind/utils/text/from-dash-case-to-camel-case.cjs +6 -0
  208. package/dist/components/tailwind/utils/text/from-dash-case-to-camel-case.mjs +6 -0
  209. package/dist/components/text/index.d.cts +1 -0
  210. package/dist/components/text/index.d.mts +1 -0
  211. package/dist/components/text/text.cjs +43 -0
  212. package/dist/components/text/text.d.cts +7 -0
  213. package/dist/components/text/text.d.mts +7 -0
  214. package/dist/components/text/text.mjs +41 -0
  215. package/dist/components/text/utils/compute-margins.cjs +62 -0
  216. package/dist/components/text/utils/compute-margins.mjs +62 -0
  217. package/dist/index.cjs +95 -0
  218. package/dist/index.d.cts +26 -0
  219. package/dist/index.d.mts +26 -0
  220. package/dist/index.mjs +25 -7326
  221. package/package.json +64 -32
  222. package/src/components/body/__snapshots__/body.spec.tsx.snap +23 -0
  223. package/src/components/body/body.spec.tsx +78 -0
  224. package/src/components/body/body.tsx +62 -0
  225. package/src/components/body/index.ts +1 -0
  226. package/src/components/body/margin-properties.ts +27 -0
  227. package/src/components/button/button.spec.tsx +53 -0
  228. package/src/components/button/button.tsx +114 -0
  229. package/src/components/button/index.ts +1 -0
  230. package/src/components/button/utils/parse-padding.ts +137 -0
  231. package/src/components/button/utils/px-to-pt.ts +4 -0
  232. package/src/components/button/utils/utils.spec.ts +153 -0
  233. package/src/components/code-block/code-block.tsx +136 -0
  234. package/src/components/code-block/index.ts +3 -0
  235. package/src/components/code-block/languages-available.ts +402 -0
  236. package/src/components/code-block/prism.ts +15618 -0
  237. package/src/components/code-block/themes.ts +4929 -0
  238. package/src/components/code-inline/code-inline.tsx +60 -0
  239. package/src/components/code-inline/index.ts +1 -0
  240. package/src/components/column/column.spec.tsx +28 -0
  241. package/src/components/column/column.tsx +17 -0
  242. package/src/components/column/index.ts +1 -0
  243. package/src/components/container/container.spec.tsx +33 -0
  244. package/src/components/container/container.tsx +59 -0
  245. package/src/components/container/index.ts +1 -0
  246. package/src/components/element-marker.ts +5 -0
  247. package/src/components/font/font.spec.tsx +63 -0
  248. package/src/components/font/font.tsx +76 -0
  249. package/src/components/font/index.ts +1 -0
  250. package/src/components/head/head.spec.tsx +34 -0
  251. package/src/components/head/head.tsx +15 -0
  252. package/src/components/head/index.ts +1 -0
  253. package/src/components/heading/heading.spec.tsx +32 -0
  254. package/src/components/heading/heading.tsx +31 -0
  255. package/src/components/heading/index.ts +1 -0
  256. package/src/components/heading/utils/as.ts +26 -0
  257. package/src/components/heading/utils/spaces.ts +64 -0
  258. package/src/components/heading/utils/utils.spec.ts +70 -0
  259. package/src/components/hr/hr.spec.tsx +22 -0
  260. package/src/components/hr/hr.tsx +23 -0
  261. package/src/components/hr/index.ts +1 -0
  262. package/src/components/html/html.spec.tsx +26 -0
  263. package/src/components/html/html.tsx +13 -0
  264. package/src/components/html/index.ts +1 -0
  265. package/src/components/img/img.spec.tsx +30 -0
  266. package/src/components/img/img.tsx +27 -0
  267. package/src/components/img/index.ts +1 -0
  268. package/src/components/index.ts +19 -0
  269. package/src/components/link/index.ts +1 -0
  270. package/src/components/link/link.spec.tsx +37 -0
  271. package/src/components/link/link.tsx +24 -0
  272. package/src/components/markdown/index.ts +1 -0
  273. package/src/components/markdown/markdown.spec.tsx +221 -0
  274. package/src/components/markdown/markdown.tsx +239 -0
  275. package/src/components/markdown/styles.ts +130 -0
  276. package/src/components/markdown/utils/parse-css-in-js-to-inline-css.spec.ts +42 -0
  277. package/src/components/markdown/utils/parse-css-in-js-to-inline-css.ts +73 -0
  278. package/src/components/preview/index.ts +1 -0
  279. package/src/components/preview/preview.spec.tsx +49 -0
  280. package/src/components/preview/preview.tsx +56 -0
  281. package/src/components/row/index.ts +1 -0
  282. package/src/components/row/row.spec.tsx +28 -0
  283. package/src/components/row/row.tsx +33 -0
  284. package/src/components/section/index.ts +1 -0
  285. package/src/components/section/section.spec.tsx +58 -0
  286. package/src/components/section/section.tsx +59 -0
  287. package/src/components/tailwind/e2e/integrations.spec.ts +44 -0
  288. package/src/components/tailwind/e2e/nextjs/README.md +9 -0
  289. package/src/components/tailwind/e2e/nextjs/emails/vercel-invite-user.tsx +151 -0
  290. package/src/components/tailwind/e2e/nextjs/next.config.mjs +6 -0
  291. package/src/components/tailwind/e2e/nextjs/package.json +24 -0
  292. package/src/components/tailwind/e2e/nextjs/src/app/favicon.ico +0 -0
  293. package/src/components/tailwind/e2e/nextjs/src/app/layout.tsx +23 -0
  294. package/src/components/tailwind/e2e/nextjs/src/app/page.tsx +7 -0
  295. package/src/components/tailwind/e2e/nextjs/tsconfig.json +27 -0
  296. package/src/components/tailwind/e2e/vite/README.md +9 -0
  297. package/src/components/tailwind/e2e/vite/emails/vercel-invite-user.tsx +151 -0
  298. package/src/components/tailwind/e2e/vite/index.html +13 -0
  299. package/src/components/tailwind/e2e/vite/package.json +25 -0
  300. package/src/components/tailwind/e2e/vite/public/vite.svg +1 -0
  301. package/src/components/tailwind/e2e/vite/src/App.tsx +10 -0
  302. package/src/components/tailwind/e2e/vite/src/main.tsx +9 -0
  303. package/src/components/tailwind/e2e/vite/src/vite-env.d.ts +1 -0
  304. package/src/components/tailwind/e2e/vite/tsconfig.json +25 -0
  305. package/src/components/tailwind/e2e/vite/tsconfig.node.json +11 -0
  306. package/src/components/tailwind/e2e/vite/vite.config.ts +7 -0
  307. package/src/components/tailwind/hooks/use-suspended-promise.ts +34 -0
  308. package/src/components/tailwind/hooks/use-suspensed-promise.spec.ts +263 -0
  309. package/src/components/tailwind/index.ts +4 -0
  310. package/src/components/tailwind/inline-styles.spec.ts +49 -0
  311. package/src/components/tailwind/inline-styles.ts +21 -0
  312. package/src/components/tailwind/sanitize-stylesheet.ts +10 -0
  313. package/src/components/tailwind/tailwind.spec.tsx +1390 -0
  314. package/src/components/tailwind/tailwind.tsx +178 -0
  315. package/src/components/tailwind/utils/__snapshots__/quick-safe-render-to-string.spec.tsx.snap +3 -0
  316. package/src/components/tailwind/utils/compatibility/escape-class-name.spec.ts +17 -0
  317. package/src/components/tailwind/utils/compatibility/escape-class-name.ts +18 -0
  318. package/src/components/tailwind/utils/compatibility/get-react-property.ts +15 -0
  319. package/src/components/tailwind/utils/compatibility/sanitize-class-name.spec.ts +7 -0
  320. package/src/components/tailwind/utils/compatibility/sanitize-class-name.ts +36 -0
  321. package/src/components/tailwind/utils/compatibility/unescape-class.ts +3 -0
  322. package/src/components/tailwind/utils/css/__snapshots__/extract-rules-matching-classes.spec.ts.snap +23 -0
  323. package/src/components/tailwind/utils/css/__snapshots__/remove-rule-duplicates-from-root.spec.ts.snap +3 -0
  324. package/src/components/tailwind/utils/css/__snapshots__/sanitize-non-inlinable-classes.spec.ts.snap +7 -0
  325. package/src/components/tailwind/utils/css/constants.ts +5 -0
  326. package/src/components/tailwind/utils/css/downlevel-for-email-clients.spec.ts +119 -0
  327. package/src/components/tailwind/utils/css/downlevel-for-email-clients.ts +245 -0
  328. package/src/components/tailwind/utils/css/extract-rules-per-class.spec.ts +324 -0
  329. package/src/components/tailwind/utils/css/extract-rules-per-class.ts +152 -0
  330. package/src/components/tailwind/utils/css/get-custom-properties.ts +49 -0
  331. package/src/components/tailwind/utils/css/is-part-inlinable.ts +15 -0
  332. package/src/components/tailwind/utils/css/is-rule-inlinable.ts +15 -0
  333. package/src/components/tailwind/utils/css/make-inline-styles-for.spec.ts +124 -0
  334. package/src/components/tailwind/utils/css/make-inline-styles-for.ts +73 -0
  335. package/src/components/tailwind/utils/css/resolve-all-css-variables.spec.ts +296 -0
  336. package/src/components/tailwind/utils/css/resolve-all-css-variables.ts +236 -0
  337. package/src/components/tailwind/utils/css/resolve-calc-expressions.spec.ts +36 -0
  338. package/src/components/tailwind/utils/css/resolve-calc-expressions.ts +147 -0
  339. package/src/components/tailwind/utils/css/sanitize-declarations.spec.ts +491 -0
  340. package/src/components/tailwind/utils/css/sanitize-declarations.ts +443 -0
  341. package/src/components/tailwind/utils/css/sanitize-non-inlinable-rules.spec.ts +72 -0
  342. package/src/components/tailwind/utils/css/sanitize-non-inlinable-rules.ts +48 -0
  343. package/src/components/tailwind/utils/css/split-mixed-rule.ts +68 -0
  344. package/src/components/tailwind/utils/css/strip-empty-tailwind-vars.spec.ts +128 -0
  345. package/src/components/tailwind/utils/css/strip-empty-tailwind-vars.ts +70 -0
  346. package/src/components/tailwind/utils/css/unwrap-value.ts +9 -0
  347. package/src/components/tailwind/utils/react/is-component.ts +12 -0
  348. package/src/components/tailwind/utils/react/map-react-tree.spec.tsx +58 -0
  349. package/src/components/tailwind/utils/react/map-react-tree.ts +58 -0
  350. package/src/components/tailwind/utils/tailwindcss/clone-element-with-inlined-styles.ts +61 -0
  351. package/src/components/tailwind/utils/tailwindcss/setup-tailwind.spec.ts +25 -0
  352. package/src/components/tailwind/utils/tailwindcss/setup-tailwind.ts +121 -0
  353. package/src/components/tailwind/utils/tailwindcss/tailwind-stylesheets/index.ts +900 -0
  354. package/src/components/tailwind/utils/tailwindcss/tailwind-stylesheets/preflight.ts +397 -0
  355. package/src/components/tailwind/utils/tailwindcss/tailwind-stylesheets/theme.ts +466 -0
  356. package/src/components/tailwind/utils/tailwindcss/tailwind-stylesheets/utilities.ts +5 -0
  357. package/src/components/tailwind/utils/text/from-dash-case-to-camel-case.ts +3 -0
  358. package/src/components/text/index.ts +1 -0
  359. package/src/components/text/text.spec.tsx +35 -0
  360. package/src/components/text/text.tsx +50 -0
  361. package/src/components/text/utils/compute-margins.spec.ts +67 -0
  362. package/src/components/text/utils/compute-margins.ts +102 -0
  363. package/src/index.ts +2 -110
  364. package/tsconfig.json +9 -4
  365. package/tsdown.config.ts +51 -6
  366. package/vitest.config.ts +1 -0
  367. package/vitest.e2e.config.ts +17 -0
  368. package/src/commands/build.ts +0 -269
  369. package/src/commands/dev.ts +0 -27
  370. package/src/commands/export.ts +0 -204
  371. package/src/commands/resend/reset.ts +0 -8
  372. package/src/commands/resend/setup.ts +0 -29
  373. package/src/commands/start.ts +0 -38
  374. package/src/utils/conf.ts +0 -9
  375. package/src/utils/esbuild/escape-string-for-regex.ts +0 -3
  376. package/src/utils/esbuild/renderring-utilities-exporter.ts +0 -63
  377. package/src/utils/get-emails-directory-metadata.spec.ts +0 -82
  378. package/src/utils/get-emails-directory-metadata.ts +0 -140
  379. package/src/utils/get-preview-server-location.ts +0 -50
  380. package/src/utils/index.ts +0 -2
  381. package/src/utils/packageJson.ts +0 -4
  382. package/src/utils/preview/get-env-variables-for-preview-app.ts +0 -20
  383. package/src/utils/preview/hot-reloading/create-dependency-graph.spec.ts +0 -226
  384. package/src/utils/preview/hot-reloading/create-dependency-graph.ts +0 -343
  385. package/src/utils/preview/hot-reloading/get-imported-modules.spec.ts +0 -151
  386. package/src/utils/preview/hot-reloading/get-imported-modules.ts +0 -49
  387. package/src/utils/preview/hot-reloading/resolve-path-aliases.spec.ts +0 -11
  388. package/src/utils/preview/hot-reloading/resolve-path-aliases.ts +0 -32
  389. package/src/utils/preview/hot-reloading/setup-hot-reloading.ts +0 -121
  390. package/src/utils/preview/hot-reloading/test/dependency-graph/inner/data-to-import.json +0 -1
  391. package/src/utils/preview/hot-reloading/test/dependency-graph/inner/file-a.ts +0 -5
  392. package/src/utils/preview/hot-reloading/test/dependency-graph/inner/file-b.ts +0 -5
  393. package/src/utils/preview/hot-reloading/test/dependency-graph/inner/general-importing-file.ts +0 -9
  394. package/src/utils/preview/hot-reloading/test/dependency-graph/inner/outer-dependency.ts +0 -3
  395. package/src/utils/preview/hot-reloading/test/dependency-graph/inner/path-aliases.ts +0 -1
  396. package/src/utils/preview/hot-reloading/test/dependency-graph/outer.ts +0 -5
  397. package/src/utils/preview/hot-reloading/test/some-file.ts +0 -0
  398. package/src/utils/preview/hot-reloading/test/tsconfig.json +0 -8
  399. package/src/utils/preview/index.ts +0 -2
  400. package/src/utils/preview/serve-static-file.ts +0 -51
  401. package/src/utils/preview/start-dev-server.ts +0 -252
  402. package/src/utils/register-spinner-autostopping.ts +0 -28
  403. package/src/utils/style-text.ts +0 -11
  404. package/src/utils/tree.spec.ts +0 -29
  405. package/src/utils/tree.ts +0 -76
  406. package/src/utils/types/hot-reload-change.ts +0 -6
  407. package/src/utils/types/hot-reload-event.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,325 @@
1
1
  # react-email
2
2
 
3
+ ## 6.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ea02028: Serve static assets with URL-encoded filenames correctly in the preview server while preventing decoded paths from escaping the static directory.
8
+ - 60c96a6: Fix `<Tailwind>` dropping `dark:` and other media-query variants with `tailwindcss@4.3.3`+, where the conditional value was inlined as the base style and the `@media` rule never reached the `<head>`
9
+
10
+ ## 6.9.0
11
+
12
+ ## 6.8.1
13
+
14
+ ## 6.8.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 9605c04: Add a Props tab to the preview toolbar for live-editing the props a template is rendered with. Edits re-render the preview without changing the template's `PreviewProps`, invalid JSON is flagged inline, and a reset restores the template defaults.
19
+
20
+ ### Patch Changes
21
+
22
+ - d7743bc: Ship per-module build output with `sideEffects: false` so bundlers can tree-shake unused components. Importing a component no longer pulls prismjs, marked, and tailwindcss into the bundle unless `CodeBlock`, `Markdown`, or `Tailwind` is actually used.
23
+ - 7b32bf6: Fixed toolbar tabs not responding on statically built previews when the page was opened with a `toolbar-panel` query param in the URL.
24
+
25
+ ## 6.7.0
26
+
27
+ ### Minor Changes
28
+
29
+ - b448c3b: Enable custom export extensions via --extension/-e (e.g. .blade.php).
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [ba96cfa]
34
+ - Updated dependencies [58d8c08]
35
+ - @react-email/render@2.1.0
36
+
37
+ ## 6.6.9
38
+
39
+ ### Patch Changes
40
+
41
+ - bc2f7e3: Fix `group` utilities including bad rules that don't work
42
+
43
+ ## 6.6.8
44
+
45
+ ### Patch Changes
46
+
47
+ - dca3c01: Fix `email build` computing the wrong output file tracing root in nested-workspace monorepos (e.g. a package one or more directories below the true repo root), which caused Vercel deploys to fail with an ENOENT error on the routes manifest.
48
+
49
+ ## 6.6.7
50
+
51
+ ### Patch Changes
52
+
53
+ - 6a5ff2a: Escape double quotes in `Markdown` link `href`/`title` and image `title` attributes, matching the escaping already applied to image `src`/`alt`. A markdown title like `'The "Complete" Guide'` no longer breaks out of the attribute in the rendered HTML.
54
+ - 4cf4c72: Fix two-value logical shorthands whose values aren't all numeric (e.g. `margin-inline: 1rem auto`, `padding-inline: 10px calc(1rem + 2px)`) producing invalid duplicated longhands. They are now split into the correct per-side declarations.
55
+ - fa77d55: Merge declarations when the same class is defined by multiple Tailwind rules (e.g. a preset and a child config override).
56
+ - fa52a04: Convert Tailwind's `rgba(r g b / a)` syntax to `rgb(r,g,b,a)` syntax for better email client support.
57
+ - fc8318c: Fix Tailwind classes not being inlined into styles for `<Section>`, `<Column>` and `<Row>`.
58
+
59
+ ## 6.6.6
60
+
61
+ ### Patch Changes
62
+
63
+ - b4ac0d5: Fix `Button` emitting `mso-text-raise` without a unit on its Outlook padding spacer (e.g. `mso-text-raise:18`), which Outlook treats as invalid. The value now carries `px`, matching the unit React already adds on the button label.
64
+ - cb3c468: Fix `email build` so the generated preview app deploys on Vercel by tracing files from the user's project root instead of the `.react-email` subfolder.
65
+ - Updated dependencies [c300cfb]
66
+ - @react-email/render@2.0.10
67
+
68
+ ## 6.6.5
69
+
70
+ ## 6.6.4
71
+
72
+ ### Patch Changes
73
+
74
+ - f8279be: Fix Tailwind pill utilities like `rounded-t-full` and `rounded-e-full` leaving an unrenderable `calc(infinity * 1px)` in the inlined email CSS (previously only `rounded-full` was converted to `9999px`).
75
+
76
+ ## 6.6.3
77
+
78
+ ## 6.6.2
79
+
80
+ ### Patch Changes
81
+
82
+ - 437c414: Fix Tailwind opacity modifiers (e.g. `bg-blue-600/50`) rendering an invalid percentage alpha that breaks in some email clients.
83
+
84
+ ## 6.6.1
85
+
86
+ ### Patch Changes
87
+
88
+ - 21bac49: Fix `Markdown` corrupting double quotes in `markdownCustomStyles`. Inline style values containing a `"` (e.g. `fontFamily: '"Times New Roman", serif'`) were escaped to the apostrophe entity `&#x27;` instead of `&quot;`, silently rewriting the quoted value. Double quotes are now escaped as `&quot;`.
89
+ - Updated dependencies [60a5b09]
90
+ - @react-email/render@2.0.9
91
+
92
+ ## 6.6.0
93
+
94
+ ### Minor Changes
95
+
96
+ - 16ff94c: add a useTitleTag in Preview component so users can disable it if they want to
97
+
98
+ ## 6.5.0
99
+
100
+ ### Minor Changes
101
+
102
+ - 3875d2a: add a `--clients` option to `email dev` and a `COMPATIBILITY_EMAIL_CLIENTS` environment variable to narrow which email clients trigger compatibility warnings. By default the preview still warns for `gmail`, `apple-mail`, `outlook`, and `yahoo`. Teams that only target one or two clients can now skip the noise: `email dev --clients outlook,apple-mail`. The CLI flag wins over the env var; an empty or fully-invalid list falls back to the defaults so warnings can't be silently switched off. Builds on #2797 by @ReemX.
103
+
104
+ ### Patch Changes
105
+
106
+ - d47825a: Add accessibility defaults to components: `dir`/`lang` on `Body`, an empty `alt` fallback on `Img`, `role="presentation"` on the `Markdown` table, and a `<title>` from `Preview`.
107
+
108
+ ## 6.4.0
109
+
110
+ ### Minor Changes
111
+
112
+ - ba99365: resolve and strip unresolved `--tw-*` CSS variables in non-inlinable rules so Tailwind media query utilities no longer break Gmail
113
+
114
+ ## 6.3.3
115
+
116
+ ## 6.3.2
117
+
118
+ ### Patch Changes
119
+
120
+ - fbda5c8: increase whitespace padding to 200 characters for better Gmail preview text rendering
121
+
122
+ ## 6.3.1
123
+
124
+ ### Patch Changes
125
+
126
+ - c610dc0: fix: padding in Container/Section failing on Klaviyo and Outlook desktop
127
+
128
+ ## 6.3.0
129
+
130
+ ## 6.2.0
131
+
132
+ ### Minor Changes
133
+
134
+ - 192d82a: Add `theme` and `utility` props to `<Tailwind>` for Tailwind v4 CSS-first configuration. Both accept a CSS string and can be combined with the existing `config` prop.
135
+
136
+ ```tsx
137
+ import themeCss from "./theme.css?inline";
138
+
139
+ <Tailwind theme={themeCss}>
140
+ <div className="bg-brand font-display">Custom themed content</div>
141
+ </Tailwind>;
142
+ ```
143
+
144
+ Empty strings are no-ops. The base Tailwind theme and utilities are still loaded — `theme` and `utility` layer on top.
145
+
146
+ The preview server, `email export`, and the caniemail compatibility check all understand the Vite-style `?inline` and `?raw` suffixes on CSS imports, so the pattern above works the same in your project and inside the preview UI. The compatibility check also extracts the `theme` and `utility` props (in addition to `config`) when analyzing your template, so any caniemail incompatibilities in CSS produced by those props will surface as warnings.
147
+
148
+ Internal note: the exported `setupTailwind` helper now takes `{ config, cssConfigs }` instead of a positional `TailwindConfig`. Calling it with the old shape throws with a migration hint.
149
+
150
+ ### Patch Changes
151
+
152
+ - 06f1d05: Watch directories targeted by dynamic `import()` template literals so changes to runtime-resolved files trigger preview reloads.
153
+
154
+ ## 6.1.5
155
+
156
+ ### Patch Changes
157
+
158
+ - 1a61cb0: Avoid OOM when running `email export` on projects with many templates. esbuild builds now run in batches of 10 entry points, and the render phase runs each batch of 25 templates inside a `worker_threads` worker so V8 isolate memory is reclaimed between batches.
159
+
160
+ ## 6.1.4
161
+
162
+ ### Patch Changes
163
+
164
+ - 1c386ce: Avoid spamming each spinner frame as a new line on non-TTY streams (CI logs, pipes, dumb terminals). The spinner now logs each status text once instead of redrawing animated frames when the output is not a TTY.
165
+ - ad6a9de: - deprecate packageManager CLI option for `email build`, only supporting npm
166
+ - ensure `email build` dependency installation includes dev dependencies
167
+
168
+ ## 6.1.3
169
+
170
+ ## 6.1.2
171
+
172
+ ## 6.1.1
173
+
174
+ ### Patch Changes
175
+
176
+ - 3c62bd0: fix divider with extra borders around other corners
177
+
178
+ ## 6.1.0
179
+
180
+ ### Patch Changes
181
+
182
+ - 47eeece: Tailwind: clearer error when `<Head>` is outside `<Tailwind>`
183
+
184
+ ## 6.0.8
185
+
186
+ ### Patch Changes
187
+
188
+ - 65525e0: Tailwind: parse non inline configuration variables
189
+
190
+ ## 6.0.7
191
+
192
+ ### Patch Changes
193
+
194
+ - 87a2486: undo nesting of all media queries, and replace >= <= exxpressions with min-width/max-width on the Tailwind component
195
+
196
+ ## 6.0.6
197
+
198
+ ### Patch Changes
199
+
200
+ - 84bb7ab: collapse empty-fallback var() refs in inline styles
201
+
202
+ ## 6.0.5
203
+
204
+ ## 6.0.4
205
+
206
+ ### Patch Changes
207
+
208
+ - 96af3a7: Replace ora with picospinner for CLI and preview spinner output.
209
+ - 5cf57ae: unpin esbuild
210
+ - Updated dependencies [e0e896f]
211
+ - @react-email/render@2.0.8
212
+
213
+ ## 6.0.3
214
+
215
+ ### Patch Changes
216
+
217
+ - bb51e5e: fix missing react and react-dom peer dependencies
218
+
219
+ ## 6.0.2
220
+
221
+ ### Patch Changes
222
+
223
+ - 63b6e71: Fix Markdown component crashing on CommonMark loose lists with paragraph continuations
224
+
225
+ ## 6.0.1
226
+
227
+ ### Patch Changes
228
+
229
+ - 599b8c5: fix type issues in starter template and in react-email
230
+
231
+ ## 6.0.0
232
+
233
+ ### Major Changes
234
+
235
+ - d0a7a52: Move all components and utilities into the `react-email` package
236
+
237
+ All components (previously in `@react-email/components` or individual packages like `@react-email/button`) and rendering utilities (previously in `@react-email/render`) are now exported directly from `react-email`. This unifies the install and import experience into a single package.
238
+
239
+ We're going to deprecate all packages except `@react-email/render` and `@react-email/ui`, and they will not be updated anymore.
240
+
241
+ ### Breaking change
242
+
243
+ Imports from `@react-email/components`, `@react-email/render`, or individual component packages (e.g. `@react-email/button`) are no longer the recommended path and they will all be deprecated with the exception of `@react-email/render` and `@react-email/editor`, and `render` will remain exported from `react-email`. Consumers should import everything from `react-email`.
244
+
245
+ ### Why
246
+
247
+ Having separate packages for components (`@react-email/components`), and the CLI (`react-email`) created unnecessary confusion, and a maintenance burden for us.
248
+
249
+ ### How to migrate
250
+ 1. Remove `@react-email/components`:
251
+
252
+ ```diff
253
+ npm remove @react-email/components
254
+ ```
255
+
256
+ 2. Update `react-email`, and move it over to `dependencies`:
257
+
258
+ ```diff
259
+ npm install react-email@latest
260
+ ```
261
+
262
+ 3. **Update your imports**:
263
+
264
+ ```diff
265
+ - import { Button, Html, Head, render } from "@react-email/components";
266
+ + import { Button, Html, Head, render } from "react-email";
267
+ ```
268
+
269
+ ### Patch Changes
270
+
271
+ - a3a15ea: replace deprecated `url.parse()` with WHATWG URL API in the preview dev server.
272
+ - Updated dependencies [7fc539d]
273
+ - @react-email/render@2.0.7
274
+
275
+ ## 6.0.0-canary.2
276
+
277
+ ## 6.0.0-canary.1
278
+
279
+ ### Patch Changes
280
+
281
+ - Updated dependencies [7fc539d]
282
+ - @react-email/render@2.0.7-canary.0
283
+
284
+ ## 6.0.0-canary.0
285
+
286
+ ### Major Changes
287
+
288
+ - d0a7a52: Move all components and utilities into the `react-email` package
289
+
290
+ All components (previously in `@react-email/components` or individual packages like `@react-email/button`) and rendering utilities (previously in `@react-email/render`) are now exported directly from `react-email`. This unifies the install and import experience into a single package.
291
+
292
+ We're going to deprecate all packages except `@react-email/render` and `@react-email/preview-server`, and they will not be updated anymore.
293
+
294
+ ### Breaking change
295
+
296
+ Imports from `@react-email/components`, `@react-email/render`, or individual component packages (e.g. `@react-email/button`) are no longer the recommended path and they will all be deprecated with the exception of `@react-email/render` and `@react-email/editor`, and `render` will remain exported from `react-email`. Consumers should import everything from `react-email`.
297
+
298
+ ### Why
299
+
300
+ Having separate packages for components (`@react-email/components`), and the CLI (`react-email`) created unnecessary confusion, and a maintenance burden for us.
301
+
302
+ ### How to migrate
303
+ 1. **Update your dependencies** -- remove `@react-email/components`, keep `react-email`:
304
+
305
+ ```diff
306
+ - npm install @react-email/components react-email @react-email/preview-server
307
+ + npm install react-email @react-email/preview-server
308
+ ```
309
+
310
+ 2. **Update your imports**:
311
+
312
+ ```diff
313
+ - import { Button, Html, Head, render } from "@react-email/components";
314
+ + import { Button, Html, Head, render } from "react-email";
315
+ ```
316
+
317
+ 3. The `@react-email/preview-server` and `@react-email/editor` packages are not included in `react-email`
318
+
319
+ ### Patch Changes
320
+
321
+ - a3a15ea: replace deprecated `url.parse()` with WHATWG URL API in the preview dev server.
322
+
3
323
  ## 5.2.10
4
324
 
5
325
  ## 5.2.9
package/README.md CHANGED
@@ -13,28 +13,29 @@ npm install @depup/react-email
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [react-email](https://www.npmjs.com/package/react-email) @ 5.2.10 |
17
- | Processed | 2026-04-03 |
16
+ | Original | [react-email](https://www.npmjs.com/package/react-email) @ 6.9.1 |
17
+ | Processed | 2026-07-24 |
18
18
  | Smoke test | failed |
19
- | Deps updated | 13 |
19
+ | Deps updated | 14 |
20
20
 
21
21
  ## Dependency Changes
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | @babel/parser | 7.27.0 | ^7.29.2 |
26
- | @babel/traverse | 7.27.0 | ^7.29.0 |
25
+ | @babel/parser | 7.29.2 | ^8.0.4 |
26
+ | @babel/traverse | 7.29.0 | ^8.0.4 |
27
27
  | chokidar | ^4.0.3 | ^5.0.0 |
28
- | commander | ^13.0.0 | ^14.0.3 |
28
+ | commander | ^13.0.0 | ^15.0.0 |
29
29
  | conf | ^15.0.2 | ^15.1.0 |
30
30
  | debounce | ^2.0.0 | ^3.0.0 |
31
- | esbuild | 0.27.3 | ^0.28.0 |
32
- | jiti | 2.4.2 | ^2.6.1 |
31
+ | esbuild | ^0.28.0 | ^0.28.1 |
32
+ | jiti | 2.6.1 | ^2.7.0 |
33
33
  | log-symbols | ^7.0.0 | ^7.0.1 |
34
+ | marked | ^15.0.12 | ^18.0.7 |
34
35
  | mime-types | ^3.0.0 | ^3.0.2 |
35
- | nypm | 0.6.2 | ^0.6.5 |
36
- | ora | ^8.0.0 | ^9.3.0 |
36
+ | nypm | 0.6.6 | ^0.6.8 |
37
37
  | socket.io | ^4.8.1 | ^4.8.3 |
38
+ | tailwindcss | ^4.1.18 | ^4.3.3 |
38
39
 
39
40
  ---
40
41
 
package/changes.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "bumped": {
3
3
  "@babel/parser": {
4
- "from": "7.27.0",
5
- "to": "^7.29.2"
4
+ "from": "7.29.2",
5
+ "to": "^8.0.4"
6
6
  },
7
7
  "@babel/traverse": {
8
- "from": "7.27.0",
9
- "to": "^7.29.0"
8
+ "from": "7.29.0",
9
+ "to": "^8.0.4"
10
10
  },
11
11
  "chokidar": {
12
12
  "from": "^4.0.3",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "commander": {
16
16
  "from": "^13.0.0",
17
- "to": "^14.0.3"
17
+ "to": "^15.0.0"
18
18
  },
19
19
  "conf": {
20
20
  "from": "^15.0.2",
@@ -25,34 +25,38 @@
25
25
  "to": "^3.0.0"
26
26
  },
27
27
  "esbuild": {
28
- "from": "0.27.3",
29
- "to": "^0.28.0"
28
+ "from": "^0.28.0",
29
+ "to": "^0.28.1"
30
30
  },
31
31
  "jiti": {
32
- "from": "2.4.2",
33
- "to": "^2.6.1"
32
+ "from": "2.6.1",
33
+ "to": "^2.7.0"
34
34
  },
35
35
  "log-symbols": {
36
36
  "from": "^7.0.0",
37
37
  "to": "^7.0.1"
38
38
  },
39
+ "marked": {
40
+ "from": "^15.0.12",
41
+ "to": "^18.0.7"
42
+ },
39
43
  "mime-types": {
40
44
  "from": "^3.0.0",
41
45
  "to": "^3.0.2"
42
46
  },
43
47
  "nypm": {
44
- "from": "0.6.2",
45
- "to": "^0.6.5"
46
- },
47
- "ora": {
48
- "from": "^8.0.0",
49
- "to": "^9.3.0"
48
+ "from": "0.6.6",
49
+ "to": "^0.6.8"
50
50
  },
51
51
  "socket.io": {
52
52
  "from": "^4.8.1",
53
53
  "to": "^4.8.3"
54
+ },
55
+ "tailwindcss": {
56
+ "from": "^4.1.18",
57
+ "to": "^4.3.3"
54
58
  }
55
59
  },
56
- "timestamp": "2026-04-03T00:45:44.548Z",
57
- "totalUpdated": 13
60
+ "timestamp": "2026-07-24T00:40:11.966Z",
61
+ "totalUpdated": 14
58
62
  }
package/dev/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # email-dev
2
2
 
3
+ ## 0.0.7
4
+
3
5
  ## 0.0.6
4
6
 
5
7
  ## 0.0.5
package/dev/index.js CHANGED
@@ -6,7 +6,7 @@ import { join } from 'shlex';
6
6
  const filename = url.fileURLToPath(import.meta.url);
7
7
  const dirname = path.dirname(filename);
8
8
 
9
- const root = path.resolve(dirname, '../src/index.ts');
9
+ const root = path.resolve(dirname, '../src/cli/index.ts');
10
10
 
11
11
  const tsx = child_process.spawn(
12
12
  `pnpm tsx ${root} ${join(process.argv.slice(2))}`,
package/dev/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "email-dev",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "bin": "index.js",
5
5
  "private": true,
6
6
  "type": "module",
@@ -0,0 +1,23 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+ //#endregion
23
+ exports.__toESM = __toESM;