@claspo/editor 1.0.0 → 1.0.2

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.
Files changed (3) hide show
  1. package/README.md +11 -1
  2. package/package.json +11 -3
  3. package/src/types.d.ts +1439 -0
package/README.md CHANGED
@@ -28,4 +28,14 @@ const config: EditorConfigI = {
28
28
 
29
29
  ## Peer Dependencies
30
30
 
31
- - `rxjs` >= 6.0.0 (optional) - Required if using Observable-based API methods
31
+ | Package | Version | Required |
32
+ |---------|---------|----------|
33
+ | `rxjs` | >= 6.0.0 | Optional - only if using Observable-based API methods |
34
+ | `@claspo/common` | 6.0.0 | Yes |
35
+ | `@claspo/document-connector` | 15.0.0 | Yes |
36
+
37
+ Install peer dependencies:
38
+
39
+ ```bash
40
+ npm install rxjs @claspo/common@6.0.0 @claspo/document-connector@15.0.0
41
+ ```
package/package.json CHANGED
@@ -1,11 +1,18 @@
1
1
  {
2
2
  "name": "@claspo/editor",
3
- "version": "1.0.0",
4
- "description": "TypeScript type definitions for ClaspoEditor",
3
+ "version": "1.0.2",
4
+ "description": "TypeScript type definitions for Claspo Editor",
5
+ "type": "module",
5
6
  "types": "src/types.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./src/types.d.ts"
10
+ }
11
+ },
6
12
  "files": ["src"],
7
13
  "scripts": {
8
-
14
+ "check": "npm pack --dry-run",
15
+ "publish": "npm publish --access=public",
9
16
  "build:types": "node scripts/build-types.js && node scripts/types-postprocessing.js",
10
17
  "build:docs": "typedoc --options typedoc.md.json && node scripts/postprocess-md.js && node scripts/add-frontmatter.js",
11
18
  "build:all": "npm run build:types && npm run build:docs",
@@ -13,6 +20,7 @@
13
20
  "generate-reexports": "echo 'DO NOT CALL IT, WILL REWRITE editor-config.interface.ts' && node scripts/generate-esng-reexports.js"
14
21
  },
15
22
  "devDependencies": {
23
+ "dts-bundle-generator": "^9.5.1",
16
24
  "typedoc": "^0.28.0",
17
25
  "typedoc-plugin-markdown": "^4.4.1"
18
26
  },