@sequencemedia/minimserver 1.3.383 → 1.3.403

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.
Files changed (2) hide show
  1. package/husky.mjs +16 -0
  2. package/package.json +7 -7
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/minimserver",
3
- "version": "1.3.383",
3
+ "version": "1.3.403",
4
4
  "description": "Watch for changes to M3Us and rescan MinimServer",
5
5
  "keywords": [
6
6
  "minimserver",
@@ -38,24 +38,24 @@
38
38
  "kill-me-now": "cross-env NODE_OPTIONS=\"--no-warnings\" NODE_ENV=production node kill-me-now.mjs",
39
39
  "lint": "eslint .",
40
40
  "lint:fix": "npm run lint -- --fix",
41
- "prepare": "husky",
41
+ "prepare": "node husky.mjs",
42
42
  "start": "cross-env NODE_OPTIONS=\"--no-warnings\" NODE_ENV=production node ."
43
43
  },
44
44
  "dependencies": {
45
45
  "anymatch": "^3.1.3",
46
46
  "chokidar": "^5.0.0",
47
- "commander": "^14.0.2",
47
+ "commander": "^15.0.0",
48
48
  "cross-env": "^10.1.0",
49
49
  "debug": "^4.4.3",
50
50
  "del": "^8.0.1",
51
- "dotenv": "^17.2.3",
52
- "fs-extra": "^11.3.2",
53
- "kill-me-now": "^0.0.133"
51
+ "dotenv": "^17.4.2",
52
+ "fs-extra": "^11.4.0",
53
+ "kill-me-now": "^0.0.157"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@sequencemedia/eslint-config-standard": "^0.2.107",
57
57
  "eslint": "9.38.0",
58
- "globals": "^16.5.0",
58
+ "globals": "^17.12.0",
59
59
  "husky": "^9.1.7"
60
60
  },
61
61
  "imports": {