fast-cocos 1.0.5 → 1.0.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.
|
@@ -578,7 +578,7 @@ class XlsxParser {
|
|
|
578
578
|
json[sheetName] = require(filePath);
|
|
579
579
|
});
|
|
580
580
|
this.writeFileSync(this.options["xlsx.json"], json);
|
|
581
|
-
const tmpJsonPath = path_1.default.join(this.options.
|
|
581
|
+
const tmpJsonPath = path_1.default.join(this.options.xlsxDir, "config", "xlsx.json");
|
|
582
582
|
this.writeFileSync(tmpJsonPath, json);
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
@@ -625,7 +625,7 @@ class XlsxParser {
|
|
|
625
625
|
});
|
|
626
626
|
declareStr += `\n}\n`;
|
|
627
627
|
this.writeFileSync(this.options["xlsx.sheet.d.ts"], declareStr);
|
|
628
|
-
const tmpSheetDtsPath = path_1.default.join(this.options.
|
|
628
|
+
const tmpSheetDtsPath = path_1.default.join(this.options.xlsxDir, "config", "xlsx.sheet.d.ts");
|
|
629
629
|
this.writeFileSync(tmpSheetDtsPath, declareStr);
|
|
630
630
|
// xlsx.ts
|
|
631
631
|
const jsonDir = path_1.default.join(this.options.tmpDir);
|
|
@@ -653,7 +653,7 @@ class XlsxParser {
|
|
|
653
653
|
scriptStr = scriptStr.replace("{0}", propertyStr);
|
|
654
654
|
scriptStr = scriptStr.replace("{1}", assignStr);
|
|
655
655
|
this.writeFileSync(this.options["xlsx.ts"], scriptStr);
|
|
656
|
-
const tmpTsPath = path_1.default.join(this.options.
|
|
656
|
+
const tmpTsPath = path_1.default.join(this.options.xlsxDir, "config", "xlsx.ts");
|
|
657
657
|
this.writeFileSync(tmpTsPath, scriptStr);
|
|
658
658
|
}
|
|
659
659
|
}
|