@jsrepo/transform-prettier 0.0.10 → 0.0.12

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.
@@ -23,4 +23,4 @@ type Options = {
23
23
  declare function export_default(options?: Options): Transform;
24
24
  //#endregion
25
25
  export { Options, export_default as default };
26
- //# sourceMappingURL=index.d.ts.map
26
+ //# sourceMappingURL=index.d.mts.map
@@ -1,2 +1,2 @@
1
1
  import e from"node:path";import{format as t,resolveConfig as n}from"prettier";function r(t={}){let r=n(e.join(process.cwd(),t.configFile??`.prettierrc`));return{transform:async({code:e,fileName:t})=>({code:await i(e,{fileName:t,config:await r})})}}function i(e,{fileName:n,config:r}){try{return t(e,{...r,filepath:n})}catch{return}}export{r 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-prettier",
3
3
  "description": "A transform plugin for jsrepo to format code with prettier.",
4
- "version": "0.0.10",
4
+ "version": "0.0.12",
5
5
  "license": "MIT",
6
6
  "homepage": "https://jsrepo.dev",
7
7
  "author": {
@@ -24,28 +24,28 @@
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
37
  "prettier": "3.x",
38
- "jsrepo": "3.0.9"
38
+ "jsrepo": "3.0.11"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/node": "^24.10.0",
42
- "tsdown": "^0.15.12",
41
+ "@types/node": "^25.0.3",
42
+ "tsdown": "0.19.0-beta.3",
43
43
  "typescript": "^5.9.3"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsdown",
47
47
  "dev": "tsdown --watch",
48
48
  "check": "tsc --noEmit",
49
- "bundle-analyze": "FORCE_COLOR=1 node ../../bundle-analyzer/dist/index.js analyze ."
49
+ "bundle-analyze": "FORCE_COLOR=1 node ../../bundle-analyzer/dist/index.mjs analyze ."
50
50
  }
51
51
  }