@arslankhan/doc-forge 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -324,7 +324,7 @@ A binding or column can set `format`:
324
324
 
325
325
  ## Designer
326
326
 
327
- React 18 or newer is required. The core template API stays on the package root. The designer is a separate entry so Node code can load the schema without React.
327
+ React 18 or newer is required. The core template API, including `exampleInvoiceTemplate`, stays on the package root. The designer is a separate entry so Node code can load the schema without React. Import it from `@arslankhan/doc-forge/designer`. `@arslankhan/doc-forge/dist/designer` resolves to the same files.
328
328
 
329
329
  ```tsx
330
330
  import { exampleInvoiceTemplate } from "@arslankhan/doc-forge";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arslankhan/doc-forge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "UNLICENSED",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,15 +17,23 @@
17
17
  "exports": {
18
18
  ".": {
19
19
  "types": "./dist/index.d.ts",
20
- "import": "./dist/index.js"
20
+ "import": "./dist/index.js",
21
+ "default": "./dist/index.js"
21
22
  },
22
23
  "./designer": {
23
24
  "types": "./dist/designer/index.d.ts",
24
- "import": "./dist/designer/index.js"
25
+ "import": "./dist/designer/index.js",
26
+ "default": "./dist/designer/index.js"
27
+ },
28
+ "./dist/designer": {
29
+ "types": "./dist/designer/index.d.ts",
30
+ "import": "./dist/designer/index.js",
31
+ "default": "./dist/designer/index.js"
25
32
  },
26
33
  "./license": {
27
34
  "types": "./dist/license/index.d.ts",
28
- "import": "./dist/license/index.js"
35
+ "import": "./dist/license/index.js",
36
+ "default": "./dist/license/index.js"
29
37
  },
30
38
  "./pdf": {
31
39
  "types": "./dist/pdf/index.d.ts",