@nokken65/prettier-config 1.2.2 → 1.2.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/npm-publish.yml +34 -0
- package/index.js +9 -0
- package/package.json +11 -8
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: NPM Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
tags:
|
|
8
|
+
- 'v*'
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
publish-npm:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
environment: npm
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v5
|
|
16
|
+
|
|
17
|
+
- uses: pnpm/action-setup@v4
|
|
18
|
+
name: Install pnpm
|
|
19
|
+
with:
|
|
20
|
+
version: 10
|
|
21
|
+
cache: true
|
|
22
|
+
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: pnpm install
|
|
25
|
+
|
|
26
|
+
- uses: JS-DevTools/npm-publish@v4
|
|
27
|
+
with:
|
|
28
|
+
registry: https://registry.npmjs.org/
|
|
29
|
+
token: ${{ secrets.NPM_TOKEN }}
|
|
30
|
+
|
|
31
|
+
- name: Create GitHub Release
|
|
32
|
+
uses: softprops/action-gh-release@v2
|
|
33
|
+
with:
|
|
34
|
+
generate_release_notes: true
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nokken65/prettier-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "prettier config",
|
|
6
5
|
"type": "module",
|
|
7
6
|
"prettier": "./.prettierrc.json",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
".
|
|
11
|
-
".prettierrc.json"
|
|
12
|
-
|
|
7
|
+
"main": "./index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./index.js",
|
|
10
|
+
"./.prettierrc.json": "./.prettierrc.json",
|
|
11
|
+
"./.prettierignore": "./.prettierignore"
|
|
12
|
+
},
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@ianvs/prettier-plugin-sort-imports": "4.7.0"
|
|
18
|
+
},
|
|
16
19
|
"peerDependencies": {
|
|
17
|
-
"@ianvs/prettier-plugin-sort-imports": "4.7.0",
|
|
18
20
|
"prettier": "3.7.4"
|
|
19
21
|
},
|
|
20
22
|
"scripts": {
|
|
21
23
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json}'"
|
|
22
24
|
},
|
|
25
|
+
"description": "prettier config",
|
|
23
26
|
"repository": {
|
|
24
27
|
"type": "git",
|
|
25
28
|
"url": "git+https://github.com/nokken65/prettier-config.git"
|