@ives_xxz/packages 1.0.9 → 1.0.11

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.
@@ -27,9 +27,11 @@ const ConfigManager = {
27
27
  get() {
28
28
  const projectPath = Editor.Project.path || Editor.projectPath,
29
29
  configFilePath = Path.join(projectPath, configFileDir, configFileName);
30
+ Editor.log(`读取配置文件:${configFilePath}`);
30
31
  let config = null;
31
32
  if (Fs.existsSync(configFilePath)) {
32
33
  config = JSON.parse(Fs.readFileSync(configFilePath, 'utf8'));
34
+ Editor.log(`读取配置文件2:${config}`);
33
35
  } else {
34
36
  config = { ...defaultConfig };
35
37
  }
@@ -185,7 +185,7 @@ module.exports = {
185
185
  this.excludeFiles = config.excludeFiles
186
186
  ? config.excludeFiles.map((value) => Path.normalize(value))
187
187
  : [];
188
-
188
+ Editor.log('排除的文件列表', this.excludeFiles);
189
189
  // 重置日志
190
190
  this.logger = {
191
191
  successCount: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ives_xxz/packages",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "cocoscreator 2.x plugins",
5
5
  "main": "index.js",
6
6
  "scripts": {},