@htnabe/prettier-plugin-hugo-post 0.0.1-rc.2 → 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -6
package/README.md CHANGED
@@ -1,12 +1,14 @@
1
1
  # @htnabe/prettier-plugin-hugo-post
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@htnabe/prettier-plugin-hugo-post)](https://www.npmjs.com/package/@htnabe/prettier-plugin-hugo-post)
4
- [![GitHub](https://img.shields.io/github/stars/htnabe/prettier-plugin-hugo-post?style=social)](https://github.com/htnabe/prettier-plugin-hugo-post)
4
+ [<img src="https://badges.ws/npm/dt/@htnabe/prettier-plugin-hugo-post" />](https://www.npmjs.com/package/@htnabe/prettier-plugin-hugo-post)
5
5
  [![codecov](https://codecov.io/gh/htnabe/prettier-plugin-hugo-post/graph/badge.svg?token=BR5Y5MAXON)](https://codecov.io/gh/htnabe/prettier-plugin-hugo-post)
6
6
  [![license](https://img.shields.io/npm/l/@htnabe/prettier-plugin-hugo-post)](https://github.com/htnabe/prettier-plugin-hugo-post/blob/main/LICENSE)
7
7
 
8
8
  A Prettier plugin for formatting Hugo content files that mix front matter, Markdown, and Go template syntax.
9
9
 
10
+ This package started as a fork of [prettier-plugin-hugo-post](https://github.com/metcalfc/prettier-plugin-hugo-post).
11
+
10
12
  ## Why this plugin?
11
13
 
12
14
  Hugo content files are not plain Markdown. They often contain:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htnabe/prettier-plugin-hugo-post",
3
- "version": "0.0.1-rc.2",
3
+ "version": "0.0.2",
4
4
  "description": "A Prettier plugin for formatting Hugo content files with YAML, TOML, or JSON front matter, Markdown content, and Go template syntax.",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",
@@ -42,12 +42,12 @@
42
42
  "prettier-plugin-toml": "^2.0.6"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "^26.4.1",
45
+ "@types/node": "^26.5.1",
46
46
  "@typescript/native-preview": "^7.0.0-dev.20260707.2",
47
47
  "@vitest/coverage-v8": "^4.1.11",
48
48
  "jsdom": "^30.0.1",
49
49
  "lefthook": "^2.1.12",
50
- "oxlint": "^1.81.0",
50
+ "oxlint": "^1.82.0",
51
51
  "oxlint-tsgolint": "^7.0.2001",
52
52
  "prettier": "^3.9.6",
53
53
  "ts-node": "^10.9.2",
@@ -78,8 +78,5 @@
78
78
  "printWidth": 100,
79
79
  "bracketSpacing": true,
80
80
  "arrowParens": "avoid"
81
- },
82
- "allowScripts": {
83
- "lefthook@2.1.10": true
84
81
  }
85
82
  }