declapract-typescript-ehmpathy 0.47.72 → 0.47.73

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.
@@ -10,7 +10,7 @@
10
10
  "test:format:biome": "biome format",
11
11
  "test:lint:biome": "biome check --diagnostic-level=error",
12
12
  "test:lint:biome:all": "biome check",
13
- "test:lint:cycles": "dpdm --no-warning --no-tree --exit-code circular:1 --exclude \"$(yq -r '.exclude | if length > 0 then join(\"|\") else \"^$\" end' .dpdmrc.yaml)\" 'src/**/*.ts'",
13
+ "test:lint:cycles": "dpdm --no-warning --no-tree --exit-code circular:1 --exclude \"$(yq -r '.exclude | join(\"|\") // \"^$\"' .dpdmrc.yaml)\" 'src/**/*.ts'",
14
14
  "test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
15
15
  "test:lint": "npm run test:lint:biome && npm run test:lint:cycles && npm run test:lint:deps"
16
16
  }
@@ -10,7 +10,13 @@ import {
10
10
  import { type DomainEntity, RefByUnique } from 'domain-objects';
11
11
  import { UnexpectedCodePathError } from 'helpful-errors';
12
12
 
13
- import pkg from '../../package.json';
13
+ import pkgJson from '../../package.json';
14
+
15
+ const pkg = pkgJson as {
16
+ description?: string;
17
+ private?: boolean;
18
+ homepage?: string;
19
+ };
14
20
 
15
21
  export const getProviders = async (): Promise<DeclastructProvider[]> => [
16
22
  getDeclastructGithubProvider(
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "declapract-typescript-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "declapract best practices declarations for typescript",
5
- "version": "0.47.72",
5
+ "version": "0.47.73",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",