module-tsx 0.0.0 → 0.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.
package/package.json CHANGED
@@ -1,20 +1,36 @@
1
1
  {
2
2
  "name": "module-tsx",
3
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
- "main": "dist/index.mjs",
9
- "types": "dist/index.d.mts",
10
- "unpkg": "dist/index.umd.js",
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "browser": "dist/index.mjs",
11
11
  "scripts": {
12
- "build": "tsdown"
12
+ "build": "tsdown",
13
+ "test": "node --experimental-strip-types --test 'src/*.test.ts'"
13
14
  },
14
15
  "dependencies": {
15
16
  "typescript": "^5.9.3"
16
17
  },
17
18
  "devDependencies": {
18
- "tsdown": "^0.20.1"
19
+ "@types/node": "^24.12.2",
20
+ "esbuild": "^0.28.0",
21
+ "tsdown": "^0.22.0"
22
+ },
23
+ "author": "YieldRay",
24
+ "license": "MIT",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/YieldRay/module-tsx.git"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/YieldRay/module-tsx/issues"
31
+ },
32
+ "homepage": "https://github.com/YieldRay/module-tsx#readme",
33
+ "publishConfig": {
34
+ "registry": "https://registry.npmjs.org"
19
35
  }
20
36
  }
package/dist/index.d.mts DELETED
@@ -1,8 +0,0 @@
1
- //#region src/op.d.ts
2
- /**
3
- * Given a source URL and source code, transform the module and return a blob URL,
4
- * where the blob URL's content is the transformed module code.
5
- */
6
- declare function transformSourceModule(sourceUrl: string, sourceCode: string): Promise<string>;
7
- //#endregion
8
- export { transformSourceModule };