@will-stone/prettier-config 9.0.2 → 9.0.4
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.
- package/.github/workflows/publish.yml +30 -0
- package/.release-it.json +14 -0
- package/CHANGELOG.md +15 -1
- package/eslint.config.mjs +3 -0
- package/index.js +3 -1
- package/package.json +12 -19
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches: [main]
|
|
4
|
+
pull_request:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
release:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
with:
|
|
13
|
+
fetch-depth: 0
|
|
14
|
+
- name: Install pnpm
|
|
15
|
+
uses: pnpm/action-setup@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: '22.x'
|
|
19
|
+
registry-url: 'https://registry.npmjs.org'
|
|
20
|
+
cache: 'pnpm'
|
|
21
|
+
- name: setup config
|
|
22
|
+
run: |
|
|
23
|
+
git config user.name "${GITHUB_ACTOR}"
|
|
24
|
+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
|
25
|
+
- run: pnpm install
|
|
26
|
+
- run: pnpm lint
|
|
27
|
+
- run: pnpm release
|
|
28
|
+
env:
|
|
29
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
30
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/.release-it.json
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [9.0.4](https://github.com/will-stone/prettier-config/compare/v9.0.3...v9.0.4) (2025-04-19)
|
|
4
|
+
|
|
5
|
+
### Patches
|
|
6
|
+
|
|
7
|
+
* Auto release ([17e2e50](https://github.com/will-stone/prettier-config/commit/17e2e5076442310d61029bae105f1213d9c370f5))
|
|
8
|
+
|
|
9
|
+
## [9.0.3](https://github.com/will-stone/prettier-config/compare/v9.0.2...v9.0.3) (2025-04-19)
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Upgrade release-it
|
|
14
|
+
([1e61dcc](https://github.com/will-stone/prettier-config/commit/1e61dcc8525b33c09ae1be768aea79b98ae88721))
|
|
15
|
+
|
|
3
16
|
## [9.0.2](https://github.com/will-stone/prettier-config/compare/v9.0.1...v9.0.2) (2025-03-24)
|
|
4
17
|
|
|
5
18
|
### Patches
|
|
6
19
|
|
|
7
|
-
|
|
20
|
+
- Update docs for pnpm and modern Husky
|
|
21
|
+
([5faee7d](https://github.com/will-stone/prettier-config/commit/5faee7dc0c0b48ad88531b17837cde4bc2fe15cb))
|
|
8
22
|
|
|
9
23
|
## [9.0.1](https://github.com/will-stone/prettier-config/compare/v9.0.0...v9.0.1) (2025-01-14)
|
|
10
24
|
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@will-stone/prettier-config",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"description": "My personal Prettier config",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/will-stone/prettier-config"
|
|
@@ -9,10 +9,14 @@
|
|
|
9
9
|
"author": "Will Stone",
|
|
10
10
|
"main": "./index.js",
|
|
11
11
|
"scripts": {
|
|
12
|
+
"lint": "eslint .",
|
|
12
13
|
"prepare": "husky",
|
|
13
14
|
"release": "release-it"
|
|
14
15
|
},
|
|
15
16
|
"lint-staged": {
|
|
17
|
+
"*.js": [
|
|
18
|
+
"eslint --fix"
|
|
19
|
+
],
|
|
16
20
|
"*.{json,md}": [
|
|
17
21
|
"prettier --write"
|
|
18
22
|
]
|
|
@@ -21,27 +25,16 @@
|
|
|
21
25
|
"prettier-plugin-packagejson": "^2.5.0"
|
|
22
26
|
},
|
|
23
27
|
"devDependencies": {
|
|
24
|
-
"@commits-with-character/conventional-changelog-preset": "^0.
|
|
25
|
-
"@release-it/conventional-changelog": "^
|
|
28
|
+
"@commits-with-character/conventional-changelog-preset": "^4.0.0",
|
|
29
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
|
30
|
+
"@will-stone/eslint-config": "^15.1.0",
|
|
31
|
+
"eslint": "^9.25.0",
|
|
26
32
|
"husky": "^9.1.7",
|
|
27
|
-
"lint-staged": "^15.
|
|
28
|
-
"release-it": "^
|
|
33
|
+
"lint-staged": "^15.5.1",
|
|
34
|
+
"release-it": "^19.0.1"
|
|
29
35
|
},
|
|
30
36
|
"peerDependencies": {
|
|
31
37
|
"prettier": "3.x"
|
|
32
38
|
},
|
|
33
|
-
"
|
|
34
|
-
"github": {
|
|
35
|
-
"release": true
|
|
36
|
-
},
|
|
37
|
-
"plugins": {
|
|
38
|
-
"@release-it/conventional-changelog": {
|
|
39
|
-
"preset": {
|
|
40
|
-
"name": "@commits-with-character/preset"
|
|
41
|
-
},
|
|
42
|
-
"infile": "CHANGELOG.md",
|
|
43
|
-
"header": "# Changelog"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
39
|
+
"packageManager": "pnpm@10.8.1"
|
|
47
40
|
}
|