@sunny-base-web/constants 0.0.0

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.
@@ -0,0 +1,6 @@
1
+ declare const DEFAULT_NAMESPACE = "sunny-base";
2
+ declare const STORE_SECURE_KEY = "_secure_key_";
3
+ declare const SSO_ORIGIN: any;
4
+ declare const TABBAR_MAX_COUNT = 20;
5
+
6
+ export { DEFAULT_NAMESPACE, SSO_ORIGIN, STORE_SECURE_KEY, TABBAR_MAX_COUNT };
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ // src/index.ts
2
+ var DEFAULT_NAMESPACE = "sunny-base";
3
+ var STORE_SECURE_KEY = "_secure_key_";
4
+ var SSO_ORIGIN = import.meta.env.VITE_APP_SSOORIGIN;
5
+ var TABBAR_MAX_COUNT = 20;
6
+ export {
7
+ DEFAULT_NAMESPACE,
8
+ SSO_ORIGIN,
9
+ STORE_SECURE_KEY,
10
+ TABBAR_MAX_COUNT
11
+ };
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@sunny-base-web/constants",
3
+ "version": "0.0.0",
4
+ "private": false,
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ }
16
+ },
17
+ "type": "module",
18
+ "publishConfig": {
19
+ "access": "public",
20
+ "registry": "https://registry.npmjs.org/"
21
+ },
22
+ "devDependencies": {
23
+ "tsup": "^8.5.1",
24
+ "typescript": "^5.7.2",
25
+ "vite": "^7.3.1",
26
+ "@sunny-base-web/tsconfig": "0.0.0"
27
+ },
28
+ "scripts": {
29
+ "build": "tsup src/index.ts --format esm --dts --clean"
30
+ }
31
+ }