@flun/html-template 4.0.10 → 4.0.12

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.
package/compile.js CHANGED
@@ -261,7 +261,7 @@ const execPromise = util.promisify(exec),
261
261
  rendered = await processIncludes(rendered, templateFile);
262
262
  rendered = processVariables(rendered, { currentUrl: `/${templateFile}`, query: {} });
263
263
 
264
- const includedFiles = getIncludedFiles(); // 获取所有包含文件
264
+ const includedFiles = getIncludedFiles(); // 获取所有包含文件
265
265
  if (includedFiles.has(templateFile)) continue; // 跳过被包含的文件
266
266
 
267
267
  const outputPath = path.join(CWD, outputDir, templatesDir, templateFile);
package/copy-files.js CHANGED
@@ -148,7 +148,7 @@ const runCopyFiles = async (options = {}) => {
148
148
  account: options.account ?? false,
149
149
  packageDir: __dirname // 包所在目录,用于路径判断
150
150
  },
151
- targetDir = path.resolve(__dirname, '../..'); // 目标目录(项目根目录)
151
+ targetDir = path.resolve(__dirname, '../../..'); // 目标目录(项目根目录)
152
152
 
153
153
  console.log('✅ 开始复制文件'); // 关键消息总是显示
154
154
  if (config.verbose) {
@@ -4,7 +4,7 @@ import express from 'express';
4
4
  import fs from 'fs';
5
5
  import path from 'path';
6
6
  import { env } from '@flun/env';
7
- import { createTransport } from '@flun/mail';
7
+ import { createTransport } from '@flun/mailer';
8
8
  import {
9
9
  generateRegistrationOptions, verifyRegistrationResponse, generateAuthenticationOptions, verifyAuthenticationResponse
10
10
  } from '@flun/webauthn-server';
package/f-CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # 变更日志
2
- ## [4.0.10] - 2026-04-30 10:30
3
- ### 新包名更新完成通知:
4
- - 新包名的版本号将延续旧包包版本号;
2
+ ## [4.0.12] - 2026-04-30 17:05
3
+ ### 修复:
4
+ - 修复了account.js文件中邮件包名使用错误的问题;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flun/html-template",
3
- "version": "4.0.10",
3
+ "version": "4.0.12",
4
4
  "description": "一个HTML模板工具包,提供开发服务器和模板编译功能,支持自定义标签和快捷输入,变量定义,包含文件引用,帮助开发者模块化处理HTML。",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",