@aneuhold/be-ts-lib 2.0.76 → 2.0.78

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) [2024] [Anton G Neuhold Jr]
3
+ Copyright (c) [2025] [Anton G Neuhold Jr]
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aneuhold/be-ts-lib",
3
3
  "author": "Anton G. Neuhold Jr.",
4
4
  "license": "MIT",
5
- "version": "2.0.76",
5
+ "version": "2.0.78",
6
6
  "description": "A backend TypeScript library used for common functionality in personal backend projects.",
7
7
  "packageManager": "pnpm@10.11.1",
8
8
  "type": "module",
@@ -15,6 +15,7 @@
15
15
  "npm:validate": "tb pkg validateNpm",
16
16
  "checkAll": "pnpm build && pnpm lint && pnpm test && pnpm jsr:validate",
17
17
  "jsr:publish": "tb pkg publishJsr",
18
+ "npm:publish": "npm publish --access public",
18
19
  "upgrade:core": "pnpm update '@aneuhold/main-scripts' --latest",
19
20
  "upgrade:all": "pnpm up"
20
21
  },
@@ -1,17 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import ConfigService from './ConfigService.js';
3
-
4
- describe('ConfigService', () => {
5
- describe('useConfig', () => {
6
- /**
7
- * Depends upon a GitHub token being available in the local environment.
8
- * This will be a local `.env` file with the CONFIG_GITHUB_TOKEN variable
9
- * set.
10
- */
11
- it('should load configuration from GitHub', async () => {
12
- const env = 'local';
13
- await ConfigService.useConfig(env);
14
- expect(ConfigService.config.someKey).toEqual('SOME_VALUE');
15
- });
16
- });
17
- });
@@ -1,18 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import TranslationService, { TranslationSource } from './TranslationService.js';
3
-
4
- describe('TranslationService', () => {
5
- describe('getTranslations', () => {
6
- /**
7
- * Depends upon a GitHub token being available in the local environment.
8
- * This will be a local `.env` file with the CONFIG_GITHUB_TOKEN variable
9
- * set.
10
- */
11
- it('should load translations from GitHub', async () => {
12
- const translations = await TranslationService.getTranslations(
13
- TranslationSource.dashboard
14
- );
15
- expect(translations['test-translation'].value).toEqual('something');
16
- });
17
- });
18
- });