juice-email-cli 2.1.5 → 2.1.6

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/snippet.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juice-email-cli",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "CLI tool to generate email-client-compatible HTML with juice (CSS inlining) + Mustache templating + minification",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/snippet.js CHANGED
@@ -302,7 +302,7 @@ async function promptConfigForInteractive(snippetDirYamlFiles) {
302
302
 
303
303
  if (cwdConfig) {
304
304
  choices.push({
305
- name: `📂 当前目录配置 → ${cwdConfig.name}(优先)`,
305
+ name: `[当前目录] ${cwdConfig.name} (优先)`,
306
306
  value: { type: 'file', path: cwdConfig.path, name: cwdConfig.name },
307
307
  });
308
308
  }
@@ -312,7 +312,7 @@ async function promptConfigForInteractive(snippetDirYamlFiles) {
312
312
  for (const f of snippetDirYamlFiles) {
313
313
  const isDefault = f.name === defaultName;
314
314
  choices.push({
315
- name: `📄 片段目录配置 → ${f.name}${isDefault ? '(默认)' : ''}`,
315
+ name: `[片段目录] ${f.name}${isDefault ? ' (默认)' : ''}`,
316
316
  value: { type: 'file', path: f.path, name: f.name },
317
317
  });
318
318
  if (isDefault && !cwdConfig) {
@@ -321,8 +321,8 @@ async function promptConfigForInteractive(snippetDirYamlFiles) {
321
321
  }
322
322
 
323
323
  choices.push(
324
- { name: '📁 输入自定义路径...', value: { type: 'custom' } },
325
- { name: ' 跳过(不使用项目配置)', value: { type: 'skip' } },
324
+ { name: '[自定义] 输入路径...', value: { type: 'custom' } },
325
+ { name: '[跳过] 不使用项目配置', value: { type: 'skip' } },
326
326
  );
327
327
 
328
328
  const result = await select({