export-table-pulgin-csharp 1.1.103 → 1.1.106
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportLiteDBUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportLiteDBUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AAUxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAuFnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAsDzE;AAED,qBAAa,uBAAwB,SAAQ,UAAU;IACtD,IAAI,SAAgB;IACpB,IAAI,EAAE,MAAM,EAAE,CAAkB;IAEhC,WAAW,CAAC,KAAK,EAAE,iBAAiB;
|
|
1
|
+
{"version":3,"file":"ExportLiteDBUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportLiteDBUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AAUxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAuFnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAsDzE;AAED,qBAAa,uBAAwB,SAAQ,UAAU;IACtD,IAAI,SAAgB;IACpB,IAAI,EAAE,MAAM,EAAE,CAAkB;IAEhC,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAoCpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAmC3C"}
|
|
@@ -177,6 +177,7 @@ class ExportLiteDBUJsonPlugin extends export_table_lib_1.PluginBase {
|
|
|
177
177
|
if (content2 != null) {
|
|
178
178
|
let savePath = new export_table_lib_1.OutFilePath(paras.outPath, fullName, ".json").fullPath;
|
|
179
179
|
fs.outputFileSync(savePath, content2, "utf-8");
|
|
180
|
+
console.log(`try conv json2litedb`);
|
|
180
181
|
let litedbpath = yargs.string("litedbpath").parseSync(process.argv).litedbpath;
|
|
181
182
|
if (litedbpath != null) {
|
|
182
183
|
let modulePath = require.resolve(".");
|
package/package.json
CHANGED
|
@@ -173,6 +173,7 @@ export class ExportLiteDBUJsonPlugin extends PluginBase {
|
|
|
173
173
|
let savePath = new OutFilePath(paras.outPath, fullName, ".json").fullPath
|
|
174
174
|
fs.outputFileSync(savePath, content2, "utf-8")
|
|
175
175
|
|
|
176
|
+
console.log(`try conv json2litedb`)
|
|
176
177
|
let litedbpath = yargs.string("litedbpath").parseSync(process.argv).litedbpath
|
|
177
178
|
if (litedbpath != null) {
|
|
178
179
|
let modulePath = require.resolve(".")
|
|
Binary file
|
package/test/testLiteDB.bat
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
node E:\DATA\Projects\netease\quicktable\export-table\dist\launch.js export src dist --tags csharp:litedbcs --libs E:\DATA\Projects\netease\quicktable %*
|
|
2
|
-
node E:\DATA\Projects\netease\quicktable\export-table\dist\launch.js export src dist --tags csharp:litedbujson --libs E:\DATA\Projects\netease\quicktable %*
|
|
2
|
+
node E:\DATA\Projects\netease\quicktable\export-table\dist\launch.js export src dist --tags csharp:litedbujson --libs E:\DATA\Projects\netease\quicktable --litedbpath Assets/Bundles/GameConfigs/Auto/MainConfig.db.bytes %*
|