@so1ve/prettier-plugin-toml 3.5.0 → 3.5.1

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/dist/index.js CHANGED
@@ -24,6 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  }) : target, mod));
25
25
 
26
26
  //#endregion
27
+
27
28
  //#region ../../node_modules/.pnpm/@taplo+lib@0.5.0/node_modules/@taplo/lib/dist/index.js
28
29
  var require_dist = __commonJS({ "../../node_modules/.pnpm/@taplo+lib@0.5.0/node_modules/@taplo/lib/dist/index.js"(exports, module) {
29
30
  (function(Z, U) {
@@ -919,5 +920,11 @@ const TomlPlugin = {
919
920
  printers: { [PLUGIN_NAME]: { print: ({ node }) => node } },
920
921
  options: prettierOptionsDefinitions
921
922
  };
923
+ var lib_default = TomlPlugin;
924
+
925
+ //#endregion
926
+ //#region src/index.ts
927
+ var src_default = lib_default;
922
928
 
923
- //#endregion
929
+ //#endregion
930
+ module.exports = src_default;
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@so1ve/prettier-plugin-toml",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve)",
5
5
  "contributors": [
6
6
  "Ray <i@mk1.io> (https://github.com/so1ve)"
7
7
  ],
8
- "type": "module",
9
8
  "description": "CJS version of prettier-plugin-toml.",
10
9
  "keywords": [
11
10
  "prettier",
package/src/index.ts CHANGED
@@ -1,2 +1,3 @@
1
- // eslint-disable-next-line import/export
2
- export * from "prettier-plugin-toml";
1
+ import pluginToml from "prettier-plugin-toml";
2
+
3
+ export default pluginToml;
package/tsdown.config.ts CHANGED
@@ -4,5 +4,6 @@ import base from "../../tsdown.config.ts";
4
4
 
5
5
  export default defineConfig({
6
6
  ...base,
7
+ format: "cjs",
7
8
  dts: false,
8
9
  });