@fangzhongya/vue-components 0.1.2-7 → 0.1.2-8

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.
package/dist/archive.cjs CHANGED
@@ -1,22 +1,41 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIM5BK2S7cjs = require('./chunk-IM5BK2S7.cjs');
3
+ var _chunk7GFFBDL5cjs = require('./chunk-7GFFBDL5.cjs');
4
4
 
5
5
 
6
- var _chunkPUE2ULUAcjs = require('./chunk-PUE2ULUA.cjs');
6
+ var _chunkIGEUOPSAcjs = require('./chunk-IGEUOPSA.cjs');
7
7
 
8
8
 
9
9
  var _chunkCF5VMNJFcjs = require('./chunk-CF5VMNJF.cjs');
10
+ require('./chunk-A532XNIQ.cjs');
10
11
 
11
12
  // packages/archive.ts
12
13
  var _fs = require('fs');
13
14
  var _path = require('path');
14
15
  var archiveConfig = {
16
+ /**
17
+ * 自动导入的文件目录
18
+ */
15
19
  dir: "./packages/",
20
+ /**
21
+ * 匹配文件名称和文件类型
22
+ */
16
23
  matchexts: ["/src/index.vue"],
24
+ /**
25
+ * 是否去掉路径的前缀
26
+ */
17
27
  urlprefix: true,
28
+ /**
29
+ * 是否生成json 配置文件
30
+ */
18
31
  isJson: true,
32
+ /**
33
+ * 控制台是否输出日志
34
+ */
19
35
  log: true,
36
+ /**
37
+ * 生成json 配置文件名称
38
+ */
20
39
  jsonName: "./components.config.json"
21
40
  };
22
41
  function setJson(obj) {
@@ -39,12 +58,12 @@ function setJson(obj) {
39
58
  }
40
59
  function ComponentsResolverArchive(config2 = {}) {
41
60
  const configs = _chunkCF5VMNJFcjs.unmergeObject.call(void 0,
42
- _chunkPUE2ULUAcjs.config,
61
+ _chunkIGEUOPSAcjs.config,
43
62
  archiveConfig,
44
63
  2,
45
64
  true
46
65
  );
47
- const fangComp = new (0, _chunkIM5BK2S7cjs.component_default)(
66
+ const fangComp = new (0, _chunk7GFFBDL5cjs.component_default)(
48
67
  _chunkCF5VMNJFcjs.unmergeObject.call(void 0, configs, config2, 1)
49
68
  );
50
69
  setJson(fangComp.config);
package/dist/archive.js CHANGED
@@ -1,22 +1,41 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-HF7ZS5PG.js";
3
+ } from "./chunk-5AAWHGZ4.js";
4
4
  import {
5
5
  config
6
- } from "./chunk-SN4SJVXW.js";
6
+ } from "./chunk-KSHI5GQ7.js";
7
7
  import {
8
8
  unmergeObject
9
9
  } from "./chunk-R4DADB6M.js";
10
+ import "./chunk-O6HOO6WA.js";
10
11
 
11
12
  // packages/archive.ts
12
13
  import { writeFile } from "node:fs";
13
14
  import { resolve } from "node:path";
14
15
  var archiveConfig = {
16
+ /**
17
+ * 自动导入的文件目录
18
+ */
15
19
  dir: "./packages/",
20
+ /**
21
+ * 匹配文件名称和文件类型
22
+ */
16
23
  matchexts: ["/src/index.vue"],
24
+ /**
25
+ * 是否去掉路径的前缀
26
+ */
17
27
  urlprefix: true,
28
+ /**
29
+ * 是否生成json 配置文件
30
+ */
18
31
  isJson: true,
32
+ /**
33
+ * 控制台是否输出日志
34
+ */
19
35
  log: true,
36
+ /**
37
+ * 生成json 配置文件名称
38
+ */
20
39
  jsonName: "./components.config.json"
21
40
  };
22
41
  function setJson(obj) {