@sequencemedia/certificates 1.0.829 → 1.0.884
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/husky.mjs +16 -0
- package/package.json +4 -4
package/husky.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
Promise.resolve(import('husky'))
|
|
5
|
+
.then(({ default: husky }) => { husky() })
|
|
6
|
+
.catch((e) => {
|
|
7
|
+
if (e instanceof Error) {
|
|
8
|
+
if ('code' in e) {
|
|
9
|
+
const { code } = e
|
|
10
|
+
if (code === 'ERR_MODULE_NOT_FOUND') return
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { message } = e
|
|
14
|
+
if (message) console.error(`💥 ${message}`)
|
|
15
|
+
}
|
|
16
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequencemedia/certificates",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.884",
|
|
4
4
|
"description": "Generate root CA and self-signed certificates with OpenSSL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"certs": "node certs.mjs",
|
|
23
23
|
"lint": "eslint .",
|
|
24
24
|
"lint:fix": "npm run lint -- --fix",
|
|
25
|
-
"prepare": "husky"
|
|
25
|
+
"prepare": "node husky.mjs"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"debug": "^4.4.3",
|
|
29
|
-
"fs-extra": "^11.
|
|
29
|
+
"fs-extra": "^11.4.0",
|
|
30
30
|
"ip": "^2.0.1",
|
|
31
31
|
"nconf": "^0.13.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@sequencemedia/eslint-config-standard": "^0.2.107",
|
|
35
35
|
"eslint": "9.38.0",
|
|
36
|
-
"globals": "^
|
|
36
|
+
"globals": "^17.12.0",
|
|
37
37
|
"husky": "^9.1.7"
|
|
38
38
|
}
|
|
39
39
|
}
|