gant-core 0.1.20 → 0.1.22

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,14 @@
1
+ # 甘棠 - 架构工具
2
+
3
+ 甘棠是一个基于现代开发工具构建的架构工具,旨在提供高效且灵活的开发体验。它采用了以下技术栈:
4
+
5
+ - **Webpack 5**: 当前最流行的模块打包工具,支持高度可配置性和广泛的插件。
6
+ - **SWC**: 一种快速的 TypeScript 和 JavaScript 转译器,用于快速编译代码。
7
+ - **TypeScript**: JavaScript 的超集,提供静态类型检查,提高代码质量。
8
+ - **Chokidar**: 高效的文件系统监视器,支持实时重载开发。
9
+
10
+ 支持以下开发框架:
11
+
12
+ - **React**
13
+ - **Vue**
14
+
package/lib/cli/index.js CHANGED
@@ -5936,36 +5936,68 @@ const defaultConfig = {
5936
5936
  setting: {
5937
5937
  BASE_CONFIG: {
5938
5938
  title: {
5939
- zh_CN: '甘棠软件Core脚手架',
5940
- en: 'Gantsoftwore core framework',
5939
+ zh_CN: "甘棠软件Core脚手架",
5940
+ en: "Gantsoftwore core framework",
5941
5941
  },
5942
5942
  slogan: {
5943
- zh_CN: '欢迎使用甘棠旗下的软件产品',
5944
- en: 'Welcome to using the software products offered by GantSoftware',
5943
+ zh_CN: "欢迎使用甘棠旗下的软件产品",
5944
+ en: "Welcome to using the software products offered by GantSoftware",
5945
5945
  },
5946
- copyright: 'Copyright ©2012-{now} Gant Software All rights reserved.',
5946
+ copyright: "Copyright ©2012-{now} Gant Software All rights reserved.",
5947
5947
  },
5948
5948
  MAIN_CONFIG: {
5949
5949
  //请求超时时间
5950
5950
  requestTimeout: 64 * 1000,
5951
5951
  //登陆配置
5952
5952
  loginConfig: {
5953
- loginPathname: '/login',
5953
+ loginPathname: "/login",
5954
5954
  },
5955
- homePath: '/dashboard',
5955
+ homePath: "/dashboard",
5956
5956
  headerMenu: true,
5957
- navType: 'tabs',
5957
+ navType: "tabs",
5958
+ functionsConfig: {
5959
+ //消息通知
5960
+ notification: true,
5961
+ //开启websocket
5962
+ websocket: true,
5963
+ //全局搜索
5964
+ globalSearch: true,
5965
+ //国际化
5966
+ locale: true,
5967
+ //转化工具
5968
+ transformTool: true,
5969
+ //热键
5970
+ hotKey: true,
5971
+ //全部菜单
5972
+ menuCollection: true,
5973
+ //版本信息
5974
+ version: true,
5975
+ //版本更新自动刷新页面
5976
+ autoDetectVersion: true,
5977
+ //本地数据库加密 暂时未用到
5978
+ indexDbCrypt: true,
5979
+ //显示用户客户端环境提示,如果是IE、或者浏览器宽度小于推荐值1680、或chrome版本低于66则显示
5980
+ agentSuggest: true,
5981
+ //用户代理
5982
+ delegate: true,
5983
+ userCardTypes: {},
5984
+ },
5985
+ fileConfig: {
5986
+ uploadFileSize: 20,
5987
+ tusFileSize: 100,
5988
+ tusClient: true,
5989
+ },
5958
5990
  },
5959
5991
  WATER_MARK_CONFIG: {
5960
5992
  fontSize: 18,
5961
- lightColor: '#666',
5962
- darkColor: '#fefefe',
5993
+ lightColor: "#666",
5994
+ darkColor: "#fefefe",
5963
5995
  alpha: 0.3,
5964
5996
  rotate: 30,
5965
- text: '甘棠软件',
5997
+ text: "甘棠软件",
5966
5998
  padding: 10,
5967
5999
  showTime: false,
5968
- status: 'none',
6000
+ status: "none",
5969
6001
  },
5970
6002
  },
5971
6003
  };
@@ -48685,7 +48717,7 @@ const createCwdConfig = (cwd, name, vue) => {
48685
48717
  };
48686
48718
 
48687
48719
  var name = "gant-core";
48688
- var version = "0.1.20";
48720
+ var version = "0.1.21";
48689
48721
  var description = "";
48690
48722
  var main = "lib/index.js";
48691
48723
  var bin = {