declapract-typescript-ehmpathy 0.47.14 → 0.47.16

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.
@@ -19,6 +19,9 @@ jobs:
19
19
  - name: node-modules deps hash
20
20
  id: deps-hash
21
21
  run: |
22
+ NODE_VERSION=$(cat .nvmrc | tr -d '[:space:]');
23
+ echo "NODE_VERSION=$NODE_VERSION"
24
+ echo "node-version=$NODE_VERSION" >> "$GITHUB_OUTPUT"
22
25
  PACKAGE_DEPS_HASH=$(md5sum pnpm-lock.yaml | awk '{print $1}');
23
26
  echo "PACKAGE_DEPS_HASH=$PACKAGE_DEPS_HASH"
24
27
  echo "package-deps-hash=$PACKAGE_DEPS_HASH" >> "$GITHUB_OUTPUT"
@@ -28,7 +31,7 @@ jobs:
28
31
  id: cache
29
32
  with:
30
33
  path: ./node_modules
31
- key: ${{ runner.os }}-pnpm-${{ steps.deps-hash.outputs.package-deps-hash }}
34
+ key: ${{ runner.os }}-node-${{ steps.deps-hash.outputs.node-version }}-pnpm-${{ steps.deps-hash.outputs.package-deps-hash }}
32
35
  lookup-only: true
33
36
 
34
37
  - name: node-modules cache miss setup node
@@ -43,7 +46,7 @@ jobs:
43
46
 
44
47
  - name: node-modules cache miss install
45
48
  if: steps.cache.outputs.cache-hit != 'true'
46
- run: pnpm install --frozen-lockfile --ignore-scripts
49
+ run: pnpm install --frozen-lockfile
47
50
 
48
51
  - name: node-modules cache set
49
52
  if: steps.cache.outputs.cache-hit != 'true'
@@ -199,4 +199,4 @@ jobs:
199
199
  run: npm run start:livedb:dev --if-present
200
200
 
201
201
  - name: test:acceptance:locally
202
- run: THOROUGH=true npm run test:acceptance --if-present
202
+ run: THOROUGH=true npm run test:acceptance:locally --if-present
@@ -36,7 +36,11 @@ export const desiredRelativeKeyOrder = {
36
36
  'generate:dao:dynamodb',
37
37
  'generate:dao:postgres',
38
38
  'build:artifact',
39
+ 'build:clean:bun',
40
+ 'build:clean:tsc',
39
41
  'build:clean',
42
+ 'build:compile:bun',
43
+ 'build:compile:tsc',
40
44
  'build:compile',
41
45
  'build',
42
46
  'provision:schema:plan',
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "devDependencies": {
3
- "rhachet": "@declapract{check.minVersion('1.19.12')}",
4
- "rhachet-roles-ehmpathy": "@declapract{check.minVersion('1.17.10')}",
5
- "rhachet-roles-bhrain": "@declapract{check.minVersion('0.5.8')}",
6
- "rhachet-roles-bhuild": "@declapract{check.minVersion('0.5.1')}"
3
+ "rhachet": "@declapract{check.minVersion('1.20.5')}",
4
+ "rhachet-roles-ehmpathy": "@declapract{check.minVersion('1.17.11')}",
5
+ "rhachet-roles-bhrain": "@declapract{check.minVersion('0.5.9')}",
6
+ "rhachet-roles-bhuild": "@declapract{check.minVersion('0.5.5')}"
7
7
  },
8
8
  "scripts": {
9
- "prepare:rhachet": "rhachet init && rhachet roles link --repo ehmpathy --role mechanic && rhachet roles link --repo bhuild --role behaver && rhachet roles link --repo bhrain --role reviewer && rhachet roles init --role mechanic && rhachet roles init --role behaver"
9
+ "prepare:rhachet": "rhachet init --mode upsert && rhachet roles link --repo ehmpathy --role mechanic && rhachet roles link --repo bhuild --role behaver && rhachet roles link --repo bhrain --role reviewer && rhachet roles init --role mechanic && rhachet roles init --role behaver"
10
10
  }
11
11
  }
@@ -16,6 +16,7 @@ const config: Config = {
16
16
  testEnvironment: 'node',
17
17
  moduleFileExtensions: ['js', 'ts'],
18
18
  moduleNameMapper: {
19
+ '^@/(.*)$': '<rootDir>/$1',
19
20
  '^@src/(.*)$': '<rootDir>/src/$1',
20
21
  },
21
22
  transform: {
@@ -16,6 +16,7 @@ const config: Config = {
16
16
  testEnvironment: 'node',
17
17
  moduleFileExtensions: ['js', 'ts'],
18
18
  moduleNameMapper: {
19
+ '^@/(.*)$': '<rootDir>/$1',
19
20
  '^@src/(.*)$': '<rootDir>/src/$1',
20
21
  },
21
22
  transform: {
@@ -7,8 +7,11 @@
7
7
  "@types/node": "@declapract{check.minVersion('22.15.21')}"
8
8
  },
9
9
  "scripts": {
10
- "build:clean": "chmod -R u+w dist 2>/dev/null; rm -rf dist/",
11
- "build:compile": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
10
+ "build:clean:tsc": "(chmod -R u+w dist 2>/dev/null || true) && rm -rf dist/",
11
+ "build:clean:bun": "rm -f ./bin/*.bc",
12
+ "build:clean": "npm run build:clean:tsc && npm run build:clean:bun",
13
+ "build:compile:tsc": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
14
+ "build:compile": "npm run build:compile:tsc && npm run build:compile:bun --if-present",
12
15
  "build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present && npm run build:artifact",
13
16
  "test:types": "tsc -p ./tsconfig.json --noEmit"
14
17
  }
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.14",
5
+ "version": "0.47.16",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",
@@ -75,10 +75,10 @@
75
75
  "esbuild-register": "3.6.0",
76
76
  "husky": "8.0.3",
77
77
  "jest": "30.2.0",
78
- "rhachet": "1.19.12",
78
+ "rhachet": "1.20.5",
79
79
  "rhachet-roles-bhrain": "0.5.8",
80
- "rhachet-roles-bhuild": "0.5.1",
81
- "rhachet-roles-ehmpathy": "1.17.10",
80
+ "rhachet-roles-bhuild": "0.5.6",
81
+ "rhachet-roles-ehmpathy": "1.17.11",
82
82
  "tsc-alias": "1.8.10",
83
83
  "tsx": "4.20.6",
84
84
  "type-fns": "0.8.1",