fast-cocos 1.1.16 → 1.1.18

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.
@@ -43,7 +43,7 @@ class Audio {
43
43
  if (key.includes(".")) {
44
44
  key = `"${refName}"`;
45
45
  }
46
- const value = `"${utils_1.utils.stringFormat(ref, refName)}"${index === lastIndex ? "" : ","} // ${fileName}`;
46
+ const value = `"${ref}${refName}"${index === lastIndex ? "" : ","} // ${fileName}`;
47
47
  str += `\n ${key}: ${value}`;
48
48
  }
49
49
  else {
@@ -24,7 +24,7 @@ function main() {
24
24
  .requiredOption("-s, --source <directory>", "source directory")
25
25
  .requiredOption("-o, --output <directory>", "output directory")
26
26
  .requiredOption("--script <directory>", "script directory")
27
- .requiredOption("--ref <ref>", "ref")
27
+ .option("--ref <ref>", "ref")
28
28
  .option("-b, --bundle <bundle>", "bundle name")
29
29
  .option("--special <special>", "special conf")
30
30
  .parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-cocos",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "scripts": {
5
5
  "clean": "rm -rf dist",
6
6
  "start": "node ./dist/index.js",