Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(jsx-email): update dependencies #251

Merged
merged 1 commit into from
Nov 26, 2024
Merged
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
10 changes: 5 additions & 5 deletions packages/jsx-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,20 @@
"chalk": "4.1.2",
"classnames": "2.5.1",
"debug": "^4.3.4",
"esbuild": "^0.21.1",
"esbuild": "^0.24.0",
"find-up": "^7.0.0",
"globby": "11.0.4",
"globby": "14.0.2",
"hash-it": "^6.0.0",
"html-to-text": "9.0.5",
"lilconfig": "^3.1.2",
"magic-string": "^0.30.5",
"md-to-react-email": "5.0.2",
"md-to-react-email": "5.0.4",
"micromatch": "^4.0.5",
"mime-types": "^2.1.35",
"mustache": "^4.2.0",
"postcss": "^8.4.32",
"postcss-var-replace": "^1.0.0",
"pretty-bytes": "^5.6.0",
"pretty-bytes": "^6.1.1",
"rehype": "^13.0.1",
"rehype-stringify": "^10.0.0",
"rollup-plugin-hypothetical": "^2.1.1",
Expand All @@ -109,7 +109,7 @@
"std-env": "^3.6.0",
"titleize": "^4.0.0",
"unist-util-visit": "^5.0.0",
"valibot": "^0.30.0",
"valibot": "^0.42.1",
"vite": "^5.2.11",
"yargs-parser": "^21.1.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/jsx-email/src/cli/commands/build.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { dirname, basename, extname, join, resolve, win32, posix } from 'path';
import { pathToFileURL } from 'url';

import chalk from 'chalk';
import globby from 'globby';
import { globby } from 'globby';
import micromatch from 'micromatch';
import { isWindows } from 'std-env';
import type { Output as Infer } from 'valibot';
import type { InferOutput as Infer } from 'valibot';
import { parse as assert, boolean, object, optional, string } from 'valibot';

import { log } from '../../log.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/jsx-email/src/cli/commands/check.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { lstat } from 'node:fs/promises';

import { doIUseEmail } from '@jsx-email/doiuse-email';
import chalk from 'chalk';
import { parse as assert, object, type Output as Infer } from 'valibot';
import { parse as assert, object, type InferOutput as Infer } from 'valibot';

import { formatBytes, gmailByteLimit, gmailBytesSafe } from '../helpers.mjs';

Expand Down
9 changes: 8 additions & 1 deletion packages/jsx-email/src/cli/commands/create.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ import { fileURLToPath } from 'node:url';

import chalk from 'chalk';
import mustache from 'mustache';
import { parse as assert, boolean, object, optional, string, type Output as Infer } from 'valibot';
import {
parse as assert,
boolean,
object,
optional,
string,
type InferOutput as Infer
} from 'valibot';

import { type CommandFn } from './types.mjs';

Expand Down
2 changes: 1 addition & 1 deletion packages/jsx-email/src/cli/commands/preview.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { build as viteBuild, createServer, type InlineConfig } from 'vite';

import { log } from '../../log.js';
import { buildForPreview } from '../helpers.mjs';
import { staticPlugin } from '../vite-static.js';
import { staticPlugin } from '../vite-static.mjs';
import { watch } from '../watcher.mjs';

import { getTempPath, normalizePath } from './build.mjs';
Expand Down
10 changes: 9 additions & 1 deletion packages/jsx-email/src/cli/commands/types.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import type React from 'react';
import { boolean, number, object, optional, string, union, type Output as Infer } from 'valibot';
import {
boolean,
number,
object,
optional,
string,
union,
type InferOutput as Infer
} from 'valibot';

export type Flags = Record<string, string | boolean | undefined>;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readFile } from 'node:fs/promises';
import { extname } from 'node:path';

import globby from 'globby';
import { globby } from 'globby';
import mime from 'mime-types';
// Note: another tshy problem https://github.com/isaacs/tshy/issues/96
// @ts-ignore
Expand Down
Loading
Loading