vt220.js 0.1.0 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vt220.js",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "VT220 terminal emulator — 8 colors, insert/delete, selective erase. Pure TypeScript, zero dependencies.",
5
5
  "keywords": [
6
6
  "ansi",
@@ -21,16 +21,25 @@
21
21
  "directory": "packages/vt220"
22
22
  },
23
23
  "files": [
24
- "src"
24
+ "dist"
25
25
  ],
26
26
  "type": "module",
27
27
  "exports": {
28
- ".": "./src/index.ts"
28
+ ".": {
29
+ "types": "./dist/index.d.mts",
30
+ "import": "./dist/index.mjs"
31
+ }
29
32
  },
30
33
  "publishConfig": {
31
34
  "access": "public"
32
35
  },
36
+ "tsdown": {
37
+ "clean": true,
38
+ "dts": true,
39
+ "entry": "src/index.ts",
40
+ "format": "esm"
41
+ },
33
42
  "engines": {
34
43
  "node": ">=23.6.0"
35
44
  }
36
- }
45
+ }
package/src/index.ts DELETED
@@ -1,7 +0,0 @@
1
- export {
2
- createScreen as createVt220Screen,
3
- type Screen as Vt220Screen,
4
- type ScreenOptions as Vt220ScreenOptions,
5
- type ScreenCell,
6
- type CellColor,
7
- } from "./screen.ts"