@fangzhongya/vue-archive 0.0.2-30 → 0.0.2-32

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 (40) hide show
  1. package/dist/node/index.cjs +139 -36
  2. package/dist/node/index.js +139 -36
  3. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs +0 -0
  4. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  5. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs +0 -0
  6. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  7. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.cjs +1 -0
  8. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.js +11 -0
  9. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.cjs +0 -0
  10. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +0 -0
  11. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs +0 -0
  12. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  13. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.cjs +0 -0
  14. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js +0 -0
  15. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.cjs +0 -0
  16. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  17. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.cjs +0 -0
  18. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -0
  19. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs +0 -0
  20. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js +0 -0
  21. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs +0 -0
  22. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  23. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs +0 -0
  24. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-18}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  25. package/dist/packages/components/compo/index.cjs +1 -1
  26. package/dist/packages/components/compo/index.js +96 -95
  27. package/dist/packages/components/use/index.cjs +1 -1
  28. package/dist/packages/components/use/index.js +1 -1
  29. package/dist/packages/components/use/retrie/choice/index.vue.cjs +1 -1
  30. package/dist/packages/components/use/retrie/choice/index.vue.js +1 -1
  31. package/dist/packages/components/use/set-code.vue.cjs +1 -1
  32. package/dist/packages/components/use/set-code.vue.js +3 -3
  33. package/dist/packages/config.cjs +1 -1
  34. package/dist/packages/config.js +1 -1
  35. package/dist/packages/utils/common.cjs +1 -1
  36. package/dist/packages/utils/common.js +4 -4
  37. package/dist/packages/utils/glob.cjs +1 -1
  38. package/dist/packages/utils/glob.js +6 -6
  39. package/dist/packages/utils/util.d.ts +2 -1
  40. package/package.json +4 -4
@@ -63462,7 +63462,7 @@ var require_vue = __commonJS({
63462
63462
  }
63463
63463
  });
63464
63464
 
63465
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
63465
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
63466
63466
  function mergeObject(a, b, j = 0, i) {
63467
63467
  if (a instanceof Array) {
63468
63468
  if (j > 0 && i) {
@@ -63505,7 +63505,7 @@ function mergeObject(a, b, j = 0, i) {
63505
63505
  return a;
63506
63506
  }
63507
63507
 
63508
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
63508
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
63509
63509
  function humpToLine(name) {
63510
63510
  const reg = /(([A-Z])([^A-Z]*))/g;
63511
63511
  let result;
@@ -63527,12 +63527,12 @@ function humpToLine(name) {
63527
63527
  }
63528
63528
  }
63529
63529
 
63530
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
63530
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
63531
63531
  function firstUpper(str) {
63532
63532
  return str.slice(0, 1).toUpperCase() + str.slice(1);
63533
63533
  }
63534
63534
 
63535
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
63535
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
63536
63536
  function lineToLargeHump(name) {
63537
63537
  let arr = name.split("-");
63538
63538
  arr = arr.map((vs) => {
@@ -63541,7 +63541,7 @@ function lineToLargeHump(name) {
63541
63541
  return arr.join("");
63542
63542
  }
63543
63543
 
63544
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js
63544
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js
63545
63545
  function appearNum(str, t) {
63546
63546
  let reg = t;
63547
63547
  if (typeof t == "string") {
@@ -63552,12 +63552,12 @@ function appearNum(str, t) {
63552
63552
  return c;
63553
63553
  }
63554
63554
 
63555
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
63555
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
63556
63556
  function firstLower(str) {
63557
63557
  return str.slice(0, 1).toLowerCase() + str.slice(1);
63558
63558
  }
63559
63559
 
63560
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
63560
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
63561
63561
  function asyncMergeArray(arr, callback) {
63562
63562
  return new Promise((resolve3, reject) => {
63563
63563
  let index = 0;
@@ -63581,7 +63581,7 @@ function asyncMergeArray(arr, callback) {
63581
63581
  });
63582
63582
  }
63583
63583
 
63584
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
63584
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
63585
63585
  function getSuffix(url) {
63586
63586
  const reg = /\.([a-z|A-Z]+)$/;
63587
63587
  const regs = reg.exec(url);
@@ -63591,6 +63591,20 @@ function getSuffix(url) {
63591
63591
  return "";
63592
63592
  }
63593
63593
 
63594
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.js
63595
+ function replaceAfter(arr, obj, id) {
63596
+ const varr = [];
63597
+ for (let index = 0; index < arr.length; index++) {
63598
+ const element = arr[index];
63599
+ const vs = obj;
63600
+ if (element[id] !== vs[id]) {
63601
+ varr.push(arr[index]);
63602
+ }
63603
+ }
63604
+ varr.push(obj);
63605
+ return varr;
63606
+ }
63607
+
63594
63608
  // packages/config.ts
63595
63609
  var config = {
63596
63610
  components: []
@@ -64175,12 +64189,12 @@ function getNotes(text) {
64175
64189
  };
64176
64190
  }
64177
64191
 
64178
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
64192
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
64179
64193
  function isArray(obj) {
64180
64194
  return Object.prototype.toString.call(obj) == "[object Array]";
64181
64195
  }
64182
64196
 
64183
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
64197
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
64184
64198
  function getStartSames(str, val) {
64185
64199
  let s = "";
64186
64200
  const vs = [...val];
@@ -64196,7 +64210,7 @@ function getStartSames(str, val) {
64196
64210
  return [s, str.substring(index), val.substring(index)];
64197
64211
  }
64198
64212
 
64199
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
64213
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
64200
64214
  function getImportUrl(url, imp) {
64201
64215
  const arr = getStartSames(url, imp);
64202
64216
  const ts = arr[0];
@@ -65168,7 +65182,7 @@ function setProps(obj) {
65168
65182
  });
65169
65183
  }
65170
65184
  function addProps(value) {
65171
- propss.push(value);
65185
+ propss = replaceAfter(propss, value, "name");
65172
65186
  }
65173
65187
  var slots = [];
65174
65188
  function setSlot(obj) {
@@ -65193,7 +65207,7 @@ function setSlot(obj) {
65193
65207
  });
65194
65208
  }
65195
65209
  function addSlots(value) {
65196
- slots.push(value);
65210
+ slots = replaceAfter(slots, value, "name");
65197
65211
  }
65198
65212
  var emitss = [];
65199
65213
  function setEmits(obj) {
@@ -65218,7 +65232,7 @@ function setEmits(obj) {
65218
65232
  });
65219
65233
  }
65220
65234
  function addEmits(value) {
65221
- emitss.push(value);
65235
+ emitss = replaceAfter(emitss, value, "name");
65222
65236
  }
65223
65237
  var exposes = [];
65224
65238
  function setExpose(obj) {
@@ -65241,7 +65255,7 @@ function setExpose(obj) {
65241
65255
  });
65242
65256
  }
65243
65257
  function addExpose(value) {
65244
- exposes.push(value);
65258
+ exposes = replaceAfter(exposes, value, "name");
65245
65259
  }
65246
65260
  function getFilter2(obj, arrs) {
65247
65261
  const _objs = {
@@ -65590,7 +65604,7 @@ var top_default = (0, vue_exports.defineComponent)({
65590
65604
  }
65591
65605
  });
65592
65606
 
65593
- // node_modules/.pnpm/@fangzhongya+create@0.2.3-6/node_modules/@fangzhongya/create/dist/chunk-WI5GZ3GX.js
65607
+ // node_modules/.pnpm/@fangzhongya+create@0.2.3-8/node_modules/@fangzhongya/create/dist/chunk-G7FBKDWD.js
65594
65608
 
65595
65609
 
65596
65610
 
@@ -65604,6 +65618,46 @@ var top_default = (0, vue_exports.defineComponent)({
65604
65618
 
65605
65619
  var _fs = require('fs');
65606
65620
 
65621
+ function getUrlCatalogueObj(str) {
65622
+ const reg = /(\\|\/)([^\\|\/]+)(\.[a-z|A-Z]+)$/g;
65623
+ const ml = str.replace(reg, "");
65624
+ let name = "";
65625
+ let suffix = "";
65626
+ let apart = "";
65627
+ const arr = reg.exec(str);
65628
+ if (arr) {
65629
+ apart = arr[1];
65630
+ name = arr[2];
65631
+ suffix = arr[3];
65632
+ }
65633
+ return {
65634
+ apart,
65635
+ catalogue: ml,
65636
+ name,
65637
+ suffix
65638
+ };
65639
+ }
65640
+ function getNewFileName(url) {
65641
+ const obj = getUrlCatalogueObj(url);
65642
+ let wb = obj.name;
65643
+ if (wb) {
65644
+ const reg = /([0-9]+)$/g;
65645
+ const regs = reg.exec(wb);
65646
+ if (regs && regs.length > 0) {
65647
+ const sl = Number(regs[1]) + 1;
65648
+ const reg1 = new RegExp(regs[1] + "$");
65649
+ wb = wb.replace(
65650
+ reg1,
65651
+ (sl + "").padStart(regs[1].length, "0")
65652
+ );
65653
+ } else {
65654
+ wb = wb + "1";
65655
+ }
65656
+ return obj.catalogue + obj.apart + wb + "." + obj.suffix;
65657
+ } else {
65658
+ return "";
65659
+ }
65660
+ }
65607
65661
  function fsCreateReadStream(url, type) {
65608
65662
  if (!type || type === true) {
65609
65663
  type = "utf-8";
@@ -65678,7 +65732,7 @@ function fsOpenStream(path, json, type = 0, cover, callback) {
65678
65732
  _fs.open.call(void 0, path, "wx", async (err, fd) => {
65679
65733
  if (err) {
65680
65734
  if (err.code === "EEXIST") {
65681
- if (type != 2) {
65735
+ if (type == 1 || type == 0) {
65682
65736
  const fwrite = () => {
65683
65737
  _fs.writeFile.call(void 0,
65684
65738
  path,
@@ -65687,21 +65741,23 @@ function fsOpenStream(path, json, type = 0, cover, callback) {
65687
65741
  (err2) => {
65688
65742
  if (err2) {
65689
65743
  console.log("6", err2);
65690
- if (callback)
65744
+ if (callback) {
65691
65745
  callback(
65692
65746
  path,
65693
65747
  cover ? 3 : 2,
65694
65748
  false,
65695
65749
  type
65696
65750
  );
65751
+ }
65697
65752
  } else {
65698
- if (callback)
65753
+ if (callback) {
65699
65754
  callback(
65700
65755
  path,
65701
65756
  cover ? 3 : 2,
65702
65757
  true,
65703
65758
  type
65704
65759
  );
65760
+ }
65705
65761
  }
65706
65762
  }
65707
65763
  );
@@ -65726,29 +65782,49 @@ function fsOpenStream(path, json, type = 0, cover, callback) {
65726
65782
  } else {
65727
65783
  fwrite();
65728
65784
  }
65785
+ } else if (type == 3) {
65786
+ path = getNewFileName(path);
65787
+ if (path) {
65788
+ fsOpenStream(
65789
+ path,
65790
+ json,
65791
+ type,
65792
+ cover,
65793
+ callback
65794
+ );
65795
+ } else {
65796
+ if (callback) {
65797
+ callback(path, 3, false, type);
65798
+ }
65799
+ }
65729
65800
  } else {
65730
- if (callback)
65801
+ if (callback) {
65731
65802
  callback(path, 2, false, type);
65803
+ }
65732
65804
  }
65733
65805
  } else {
65734
- if (callback)
65806
+ if (callback) {
65735
65807
  callback(path, 0, false, type);
65808
+ }
65736
65809
  }
65737
65810
  } else {
65738
65811
  if (type != 1) {
65739
65812
  _fs.write.call(void 0, fd, json, (err2) => {
65740
65813
  if (err2) {
65741
65814
  console.log("8", err2);
65742
- if (callback)
65815
+ if (callback) {
65743
65816
  callback(path, 1, false, type);
65817
+ }
65744
65818
  } else {
65745
- if (callback)
65819
+ if (callback) {
65746
65820
  callback(path, 1, true, type);
65821
+ }
65747
65822
  }
65748
65823
  });
65749
65824
  } else {
65750
- if (callback)
65825
+ if (callback) {
65751
65826
  callback(path, 1, false, type);
65827
+ }
65752
65828
  }
65753
65829
  }
65754
65830
  });
@@ -65829,7 +65905,7 @@ function writeFileUrl(url, files, callback, isDirs, isFile) {
65829
65905
  });
65830
65906
  }
65831
65907
 
65832
- // node_modules/.pnpm/@fangzhongya+create@0.2.3-6/node_modules/@fangzhongya/create/dist/chunk-VFTMBIXL.js
65908
+ // node_modules/.pnpm/@fangzhongya+create@0.2.3-8/node_modules/@fangzhongya/create/dist/chunk-VAK3U2D7.js
65833
65909
 
65834
65910
  function styleLog(msg = "", obj) {
65835
65911
  const arr = ["\x1B[0m"];
@@ -65859,6 +65935,14 @@ function styleLog(msg = "", obj) {
65859
65935
  arr.push("\x1B[0m");
65860
65936
  return arr.join("");
65861
65937
  }
65938
+ function getSuffix2(url) {
65939
+ const reg = /\.([a-z|A-Z]+)$/;
65940
+ const regs = reg.exec(url);
65941
+ if (regs && regs.length > 0) {
65942
+ return regs[1];
65943
+ }
65944
+ return "";
65945
+ }
65862
65946
  function matchsEnd(key, matchs) {
65863
65947
  if (matchs && matchs.length > 0) {
65864
65948
  for (const value of matchs) {
@@ -65911,6 +65995,7 @@ var defaultConfig = {
65911
65995
  */
65912
65996
  extensions: ["js", "ts"],
65913
65997
  suffixReg: defaultSuffixReg,
65998
+ fileTongre: false,
65914
65999
  /**
65915
66000
  * 是否替换文件
65916
66001
  */
@@ -66084,15 +66169,30 @@ var FangCom = class {
66084
66169
  );
66085
66170
  }
66086
66171
  }
66087
- getFileNotes() {
66088
- return [
66089
- `/**`,
66090
- ` * @config cover=false`,
66091
- ` * cover \u662F\u5426\u8986\u76D6\u5F53\u524D\u6587\u4EF6\uFF0C\u9ED8\u8BA4\u662Ffalse\uFF0C true \u8868\u793A\u4E0D\u8986\u76D6`,
66092
- ` * \u5F53\u524D\u5DF2\u7ECF\u7531@fangzhongya/create\u81EA\u52A8\u751F\u6210`,
66093
- ` * ${(/* @__PURE__ */ new Date()).toString()}`,
66094
- " */"
66172
+ getFileNotes(url) {
66173
+ const suffix = getSuffix2(url);
66174
+ const sz = [
66175
+ `@config cover=false`,
66176
+ `cover \u662F\u5426\u8986\u76D6\u5F53\u524D\u6587\u4EF6\uFF0C\u9ED8\u8BA4\u662Ffalse\uFF0C true \u8868\u793A\u4E0D\u8986\u76D6`,
66177
+ `\u5F53\u524D\u5DF2\u7ECF\u7531@fangzhongya/create\u81EA\u52A8\u751F\u6210`,
66178
+ `${(/* @__PURE__ */ new Date()).toString()}`
66095
66179
  ];
66180
+ const hy = ["md", "html", "vue"];
66181
+ if (hy.includes(suffix)) {
66182
+ const arr = ["<!--"];
66183
+ sz.forEach((v) => {
66184
+ arr.push(" - " + v);
66185
+ });
66186
+ arr.push("-->");
66187
+ return arr;
66188
+ } else {
66189
+ const arr = ["/**"];
66190
+ sz.forEach((v) => {
66191
+ arr.push(" * " + v);
66192
+ });
66193
+ arr.push(" */");
66194
+ return arr;
66195
+ }
66096
66196
  }
66097
66197
  /**
66098
66198
  * 输出文件,判断目录是否存在
@@ -66147,7 +66247,10 @@ var FangCom = class {
66147
66247
  * @param callback
66148
66248
  */
66149
66249
  setOpen(url, str, type, callback) {
66150
- let tn = this.config.fileCover ? 0 : 2;
66250
+ let tn = this.config.fileTongre ? 3 : 2;
66251
+ if (this.config.fileCover) {
66252
+ tn = 0;
66253
+ }
66151
66254
  if (tn == 2) {
66152
66255
  if (this.isForceUpdate(url)) {
66153
66256
  tn = 0;
@@ -66157,7 +66260,7 @@ var FangCom = class {
66157
66260
  tn = type;
66158
66261
  }
66159
66262
  if (this.config.writeNotes && !/\.json$/.test(url)) {
66160
- str = this.getFileNotes().join("\n") + "\n" + str;
66263
+ str = this.getFileNotes(url).join("\n") + "\n" + str;
66161
66264
  }
66162
66265
  fsOpenStream(
66163
66266
  url,
@@ -66225,7 +66328,7 @@ var FangCom = class {
66225
66328
  }
66226
66329
  };
66227
66330
 
66228
- // node_modules/.pnpm/@fangzhongya+create@0.2.3-6/node_modules/@fangzhongya/create/dist/bins/md.js
66331
+ // node_modules/.pnpm/@fangzhongya+create@0.2.3-8/node_modules/@fangzhongya/create/dist/bins/md.js
66229
66332
  var defaultConfig2 = Object.assign(
66230
66333
  {},
66231
66334
  defaultConfig,