@pengzhanbo/prettier-config 2.0.1 → 2.2.0
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.mjs +1 -2
- package/package.json +4 -8
- package/dist/index.cjs +0 -28
- package/dist/index.d.cts +0 -25
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pengzhanbo/prettier-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github/pengzhanbo/)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/pengzhanbo/configs#readme",
|
|
@@ -14,14 +14,10 @@
|
|
|
14
14
|
"prettier-config"
|
|
15
15
|
],
|
|
16
16
|
"exports": {
|
|
17
|
-
".":
|
|
18
|
-
"types": "./dist/index.d.mts",
|
|
19
|
-
"import": "./dist/index.mjs",
|
|
20
|
-
"require": "./dist/index.cjs"
|
|
21
|
-
},
|
|
17
|
+
".": "./dist/index.mjs",
|
|
22
18
|
"./package.json": "./package.json"
|
|
23
19
|
},
|
|
24
|
-
"main": "./dist/index.
|
|
20
|
+
"main": "./dist/index.mjs",
|
|
25
21
|
"module": "./dist/index.mjs",
|
|
26
22
|
"types": "./dist/index.d.mts",
|
|
27
23
|
"files": [
|
|
@@ -35,7 +31,7 @@
|
|
|
35
31
|
"provenance": true
|
|
36
32
|
},
|
|
37
33
|
"scripts": {
|
|
38
|
-
"build": "tsdown src/index.ts --format esm
|
|
34
|
+
"build": "tsdown src/index.ts --format esm --dts",
|
|
39
35
|
"stub": "tsdown src/index.ts --format esm"
|
|
40
36
|
}
|
|
41
37
|
}
|
package/dist/index.cjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/index.ts
|
|
3
|
-
var src_default = {
|
|
4
|
-
printWidth: 120,
|
|
5
|
-
tabWidth: 2,
|
|
6
|
-
useTabs: false,
|
|
7
|
-
semi: false,
|
|
8
|
-
singleQuote: true,
|
|
9
|
-
quoteProps: "consistent",
|
|
10
|
-
jsxSingleQuote: false,
|
|
11
|
-
trailingComma: "all",
|
|
12
|
-
bracketSpacing: true,
|
|
13
|
-
bracketSameLine: false,
|
|
14
|
-
arrowParens: "always",
|
|
15
|
-
rangeStart: 0,
|
|
16
|
-
rangeEnd: Number.POSITIVE_INFINITY,
|
|
17
|
-
requirePragma: false,
|
|
18
|
-
insertPragma: false,
|
|
19
|
-
proseWrap: "preserve",
|
|
20
|
-
htmlWhitespaceSensitivity: "css",
|
|
21
|
-
vueIndentScriptAndStyle: false,
|
|
22
|
-
endOfLine: "lf",
|
|
23
|
-
embeddedLanguageFormatting: "auto",
|
|
24
|
-
singleAttributePerLine: false
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
module.exports = src_default;
|
package/dist/index.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//#region src/index.d.ts
|
|
2
|
-
declare const _default: {
|
|
3
|
-
readonly printWidth: 120;
|
|
4
|
-
readonly tabWidth: 2;
|
|
5
|
-
readonly useTabs: false;
|
|
6
|
-
readonly semi: false;
|
|
7
|
-
readonly singleQuote: true;
|
|
8
|
-
readonly quoteProps: "consistent";
|
|
9
|
-
readonly jsxSingleQuote: false;
|
|
10
|
-
readonly trailingComma: "all";
|
|
11
|
-
readonly bracketSpacing: true;
|
|
12
|
-
readonly bracketSameLine: false;
|
|
13
|
-
readonly arrowParens: "always";
|
|
14
|
-
readonly rangeStart: 0;
|
|
15
|
-
readonly rangeEnd: number;
|
|
16
|
-
readonly requirePragma: false;
|
|
17
|
-
readonly insertPragma: false;
|
|
18
|
-
readonly proseWrap: "preserve";
|
|
19
|
-
readonly htmlWhitespaceSensitivity: "css";
|
|
20
|
-
readonly vueIndentScriptAndStyle: false;
|
|
21
|
-
readonly endOfLine: "lf";
|
|
22
|
-
readonly embeddedLanguageFormatting: "auto";
|
|
23
|
-
readonly singleAttributePerLine: false;
|
|
24
|
-
};
|
|
25
|
-
export = _default;
|