valheim-oz-dsm 1.5.0 → 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valheim-oz-dsm",
3
- "version": "1.5.0",
3
+ "version": "1.5.4",
4
4
  "description": "Land of OZ - Valheim Dedicated Server Manager",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,6 +9,7 @@
9
9
  "main": "./dist/main.js",
10
10
  "files": [
11
11
  "dist",
12
+ "patches",
12
13
  "README.md",
13
14
  "LICENSE",
14
15
  "CHANGELOG.md"
@@ -19,7 +20,8 @@
19
20
  },
20
21
  "scripts": {
21
22
  "dev": "tsx watch main.ts",
22
- "start": "tsx main.ts",
23
+ "start": "npm run build && node dist/main.js",
24
+ "start:dev": "tsx main.ts",
23
25
  "build": "tsup",
24
26
  "test": "vitest run",
25
27
  "test:watch": "vitest",
@@ -28,6 +30,7 @@
28
30
  "lint:fix": "biome check --write .",
29
31
  "format": "biome format --write .",
30
32
  "typecheck": "tsc --noEmit",
33
+ "postinstall": "patch-package",
31
34
  "prepare": "tsx scripts/install-hooks.ts",
32
35
  "prepublishOnly": "npm run typecheck && npm run lint && npm test && npm run build"
33
36
  },
@@ -45,6 +48,7 @@
45
48
  "@types/node": "^22.13.1",
46
49
  "@types/react": "^19.2.10",
47
50
  "@vitest/coverage-v8": "^3.2.4",
51
+ "patch-package": "^8.0.1",
48
52
  "tsup": "^8.3.6",
49
53
  "tsx": "^4.19.2",
50
54
  "typescript": "^5.7.3",
@@ -0,0 +1,13 @@
1
+ diff --git a/node_modules/@caleb-collar/steamcmd/dist/download.js b/node_modules/@caleb-collar/steamcmd/dist/download.js
2
+ index 4bd0c08..66b0018 100644
3
+ --- a/node_modules/@caleb-collar/steamcmd/dist/download.js
4
+ +++ b/node_modules/@caleb-collar/steamcmd/dist/download.js
5
+ @@ -145,7 +145,7 @@ function download(options, callback) {
6
+ });
7
+ if (platformValue === 'darwin' || platformValue === 'linux') {
8
+ res
9
+ - .pipe(tar_1.default.x({ cwd: destDir }))
10
+ + .pipe(tar_1.x({ cwd: destDir }))
11
+ .on('error', (err) => {
12
+ callback(new DownloadError(`Failed to extract tar archive: ${err.message}`, 'EXTRACT_ERROR'));
13
+ })