editor-shell 0.5.0 → 0.5.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 (1) hide show
  1. package/package.json +14 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editor-shell",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Shared editor-chrome primitives for the EFFICIENT editors: EditorRail (a Next-16-safe left icon-rail leaf), the shell token layer, and GoldTextInput — type in place and watch the markup formatting appear as you type.",
5
5
  "license": "MIT",
6
6
  "author": "Lewis Liu",
@@ -22,30 +22,36 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/index.d.ts",
25
- "import": "./dist/index.js"
25
+ "import": "./dist/index.js",
26
+ "default": "./dist/index.js"
26
27
  },
27
28
  "./rail": {
28
29
  "types": "./dist/rail/index.d.ts",
29
- "import": "./dist/rail/index.js"
30
+ "import": "./dist/rail/index.js",
31
+ "default": "./dist/rail/index.js"
30
32
  },
31
33
  "./icons": {
32
34
  "types": "./dist/icons/index.d.ts",
33
- "import": "./dist/icons/index.js"
35
+ "import": "./dist/icons/index.js",
36
+ "default": "./dist/icons/index.js"
34
37
  },
35
38
  "./panel": {
36
39
  "types": "./dist/panel/index.d.ts",
37
- "import": "./dist/panel/index.js"
40
+ "import": "./dist/panel/index.js",
41
+ "default": "./dist/panel/index.js"
38
42
  },
39
43
  "./panel.css": "./dist/panel/panel.css",
40
44
  "./rail.css": "./dist/rail/rail.css",
41
45
  "./shell": {
42
46
  "types": "./dist/shell/index.d.ts",
43
- "import": "./dist/shell/index.js"
47
+ "import": "./dist/shell/index.js",
48
+ "default": "./dist/shell/index.js"
44
49
  },
45
50
  "./shell.css": "./dist/shell/shell.css",
46
51
  "./gold": {
47
52
  "types": "./dist/gold/index.d.ts",
48
- "import": "./dist/gold/index.js"
53
+ "import": "./dist/gold/index.js",
54
+ "default": "./dist/gold/index.js"
49
55
  },
50
56
  "./gold.css": "./dist/gold/gold.css"
51
57
  },
@@ -81,6 +87,7 @@
81
87
  "dev": "tsup --watch",
82
88
  "typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
83
89
  "test": "node scripts/test.mjs",
90
+ "verify:exports": "node scripts/verify-exports-resolve.mjs",
84
91
  "clean": "rm -rf dist"
85
92
  },
86
93
  "keywords": [