@willbooster/prettier-config 6.4.0 → 6.5.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
'./**/*.{css,htm,html,js,json,json5,jsx,md,scss,ts,tsx,vue,yaml,yml}': (files) => {
|
|
4
|
+
'./**/*.{cjs,css,htm,html,js,json,json5,jsx,md,mjs,scss,ts,tsx,vue,yaml,yml}': (files) => {
|
|
5
5
|
const filteredFiles = files
|
|
6
6
|
.filter((file) => !file.includes('/test-fixtures/'))
|
|
7
7
|
.map((file) => path.relative('', file));
|
package/.prettierignore
CHANGED
|
@@ -17,6 +17,7 @@ test-fixtures/
|
|
|
17
17
|
.devcontainer/
|
|
18
18
|
dist/
|
|
19
19
|
temp/
|
|
20
|
+
Icon[
|
|
20
21
|
|
|
21
22
|
# Created by https://www.toptal.com/developers/gitignore/api/windows
|
|
22
23
|
# Edit at https://www.toptal.com/developers/gitignore?templates=windows
|
|
@@ -232,6 +233,9 @@ fabric.properties
|
|
|
232
233
|
.history
|
|
233
234
|
.ionide
|
|
234
235
|
|
|
236
|
+
# Support for Project snippet scope
|
|
237
|
+
!.vscode/*.code-snippets
|
|
238
|
+
|
|
235
239
|
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode
|
|
236
240
|
|
|
237
241
|
# Created by https://www.toptal.com/developers/gitignore/api/emacs
|
|
@@ -438,4 +442,14 @@ dist
|
|
|
438
442
|
.yarn/install-state.gz
|
|
439
443
|
.pnp.*
|
|
440
444
|
|
|
445
|
+
### Node Patch ###
|
|
446
|
+
# Serverless Webpack directories
|
|
447
|
+
.webpack/
|
|
448
|
+
|
|
449
|
+
# Optional stylelint cache
|
|
450
|
+
.stylelintcache
|
|
451
|
+
|
|
452
|
+
# SvelteKit build / generate output
|
|
453
|
+
.svelte-kit
|
|
454
|
+
|
|
441
455
|
# End of https://www.toptal.com/developers/gitignore/api/node
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/prettier-config",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "A Prettier config for WillBooster projects",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"cleanup": "yarn format",
|
|
10
10
|
"format": "sort-package-json && yarn prettify",
|
|
11
|
-
"prettify": "prettier --color --write \"**/{.*/,}*.{css,htm,html,js,json,json5,jsx,md,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\""
|
|
11
|
+
"prettify": "prettier --color --write \"**/{.*/,}*.{cjs,css,htm,html,js,json,json5,jsx,md,mjs,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\""
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"prettier": "2.4.1",
|
|
15
|
-
"sort-package-json": "1.
|
|
15
|
+
"sort-package-json": "1.53.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"prettier": ">=2"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "e3e24949984b6a755a1fbacd9c6260c101ae9c9a"
|
|
21
21
|
}
|