@gfargo/doorman 3.15.7 → 3.15.8
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/package.json +13 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfargo/doorman",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.8",
|
|
4
4
|
"description": "Manage firewall rules as code across multiple providers",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"scripts": {
|
|
34
34
|
"prebuild": "pnpm clean",
|
|
35
35
|
"build": "tsup-node",
|
|
36
|
-
"build:schema": "ts-node ./schema/generate-schema.ts
|
|
36
|
+
"build:schema": "ts-node ./schema/generate-schema.ts && prettier --write schema/firewall-config.schema.json src/constants/schema.ts",
|
|
37
|
+
"schema:check": "pnpm build:schema && git diff --exit-code -- schema/firewall-config.schema.json src/constants/schema.ts",
|
|
37
38
|
"build:watch": "tsup-node --watch",
|
|
38
39
|
"clean": "rimraf dist",
|
|
39
40
|
"commit": "cz",
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
"globals": "^17.6.0",
|
|
95
96
|
"husky": "^9.0.11",
|
|
96
97
|
"jest": "^30.3.0",
|
|
98
|
+
"lint-staged": "^17.6.0",
|
|
97
99
|
"prettier": "^3.2.5",
|
|
98
100
|
"rimraf": "^6.1.3",
|
|
99
101
|
"semantic-release": "^25.0.3",
|
|
@@ -154,5 +156,14 @@
|
|
|
154
156
|
"undici": ">=7.29.0",
|
|
155
157
|
"fast-uri": ">=3.1.5"
|
|
156
158
|
}
|
|
159
|
+
},
|
|
160
|
+
"lint-staged": {
|
|
161
|
+
"*.{ts,tsx,js,cjs,mjs}": [
|
|
162
|
+
"eslint --fix",
|
|
163
|
+
"prettier --write"
|
|
164
|
+
],
|
|
165
|
+
"*.{json,md,yml,yaml}": [
|
|
166
|
+
"prettier --write"
|
|
167
|
+
]
|
|
157
168
|
}
|
|
158
169
|
}
|