@m4k/common 0.2.4 → 0.2.6

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/lib/index.d.ts CHANGED
@@ -130,5 +130,5 @@ export declare class ProcessedFile {
130
130
  readonly stream?: AsyncIterable<Uint8Array> | undefined;
131
131
  constructor(name: string, type: string, stream?: AsyncIterable<Uint8Array> | undefined);
132
132
  }
133
- export { mimeTypes } from "./mime";
133
+ export { mimeTypes } from "./mime.js";
134
134
  //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -8,5 +8,5 @@ export class ProcessedFile {
8
8
  this.stream = stream;
9
9
  }
10
10
  }
11
- export { mimeTypes } from "./mime";
11
+ export { mimeTypes } from "./mime.js";
12
12
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,23 +1,29 @@
1
1
  {
2
2
  "name": "@m4k/common",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
+ "description": "Common types and utilities for m4k",
5
+ "license": "MIT",
6
+ "author": "sv2dev",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/sv2dev/m4k.git"
10
+ },
4
11
  "type": "module",
5
12
  "main": "./lib/index.js",
6
- "types": "./lib/index.d.ts",
7
13
  "module": "./lib/index.js",
8
- "license": "MIT",
9
- "description": "Common types and utilities for m4k",
10
- "author": "sv2dev",
14
+ "types": "./lib/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/index.d.ts",
18
+ "import": "./lib/index.js"
19
+ }
20
+ },
11
21
  "scripts": {
12
22
  "prepublishOnly": "bun run build",
13
23
  "build": "tsc -b",
14
24
  "typecheck": "tsc --noEmit"
15
25
  },
16
26
  "devDependencies": {
17
- "typescript": "^5.8.3"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/sv2dev/m4k.git"
27
+ "typescript": "^6.0.2"
22
28
  }
23
29
  }