@aneuhold/core-ts-lib 2.3.7 → 2.3.9
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 +16 -0
- package/lib/browser.d.ts +5 -3
- package/lib/browser.d.ts.map +1 -1
- package/lib/browser.js +1 -0
- package/lib/browser.js.map +1 -1
- package/lib/browser.ts +5 -3
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/services/DependencyRegistry.d.ts +2 -2
- package/lib/services/DependencyRegistry.d.ts.map +1 -1
- package/lib/services/DependencyRegistry.js.map +1 -1
- package/lib/services/DependencyRegistry.ts +3 -2
- package/lib/services/DependencyService.d.ts +1 -1
- package/lib/services/DependencyService.d.ts.map +1 -1
- package/lib/services/DependencyService.ts +3 -3
- package/lib/services/PackageService/JsrPackageService.ts +2 -2
- package/lib/services/PackageService/PackageService.js +1 -0
- package/lib/services/PackageService/PackageService.js.map +1 -1
- package/lib/services/PackageService/PackageServiceUtils.ts +1 -1
- package/lib/types/PackageJson.d.ts +1 -1
- package/lib/types/PackageJson.d.ts.map +1 -1
- package/lib/types/PackageJson.ts +1 -1
- package/lib/types/PackageJsonInfo.d.ts +1 -1
- package/lib/types/PackageJsonInfo.d.ts.map +1 -1
- package/lib/types/PackageJsonInfo.ts +1 -1
- package/lib/types/PackageJsonMap.d.ts +1 -1
- package/lib/types/PackageJsonMap.d.ts.map +1 -1
- package/lib/types/PackageJsonMap.ts +1 -1
- package/lib/utils/ConsoleLogger.d.ts +1 -1
- package/lib/utils/ConsoleLogger.d.ts.map +1 -1
- package/lib/utils/ConsoleLogger.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ 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.9] (2025-11-09)
|
|
9
|
+
|
|
10
|
+
### 🏗️ Changed
|
|
11
|
+
|
|
12
|
+
- Refactored all service, type, and utility files to use `import type` for type-only imports, improving build performance and clarity.
|
|
13
|
+
- Updated internal imports to separate type and value imports from dependencies and internal modules.
|
|
14
|
+
- No breaking changes; all updates are internal refactors for TypeScript best practices.
|
|
15
|
+
|
|
16
|
+
## 🔖 [2.3.8] (2025-11-08)
|
|
17
|
+
|
|
18
|
+
### 🏗️ Changed
|
|
19
|
+
|
|
20
|
+
- Updated dependencies for compatibility and security improvements
|
|
21
|
+
|
|
8
22
|
## 🔖 [2.3.7] (2025-11-07)
|
|
9
23
|
|
|
10
24
|
### 🏗️ Changed
|
|
@@ -106,6 +120,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
106
120
|
|
|
107
121
|
<!-- Link References -->
|
|
108
122
|
|
|
123
|
+
[2.3.9]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.8...core-ts-lib-v2.3.9
|
|
124
|
+
[2.3.8]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.7...core-ts-lib-v2.3.8
|
|
109
125
|
[2.3.7]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.6...core-ts-lib-v2.3.7
|
|
110
126
|
[2.3.6]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.5...core-ts-lib-v2.3.6
|
|
111
127
|
[2.3.5]: https://github.com/aneuhold/ts-libs/compare/core-ts-lib-v2.3.4...core-ts-lib-v2.3.5
|
package/lib/browser.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import sleep from './helperFunctions/sleep.js';
|
|
2
|
-
import { ILogger
|
|
3
|
-
import {
|
|
2
|
+
import type { ILogger } from './interfaces/ILogger.js';
|
|
3
|
+
import { NoopLogger } from './interfaces/ILogger.js';
|
|
4
|
+
import type { ISpan, ITracer } from './interfaces/ITracer.js';
|
|
5
|
+
import { NoopTracer } from './interfaces/ITracer.js';
|
|
4
6
|
import ArrayService from './services/ArrayService.js';
|
|
5
7
|
import DateService from './services/DateService/DateService.js';
|
|
6
8
|
import { DependencyRegistry, DR } from './services/DependencyRegistry.js';
|
|
7
9
|
import StringService from './services/StringService.js';
|
|
8
|
-
import { PackageJson } from './types/PackageJson.js';
|
|
10
|
+
import type { PackageJson } from './types/PackageJson.js';
|
|
9
11
|
import { VersionType } from './types/VersionType.js';
|
|
10
12
|
import ErrorUtils from './utils/ErrorUtils.js';
|
|
11
13
|
import TestUtils from './utils/TestUtils.js';
|
package/lib/browser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAG7C,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,EAAE,EACF,UAAU,EACV,UAAU,EACV,UAAU,EACV,KAAK,EACL,aAAa,EACb,SAAS,EACV,CAAC;AAGF,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
|
package/lib/browser.js
CHANGED
|
@@ -5,6 +5,7 @@ import ArrayService from './services/ArrayService.js';
|
|
|
5
5
|
import DateService from './services/DateService/DateService.js';
|
|
6
6
|
import { DependencyRegistry, DR } from './services/DependencyRegistry.js';
|
|
7
7
|
import StringService from './services/StringService.js';
|
|
8
|
+
import { VersionType } from './types/VersionType.js';
|
|
8
9
|
import ErrorUtils from './utils/ErrorUtils.js';
|
|
9
10
|
import TestUtils from './utils/TestUtils.js';
|
|
10
11
|
// Export all browser-safe functions and classes from this library
|
package/lib/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,aAAa,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAE7C,kEAAkE;AAClE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,EAAE,EACF,UAAU,EACV,UAAU,EACV,UAAU,EACV,KAAK,EACL,aAAa,EACb,SAAS,EACV,CAAC"}
|
package/lib/browser.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import sleep from './helperFunctions/sleep.js';
|
|
2
|
-
import { ILogger
|
|
3
|
-
import {
|
|
2
|
+
import type { ILogger } from './interfaces/ILogger.js';
|
|
3
|
+
import { NoopLogger } from './interfaces/ILogger.js';
|
|
4
|
+
import type { ISpan, ITracer } from './interfaces/ITracer.js';
|
|
5
|
+
import { NoopTracer } from './interfaces/ITracer.js';
|
|
4
6
|
import ArrayService from './services/ArrayService.js';
|
|
5
7
|
import DateService from './services/DateService/DateService.js';
|
|
6
8
|
import { DependencyRegistry, DR } from './services/DependencyRegistry.js';
|
|
7
9
|
import StringService from './services/StringService.js';
|
|
8
|
-
import { PackageJson } from './types/PackageJson.js';
|
|
10
|
+
import type { PackageJson } from './types/PackageJson.js';
|
|
9
11
|
import { VersionType } from './types/VersionType.js';
|
|
10
12
|
import ErrorUtils from './utils/ErrorUtils.js';
|
|
11
13
|
import TestUtils from './utils/TestUtils.js';
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ChangelogService from './services/ChangelogService/index.js';
|
|
2
2
|
import DependencyService from './services/DependencyService.js';
|
|
3
|
-
import FileSystemService from './services/FileSystemService/FileSystemService.js';
|
|
3
|
+
import FileSystemService, {} from './services/FileSystemService/FileSystemService.js';
|
|
4
4
|
import GlobMatchingService from './services/FileSystemService/GlobMatchingService.js';
|
|
5
5
|
import PackageService from './services/PackageService/PackageService.js';
|
|
6
6
|
// Export all browser-safe exports from browser.ts
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,iBAAiB,MAAM,iCAAiC,CAAC;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,iBAAiB,MAAM,iCAAiC,CAAC;AAChE,OAAO,iBAAiB,EAAE,EAEzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,mBAAmB,MAAM,qDAAqD,CAAC;AACtF,OAAO,cAAc,MAAM,6CAA6C,CAAC;AAEzE,kDAAkD;AAClD,cAAc,cAAc,CAAC;AAE7B,kEAAkE;AAClE,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACf,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ILogger } from '../interfaces/ILogger.js';
|
|
2
|
-
import { ITracer } from '../interfaces/ITracer.js';
|
|
1
|
+
import type { ILogger } from '../interfaces/ILogger.js';
|
|
2
|
+
import type { ITracer } from '../interfaces/ITracer.js';
|
|
3
3
|
/**
|
|
4
4
|
* A simple static registry for managing singleton service instances like loggers and tracers.
|
|
5
5
|
* Provides a central point for accessing shared services throughout an application.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyRegistry.d.ts","sourceRoot":"","sources":["../../src/services/DependencyRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"DependencyRegistry.d.ts","sourceRoot":"","sources":["../../src/services/DependencyRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAIxD;;;GAGG;AACH,qBAAa,kBAAkB;IAE7B,OAAO,CAAC,MAAM,CAAC,cAAc,CAAgC;IAC7D,OAAO,CAAC,MAAM,CAAC,cAAc,CAA6B;IAE1D;;;;;OAKG;WACW,cAAc,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIrD;;;;;OAKG;IACH,WAAkB,MAAM,IAAI,OAAO,CAElC;IAED;;;;;OAKG;WACW,cAAc,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIrD;;;;;OAKG;IACH,WAAkB,MAAM,IAAI,OAAO,CAElC;CACF;AAED;;GAEG;AACH,eAAO,MAAM,EAAE,2BAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyRegistry.js","sourceRoot":"","sources":["../../src/services/DependencyRegistry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DependencyRegistry.js","sourceRoot":"","sources":["../../src/services/DependencyRegistry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,aAAa,MAAM,2BAA2B,CAAC;AAEtD;;;GAGG;AACH,MAAM,OAAO,kBAAkB;IAC7B,oCAAoC;IAC5B,MAAM,CAAC,cAAc,GAAY,IAAI,aAAa,EAAE,CAAC;IACrD,MAAM,CAAC,cAAc,GAAY,IAAI,UAAU,EAAE,CAAC;IAE1D;;;;;OAKG;IACI,MAAM,CAAC,cAAc,CAAC,QAAiB;QAC5C,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACI,MAAM,KAAK,MAAM;QACtB,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,cAAc,CAAC,QAAiB;QAC5C,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACI,MAAM,KAAK,MAAM;QACtB,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;;AAGH;;GAEG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ILogger } from '../interfaces/ILogger.js';
|
|
2
|
-
import { ITracer
|
|
1
|
+
import type { ILogger } from '../interfaces/ILogger.js';
|
|
2
|
+
import type { ITracer } from '../interfaces/ITracer.js';
|
|
3
|
+
import { NoopTracer } from '../interfaces/ITracer.js';
|
|
3
4
|
import ConsoleLogger from '../utils/ConsoleLogger.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyService.d.ts","sourceRoot":"","sources":["../../src/services/DependencyService.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"DependencyService.d.ts","sourceRoot":"","sources":["../../src/services/DependencyService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAKtD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAiB;IACpC;;;;OAIG;WACU,uBAAuB,IAAI,OAAO,CAAC,IAAI,CAAC;IAmDrD;;;;;OAKG;WACU,WAAW,CAAC,WAAW,GAAE,WAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAuCrF;;;;;;OAMG;WACU,oBAAoB,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;CAuCrF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { access, readFile, writeFile } from 'fs/promises';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { JsonWithVersionProperty } from '../types/JsonWithVersionProperty.js';
|
|
4
|
-
import { PackageJson } from '../types/PackageJson.js';
|
|
5
|
-
import { PackageJsonMap } from '../types/PackageJsonMap.js';
|
|
3
|
+
import type { JsonWithVersionProperty } from '../types/JsonWithVersionProperty.js';
|
|
4
|
+
import type { PackageJson } from '../types/PackageJson.js';
|
|
5
|
+
import type { PackageJsonMap } from '../types/PackageJsonMap.js';
|
|
6
6
|
import { VersionType } from '../types/VersionType.js';
|
|
7
7
|
import ErrorUtils from '../utils/ErrorUtils.js';
|
|
8
8
|
import { DR } from './DependencyRegistry.js';
|
|
@@ -2,8 +2,8 @@ import { exec, spawn } from 'child_process';
|
|
|
2
2
|
import { access, readFile, writeFile } from 'fs/promises';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import { promisify } from 'util';
|
|
5
|
-
import { JsonWithVersionProperty } from '../../types/JsonWithVersionProperty.js';
|
|
6
|
-
import { PackageJson } from '../../types/PackageJson.js';
|
|
5
|
+
import type { JsonWithVersionProperty } from '../../types/JsonWithVersionProperty.js';
|
|
6
|
+
import type { PackageJson } from '../../types/PackageJson.js';
|
|
7
7
|
import ErrorUtils from '../../utils/ErrorUtils.js';
|
|
8
8
|
import { DR } from '../DependencyRegistry.js';
|
|
9
9
|
import DependencyService from '../DependencyService.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageService.js","sourceRoot":"","sources":["../../../src/services/PackageService/PackageService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PackageService.js","sourceRoot":"","sources":["../../../src/services/PackageService/PackageService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAE3D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,uBAAkC;QAChE,OAAO,iBAAiB,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,uBAAkC;QAC1D,OAAO,iBAAiB,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,uBAAkC;QAChE,OAAO,iBAAiB,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,uBAAkC;QAC1D,OAAO,iBAAiB,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,cAAsB,EAAE,SAAiB;QAC1E,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,oCAAoC,cAAc,SAAS,SAAS,GAAG,CAAC,CAAC;QAExF,MAAM,mBAAmB,CAAC,kBAAkB,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;QAExE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,4DAA4D,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,WAAoB;QACnD,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CAAC,yCAAyC,CACpD,WAAyB,EACzB,WAAoB;QAEpB,OAAO,mBAAmB,CAAC,yCAAyC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACjG,CAAC;CACF"}
|
|
@@ -2,7 +2,7 @@ import { exec } from 'child_process';
|
|
|
2
2
|
import { access, readFile } from 'fs/promises';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import { promisify } from 'util';
|
|
5
|
-
import { PackageJson } from '../../types/PackageJson.js';
|
|
5
|
+
import type { PackageJson } from '../../types/PackageJson.js';
|
|
6
6
|
import { VersionType } from '../../types/VersionType.js';
|
|
7
7
|
import ErrorUtils from '../../utils/ErrorUtils.js';
|
|
8
8
|
import ChangelogService from '../ChangelogService/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JsonWithVersionProperty } from './JsonWithVersionProperty.js';
|
|
1
|
+
import type { JsonWithVersionProperty } from './JsonWithVersionProperty.js';
|
|
2
2
|
/**
|
|
3
3
|
* Represents the contents of a `package.json` file, including dependencies and metadata.
|
|
4
4
|
* Extends JsonWithVersionProperty for version tracking.
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"PackageJson.d.ts","sourceRoot":"","sources":["../../src/types/PackageJson.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;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"}
|
package/lib/types/PackageJson.ts
CHANGED
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"PackageJsonInfo.d.ts","sourceRoot":"","sources":["../../src/types/PackageJsonInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,WAAW,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"PackageJsonMap.d.ts","sourceRoot":"","sources":["../../src/types/PackageJsonMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAAC;CACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsoleLogger.d.ts","sourceRoot":"","sources":["../../src/utils/ConsoleLogger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ConsoleLogger.d.ts","sourceRoot":"","sources":["../../src/utils/ConsoleLogger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAExD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,aAAc,YAAW,OAAO;IACnD;;;OAGG;IACH,OAAc,qBAAqB,UAAS;IAE5C;;OAEG;IACH,OAAO,CAAC,gBAAgB,CAAS;IAEjC;;;;;OAKG;gBACS,gBAAgB,CAAC,EAAE,OAAO;IAMtC;;;;;OAKG;IACH,IAAI,OAAO,IAAI,aAAa,CAE3B;IAED;;;;;OAKG;IACH,MAAM,KAAK,OAAO,IAAI,aAAa,CAElC;IAED;;;;;;OAMG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI;IAiB9C;;;;;OAKG;IACH,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI;IAIrD;;;;;OAKG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAM1B;;;;OAIG;IACH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIjC;;;;;;OAMG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAMvB;;;;OAIG;IACH,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI9B;;;;;;OAMG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAMxB;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI/B;;;;OAIG;IACH,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIzC;;OAEG;IACH,uBAAuB,IAAI,OAAO;IAIlC;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAKlB"}
|
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.
|
|
5
|
+
"version": "2.3.9",
|
|
6
6
|
"description": "A core library for all of my TypeScript projects",
|
|
7
7
|
"packageManager": "pnpm@10.12.1",
|
|
8
8
|
"type": "module",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"Node.js"
|
|
65
65
|
],
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@types/node": "^24.
|
|
68
|
-
"eslint": "^9.
|
|
67
|
+
"@types/node": "^24.10.0",
|
|
68
|
+
"eslint": "^9.39.1",
|
|
69
69
|
"jsr": "^0.13.5",
|
|
70
70
|
"nodemon": "^3.1.10",
|
|
71
71
|
"prettier": "^3.6.2",
|
|
72
|
-
"rimraf": "^6.0
|
|
72
|
+
"rimraf": "^6.1.0",
|
|
73
73
|
"tsx": "^4.20.6",
|
|
74
74
|
"typescript": "~5.9.3",
|
|
75
|
-
"vitest": "^4.0.
|
|
75
|
+
"vitest": "^4.0.8"
|
|
76
76
|
}
|
|
77
77
|
}
|