create-erxes 0.1.14 → 0.1.15

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/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { mkdir, readFile, readdir, symlink, writeFile } from "node:fs/promises";
9
9
  import { homedir } from "node:os";
10
10
  import { fileURLToPath } from "node:url";
11
11
  // package.json
12
- var version = "0.1.14";
12
+ var version = "0.1.15";
13
13
  // src/existing-plugins.ts
14
14
  /** The old erxes plugins a new-core plugin can be migrated from (`backend/plugins/<name>_api`). */
15
15
  const OLD_PLUGINS = [
@@ -186,6 +186,10 @@ page looks like core's Settings › Profile (`apps/web/src/modules/settings/prof
186
186
  `@erxes/core-contract/client`: its name, and a click opens it in core's side
187
187
  panel beside the page. Never its id, a name copied into the plugin's table,
188
188
  or a link to a URL. `useOpenRecord()` opens one from your own control.
189
+ - In the record's panel the field is erxes-ui's `ContactRelationInput` in a
190
+ `PanelField cell={false}`, given `contacts={contactQueries}` and
191
+ `contactSearch={contactSearchQueries}`: the chip, then a small "Add customer"
192
+ button, sized like core's. `multiple={false}` when the record keeps one.
189
193
  - A plugin's records of a customer or company are a relation tab on its panel
190
194
  (`relationTabs`, above). `recordSections` still draws a section in the
191
195
  customer's Detail tab, for a summary that belongs beside its fields.
@@ -21,7 +21,7 @@
21
21
  "db:check": "drizzle-kit check"
22
22
  },
23
23
  "dependencies": {
24
- "@erxes/core-contract": "0.1.0-v2.12",
24
+ "@erxes/core-contract": "0.1.0-v2.13",
25
25
  "@erxes/plugin-sdk": "0.1.0-v2.11",
26
26
  "@opentelemetry/instrumentation-express": "^0.73.0",
27
27
  "@opentelemetry/instrumentation-http": "^0.301.1",
@@ -8,12 +8,12 @@
8
8
  "build": "rsbuild build"
9
9
  },
10
10
  "dependencies": {
11
- "@erxes/core-contract": "0.1.0-v2.12",
11
+ "@erxes/core-contract": "0.1.0-v2.13",
12
12
  "@orpc/client": "1.16.2",
13
13
  "@orpc/tanstack-query": "1.16.2",
14
14
  "@tabler/icons-react": "3.34.0",
15
15
  "@tanstack/react-query": "^5.107.1",
16
- "erxes-ui": "npm:@erxes/ui@4.0.0-v2.17",
16
+ "erxes-ui": "npm:@erxes/ui@4.0.0-v2.19",
17
17
  "jotai": "^3.0.2",
18
18
  "nuqs": "^2.10.3",
19
19
  "react": "19.3.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-erxes",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "private": false,
5
5
  "description": "Create an erxes plugin for the new core, or migrate an old erxes plugin onto it: pnpm create erxes",
6
6
  "license": "MIT",