Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"jsx-email": "workspace:*"
},
"devDependencies": {
"@types/node": "20.10.5"
"@types/node": "25.2.0"
}
}
30 changes: 15 additions & 15 deletions apps/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
"type": "module",
"devDependencies": {
"@radix-ui/colors": "3.0.0",
"@radix-ui/react-collapsible": "1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "1.1.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-toggle-group": "1.1.0",
"autoprefixer": "^10.4.16",
"@radix-ui/react-collapsible": "1.1.12",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-popover": "1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "1.2.4",
"@radix-ui/react-toggle-group": "1.1.11",
"autoprefixer": "^10.4.24",
"classnames": "2.5.1",
"framer-motion": "11.12.0",
"postcss": "^8.4.32",
"react": "^19",
"react-dom": "^19",
"react-router-dom": "7.5.2",
"shiki": "^1.18.0",
"tailwindcss": "3.4.15",
"framer-motion": "12.31.0",
"postcss": "^8.5.6",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-router-dom": "7.13.0",
"shiki": "^3.22.0",
"tailwindcss": "4.1.18",
"titleize": "^4.0.0",
"vite": "^5.2.11"
"vite": "^7.3.1"
}
}
8 changes: 4 additions & 4 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"node": ">=18.0.0"
},
"devDependencies": {
"@octokit/rest": "^20.0.2",
"globby": "11.0.4",
"@octokit/rest": "^22.0.1",
"globby": "16.1.0",
"titleize": "^4.0.0",
"vitepress": "1.0.0-rc.20",
"vue": "3.3.4"
"vitepress": "1.6.4",
"vue": "3.5.27"
}
}
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
"private": true,
"scripts": {
"bootstrap": "./shared/bootstrap.sh",
"prepare": "husky install"
"prepare": "husky"
},
"devDependencies": {
"@dot/versioner": "^0.4.3",
"@moonrepo/cli": "1.41.2",
"@swc/core": "^1.3.91",
"@swc/helpers": "^0.5.2",
"@types/node": "20.6.2",
"@types/react": "18.2.22",
"@types/react-dom": "18.2.7",
"@moonrepo/cli": "1.41.7",
"@swc/core": "^1.15.11",
"@swc/helpers": "^0.5.18",
"@types/node": "25.2.0",
"@types/react": "19.2.11",
"@types/react-dom": "19.2.3",
"create-jsx-email": "workspace:*",
"csstype": "3.1.2",
"csstype": "3.2.3",
"eslint-config-shellscape": "^6.0.2",
"eslint-import-resolver-typescript": "^3.6.1",
"gh-pages": "^6.0.0",
"happy-dom": "^12.2.1",
"husky": "^8.0.3",
"eslint-import-resolver-typescript": "^4.4.4",
"gh-pages": "^6.3.0",
"happy-dom": "^20.5.0",
"husky": "^9.1.7",
"jsx-email": "workspace:*",
"lint-staged": "14.0.1",
"rimraf": "^6.0.1",
"ts-node": "10.9.1",
"tshy": "^1.14.0",
"lint-staged": "16.2.7",
"rimraf": "^6.1.2",
"ts-node": "10.9.2",
"tshy": "^3.1.0",
"typescript": "^5.9.3",
"vitest": "^4.0.5"
"vitest": "^4.0.18"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
Expand All @@ -49,11 +49,11 @@
"packageManager": "pnpm@9.15.6",
"pnpm": {
"overrides": {
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-router-dom": "6.16.0"
"@types/react": "19.2.11",
"@types/react-dom": "19.2.3",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-router-dom": "7.13.0"
}
}
}
14 changes: 7 additions & 7 deletions packages/create-jsx-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
],
"dependencies": {
"@types/yargs-parser": "^21.0.3",
"chalk-template": "^1.1.0",
"detect-package-manager": "^3.0.1",
"globby": "14.0.2",
"chalk-template": "^1.1.2",
"detect-package-manager": "^3.0.2",
"globby": "16.1.0",
"mustache": "^4.2.0",
"prompts": "^2.4.2",
"yargs-parser": "^21.1.1"
"yargs-parser": "^22.0.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.2",
"@types/mustache": "^4.2.5",
"@types/prompts": "^2.4.8"
"@types/fs-extra": "^11.0.4",
"@types/mustache": "^4.2.6",
"@types/prompts": "^2.4.9"
},
"types": "dist/src/index.d.ts",
"funding": {
Expand Down
106 changes: 50 additions & 56 deletions packages/jsx-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,36 +23,30 @@
"./package.json": "./package.json",
".": {
"import": {
"source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"source": "./src/index.ts",
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./compile": {
"import": {
"source": "./src/compile.ts",
"types": "./dist/esm/compile.d.ts",
"default": "./dist/esm/compile.js"
},
"require": {
"source": "./src/compile.ts",
"types": "./dist/commonjs/compile.d.ts",
"default": "./dist/commonjs/compile.js"
}
},
"./config": {
"import": {
"source": "./src/config.ts",
"types": "./dist/esm/config.d.ts",
"default": "./dist/esm/config.js"
},
"require": {
"source": "./src/config.ts",
"types": "./dist/commonjs/config.d.ts",
"default": "./dist/commonjs/config.js"
}
Expand All @@ -77,71 +71,71 @@
"react-dom": "^18.2.0 || ^19"
},
"dependencies": {
"@dot/log": "^0.1.5",
"@jsx-email/doiuse-email": "^1.0.1",
"@parcel/watcher": "^2.4.1",
"@dot/log": "^0.2.1",
"@jsx-email/doiuse-email": "^1.0.4",
"@parcel/watcher": "^2.5.6",
"@radix-ui/colors": "3.0.0",
"@radix-ui/react-collapsible": "1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "1.1.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-toggle-group": "1.1.0",
"@unocss/core": "^0.65.1",
"@unocss/preset-rem-to-px": "^0.65.1",
"@unocss/preset-typography": "^0.65.1",
"@unocss/preset-uno": "^0.65.1",
"@unocss/preset-wind": "^0.65.1",
"@unocss/transformer-compile-class": "^0.65.1",
"@unocss/transformer-variant-group": "^0.65.1",
"@vitejs/plugin-react": "^5.1.0",
"autoprefixer": "^10.4.16",
"chalk": "4.1.2",
"@radix-ui/react-collapsible": "1.1.12",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-popover": "1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "1.2.4",
"@radix-ui/react-toggle-group": "1.1.11",
"@unocss/core": "^66.6.0",
"@unocss/preset-rem-to-px": "^66.6.0",
"@unocss/preset-typography": "^66.6.0",
"@unocss/preset-uno": "^66.6.0",
"@unocss/preset-wind": "^66.6.0",
"@unocss/transformer-compile-class": "^66.6.0",
"@unocss/transformer-variant-group": "^66.6.0",
"@vitejs/plugin-react": "^5.1.3",
"autoprefixer": "^10.4.24",
"chalk": "5.6.2",
"classnames": "2.5.1",
"debug": "^4.3.4",
"esbuild": "^0.24.0",
"find-up": "^7.0.0",
"framer-motion": "11.12.0",
"globby": "14.0.2",
"hash-it": "^6.0.0",
"debug": "^4.4.3",
"esbuild": "^0.27.2",
"find-up": "^8.0.0",
"framer-motion": "12.31.0",
"globby": "16.1.0",
"hash-it": "^7.0.2",
"html-to-text": "9.0.5",
"lilconfig": "^3.1.2",
"magic-string": "^0.30.5",
"md-to-react-email": "5.0.4",
"micromatch": "^4.0.5",
"mime-types": "^2.1.35",
"lilconfig": "^3.1.3",
"magic-string": "^0.30.21",
"md-to-react-email": "5.0.5",
"micromatch": "^4.0.8",
"mime-types": "^3.0.2",
"mustache": "^4.2.0",
"postcss": "^8.4.32",
"postcss": "^8.5.6",
"postcss-var-replace": "^1.0.0",
"pretty-bytes": "^6.1.1",
"react-router-dom": "7.12.0",
"rehype": "^13.0.1",
"rehype-stringify": "^10.0.0",
"shiki": "^1.18.0",
"pretty-bytes": "^7.1.0",
"react-router-dom": "7.13.0",
"rehype": "^13.0.2",
"rehype-stringify": "^10.0.1",
"shiki": "^3.22.0",
"source-map-support": "^0.5.21",
"std-env": "^3.6.0",
"tailwindcss": "3.4.15",
"std-env": "^3.10.0",
"tailwindcss": "4.1.18",
"titleize": "^4.0.0",
"unist-util-visit": "^5.0.0",
"unist-util-visit": "^5.1.0",
"valibot": "^1.2.0",
"vite": "^7.1.12",
"yargs-parser": "^21.1.1"
"vite": "^7.3.1",
"yargs-parser": "^22.0.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/hast": "^3.0.4",
"@types/html-minifier-terser": "^7.0.0",
"@types/html-to-text": "^9.0.2",
"@types/html-minifier-terser": "^7.0.2",
"@types/html-to-text": "^9.0.4",
"@types/import-local": "^3.1.2",
"@types/micromatch": "^4.0.7",
"@types/mime-types": "^2.1.4",
"@types/mustache": "^4.2.5",
"@types/pretty": "^2.0.1",
"@types/semver": "^7.5.8",
"@types/micromatch": "^4.0.10",
"@types/mime-types": "^3.0.1",
"@types/mustache": "^4.2.6",
"@types/pretty": "^2.0.3",
"@types/semver": "^7.7.1",
"@types/source-map-support": "^0.5.10",
"@types/yargs-parser": "^21.0.3",
"hast": "^1.0.0",
"unified": "^11.0.4"
"rehype": "^1.0.0",
"unified": "^11.0.5"
},
"types": "./dist/commonjs/index.d.ts",
"bump": 1,
Expand Down
4 changes: 2 additions & 2 deletions packages/jsx-email/src/cli/commands/preview.mts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-use-before-define */
import { AssertionError } from 'node:assert';
import { existsSync } from 'node:fs';
import { mkdir, rmdir } from 'node:fs/promises';
import { mkdir, rm } from 'node:fs/promises';
import { isAbsolute, join, resolve, win32 } from 'node:path';
import os from 'node:os';
import { fileURLToPath } from 'node:url';
Expand Down Expand Up @@ -155,7 +155,7 @@ const prepareBuild = async ({ targetPath, argv }: PreviewCommonParams) => {
const buildPath = await getTempPath('preview');
const { exclude } = argv;

if (existsSync(buildPath)) await rmdir(buildPath, { recursive: true });
if (existsSync(buildPath)) await rm(buildPath, { recursive: true });
await mkdir(buildPath, { recursive: true });
const files = await buildForPreview({ buildPath, exclude, targetPath });
await writePreviewDataFiles(files);
Expand Down
4 changes: 1 addition & 3 deletions packages/jsx-email/src/renderer/suspense.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Note: tshy has some bugs with dual-mode package importing in the cjs build https://github.com/isaacs/tshy/issues/50
// @ts-ignore
import hash from 'hash-it';
import { hash } from 'hash-it';

const promiseMap = new Map();

Expand Down
13 changes: 7 additions & 6 deletions packages/plugin-inline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"author": "Andrew Powell <andrew@shellscape.org>",
"homepage": "https://jsx.email/",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"type": "module",
"exports": {
"./package.json": "./package.json",
Expand Down Expand Up @@ -51,15 +52,15 @@
"jsx-email": "workspace:^"
},
"dependencies": {
"@adobe/css-tools": "^4.3.3",
"hast-util-select": "^6.0.2",
"hast-util-to-string": "^3.0.0",
"@adobe/css-tools": "^4.4.4",
"hast-util-select": "^6.0.4",
"hast-util-to-string": "^3.0.1",
"unist-util-remove": "^4.0.0",
"unist-util-visit": "^5.0.0"
"unist-util-visit": "^5.1.0"
},
"devDependencies": {
"hast": "^1.0.0",
"unified": "^11.0.4"
"rehype": "^13.0.2",
"unified": "^11.0.5"
},
"types": "./dist/commonjs/index.d.ts",
"funding": {
Expand Down
Loading