@aneuhold/core-ts-lib 2.3.2 → 2.3.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/CHANGELOG.md CHANGED
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 🔖 [2.3.4] (2025-10-25)
9
+
10
+ ### 🏗️ Changed
11
+
12
+ - Updated dependencies in package.json for compatibility and security improvements
13
+
14
+ ## 🔖 [2.3.3] (2025-10-16)
15
+
16
+ ### 🏗️ Changed
17
+
18
+ - Added JSDoc comments to all public types in `src/types` for improved documentation and clarity
19
+ - Updated `JsonWithVersionProperty`, `PackageJson`, `PackageJsonInfo`, and `PackageJsonMap` interfaces with detailed descriptions
20
+
8
21
  ## 🔖 [2.3.2] (2025-07-04)
9
22
 
10
23
  ### ✅ Added
@@ -59,6 +72,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
59
72
 
60
73
  <!-- Link References -->
61
74
 
75
+ [2.3.4]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.3...core-ts-lib-v2.3.4
76
+ [2.3.3]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.2...core-ts-lib-v2.3.3
62
77
  [2.3.2]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.2.14...core-ts-lib-v2.3.2
63
78
  [2.2.14]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.2.13...core-ts-lib-v2.2.14
64
79
  [2.2.13]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.2.12...core-ts-lib-v2.2.13
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Represents a JSON object with a required `version` property.
3
+ * Used as a base interface for package metadata types.
4
+ */
1
5
  export interface JsonWithVersionProperty {
2
6
  version: string;
3
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"JsonWithVersionProperty.d.ts","sourceRoot":"","sources":["../../src/types/JsonWithVersionProperty.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"JsonWithVersionProperty.d.ts","sourceRoot":"","sources":["../../src/types/JsonWithVersionProperty.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Represents a JSON object with a required `version` property.
3
+ * Used as a base interface for package metadata types.
4
+ */
1
5
  export interface JsonWithVersionProperty {
2
6
  version: string;
3
7
  }
@@ -1,4 +1,8 @@
1
1
  import { JsonWithVersionProperty } from './JsonWithVersionProperty.js';
2
+ /**
3
+ * Represents the contents of a `package.json` file, including dependencies and metadata.
4
+ * Extends JsonWithVersionProperty for version tracking.
5
+ */
2
6
  export interface PackageJson extends JsonWithVersionProperty {
3
7
  name: string;
4
8
  packageManager?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"PackageJson.d.ts","sourceRoot":"","sources":["../../src/types/PackageJson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,WAAW,WAAY,SAAQ,uBAAuB;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/C"}
1
+ {"version":3,"file":"PackageJson.d.ts","sourceRoot":"","sources":["../../src/types/PackageJson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,uBAAuB;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/C"}
@@ -1,5 +1,9 @@
1
1
  import { JsonWithVersionProperty } from './JsonWithVersionProperty.js';
2
2
 
3
+ /**
4
+ * Represents the contents of a `package.json` file, including dependencies and metadata.
5
+ * Extends JsonWithVersionProperty for version tracking.
6
+ */
3
7
  export interface PackageJson extends JsonWithVersionProperty {
4
8
  name: string;
5
9
  packageManager?: string;
@@ -1,4 +1,8 @@
1
1
  import { PackageJson } from './PackageJson.js';
2
+ /**
3
+ * Contains the parsed contents and file path of a package.json file.
4
+ * Used for package metadata management.
5
+ */
2
6
  export interface PackageJsonInfo {
3
7
  packageJsonContents: PackageJson;
4
8
  packageJsonPath: string;
@@ -1 +1 @@
1
- {"version":3,"file":"PackageJsonInfo.d.ts","sourceRoot":"","sources":["../../src/types/PackageJsonInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,WAAW,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"PackageJsonInfo.d.ts","sourceRoot":"","sources":["../../src/types/PackageJsonInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,WAAW,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -1,5 +1,9 @@
1
1
  import { PackageJson } from './PackageJson.js';
2
2
 
3
+ /**
4
+ * Contains the parsed contents and file path of a package.json file.
5
+ * Used for package metadata management.
6
+ */
3
7
  export interface PackageJsonInfo {
4
8
  packageJsonContents: PackageJson;
5
9
  packageJsonPath: string;
@@ -1,4 +1,8 @@
1
1
  import { PackageJsonInfo } from './PackageJsonInfo.js';
2
+ /**
3
+ * Maps package names to their corresponding PackageJsonInfo objects.
4
+ * Useful for managing multiple package.json files in a monorepo.
5
+ */
2
6
  export interface PackageJsonMap {
3
7
  [packageName: string]: PackageJsonInfo;
4
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PackageJsonMap.d.ts","sourceRoot":"","sources":["../../src/types/PackageJsonMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,WAAW,cAAc;IAC7B,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAAC;CACxC"}
1
+ {"version":3,"file":"PackageJsonMap.d.ts","sourceRoot":"","sources":["../../src/types/PackageJsonMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAAC;CACxC"}
@@ -1,5 +1,9 @@
1
1
  import { PackageJsonInfo } from './PackageJsonInfo.js';
2
2
 
3
+ /**
4
+ * Maps package names to their corresponding PackageJsonInfo objects.
5
+ * Useful for managing multiple package.json files in a monorepo.
6
+ */
3
7
  export interface PackageJsonMap {
4
8
  [packageName: string]: PackageJsonInfo;
5
9
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aneuhold/core-ts-lib",
3
3
  "author": "Anton G. Neuhold Jr.",
4
4
  "license": "MIT",
5
- "version": "2.3.2",
5
+ "version": "2.3.4",
6
6
  "description": "A core library for all of my TypeScript projects",
7
7
  "packageManager": "pnpm@10.12.1",
8
8
  "type": "module",
@@ -46,14 +46,14 @@
46
46
  "Node.js"
47
47
  ],
48
48
  "devDependencies": {
49
- "@types/node": "^22.15.32",
50
- "eslint": "^9.29.0",
51
- "jsr": "*",
49
+ "@types/node": "^24.9.1",
50
+ "eslint": "^9.38.0",
51
+ "jsr": "^0.13.5",
52
52
  "nodemon": "^3.1.10",
53
- "prettier": "^3.5.3",
53
+ "prettier": "^3.6.2",
54
54
  "rimraf": "^6.0.1",
55
- "tsx": "^4.20.3",
56
- "typescript": "~5.8.3",
57
- "vitest": "^3.2.4"
55
+ "tsx": "^4.20.6",
56
+ "typescript": "~5.9.3",
57
+ "vitest": "^4.0.3"
58
58
  }
59
59
  }