@w5s/prettier-config 2.0.20 → 2.0.24
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.cjs +20 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +17 -14
- package/dist/index.js.map +1 -0
- package/package.json +13 -5
- package/index.d.ts +0 -3
- package/index.js +0 -1
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/index.ts
|
|
4
|
+
var prettierConfig = {
|
|
5
|
+
singleQuote: true,
|
|
6
|
+
trailingComma: "es5",
|
|
7
|
+
overrides: [
|
|
8
|
+
{
|
|
9
|
+
files: ["*.css", "*.scss"],
|
|
10
|
+
options: {
|
|
11
|
+
trailingComma: "none"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
};
|
|
16
|
+
var src_default = prettierConfig;
|
|
17
|
+
|
|
18
|
+
module.exports = src_default;
|
|
19
|
+
//# sourceMappingURL=index.cjs.map
|
|
20
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,IAAM,cAAyB,GAAA;AAAA,EAC7B,WAAa,EAAA,IAAA;AAAA,EACb,aAAe,EAAA,KAAA;AAAA,EACf,SAAW,EAAA;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAS,EAAA;AAAA,QACP,aAAe,EAAA,MAAA;AAAA,OACjB;AAAA,KACF;AAAA,GACF;AACF,CAAA,CAAA;AAEA,IAAO,WAAQ,GAAA","file":"index.cjs","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingComma: 'es5',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\nexport default prettierConfig;\n"]}
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
],
|
|
1
|
+
// src/index.ts
|
|
2
|
+
var prettierConfig = {
|
|
3
|
+
singleQuote: true,
|
|
4
|
+
trailingComma: "es5",
|
|
5
|
+
overrides: [
|
|
6
|
+
{
|
|
7
|
+
files: ["*.css", "*.scss"],
|
|
8
|
+
options: {
|
|
9
|
+
trailingComma: "none"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
]
|
|
14
13
|
};
|
|
15
|
-
|
|
14
|
+
var src_default = prettierConfig;
|
|
15
|
+
|
|
16
|
+
export { src_default as default };
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAEA,IAAM,cAAyB,GAAA;AAAA,EAC7B,WAAa,EAAA,IAAA;AAAA,EACb,aAAe,EAAA,KAAA;AAAA,EACf,SAAW,EAAA;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAS,EAAA;AAAA,QACP,aAAe,EAAA,MAAA;AAAA,OACjB;AAAA,KACF;AAAA,GACF;AACF,CAAA,CAAA;AAEA,IAAO,WAAQ,GAAA","file":"index.js","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingComma: 'es5',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\nexport default prettierConfig;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/prettier-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.24",
|
|
4
4
|
"description": "Prettier shared configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -18,12 +18,20 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"author": "Julien Polo <julien.polo@gmail.com>",
|
|
21
|
-
"type": "
|
|
21
|
+
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
|
-
".":
|
|
23
|
+
".": {
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/index.d.cts",
|
|
26
|
+
"default": "./dist/index.cjs"
|
|
27
|
+
},
|
|
28
|
+
"import": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"default": "./dist/index.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
24
33
|
"./dist/*": "./dist/*"
|
|
25
34
|
},
|
|
26
|
-
"typings": "./index.d.ts",
|
|
27
35
|
"files": [
|
|
28
36
|
"dist/",
|
|
29
37
|
"src/",
|
|
@@ -50,5 +58,5 @@
|
|
|
50
58
|
"publishConfig": {
|
|
51
59
|
"access": "public"
|
|
52
60
|
},
|
|
53
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "966ebbb065df3e68092eb80c3ff2c15858989edb"
|
|
54
62
|
}
|
package/index.d.ts
DELETED
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('./dist/index.js').default;
|