pug-site-core 2.0.9 → 2.0.10

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/lib/generate.js +2 -2
  2. package/package.json +2 -2
package/lib/generate.js CHANGED
@@ -213,11 +213,11 @@ export async function fetchDataToJsonFile(args) {
213
213
 
214
214
  // 执行初始化函数
215
215
  if (getData.init && typeof getData.init === "function") {
216
- console.log("开始执行init初始化函数");
216
+ console.log("开始执行init初始化函数...");
217
217
  const initStartTime = Date.now();
218
218
  await getData.init();
219
219
  const initCostTime = (Date.now() - initStartTime) / 1000;
220
- console.log("初始化函数执行完成,耗时:", initCostTime, "s");
220
+ console.log("初始化函数执行完成,耗时:", initCostTime, "s");
221
221
  }
222
222
 
223
223
  const pugFilePathList = await getPagesPugFilePathArr();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pug-site-core",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "axios": "^1.7.7"
38
38
  },
39
39
  "license": "ISC",
40
- "description": "优化注入函数的判断、添加init函数",
40
+ "description": "修改log信息",
41
41
  "files": [
42
42
  "lib/",
43
43
  "index.js"