yxuse 1.0.3 → 1.0.5

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/lib/api.cjs.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs3.js");exports.api=e.api$1;
package/lib/api.es.js ADDED
@@ -0,0 +1,4 @@
1
+ import { b as p } from "./index.es3.js";
2
+ export {
3
+ p as api
4
+ };
Binary file
@@ -0,0 +1 @@
1
+ "use strict";const i=require("./index.cjs2.js"),s=require("./index.cjs3.js"),t={utils:i.utils,api:s.api};module.exports=t;
@@ -0,0 +1 @@
1
+ "use strict";const t=()=>"hello",e=()=>console.log(1),o=Object.freeze(Object.defineProperty({__proto__:null,test:t,test2:e},Symbol.toStringTag,{value:"Module"}));exports.test=t;exports.test2=e;exports.utils=o;
@@ -0,0 +1 @@
1
+ "use strict";const e=()=>{console.log("api")},o=Object.freeze(Object.defineProperty({__proto__:null,api:e},Symbol.toStringTag,{value:"Module"}));exports.api=o;exports.api$1=e;
@@ -0,0 +1,9 @@
1
+ import { u as a } from "./index.es2.js";
2
+ import { a as o } from "./index.es3.js";
3
+ const r = {
4
+ utils: a,
5
+ api: o
6
+ };
7
+ export {
8
+ r as default
9
+ };
@@ -0,0 +1,10 @@
1
+ const t = () => "hello", e = () => console.log(1), o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2
+ __proto__: null,
3
+ test: t,
4
+ test2: e
5
+ }, Symbol.toStringTag, { value: "Module" }));
6
+ export {
7
+ e as a,
8
+ t,
9
+ o as u
10
+ };
@@ -0,0 +1,10 @@
1
+ const e = () => {
2
+ console.log("api");
3
+ }, o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
+ __proto__: null,
5
+ api: e
6
+ }, Symbol.toStringTag, { value: "Module" }));
7
+ export {
8
+ o as a,
9
+ e as b
10
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs2.js");exports.test=t.test;exports.test2=t.test2;
@@ -0,0 +1,5 @@
1
+ import { t as a, a as e } from "./index.es2.js";
2
+ export {
3
+ a as test,
4
+ e as test2
5
+ };
@@ -0,0 +1 @@
1
+ 1692244232994
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yxuse",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "yx"
@@ -20,24 +20,26 @@
20
20
  "tsc": "tsc --noEmit --watch"
21
21
  },
22
22
  "files": [
23
- "dist"
23
+ "lib"
24
24
  ],
25
- "main": "lib/yxuse.cjs.js",
26
- "module": "lib/yxuse.es.js",
25
+ "main": "lib/index.es.js",
26
+ "module": "lib/index.es.js",
27
27
  "exports": {
28
28
  ".": {
29
- "import": "./lib/yxuse.es.js"
29
+ "import": "./lib/index.es.js",
30
+ "require": "./lib/index.cls.js"
30
31
  },
31
32
  "./utils": {
32
- "import": "./lib/yxuse.es2.js"
33
+ "import": "./lib/utils.es.js",
34
+ "require": "./lib/utils.cls.js"
33
35
  },
34
36
  "./api": {
35
- "import": "./lib/yxuse.es3.js"
37
+ "import": "./lib/api.es.js",
38
+ "require": "./lib/api.cls.js"
36
39
  }
37
40
  },
38
41
  "dependencies": {
39
42
  "axios": "^1.3.3",
40
- "element-plus": "^2.2.32",
41
43
  "file-saver": "^2.0.5",
42
44
  "mqtt": "^4.0.1",
43
45
  "nprogress": "^0.2.0",
@@ -89,8 +91,6 @@
89
91
  "stylelint-config-standard-scss": "^9.0.0",
90
92
  "tailwindcss": "^3.2.7",
91
93
  "typescript": "~4.7.4",
92
- "unplugin-auto-import": "^0.14.3",
93
- "unplugin-vue-components": "^0.24.0",
94
94
  "vite": "^4.3.9",
95
95
  "vite-plugin-compression": "^0.5.1",
96
96
  "vite-plugin-node-stdlib-browser": "^0.2.1",
package/lib/yxuse.cjs.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const i=require("./index-b572837a.js"),s=require("./index-0fd9a659.js"),t={utils:i.utils,api:s.api};module.exports=t;