@jsrepo/transform-biome 0.0.9 → 0.0.11

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.
@@ -20,4 +20,4 @@ import { Transform } from "jsrepo";
20
20
  declare function export_default(): Transform;
21
21
  //#endregion
22
22
  export { export_default as default };
23
- //# sourceMappingURL=index.d.ts.map
23
+ //# sourceMappingURL=index.d.mts.map
@@ -1,2 +1,2 @@
1
1
  import{Biome as e,Distribution as t}from"@biomejs/js-api";function n(){return{transform:async({code:e,fileName:t,options:n})=>({code:await r(e,{fileName:t,cwd:n.cwd})})}}async function r(n,{fileName:r,cwd:i}){try{let a=await e.create({distribution:t.NODE}),{projectKey:o}=a.openProject(i);return a.formatContent(o,n,{filePath:r}).content}catch(e){console.error(e);return}}export{n as default};
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsrepo/transform-biome",
3
3
  "description": "A transform plugin for jsrepo to format code with biome.",
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "license": "MIT",
6
6
  "homepage": "https://jsrepo.dev",
7
7
  "author": {
@@ -24,31 +24,31 @@
24
24
  "type": "module",
25
25
  "exports": {
26
26
  ".": {
27
- "types": "./dist/index.d.ts",
28
- "default": "./dist/index.js"
27
+ "types": "./dist/index.d.mts",
28
+ "default": "./dist/index.mjs"
29
29
  }
30
30
  },
31
- "main": "./dist/index.js",
31
+ "main": "./dist/index.mjs",
32
32
  "files": [
33
33
  "dist/**/*",
34
34
  "!dist/**/*.map"
35
35
  ],
36
36
  "peerDependencies": {
37
- "jsrepo": "3.0.8"
37
+ "jsrepo": "3.0.10"
38
38
  },
39
39
  "dependencies": {
40
40
  "@biomejs/js-api": "^4.0.0",
41
41
  "@biomejs/wasm-nodejs": "^2.3.4"
42
42
  },
43
43
  "devDependencies": {
44
- "@types/node": "^24.10.0",
45
- "tsdown": "^0.15.12",
44
+ "@types/node": "^25.0.3",
45
+ "tsdown": "0.19.0-beta.3",
46
46
  "typescript": "^5.9.3"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "tsdown",
50
50
  "dev": "tsdown --watch",
51
51
  "check": "tsc --noEmit",
52
- "bundle-analyze": "FORCE_COLOR=1 node ../../bundle-analyzer/dist/index.js analyze ."
52
+ "bundle-analyze": "FORCE_COLOR=1 node ../../bundle-analyzer/dist/index.mjs analyze ."
53
53
  }
54
54
  }