@aneuhold/be-ts-lib 2.0.90 → 3.0.0

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,22 @@ 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
+ ## 🔖 [3.0.0] (2025-11-23)
9
+
10
+ ### 🏗️ Changed
11
+
12
+ _Breaking Change:_ Updated peer and direct dependencies to require `@aneuhold/core-ts-api-lib@^3.0.0` and `@aneuhold/core-ts-lib@^2.3.11`.
13
+ Updated build scripts to use new version propagation and build flow.
14
+ No direct code changes; version bump for compatibility with new major versions of dependencies.
15
+
16
+ ## 🔖 [2.0.91] (2025-11-09)
17
+
18
+ ### 🏗️ Changed
19
+
20
+ - Refactored all service and utility files to use `import type` for type-only imports, improving build performance and clarity.
21
+ - Updated internal imports to separate type and value imports from dependencies and internal modules.
22
+ - No breaking changes; all updates are internal refactors for TypeScript best practices.
23
+
8
24
  ## 🔖 [2.0.90] (2025-11-08)
9
25
 
10
26
  ### 🏗️ Changed
@@ -69,6 +85,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
69
85
 
70
86
  <!-- Link References -->
71
87
 
88
+ [3.0.0]: https://github.com/aneuhold/ts-libs/compare/be-ts-lib-v2.0.91...be-ts-lib-v3.0.0
89
+ [2.0.91]: https://github.com/aneuhold/ts-libs/compare/be-ts-lib-v2.0.90...be-ts-lib-v2.0.91
72
90
  [2.0.90]: https://github.com/aneuhold/ts-libs/compare/be-ts-lib-v2.0.89...be-ts-lib-v2.0.90
73
91
  [2.0.89]: https://github.com/aneuhold/ts-libs/compare/be-ts-lib-v2.0.88...be-ts-lib-v2.0.89
74
92
  [2.0.88]: https://github.com/aneuhold/ts-libs/compare/be-ts-lib-v2.0.87...be-ts-lib-v2.0.88
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Config from './services/ConfigService/ConfigDefinition.js';
1
+ import type Config from './services/ConfigService/ConfigDefinition.js';
2
2
  import ConfigService from './services/ConfigService/ConfigService.js';
3
3
  import TranslationService, { TranslationSource } from './services/TranslationService/TranslationService.js';
4
4
  export { ConfigService, TranslationService, TranslationSource };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,8CAA8C,CAAC;AAClE,OAAO,aAAa,MAAM,2CAA2C,CAAC;AACtE,OAAO,kBAAkB,EAAE,EACzB,iBAAiB,EAClB,MAAM,qDAAqD,CAAC;AAG7D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;AAGhE,YAAY,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,8CAA8C,CAAC;AACvE,OAAO,aAAa,MAAM,2CAA2C,CAAC;AACtE,OAAO,kBAAkB,EAAE,EACzB,iBAAiB,EAClB,MAAM,qDAAqD,CAAC;AAG7D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;AAGhE,YAAY,EAAE,MAAM,EAAE,CAAC"}
package/lib/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Config from './services/ConfigService/ConfigDefinition.js';
1
+ import type Config from './services/ConfigService/ConfigDefinition.js';
2
2
  import ConfigService from './services/ConfigService/ConfigService.js';
3
3
  import TranslationService, {
4
4
  TranslationSource
@@ -1,5 +1,5 @@
1
1
  import 'dotenv/config';
2
- import Config from './ConfigDefinition.js';
2
+ import type Config from './ConfigDefinition.js';
3
3
  export type ConfigEnv = 'local' | 'dev' | 'prod';
4
4
  /**
5
5
  * Service for managing configuration settings.
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigService.d.ts","sourceRoot":"","sources":["../../../src/services/ConfigService/ConfigService.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAGvB,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;AAEjD;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAAQ;IAEpC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAuB;IAElD;;;;;;OAMG;IACH,MAAM,KAAK,MAAM,IAAI,MAAM,CAO1B;IAED;;;;OAIG;IACH,MAAM,KAAK,aAAa,IAAI,OAAO,CAElC;IAED;;;;;OAKG;WACU,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAWrD;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,uBAAuB;CASvC"}
1
+ {"version":3,"file":"ConfigService.d.ts","sourceRoot":"","sources":["../../../src/services/ConfigService/ConfigService.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAGvB,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;AAEjD;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAAQ;IAEpC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAuB;IAElD;;;;;;OAMG;IACH,MAAM,KAAK,MAAM,IAAI,MAAM,CAO1B;IAED;;;;OAIG;IACH,MAAM,KAAK,aAAa,IAAI,OAAO,CAElC;IAED;;;;;OAKG;WACU,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAWrD;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,uBAAuB;CASvC"}
@@ -2,7 +2,7 @@ import { DR } from '@aneuhold/core-ts-lib';
2
2
  import 'dotenv/config';
3
3
  import { parse } from 'jsonc-parser';
4
4
  import GitHubService from '../GitHubService.js';
5
- import Config from './ConfigDefinition.js';
5
+ import type Config from './ConfigDefinition.js';
6
6
 
7
7
  export type ConfigEnv = 'local' | 'dev' | 'prod';
8
8
 
@@ -1,4 +1,4 @@
1
- import { Translations } from '@aneuhold/core-ts-api-lib';
1
+ import type { Translations } from '@aneuhold/core-ts-api-lib';
2
2
  import 'dotenv/config';
3
3
  /**
4
4
  * Defines the available sources for translation files.
@@ -1 +1 @@
1
- {"version":3,"file":"TranslationService.d.ts","sourceRoot":"","sources":["../../../src/services/TranslationService/TranslationService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,eAAe,CAAC;AAIvB;;;;;GAKG;AACH,oBAAY,iBAAiB;IAC3B,6CAA6C;IAC7C,SAAS,cAAc;CACxB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAkB;IACrC;;;;;OAKG;WACU,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC;CAS/E"}
1
+ {"version":3,"file":"TranslationService.d.ts","sourceRoot":"","sources":["../../../src/services/TranslationService/TranslationService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,eAAe,CAAC;AAIvB;;;;;GAKG;AACH,oBAAY,iBAAiB;IAC3B,6CAA6C;IAC7C,SAAS,cAAc;CACxB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAkB;IACrC;;;;;OAKG;WACU,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC;CAS/E"}
@@ -1,4 +1,4 @@
1
- import { Translations } from '@aneuhold/core-ts-api-lib';
1
+ import type { Translations } from '@aneuhold/core-ts-api-lib';
2
2
  import { DR } from '@aneuhold/core-ts-lib';
3
3
  import 'dotenv/config';
4
4
  import { parse } from 'jsonc-parser';
package/package.json CHANGED
@@ -2,19 +2,22 @@
2
2
  "name": "@aneuhold/be-ts-lib",
3
3
  "author": "Anton G. Neuhold Jr.",
4
4
  "license": "MIT",
5
- "version": "2.0.90",
5
+ "version": "3.0.0",
6
6
  "description": "A backend TypeScript library used for common functionality in personal backend projects.",
7
7
  "packageManager": "pnpm@10.12.1",
8
8
  "type": "module",
9
9
  "scripts": {
10
- "build": "rimraf lib && tsc --project tsconfig.build.json && tsx ./scripts/copyTsFiles.ts",
11
- "watch": "nodemon --ignore lib/ -e ts --exec \"tsc --project tsconfig.build.json && tsx ./scripts/copyTsFiles.ts && local-npm publish\"",
10
+ "build": "rimraf lib && pnpm build:withoutClean",
11
+ "build:withoutClean": "tsc --project tsconfig.build.json && tsx ./scripts/copyTsFiles.ts && pnpm propagateVersion",
12
+ "propagateVersion": "tsx ../../scripts/propagateVersion.ts",
13
+ "watch": "nodemon --ignore lib/ -e ts --exec \"pnpm build:withoutClean && local-npm publish\"",
12
14
  "unpub:local": "local-npm unpublish || true",
13
15
  "lint": "eslint",
14
16
  "test": "vitest run",
15
17
  "preparePkg": "tb pkg prepare",
16
18
  "jsr:validate": "tb pkg validateJsr",
17
19
  "npm:validate": "tb pkg validateNpm",
20
+ "versionPropagation:validate": "tsx ../../scripts/validatePackageVersions.ts",
18
21
  "checkAll": "pnpm build && pnpm lint && pnpm test && pnpm jsr:validate",
19
22
  "jsr:publish": "tb pkg publishJsr",
20
23
  "npm:publish": "tb pkg publishNpm",
@@ -50,15 +53,15 @@
50
53
  "TypeScript"
51
54
  ],
52
55
  "dependencies": {
53
- "@aneuhold/core-ts-api-lib": "*",
54
- "@aneuhold/core-ts-lib": "*",
56
+ "@aneuhold/core-ts-api-lib": "^3.0.0",
57
+ "@aneuhold/core-ts-lib": "^2.3.11",
55
58
  "dotenv": "^17.2.3",
56
59
  "jsonc-parser": "^3.3.1",
57
60
  "node-fetch": "^3.3.2",
58
61
  "octokit": "^5.0.5"
59
62
  },
60
63
  "devDependencies": {
61
- "@aneuhold/local-npm-registry": "*",
64
+ "@aneuhold/local-npm-registry": "^0.2.17",
62
65
  "@aneuhold/main-scripts": "^2.7.2",
63
66
  "@types/node": "^24.10.0",
64
67
  "@types/node-fetch": "^2.6.13",