@hbdlzy/ui 0.1.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.
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @hbdlzy/ui
2
+
3
+ `@hbdlzy/ui` 是组件库的统一安装入口包。
4
+
5
+ ## 适用场景
6
+
7
+ - 希望业务项目只安装一个包
8
+ - 希望后续新增组件时不再增加安装命令
9
+ - 希望统一从一个入口导入组件和工具
10
+
11
+ ## 安装
12
+
13
+ ```bash
14
+ npm install @hbdlzy/ui
15
+ ```
16
+
17
+ ## 使用方式
18
+
19
+ ```ts
20
+ import { BaseExportButton, companyTokens } from '@hbdlzy/ui'
21
+ ```
22
+
23
+ ## 说明
24
+
25
+ - 该包内部依赖 `@hbdlzy/tokens`、`@hbdlzy/ui-core`、`@hbdlzy/ui-energy`
26
+ - 导入 `@hbdlzy/ui` 时会自动加载设计变量样式
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n=require("@hbdlzy/tokens"),t=require("@hbdlzy/ui-core"),r=require("@hbdlzy/ui-energy");function u(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var o=u(n);const a="@hbdlzy/ui";Object.defineProperty(exports,"companyTokens",{enumerable:!0,get:function(){return n.companyTokens}});Object.defineProperty(exports,"defaultCompanyTokens",{enumerable:!0,get:function(){return o.default}});exports.uiPackageName=a;Object.keys(t).forEach(function(e){e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});Object.keys(r).forEach(function(e){e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})});
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export { companyTokens, default as defaultCompanyTokens } from "@hbdlzy/tokens";
2
+ export * from "@hbdlzy/ui-core";
3
+ export * from "@hbdlzy/ui-energy";
4
+ const uiPackageName = "@hbdlzy/ui";
5
+ export { uiPackageName };
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@hbdlzy/ui",
3
+ "version": "0.1.0",
4
+ "description": "Company unified UI entry package.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/hbdlzy/componentized-library.git",
9
+ "directory": "packages/ui"
10
+ },
11
+ "main": "dist/index.cjs",
12
+ "module": "dist/index.js",
13
+ "types": "src/index.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.js",
17
+ "require": "./dist/index.cjs",
18
+ "types": "./src/index.ts"
19
+ },
20
+ "./package.manifest.json": "./package.manifest.json"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "src",
25
+ "README.md",
26
+ "package.manifest.json"
27
+ ],
28
+ "dependencies": {
29
+ "@hbdlzy/tokens": "0.1.0",
30
+ "@hbdlzy/ui-core": "0.1.0",
31
+ "@hbdlzy/ui-energy": "0.1.0"
32
+ },
33
+ "peerDependencies": {
34
+ "element-plus": "^2.13.7",
35
+ "vue": "^3.5.14"
36
+ },
37
+ "sideEffects": [
38
+ "**/*.css"
39
+ ],
40
+ "publishConfig": {
41
+ "access": "public",
42
+ "registry": "https://registry.npmjs.org/"
43
+ },
44
+ "scripts": {
45
+ "build": "vite build"
46
+ }
47
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@hbdlzy/ui",
3
+ "version": "0.1.0",
4
+ "entry": "@hbdlzy/ui",
5
+ "installs": [
6
+ "@hbdlzy/tokens",
7
+ "@hbdlzy/ui-core",
8
+ "@hbdlzy/ui-energy"
9
+ ],
10
+ "description": "Unified install entry for company UI packages."
11
+ }
package/src/index.ts ADDED
@@ -0,0 +1,8 @@
1
+ import '@hbdlzy/tokens'
2
+
3
+ export { companyTokens } from '@hbdlzy/tokens'
4
+ export { default as defaultCompanyTokens } from '@hbdlzy/tokens'
5
+ export * from '@hbdlzy/ui-core'
6
+ export * from '@hbdlzy/ui-energy'
7
+
8
+ export const uiPackageName = '@hbdlzy/ui'