@fz-firefly/taro 0.0.0-stage → 0.2.1
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/README.md +116 -2
- package/dist/index.cjs +870 -0
- package/dist/index.d.cts +163 -0
- package/dist/index.d.ts +163 -0
- package/dist/index.js +843 -0
- package/dist/react.cjs +32 -0
- package/dist/react.d.cts +2 -0
- package/dist/react.d.ts +2 -0
- package/dist/react.js +1 -0
- package/dist/vue.cjs +20 -0
- package/dist/vue.d.cts +2 -0
- package/dist/vue.d.ts +2 -0
- package/dist/vue.js +1 -0
- package/package.json +60 -3
package/dist/react.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
let _fz_firefly_react_plugin = require("@fz-firefly/react-plugin");
|
|
3
|
+
Object.defineProperty(exports, "FireflyErrorBoundary", {
|
|
4
|
+
enumerable: true,
|
|
5
|
+
get: function() {
|
|
6
|
+
return _fz_firefly_react_plugin.FireflyErrorBoundary;
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
Object.defineProperty(exports, "FireflyProvider", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return _fz_firefly_react_plugin.FireflyProvider;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "createFireflyErrorHandlers", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return _fz_firefly_react_plugin.createFireflyErrorHandlers;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "toError", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function() {
|
|
24
|
+
return _fz_firefly_react_plugin.toError;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "useFirefly", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function() {
|
|
30
|
+
return _fz_firefly_react_plugin.useFirefly;
|
|
31
|
+
}
|
|
32
|
+
});
|
package/dist/react.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FireflyErrorBoundary, FireflyErrorBoundaryProps, FireflyErrorBoundaryState, FireflyErrorHandlerOptions, FireflyErrorInfo, FireflyProvider, FireflyProviderProps, FireflyRootErrorHandlers, createFireflyErrorHandlers, toError, useFirefly } from "@fz-firefly/react-plugin";
|
|
2
|
+
export { FireflyErrorBoundary, type FireflyErrorBoundaryProps, type FireflyErrorBoundaryState, type FireflyErrorHandlerOptions, type FireflyErrorInfo, FireflyProvider, type FireflyProviderProps, type FireflyRootErrorHandlers, createFireflyErrorHandlers, toError, useFirefly };
|
package/dist/react.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FireflyErrorBoundary, FireflyErrorBoundaryProps, FireflyErrorBoundaryState, FireflyErrorHandlerOptions, FireflyErrorInfo, FireflyProvider, FireflyProviderProps, FireflyRootErrorHandlers, createFireflyErrorHandlers, toError, useFirefly } from "@fz-firefly/react-plugin";
|
|
2
|
+
export { FireflyErrorBoundary, type FireflyErrorBoundaryProps, type FireflyErrorBoundaryState, type FireflyErrorHandlerOptions, type FireflyErrorInfo, FireflyProvider, type FireflyProviderProps, type FireflyRootErrorHandlers, createFireflyErrorHandlers, toError, useFirefly };
|
package/dist/react.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FireflyErrorBoundary, FireflyProvider, createFireflyErrorHandlers, toError, useFirefly } from "@fz-firefly/react-plugin";
|
package/dist/vue.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
let _fz_firefly_vue_plugin = require("@fz-firefly/vue-plugin");
|
|
3
|
+
Object.defineProperty(exports, "fireflyVue", {
|
|
4
|
+
enumerable: true,
|
|
5
|
+
get: function() {
|
|
6
|
+
return _fz_firefly_vue_plugin.fireflyVue;
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
Object.defineProperty(exports, "fireflyVue2", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return _fz_firefly_vue_plugin.fireflyVue2;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "installVue", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return _fz_firefly_vue_plugin.installVue;
|
|
19
|
+
}
|
|
20
|
+
});
|
package/dist/vue.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FireflyVueOptions, RouteLike, RouterLike, Vue2ConstructorLike, Vue3AppLike, fireflyVue, fireflyVue2, installVue } from "@fz-firefly/vue-plugin";
|
|
2
|
+
export { type FireflyVueOptions, type RouteLike, type RouterLike, type Vue2ConstructorLike, type Vue3AppLike, fireflyVue, fireflyVue2, installVue };
|
package/dist/vue.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FireflyVueOptions, RouteLike, RouterLike, Vue2ConstructorLike, Vue3AppLike, fireflyVue, fireflyVue2, installVue } from "@fz-firefly/vue-plugin";
|
|
2
|
+
export { type FireflyVueOptions, type RouteLike, type RouterLike, type Vue2ConstructorLike, type Vue3AppLike, fireflyVue, fireflyVue2, installVue };
|
package/dist/vue.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { fireflyVue, fireflyVue2, installVue } from "@fz-firefly/vue-plugin";
|
package/package.json
CHANGED
|
@@ -1,6 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fz-firefly/taro",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "萤火虫 SDK 的 Taro 平台适配层:Taro 存储、请求、系统信息、全局错误与生命周期上报。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./react": {
|
|
16
|
+
"types": "./dist/react.d.ts",
|
|
17
|
+
"import": "./dist/react.js",
|
|
18
|
+
"require": "./dist/react.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./vue": {
|
|
21
|
+
"types": "./dist/vue.d.ts",
|
|
22
|
+
"import": "./dist/vue.js",
|
|
23
|
+
"require": "./dist/vue.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"!dist/**/*.map"
|
|
30
|
+
],
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@fz-firefly/core": "0.2.1",
|
|
36
|
+
"@fz-firefly/react-plugin": "0.2.1",
|
|
37
|
+
"@fz-firefly/shared": "0.2.1",
|
|
38
|
+
"@fz-firefly/vue-plugin": "0.2.1"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"tsdown": "0.23.2",
|
|
42
|
+
"typescript": "^5.6.0",
|
|
43
|
+
"vitest": "^5.0.5"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@tarojs/taro": ">=4.0.0",
|
|
47
|
+
"react": ">=16.8.0",
|
|
48
|
+
"vue": "^3.0.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"react": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
54
|
+
"vue": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsdown",
|
|
60
|
+
"test": "vitest run",
|
|
61
|
+
"typecheck": "tsc --noEmit"
|
|
62
|
+
}
|
|
6
63
|
}
|