pug-site-core 1.0.3 → 1.0.4

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/devServer.js +1 -1
  2. package/package.json +2 -3
package/lib/devServer.js CHANGED
@@ -129,7 +129,7 @@ function setupRoutes(app, wss) {
129
129
  `请求路径:${req.path} 模版路径:${pugPath} 数据JSON文件路径或getData中的函数名:${jsonDataPath}`
130
130
  );
131
131
  let commonData = {};
132
- if (config.languageFileChangeUpdateCommon) {
132
+ if (config.langChangeUpdateCommon) {
133
133
  const getDataPath = pathToFileURL(
134
134
  path.resolve(projectRoot, "getData.js")
135
135
  ).href;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pug-site-core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {},
@@ -9,7 +9,6 @@
9
9
  "dependencies": {
10
10
  "@google-cloud/translate": "^8.5.0",
11
11
  "async": "^3.2.6",
12
- "axios": "^1.7.7",
13
12
  "chokidar": "^3.6.0",
14
13
  "express": "^4.19.2",
15
14
  "express-useragent": "^1.0.15",
@@ -28,7 +27,7 @@
28
27
  "ws": "^8.18.0"
29
28
  },
30
29
  "license": "ISC",
31
- "description": "添加翻译功能函数的导出",
30
+ "description": "配置参数优化",
32
31
  "files": [
33
32
  "lib/",
34
33
  "index.js"