@manuscripts/transform 1.1.3 → 1.1.4-vite-support

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.
@@ -21,7 +21,7 @@ exports.comment = {
21
21
  id: { default: '' },
22
22
  contents: { default: '' },
23
23
  target: { default: '' },
24
- selector: { default: null },
24
+ selector: { default: {} },
25
25
  resolved: { default: false },
26
26
  contributions: { default: [] },
27
27
  originalText: { default: '' },
@@ -25,12 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.loadIssnBundleIndex = exports.loadBundlesMap = void 0;
27
27
  const loadBundlesMap = async () => {
28
- const { default: bundles } = await Promise.resolve().then(() => __importStar(require('@manuscripts/data/dist/shared/bundles.json')));
28
+ const { default: bundles } = await Promise.resolve().then(() => __importStar(require('../../node_modules/@manuscripts/data/dist/shared/bundles.json')));
29
29
  return new Map(bundles.map((bundle) => [bundle._id, bundle]));
30
30
  };
31
31
  exports.loadBundlesMap = loadBundlesMap;
32
32
  const loadIssnBundleIndex = async () => {
33
- const { default: issnBundleIndex } = await Promise.resolve().then(() => __importStar(require('@manuscripts/data/dist/shared/issn-bundle-index.json')));
33
+ const { default: issnBundleIndex } = await Promise.resolve().then(() => __importStar(require('../../node_modules/@manuscripts/data/dist/shared/issn-bundle-index.json')));
34
34
  return issnBundleIndex;
35
35
  };
36
36
  exports.loadIssnBundleIndex = loadIssnBundleIndex;
@@ -18,7 +18,7 @@ export const comment = {
18
18
  id: { default: '' },
19
19
  contents: { default: '' },
20
20
  target: { default: '' },
21
- selector: { default: null },
21
+ selector: { default: {} },
22
22
  resolved: { default: false },
23
23
  contributions: { default: [] },
24
24
  originalText: { default: '' },
@@ -1,8 +1,8 @@
1
1
  export const loadBundlesMap = async () => {
2
- const { default: bundles } = await import('@manuscripts/data/dist/shared/bundles.json');
2
+ const { default: bundles } = await import('../../node_modules/@manuscripts/data/dist/shared/bundles.json');
3
3
  return new Map(bundles.map((bundle) => [bundle._id, bundle]));
4
4
  };
5
5
  export const loadIssnBundleIndex = async () => {
6
- const { default: issnBundleIndex } = await import('@manuscripts/data/dist/shared/issn-bundle-index.json');
6
+ const { default: issnBundleIndex } = await import('../../node_modules/@manuscripts/data/dist/shared/issn-bundle-index.json');
7
7
  return issnBundleIndex;
8
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/transform",
3
3
  "description": "ProseMirror transformer for Manuscripts applications",
4
- "version": "1.1.3",
4
+ "version": "1.1.4-vite-support",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",