@xfe-repo/mini-app 0.0.4 → 0.0.6
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/package.json +2 -7
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -69
package/package.json
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xfe-repo/mini-app",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"module": "dist/index.js",
|
|
5
|
-
"types": "dist/index.d.ts",
|
|
3
|
+
"version": "0.0.6",
|
|
6
4
|
"bin": {
|
|
7
5
|
"xfe-mini": "./bin/index.js"
|
|
8
6
|
},
|
|
@@ -56,10 +54,7 @@
|
|
|
56
54
|
},
|
|
57
55
|
"peerDependencies": {
|
|
58
56
|
"react": "18.2.0",
|
|
59
|
-
"react-dom": "18.2.0"
|
|
60
|
-
"@tarojs/taro": "4.0.8",
|
|
61
|
-
"@tarojs/components": "4.0.8",
|
|
62
|
-
"@tarojs/plugin-platform-weapp": "4.0.8"
|
|
57
|
+
"react-dom": "18.2.0"
|
|
63
58
|
},
|
|
64
59
|
"scripts": {
|
|
65
60
|
"build": "tsup",
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = function(target, all) {
|
|
9
|
-
for(var name in all)__defProp(target, name, {
|
|
10
|
-
get: all[name],
|
|
11
|
-
enumerable: true
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
var __copyProps = function(to, from, except, desc) {
|
|
15
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
-
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
17
|
-
try {
|
|
18
|
-
var _loop = function() {
|
|
19
|
-
var key = _step.value;
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
-
get: function() {
|
|
22
|
-
return from[key];
|
|
23
|
-
},
|
|
24
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
for(var _iterator = __getOwnPropNames(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
|
|
28
|
-
} catch (err) {
|
|
29
|
-
_didIteratorError = true;
|
|
30
|
-
_iteratorError = err;
|
|
31
|
-
} finally{
|
|
32
|
-
try {
|
|
33
|
-
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
34
|
-
_iterator.return();
|
|
35
|
-
}
|
|
36
|
-
} finally{
|
|
37
|
-
if (_didIteratorError) {
|
|
38
|
-
throw _iteratorError;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return to;
|
|
44
|
-
};
|
|
45
|
-
var __toESM = function(mod, isNodeMode, target) {
|
|
46
|
-
return target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
|
|
47
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
48
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
49
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
50
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
51
|
-
value: mod,
|
|
52
|
-
enumerable: true
|
|
53
|
-
}) : target, mod);
|
|
54
|
-
};
|
|
55
|
-
var __toCommonJS = function(mod) {
|
|
56
|
-
return __copyProps(__defProp({}, "__esModule", {
|
|
57
|
-
value: true
|
|
58
|
-
}), mod);
|
|
59
|
-
};
|
|
60
|
-
// src/index.ts
|
|
61
|
-
var src_exports = {};
|
|
62
|
-
__export(src_exports, {
|
|
63
|
-
default: function() {
|
|
64
|
-
return src_default;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
module.exports = __toCommonJS(src_exports);
|
|
68
|
-
var import_taro = __toESM(require("@tarojs/taro"));
|
|
69
|
-
var src_default = import_taro.default;
|