@so1ve/prettier-plugin-toml 3.4.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 +11 -4
- package/package.json +2 -3
- package/src/index.ts +3 -2
- package/tsdown.config.ts +1 -0
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) {
|
|
@@ -785,7 +786,7 @@ ${I.stack}` : C;
|
|
|
785
786
|
} });
|
|
786
787
|
|
|
787
788
|
//#endregion
|
|
788
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.5_prettier@3.0
|
|
789
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.5_prettier@3.6.0/node_modules/prettier-plugin-toml/lib/languages.js
|
|
789
790
|
const languages = [{
|
|
790
791
|
"name": "TOML",
|
|
791
792
|
"aceMode": "toml",
|
|
@@ -809,7 +810,7 @@ const languages = [{
|
|
|
809
810
|
}];
|
|
810
811
|
|
|
811
812
|
//#endregion
|
|
812
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.5_prettier@3.0
|
|
813
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.5_prettier@3.6.0/node_modules/prettier-plugin-toml/lib/options.js
|
|
813
814
|
const prettierOptionsDefinitions = {
|
|
814
815
|
alignEntries: {
|
|
815
816
|
name: "alignEntries",
|
|
@@ -891,7 +892,7 @@ const prettierOptionsDefinitions = {
|
|
|
891
892
|
};
|
|
892
893
|
|
|
893
894
|
//#endregion
|
|
894
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.5_prettier@3.0
|
|
895
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.5_prettier@3.6.0/node_modules/prettier-plugin-toml/lib/index.js
|
|
895
896
|
var import_dist = __toESM(require_dist(), 1);
|
|
896
897
|
const PLUGIN_NAME = "toml";
|
|
897
898
|
let taploIns;
|
|
@@ -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.
|
|
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",
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
"prettier-plugin-toml": "^2.0.5"
|
|
32
31
|
},
|
|
33
32
|
"peerDependencies": {
|
|
34
|
-
"prettier": "^3.
|
|
33
|
+
"prettier": "^3.6.0"
|
|
35
34
|
},
|
|
36
35
|
"scripts": {
|
|
37
36
|
"build": "tsdown",
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import pluginToml from "prettier-plugin-toml";
|
|
2
|
+
|
|
3
|
+
export default pluginToml;
|