rw-parser-ng 2.0.3 → 2.0.5

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/README.md CHANGED
@@ -17,10 +17,10 @@ This is a fork of the original [rw-parser](https://github.com/Timic3/rw-parser)
17
17
 
18
18
  ## Installation
19
19
 
20
- Install `rw-parser-ng` using npm:
20
+ Install `rw-parser-ng` using pnpm:
21
21
 
22
22
  ```bash
23
- npm install --save rw-parser-ng
23
+ pnpm install --save rw-parser-ng
24
24
  ```
25
25
 
26
26
  ## Usage
@@ -73,11 +73,11 @@ parseDffFromUrl('path/to/your/model.dff');
73
73
  ## Development
74
74
 
75
75
  1. Clone the repository: `git clone https://github.com/DepsCian/rw-parser-ng.git`
76
- 2. Install dependencies: `npm install`
77
- 3. Build the project: `npm run build`
78
- 4. Run tests: `npm test`
76
+ 2. Install dependencies: `pnpm install`
77
+ 3. Build the project: `pnpm run build`
78
+ 4. Run tests: `pnpm test`
79
79
 
80
- To watch for changes during development, use `npm run dev`.
80
+ To watch for changes during development, use `pnpm run dev`.
81
81
 
82
82
  ## Contributing
83
83
 
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
- {
2
- "name": "rw-parser-ng",
3
- "version": "2.0.3",
4
- "description": "Parses RenderWare DFF, TXD and IFP files into usable format!",
5
- "author": {
6
- "name": "DepsCian",
7
- "url": "https://github.com/DepsCian"
8
- },
9
- "contributors": [
10
- {
11
- "name": "Timic3",
12
- "url": "https://github.com/Timic3"
13
- },
14
- {
15
- "name": "MegadreamsBE",
16
- "url": "https://github.com/MegadreamsBE"
17
- }
18
- ],
19
- "license": "GPL-3.0",
20
- "homepage": "https://github.com/DepsCian/rw-parser-ng#readme",
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/DepsCian/rw-parser-ng.git"
24
- },
25
- "keywords": [
26
- "gta",
27
- "gtasa",
28
- "gtavc",
29
- "gtaiii",
30
- "san andreas",
31
- "vice city",
32
- "iii",
33
- "renderware",
34
- "parser",
35
- "rw-parser",
36
- "dff",
37
- "txd",
38
- "ifp"
39
- ],
40
- "main": "lib/index.js",
41
- "types": "lib/index.d.ts",
42
- "devDependencies": {
43
- "@types/jest": "^30.0.0",
44
- "@types/node": "^24.0.3",
45
- "jest": "^30.0.0",
46
- "ts-jest": "^29.4.0",
47
- "typescript": "^5.8.3"
48
- },
49
- "scripts": {
50
- "build": "tsc -p tsconfig.json",
51
- "dev": "tsc -p tsconfig.json --watch",
52
- "prepare": "npm run build",
53
- "test": "jest"
54
- },
55
- "files": [
56
- "lib",
57
- "src",
58
- "LICENSE",
59
- "README.md",
60
- "package.json",
61
- "tsconfig.json"
62
- ]
63
- }
1
+ {
2
+ "name": "rw-parser-ng",
3
+ "version": "2.0.5",
4
+ "description": "Parses RenderWare DFF, TXD and IFP files into usable format!",
5
+ "author": {
6
+ "name": "DepsCian",
7
+ "url": "https://github.com/DepsCian"
8
+ },
9
+ "contributors": [
10
+ {
11
+ "name": "Timic3",
12
+ "url": "https://github.com/Timic3"
13
+ },
14
+ {
15
+ "name": "MegadreamsBE",
16
+ "url": "https://github.com/MegadreamsBE"
17
+ }
18
+ ],
19
+ "license": "GPL-3.0",
20
+ "homepage": "https://github.com/DepsCian/rw-parser-ng#readme",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/DepsCian/rw-parser-ng.git"
24
+ },
25
+ "keywords": [
26
+ "gta",
27
+ "gtasa",
28
+ "gtavc",
29
+ "gtaiii",
30
+ "san andreas",
31
+ "vice city",
32
+ "iii",
33
+ "renderware",
34
+ "parser",
35
+ "rw-parser",
36
+ "dff",
37
+ "txd",
38
+ "ifp"
39
+ ],
40
+ "main": "lib/index.js",
41
+ "types": "lib/index.d.ts",
42
+ "devDependencies": {
43
+ "@types/jest": "^30.0.0",
44
+ "@types/node": "^24.0.3",
45
+ "jest": "^30.0.0",
46
+ "ts-jest": "^29.4.0",
47
+ "typescript": "^5.8.3"
48
+ },
49
+ "files": [
50
+ "lib",
51
+ "src",
52
+ "LICENSE",
53
+ "README.md",
54
+ "package.json",
55
+ "tsconfig.json"
56
+ ],
57
+ "scripts": {
58
+ "build": "tsc -p tsconfig.json",
59
+ "dev": "tsc -p tsconfig.json --watch",
60
+ "test": "jest",
61
+ "sort:models": "tsc && node lib/scripts/sort_models.js"
62
+ }
63
+ }
package/src/index.ts CHANGED
@@ -8,4 +8,5 @@ export * from './renderware/ifp/IfpParser';
8
8
 
9
9
  export * from './renderware/dff/DffModelType';
10
10
  export * from './renderware/ifp/IfpData';
11
+
11
12
  export * from './renderware/common/types';
package/tsconfig.json CHANGED
@@ -11,8 +11,8 @@
11
11
  // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
12
12
  // "sourceMap": true, /* Generates corresponding '.map' file. */
13
13
  // "outFile": "./", /* Concatenate and emit output to single file. */
14
- "outDir": "./lib", /* Redirect output structure to the directory. */
15
- "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
14
+ "outDir": "./lib/", /* Redirect output structure to the directory. */
15
+ "rootDir": "./src/", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16
16
  // "composite": true, /* Enable project compilation */
17
17
  // "removeComments": true, /* Do not emit comments to output. */
18
18
  // "noEmit": true, /* Do not emit outputs. */