@mak-98/xml-dirvi-app 0.11.0-beta.20 → 0.11.0-beta.24

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.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { xmlApp as default } from './xml-dirvi-app.js';
2
- export { xmlApp } from './xml-dirvi-app.js';
1
+ export { app as default } from './xml-dirvi-app.js';
2
+ export { app } from './xml-dirvi-app.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { xmlApp as default } from './xml-dirvi-app.js';
2
- export { xmlApp } from './xml-dirvi-app.js';
1
+ export { app as default } from './xml-dirvi-app.js';
2
+ export { app } from './xml-dirvi-app.js';
@@ -1,3 +1,3 @@
1
- import type { CreateAppDefinitionApplicator } from 'dirvi-apis';
2
- export declare const xmlApp: CreateAppDefinitionApplicator;
1
+ import type { CreateAppDefinitionApplicator } from 'treevim';
2
+ export declare const app: CreateAppDefinitionApplicator;
3
3
  //# sourceMappingURL=xml-dirvi-app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xml-dirvi-app.d.ts","sourceRoot":"","sources":["../src/xml-dirvi-app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAGV,6BAA6B,EAE9B,MAAM,YAAY,CAAC;AAQpB,eAAO,MAAM,MAAM,EAAE,6BA8DpB,CAAC"}
1
+ {"version":3,"file":"xml-dirvi-app.d.ts","sourceRoot":"","sources":["../src/xml-dirvi-app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAGV,6BAA6B,EAE9B,MAAM,SAAS,CAAC;AAQjB,eAAO,MAAM,GAAG,EAAE,6BA8DjB,CAAC"}
@@ -3,7 +3,7 @@ import { resolve } from 'node:path';
3
3
  import { xmlValueSchema } from './domain/xml-tree.js';
4
4
  import { createXmlFileResyncSubscription } from './infrastructure/create-xml-file-resync.js';
5
5
  import { createXmlDom } from './infrastructure/create-xml-dom.js';
6
- export const xmlApp = (input) => {
6
+ export const app = (input) => {
7
7
  if (input === undefined) {
8
8
  throw new Error('xml-dirvi-app: No file path to XML file given.');
9
9
  }
@@ -46,7 +46,7 @@ export const xmlApp = (input) => {
46
46
  presentNode: (_id, value, nodeKind) => [
47
47
  {
48
48
  content: value.kind,
49
- highlight: nodeKind,
49
+ hlToken: nodeKind,
50
50
  },
51
51
  ],
52
52
  subscribeToResync: createXmlFileResyncSubscription(xmlAbsolutePath),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mak-98/xml-dirvi-app",
3
- "version": "0.11.0-beta.20",
3
+ "version": "0.11.0-beta.24",
4
4
  "description": "XML file app for dirvi.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "type": "module",
@@ -21,13 +21,13 @@
21
21
  "dependencies": {
22
22
  "@rgrove/parse-xml": "^5.0.0",
23
23
  "@xmldom/xmldom": "^0.9.12",
24
- "dirvi-apis": "0.11.0-beta.20",
25
24
  "env-paths": "^4.0.0",
26
25
  "zod": "^4.4.3"
27
26
  },
28
27
  "devDependencies": {
28
+ "treevim": "0.1.0-beta.2",
29
29
  "@types/node": "^22.0.0",
30
- "dirvi-lib": "0.11.0-beta.20",
30
+ "dirvi-lib": "0.11.0-beta.24",
31
31
  "typescript": "^5.0.0"
32
32
  },
33
33
  "scripts": {