document-model 1.8.0 → 2.0.1

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.
@@ -12,8 +12,7 @@ import * as DocumentModel from './document-model';
12
12
  * documents
13
13
  * - Various utility functions to be used by Document Models.
14
14
  */
15
- export { Document };
16
- export { DocumentModel };
15
+ export { Document, DocumentModel };
17
16
  export declare const DocumentModels: {
18
17
  'powerhouse/document': typeof Document;
19
18
  'powerhouse/document-model': typeof DocumentModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-model",
3
- "version": "1.8.0",
3
+ "version": "2.0.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "private": false,
6
6
  "files": [
@@ -16,11 +16,10 @@
16
16
  "lint": "eslint . && npm run check-types",
17
17
  "lint:fix": "eslint --fix . && npm run check-types",
18
18
  "build": "NODE_ENV=production npm run build:browser && npm run build:node",
19
+ "build:watch": "NODE_ENV=production npm run build:browser -- --watch && npm run build:node -- --watch",
19
20
  "build:browser": "vite build --mode browser",
20
21
  "build:node": "vite build --mode node",
21
- "test": "vitest run",
22
- "prepare": "husky install",
23
- "release": "semantic-release"
22
+ "test": "vitest run"
24
23
  },
25
24
  "exports": {
26
25
  ".": {
@@ -55,31 +54,18 @@
55
54
  }
56
55
  },
57
56
  "devDependencies": {
58
- "@commitlint/cli": "^18.4.4",
59
- "@commitlint/config-conventional": "^18.4.4",
60
57
  "@rollup/plugin-node-resolve": "^15.2.3",
61
- "@semantic-release/changelog": "^6.0.3",
62
- "@semantic-release/git": "^10.0.1",
63
58
  "@total-typescript/ts-reset": "^0.5.1",
64
59
  "@types/mime": "^3.0.4",
65
60
  "@types/node": "^20.11.17",
66
61
  "@types/react": "^18.2.48",
67
62
  "@types/uuid": "^9.0.8",
68
- "@typescript-eslint/eslint-plugin": "^6.19.0",
69
63
  "@typescript-eslint/parser": "^6.19.0",
70
64
  "@vitest/browser": "^2.0.5",
71
65
  "@vitest/coverage-v8": "^2.0.5",
72
- "eslint": "^8.56.0",
73
- "eslint-config-prettier": "^9.1.0",
74
- "eslint-plugin-prettier": "^5.1.3",
75
- "husky": "^8.0.3",
76
- "lint-staged": "^15.2.0",
77
66
  "playwright": "^1.46.1",
78
- "prettier": "^3.2.4",
79
- "prettier-plugin-organize-imports": "^3.2.4",
80
67
  "react": "^18.2.0",
81
68
  "rollup-plugin-polyfill-node": "^0.13.0",
82
- "semantic-release": "^23.0.8",
83
69
  "typescript": "^5.3.3",
84
70
  "vite": "^5.0.11",
85
71
  "vite-plugin-dts": "^3.7.1",