prettier-plugin-astro
Advanced tools
Comparing version 0.0.6 to 0.0.7
# prettier-plugin-astro | ||
## 0.0.7 | ||
### Patch Changes | ||
- 80df170: Upgrade prettier to ^2.4.1 | ||
## 0.0.6 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "prettier-plugin-astro", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A Prettier Plugin for formatting Astro files", | ||
@@ -31,3 +31,3 @@ "main": "src/index.js", | ||
"@astrojs/parser": "^0.15.0", | ||
"prettier": "^2.2.1" | ||
"prettier": "^2.4.1" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -1,12 +0,25 @@ | ||
# WIP Prettier Plugin for Astro, does not work yet! | ||
# Beta Prettier Plugin for [Astro](https://github.com/snowpackjs/astro) -- 🚧 Caution! May break your project 🚧 | ||
## See [astro](https://github.com/snowpackjs/astro). | ||
## Install [prettier-plugin-astro](https://www.npmjs.com/package/prettier-plugin-astro) | ||
1. `yarn add --dev prettier-plugin-astro` or `npm i -D prettier-plugin-astro` | ||
1. `yarn prettier .` to check your formatting / `yarn prettier -w .` to fix your formatting. | ||
1. Add | ||
```json | ||
"format": "yarn prettier -w .", | ||
``` | ||
to your `package.json` and create a `.prettierignore` to ignore any files. | ||
## Contributing | ||
To get setup: | ||
1. `git clone git@github.com:snowpackjs/prettier-plugin-astro.git` | ||
2. `yarn` | ||
3. Run tests with `yarn test` | ||
4. Format code with `yarn format` | ||
5. Run `yarn changeset` to add your changes to the changelog on version bump. | ||
1. `yarn` | ||
1. Run tests with `yarn test` | ||
1. Lint code with `yarn lint` | ||
1. Format code with `yarn format` | ||
1. Run `yarn changeset` to add your changes to the changelog on version bump. | ||
@@ -13,0 +26,0 @@ ## Resources for contributing |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87005
32
Updatedprettier@^2.4.1