create-erxes 0.1.18 → 0.1.19

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.18";
12
+ var version = "0.1.19";
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 = [
@@ -57,8 +57,8 @@ without line-by-line review.
57
57
  with `verifyPluginSession`. The same procedures are REST at `/api/v1` for
58
58
  scripts, which get the token from core with an API key; `/api/openapi/member.json`
59
59
  documents them (`pluginOpenApi`), and core's Settings › Developer › API reference
60
- shows it. Routes for customers or a website get their own document with that
61
- `audience`, listed in the manifest's `api.docs`. Renaming a procedure breaks those scripts. A caller outside erxes (a webhook) reaches a path
60
+ shows it. Routes for employees in the plugin's own app, customers or a website get
61
+ their own document with that `audience`, listed in the manifest's `api.docs`. Renaming a procedure breaks those scripts. A caller outside erxes (a webhook) reaches a path
62
62
  the manifest's `publicPaths` lists through core, which names the organisation:
63
63
  check it with `verifyPublicCall` (`@erxes/plugin-sdk`'s overview has the route).
64
64
  - Skills in `.agents/skills/`: `endpoint` for a procedure, `schema-change` for a
@@ -21,8 +21,8 @@
21
21
  "db:check": "drizzle-kit check"
22
22
  },
23
23
  "dependencies": {
24
- "@erxes/core-contract": "0.1.0-v2.19",
25
- "@erxes/plugin-sdk": "0.1.0-v2.17",
24
+ "@erxes/core-contract": "0.1.0-v2.20",
25
+ "@erxes/plugin-sdk": "0.1.0-v2.18",
26
26
  "@opentelemetry/instrumentation-express": "^0.73.0",
27
27
  "@opentelemetry/instrumentation-http": "^0.301.1",
28
28
  "@opentelemetry/instrumentation-pg": "^0.78.0",
@@ -8,7 +8,7 @@
8
8
  "build": "rsbuild build"
9
9
  },
10
10
  "dependencies": {
11
- "@erxes/core-contract": "0.1.0-v2.19",
11
+ "@erxes/core-contract": "0.1.0-v2.20",
12
12
  "@orpc/client": "1.16.2",
13
13
  "@orpc/tanstack-query": "1.16.2",
14
14
  "@tabler/icons-react": "3.34.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-erxes",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
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",