Skip to content

Commit ea808a6

Browse files
committed
Dependencies JSON, some name improvements, and Build with TSUp
Most of these changes are small-to-medium housekeeping items, except... ## Dependencies JSON Can now serialize dependencies to and from JSON. This is intended to enable copy/paste editing of dependencies.
1 parent bbfba47 commit ea808a6

26 files changed

+5746
-139
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
run: pnpm run test
4949

5050
- name: Check Types
51-
run: pnpm run type-check
51+
run: pnpm run typecheck

fomod.code-workspace

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"fomods",
1414
"fose",
1515
"janky",
16+
"jsonified",
17+
"jsonify",
1618
"nocheck",
1719
"proxied",
1820
"sonarjs"

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"name": "fomod",
44
"description": "A library for creating, parsing, editing, and validating XML-based Fomod installers, widely popularized in the Bethesda modding scene",
5-
"version": "0.2.4",
5+
"version": "0.3.0",
66
"main": "dist/index.js",
77
"repository": "https://github.com/BellCubeDev/fomod-js/",
88
"bugs": {
@@ -14,10 +14,10 @@
1414
},
1515
"license": "LGPL-3.0-or-later",
1616
"scripts": {
17-
"build": "tsc",
17+
"build": "tsup src/index.ts",
1818
"test": "vitest --run",
1919
"test-ci": "vitest --run",
20-
"type-check": "tsc --noEmit"
20+
"typecheck": "tsc --noEmit"
2121
},
2222
"files": [
2323
"dist",
@@ -49,6 +49,7 @@
4949
"jsdom": "^23.2.0",
5050
"rollup": "*",
5151
"ts-node": "^10.9.2",
52+
"tsup": "^8.5.0",
5253
"typescript": "^5.5.4",
5354
"vitest": "^2.0.5"
5455
},
@@ -63,5 +64,10 @@
6364
"mod installer",
6465
"fomod installer",
6566
"fomod xml"
66-
]
67+
],
68+
"pnpm": {
69+
"onlyBuiltDependencies": [
70+
"esbuild"
71+
]
72+
}
6773
}

0 commit comments

Comments
 (0)