@tachybase/module-web 1.3.21 → 1.3.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.
@@ -1,17 +1,14 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.3.21",
3
+ "@tachybase/client": "1.3.22",
4
4
  "react-router-dom": "6.28.1",
5
- "@ant-design/icons": "5.3.7",
5
+ "@ant-design/icons": "5.6.1",
6
6
  "antd": "5.22.5",
7
- "@tachybase/utils": "1.3.21",
8
- "@tachybase/actions": "1.3.21",
9
- "@tachybase/server": "1.3.21",
7
+ "@tego/server": "1.3.39",
10
8
  "react-i18next": "15.2.0",
11
- "@tachybase/schema": "1.3.21",
9
+ "@tachybase/schema": "1.3.39",
10
+ "@tego/client": "1.3.39",
12
11
  "lodash": "4.17.21",
13
- "@tachybase/database": "1.3.21",
14
12
  "react-dom": "18.3.1",
15
- "ahooks": "3.9.0",
16
- "@tachybase/components": "1.3.21"
13
+ "ahooks": "3.9.0"
17
14
  };
@@ -1 +1 @@
1
- {"name":"cronstrue","title":"cRonstrue","version":"2.52.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2025-07-25T05:49:01.939Z"}
1
+ {"name":"cronstrue","title":"cRonstrue","version":"2.52.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2025-07-29T06:15:37.512Z"}
@@ -20,11 +20,11 @@ __export(antd_exports, {
20
20
  getAntdLocale: () => getAntdLocale
21
21
  });
22
22
  module.exports = __toCommonJS(antd_exports);
23
- var import_path = require("path");
24
- var import_utils = require("@tachybase/utils");
23
+ var import_node_path = require("node:path");
24
+ var import_server = require("@tego/server");
25
25
  const getAntdLocale = (lang) => {
26
26
  const lng = lang.replace("-", "_");
27
- const files = [(0, import_path.resolve)(__dirname, `../locale/antd/${lng}`)];
27
+ const files = [(0, import_node_path.resolve)(__dirname, `../locale/antd/${lng}`)];
28
28
  if (process.env.APP_ENV !== "production") {
29
29
  files.unshift(`antd/lib/locale/${lng}`);
30
30
  files.push(`antd/lib/locale/en_US`);
@@ -32,7 +32,7 @@ const getAntdLocale = (lang) => {
32
32
  for (const file of files) {
33
33
  try {
34
34
  require.resolve(file);
35
- return (0, import_utils.requireModule)(file);
35
+ return (0, import_server.requireModule)(file);
36
36
  } catch (error) {
37
37
  continue;
38
38
  }
@@ -20,18 +20,18 @@ __export(cron_exports, {
20
20
  getCronLocale: () => getCronLocale
21
21
  });
22
22
  module.exports = __toCommonJS(cron_exports);
23
- var import_path = require("path");
24
- var import_utils = require("@tachybase/utils");
23
+ var import_node_path = require("node:path");
24
+ var import_server = require("@tego/server");
25
25
  const getCronLocale = (lang) => {
26
26
  const lng = lang.replace("-", "_");
27
- const files = [(0, import_path.resolve)(__dirname, `./../../../client/src/locale/cron/${lng}`)];
27
+ const files = [(0, import_node_path.resolve)(__dirname, `./../../../client/src/locale/cron/${lng}`)];
28
28
  if (process.env.APP_ENV !== "production") {
29
29
  files.push(`@tachybase/client/src/locale/cron/${lng}`, `@tachybase/client/lib/locale/cron/${lng}`);
30
30
  }
31
31
  for (const file of files) {
32
32
  try {
33
33
  require.resolve(file);
34
- return (0, import_utils.requireModule)(file);
34
+ return (0, import_server.requireModule)(file);
35
35
  } catch (error) {
36
36
  continue;
37
37
  }
@@ -1,4 +1,4 @@
1
- import { Migration } from '@tachybase/server';
1
+ import { Migration } from '@tego/server';
2
2
  export default class extends Migration {
3
3
  appVersion: string;
4
4
  up(): Promise<void>;
@@ -20,7 +20,7 @@ __export(admin_ui_schema_uid_exports, {
20
20
  default: () => admin_ui_schema_uid_default
21
21
  });
22
22
  module.exports = __toCommonJS(admin_ui_schema_uid_exports);
23
- var import_server = require("@tachybase/server");
23
+ var import_server = require("@tego/server");
24
24
  class admin_ui_schema_uid_default extends import_server.Migration {
25
25
  constructor() {
26
26
  super(...arguments);
@@ -1,4 +1,4 @@
1
- import { Migration } from '@tachybase/server';
1
+ import { Migration } from '@tego/server';
2
2
  export default class extends Migration {
3
3
  appVersion: string;
4
4
  up(): Promise<void>;
@@ -20,7 +20,7 @@ __export(admin_menu_uid_exports, {
20
20
  default: () => admin_menu_uid_default
21
21
  });
22
22
  module.exports = __toCommonJS(admin_menu_uid_exports);
23
- var import_server = require("@tachybase/server");
23
+ var import_server = require("@tego/server");
24
24
  class admin_menu_uid_default extends import_server.Migration {
25
25
  constructor() {
26
26
  super(...arguments);
@@ -1,4 +1,4 @@
1
- import { Migration } from '@tachybase/server';
1
+ import { Migration } from '@tego/server';
2
2
  export default class extends Migration {
3
3
  on: string;
4
4
  appVersion: string;
@@ -20,7 +20,7 @@ __export(update_uiSchemas_exports, {
20
20
  default: () => update_uiSchemas_default
21
21
  });
22
22
  module.exports = __toCommonJS(update_uiSchemas_exports);
23
- var import_server = require("@tachybase/server");
23
+ var import_server = require("@tego/server");
24
24
  class update_uiSchemas_default extends import_server.Migration {
25
25
  constructor() {
26
26
  super(...arguments);
@@ -1,4 +1,4 @@
1
- import { Plugin } from '@tachybase/server';
1
+ import { Plugin } from '@tego/server';
2
2
  export declare class ModuleWeb extends Plugin {
3
3
  beforeLoad(): Promise<void>;
4
4
  install(): Promise<void>;
@@ -21,7 +21,7 @@ __export(server_exports, {
21
21
  default: () => server_default
22
22
  });
23
23
  module.exports = __toCommonJS(server_exports);
24
- var import_server = require("@tachybase/server");
24
+ var import_server = require("@tego/server");
25
25
  var import_antd = require("./antd");
26
26
  var import_cron = require("./cron");
27
27
  var import_cronstrue = require("./cronstrue");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/module-web",
3
3
  "displayName": "WEB client",
4
- "version": "1.3.21",
4
+ "version": "1.3.22",
5
5
  "description": "Provides a client interface for the TachyBase server",
6
6
  "keywords": [
7
7
  "System management"
@@ -10,10 +10,14 @@
10
10
  "main": "./dist/server/index.js",
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
- "@ant-design/icons": "~5.3.7",
14
- "@types/react": "~18.3.18",
15
- "@types/react-dom": "~18.3.5",
16
- "ahooks": "~3.9.0",
13
+ "@ant-design/icons": "^5.6.1",
14
+ "@tachybase/schema": "^1.3.39",
15
+ "@tachybase/test": "^1.3.39",
16
+ "@tego/client": "^1.3.39",
17
+ "@tego/server": "^1.3.39",
18
+ "@types/react": "~18.3.23",
19
+ "@types/react-dom": "~18.3.7",
20
+ "ahooks": "^3.9.0",
17
21
  "antd": "5.22.5",
18
22
  "antd-mobile": "^5.39.0",
19
23
  "antd-mobile-icons": "^0.3.0",
@@ -21,24 +25,13 @@
21
25
  "koa-send": "^5.0.1",
22
26
  "koa-static": "^5.0.0",
23
27
  "lodash": "4.17.21",
24
- "react": "~18.3.1",
25
- "react-dom": "~18.3.1",
26
- "react-i18next": "^15.2.0",
28
+ "react": "18.3.1",
29
+ "react-dom": "18.3.1",
30
+ "react-i18next": "15.2.0",
27
31
  "react-router-dom": "6.28.1",
28
- "@tachybase/schema": "1.3.21",
29
- "@tachybase/components": "1.3.21"
30
- },
31
- "peerDependencies": {
32
- "@tachybase/actions": "1.3.21",
33
- "@tachybase/client": "1.3.21",
34
- "@tachybase/database": "1.3.21",
35
- "@tachybase/server": "1.3.21",
36
- "@tachybase/test": "1.3.21",
37
- "@tachybase/utils": "1.3.21"
32
+ "@tachybase/client": "1.3.22"
38
33
  },
39
34
  "description.zh-CN": "为 TachyBase 服务端提供客户端界面",
40
35
  "displayName.zh-CN": "WEB 客户端",
41
- "scripts": {
42
- "build": "tachybase-build --no-dts @tachybase/module-web"
43
- }
36
+ "scripts": {}
44
37
  }