Socket
Socket
Sign inDemoInstall

prettier-plugin-astro

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-astro - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

CHANGELOG.md
# prettier-plugin-astro
## 0.0.7
### Patch Changes
- 80df170: Upgrade prettier to ^2.4.1
## 0.0.6

@@ -4,0 +10,0 @@

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc