be-pretty
Advanced tools
Comparing version 0.1.0 to 0.9.0
@@ -6,2 +6,3 @@ { | ||
"listr": "^0.14.3", | ||
"lodash.merge": "^4.6.1", | ||
"yargs": "^12.0.5" | ||
@@ -14,2 +15,3 @@ }, | ||
"@types/listr": "^0.13.0", | ||
"@types/lodash.merge": "^4.6.4", | ||
"@types/yargs": "^12.0.1", | ||
@@ -23,7 +25,10 @@ "jest": "^23.6.0", | ||
"description": ":lipstick: adds prettier to an existing project with all bells and whistles-including husky, lint-staged", | ||
"version": "0.1.0", | ||
"version": "0.9.0", | ||
"main": "dist/be-pretty.ts", | ||
"directories": { | ||
"dist": "dist" | ||
"lib": "src" | ||
}, | ||
"files": [ | ||
"dist/**" | ||
], | ||
"scripts": { | ||
@@ -30,0 +35,0 @@ "test": "jest", |
# be-pretty | ||
![fabolous](https://media.giphy.com/media/XmiTYLQ5qXTqM/giphy.gif) | ||
:lipstick: adds prettier to an existing project with all bells and whistles-including husky, lint-staged | ||
@@ -39,3 +41,9 @@ | ||
if you want to customize this, just run `be-pretty setDefault -p="/path/to/your/defaultPrettierRc"`. You can omit the path if there is a prettierc file in the current working directory. | ||
if you want to customize this, just run `be-pretty setDefault -p="/path/to/your/defaultPrettierRc"`. You can omit the path and if there is a prettierc file in the current working directory it will be used. | ||
be-pretty will use this as default from now on. | ||
## FAQ | ||
### Will this work for a newly added languages as well? | ||
Yes, the list of supported file extensions is not hardcoded anywhere, it's taken from `prettier.getSupportInfo()` so it will always format all the files prettier supports. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
12271
49
5
9
5
117
2
1
+ Addedlodash.merge@^4.6.1
+ Addedlodash.merge@4.6.2(transitive)