@dxos/plugin-graph 0.8.4-staging.60fe92afc8 → 0.9.1-main.c7dcc2e112

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/dx.config.ts ADDED
@@ -0,0 +1,19 @@
1
+ //
2
+ // Copyright 2025 DXOS.org
3
+ //
4
+
5
+ import { Config2 } from '@dxos/app-framework/config';
6
+ import { trim } from '@dxos/util';
7
+
8
+ export default Config2.make({
9
+ plugin: {
10
+ key: 'org.dxos.plugin.graph',
11
+ name: 'Graph',
12
+ author: 'DXOS',
13
+ description: trim`
14
+ Graph database layer providing relationship modeling and queries for workspace objects.
15
+ Build knowledge graphs and explore complex data relationships.
16
+ `,
17
+ tags: ['system'],
18
+ },
19
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-graph",
3
- "version": "0.8.4-staging.60fe92afc8",
3
+ "version": "0.9.1-main.c7dcc2e112",
4
4
  "description": "DXOS Surface plugin for constructing knowledge graphs",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -49,17 +49,18 @@
49
49
  "types": "dist/types/src/index.d.ts",
50
50
  "files": [
51
51
  "dist",
52
+ "dx.config.ts",
52
53
  "src"
53
54
  ],
54
55
  "dependencies": {
55
- "@dxos/app-framework": "0.8.4-staging.60fe92afc8",
56
- "@dxos/app-graph": "0.8.4-staging.60fe92afc8",
57
- "@dxos/app-toolkit": "0.8.4-staging.60fe92afc8",
58
- "@dxos/compute": "0.8.4-staging.60fe92afc8",
59
- "@dxos/effect": "0.8.4-staging.60fe92afc8",
60
- "@dxos/operation": "0.8.4-staging.60fe92afc8",
61
- "@dxos/keys": "0.8.4-staging.60fe92afc8",
62
- "@dxos/util": "0.8.4-staging.60fe92afc8"
56
+ "@dxos/app-graph": "0.9.1-main.c7dcc2e112",
57
+ "@dxos/app-framework": "0.9.1-main.c7dcc2e112",
58
+ "@dxos/effect": "0.9.1-main.c7dcc2e112",
59
+ "@dxos/compute": "0.9.1-main.c7dcc2e112",
60
+ "@dxos/keys": "0.9.1-main.c7dcc2e112",
61
+ "@dxos/operation": "0.9.1-main.c7dcc2e112",
62
+ "@dxos/util": "0.9.1-main.c7dcc2e112",
63
+ "@dxos/app-toolkit": "0.9.1-main.c7dcc2e112"
63
64
  },
64
65
  "devDependencies": {
65
66
  "@effect-atom/atom-react": "^0.5.0",
@@ -70,8 +71,8 @@
70
71
  "react": "~19.2.3",
71
72
  "react-dom": "~19.2.3",
72
73
  "vite": "^8.0.16",
73
- "@dxos/react-client": "0.8.4-staging.60fe92afc8",
74
- "@dxos/storybook-utils": "0.8.4-staging.60fe92afc8"
74
+ "@dxos/storybook-utils": "0.9.1-main.c7dcc2e112",
75
+ "@dxos/react-client": "0.9.1-main.c7dcc2e112"
75
76
  },
76
77
  "peerDependencies": {
77
78
  "@effect-atom/atom-react": "^0.5.0",
@@ -11,7 +11,7 @@ import { GraphPlugin } from '#plugin';
11
11
 
12
12
  import { meta } from './meta';
13
13
 
14
- const moduleId = (name: string) => `${meta.id}.module.${name}`;
14
+ const moduleId = (name: string) => `${meta.profile.key}.module.${name}`;
15
15
 
16
16
  describe('GraphPlugin', () => {
17
17
  test('modules activate on the expected events', async ({ expect }) => {
package/src/meta.ts CHANGED
@@ -3,16 +3,7 @@
3
3
  //
4
4
 
5
5
  import { Plugin } from '@dxos/app-framework';
6
- import { DXN } from '@dxos/keys';
7
- import { trim } from '@dxos/util';
8
6
 
9
- export const meta = Plugin.makeMeta({
10
- key: DXN.make('org.dxos.plugin.graph'),
11
- name: 'Graph',
12
- author: 'DXOS',
13
- description: trim`
14
- Graph database layer providing relationship modeling and queries for workspace objects.
15
- Build knowledge graphs and explore complex data relationships.
16
- `,
17
- tags: ['system'],
18
- });
7
+ import config from '../dx.config';
8
+
9
+ export const meta = Plugin.getMetaFromConfig(config);
@@ -1,21 +0,0 @@
1
- // src/meta.ts
2
- import { Plugin } from "@dxos/app-framework";
3
- import { DXN } from "@dxos/keys";
4
- import { trim } from "@dxos/util";
5
- var meta = Plugin.makeMeta({
6
- key: DXN.make("org.dxos.plugin.graph"),
7
- name: "Graph",
8
- author: "DXOS",
9
- description: trim`
10
- Graph database layer providing relationship modeling and queries for workspace objects.
11
- Build knowledge graphs and explore complex data relationships.
12
- `,
13
- tags: [
14
- "system"
15
- ]
16
- });
17
-
18
- export {
19
- meta
20
- };
21
- //# sourceMappingURL=chunk-BACDPQHD.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\nimport { DXN } from '@dxos/keys';\nimport { trim } from '@dxos/util';\n\nexport const meta = Plugin.makeMeta({\n key: DXN.make('org.dxos.plugin.graph'),\n name: 'Graph',\n author: 'DXOS',\n description: trim`\n Graph database layer providing relationship modeling and queries for workspace objects.\n Build knowledge graphs and explore complex data relationships.\n `,\n tags: ['system'],\n});\n"],
5
- "mappings": ";AAIA,SAASA,cAAc;AACvB,SAASC,WAAW;AACpB,SAASC,YAAY;AAEd,IAAMC,OAAOH,OAAOI,SAAS;EAClCC,KAAKJ,IAAIK,KAAK,uBAAA;EACdC,MAAM;EACNC,QAAQ;EACRC,aAAaP;;;;EAIbQ,MAAM;IAAC;;AACT,CAAA;",
6
- "names": ["Plugin", "DXN", "trim", "meta", "makeMeta", "key", "make", "name", "author", "description", "tags"]
7
- }