@nocobase/plugin-client 0.18.0-alpha.9 → 0.19.0-alpha.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.
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.18.0-alpha.9",
3
- "@nocobase/utils": "0.18.0-alpha.9",
4
- "@nocobase/server": "0.18.0-alpha.9",
5
- "@nocobase/database": "0.18.0-alpha.9"
2
+ "@nocobase/client": "0.19.0-alpha.1",
3
+ "@nocobase/utils": "0.19.0-alpha.1",
4
+ "@nocobase/server": "0.19.0-alpha.1",
5
+ "@nocobase/database": "0.19.0-alpha.1"
6
6
  };
@@ -1 +1 @@
1
- {"name":"cronstrue","title":"cRonstrue","version":"2.47.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":"2024-01-03T02:07:47.156Z"}
1
+ {"name":"cronstrue","title":"cRonstrue","version":"2.47.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":"2024-01-08T11:40:23.467Z"}
@@ -1,4 +1,5 @@
1
1
  import { Migration } from '@nocobase/server';
2
2
  export default class extends Migration {
3
+ appVersion: string;
3
4
  up(): Promise<void>;
4
5
  }
@@ -22,6 +22,7 @@ __export(admin_ui_schema_uid_exports, {
22
22
  module.exports = __toCommonJS(admin_ui_schema_uid_exports);
23
23
  var import_server = require("@nocobase/server");
24
24
  class admin_ui_schema_uid_default extends import_server.Migration {
25
+ appVersion = "<0.14.0-alpha.1";
25
26
  async up() {
26
27
  var _a, _b, _c;
27
28
  const result = await this.app.version.satisfies("<0.14.0-alpha.1");
@@ -1,4 +1,5 @@
1
1
  import { Migration } from '@nocobase/server';
2
2
  export default class extends Migration {
3
+ appVersion: string;
3
4
  up(): Promise<void>;
4
5
  }
@@ -22,6 +22,7 @@ __export(admin_menu_uid_exports, {
22
22
  module.exports = __toCommonJS(admin_menu_uid_exports);
23
23
  var import_server = require("@nocobase/server");
24
24
  class admin_menu_uid_default extends import_server.Migration {
25
+ appVersion = "<0.17.0-alpha.8";
25
26
  async up() {
26
27
  var _a, _b;
27
28
  const result = await this.app.version.satisfies("<0.17.0-alpha.8");
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
  var server_exports = {};
29
19
  __export(server_exports, {
@@ -32,7 +22,6 @@ __export(server_exports, {
32
22
  });
33
23
  module.exports = __toCommonJS(server_exports);
34
24
  var import_server = require("@nocobase/server");
35
- var import_fs = __toESM(require("fs"));
36
25
  var import_path = require("path");
37
26
  var import_antd = require("./antd");
38
27
  var import_cron = require("./cron");
@@ -96,12 +85,6 @@ class ClientPlugin extends import_server.Plugin {
96
85
  actions: ["app:restart", "app:clearCache"]
97
86
  });
98
87
  const dialect = this.app.db.sequelize.getDialect();
99
- const restartMark = (0, import_path.resolve)(process.cwd(), "storage", "restart");
100
- this.app.on("beforeStart", async () => {
101
- if (import_fs.default.existsSync(restartMark)) {
102
- import_fs.default.unlinkSync(restartMark);
103
- }
104
- });
105
88
  this.app.resource({
106
89
  name: "app",
107
90
  actions: {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "WEB 客户端",
5
5
  "description": "Provides a client interface for the NocoBase server",
6
6
  "description.zh-CN": "为 NocoBase 服务端提供客户端界面",
7
- "version": "0.18.0-alpha.9",
7
+ "version": "0.19.0-alpha.1",
8
8
  "main": "./dist/server/index.js",
9
9
  "license": "AGPL-3.0",
10
10
  "devDependencies": {
@@ -20,5 +20,5 @@
20
20
  "@nocobase/test": "0.x",
21
21
  "@nocobase/utils": "0.x"
22
22
  },
23
- "gitHead": "34ca0df4eede2e83fc86297b0fe19eba970e2b1b"
23
+ "gitHead": "64601944412fc4d2e2bd05f4b982118dd28247dc"
24
24
  }