Skip to content

Commit 8accb67

Browse files
authored
chore: update prettier config (#69)
1 parent df4221c commit 8accb67

11 files changed

+196
-271
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,5 @@ dist
132132
# IDE files
133133
.idea
134134

135-
136135
build
137-
.ignoreme
136+
.ignoreme

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
src
22
tests
3-
.ignoreme
3+
.ignoreme

.prettierignore

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
.DS_Store
21
node_modules
3-
/build
4-
/.svelte-kit
5-
/package
2+
.changeset
3+
dist
4+
65
.env
76
.env.*
87
!.env.example
@@ -11,12 +10,3 @@ node_modules
1110
pnpm-lock.yaml
1211
package-lock.json
1312
yarn.lock
14-
.changeset/
15-
.prettierrc
16-
package.json
17-
.vercel
18-
.contentlayer
19-
dist
20-
21-
vite.config.js.timestamp-*
22-
vite.config.ts.timestamp-*

.prettierrc

-26
This file was deleted.

package.json

+30-33
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
{
22
"name": "@litehex/node-vault",
33
"version": "1.0.0",
4+
"private": false,
45
"description": "A client for the HashiCorp's Vault API written for Node.js",
5-
"main": "dist/index.cjs",
6-
"module": "dist/index.js",
7-
"types": "dist/index.d.cts",
8-
"files": [
9-
"dist/**"
6+
"keywords": [
7+
"hashicorp",
8+
"vault",
9+
"client",
10+
"secrets",
11+
"node"
1012
],
13+
"homepage": "https://github.com/shahradelahi/node-vault#readme",
14+
"bugs": {
15+
"url": "https://github.com/shahradelahi/node-vault/issues"
16+
},
17+
"repository": "github:shahradelahi/node-vault",
18+
"license": "MIT",
19+
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
20+
"type": "module",
1121
"exports": {
1222
".": {
1323
"import": {
@@ -20,26 +30,31 @@
2030
}
2131
}
2232
},
33+
"main": "dist/index.cjs",
34+
"module": "dist/index.js",
35+
"types": "dist/index.d.cts",
36+
"files": [
37+
"dist/**"
38+
],
2339
"scripts": {
2440
"build": "tsup",
25-
"test": "mocha \"**/*.test.ts\" --retries 2",
26-
"typecheck": "tsc --noEmit",
41+
"ci:publish": "changeset publish",
42+
"format": "prettier --write .",
43+
"format:check": "prettier --check .",
2744
"lint": "pnpm typecheck && eslint .",
2845
"lint:fix": "eslint --fix .",
29-
"format:check": "prettier --check .",
30-
"format": "prettier --write .",
31-
"ci:publish": "changeset publish",
32-
"prepublishOnly": "pnpm test && pnpm lint && pnpm format:check && pnpm build"
46+
"prepublishOnly": "pnpm test && pnpm lint && pnpm format:check && pnpm build",
47+
"test": "mocha \"**/*.test.ts\" --retries 2",
48+
"typecheck": "tsc --noEmit"
3349
},
34-
"packageManager": "pnpm@8.15.7",
3550
"dependencies": {
3651
"p-safe": "^1.0.0",
3752
"zod": "^3.23.8",
3853
"zod-request": "^0.2.2"
3954
},
4055
"devDependencies": {
4156
"@changesets/cli": "^2.27.9",
42-
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
57+
"@shahrad/prettier-config": "^1.1.0",
4358
"@types/chai": "^5.0.0",
4459
"@types/lodash": "^4.17.10",
4560
"@types/mocha": "^10.0.9",
@@ -58,30 +73,12 @@
5873
"typescript": "^5.6.2",
5974
"undici": "^6.19.8"
6075
},
61-
"type": "module",
76+
"packageManager": "pnpm@8.15.7",
6277
"engines": {
6378
"node": ">=18.0.0"
6479
},
65-
"private": false,
6680
"publishConfig": {
6781
"access": "public",
6882
"provenance": true
69-
},
70-
"repository": {
71-
"type": "git",
72-
"url": "git://github.com/shahradelahi/node-vault.git"
73-
},
74-
"keywords": [
75-
"hashicorp",
76-
"vault",
77-
"client",
78-
"secrets",
79-
"node"
80-
],
81-
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
82-
"license": "MIT",
83-
"bugs": {
84-
"url": "https://github.com/shahradelahi/node-vault/issues"
85-
},
86-
"homepage": "https://github.com/shahradelahi/node-vault#readme"
83+
}
8784
}

0 commit comments

Comments
 (0)