Skip to content

Commit a89ad82

Browse files
committed
chore: Improve internal module resolution
1 parent ccf1b45 commit a89ad82

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/main.yml

-4
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@ jobs:
1616
uses: spuxx1701/ci-cd/.github/workflows/pnpm_run_checks.yml@v4.0.0
1717
needs:
1818
- install_deps
19-
with:
20-
PNPM_BUILD: true
2119

2220
run_unit_tests:
2321
name: Run unit tests
2422
uses: spuxx1701/ci-cd/.github/workflows/pnpm_run_unit_tests.yml@v4.0.0
2523
needs:
2624
- install_deps
27-
with:
28-
PNPM_BUILD: true
2925
COVERAGE_FILENAME: reports/vitest/coverage/cobertura-coverage.xml
3026
COVERAGE_FAIL_BELOW_MIN: 100

test-apps/react/main.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import ReactDOM from 'react-dom/client';
33
import App from './src/App.tsx';
44
import de from './translations/de.yaml';
5-
import { Intl, Logger } from '@spuxx/browser-utils';
5+
import { Intl, Logger } from '@spuxx/js-utils';
66

77
// Set up `Logger` and test it
88
Logger.setLevel('debug');

tsconfig.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
"noUnusedParameters": true,
1919
"noFallthroughCasesInSwitch": true,
2020
"baseUrl": ".",
21-
"types": ["vite/client", "@modyfi/vite-plugin-yaml/modules"]
21+
"types": ["vite/client", "@modyfi/vite-plugin-yaml/modules"],
22+
"paths": {
23+
"@spuxx/js-utils": ["./packages/js-utils/src/main.ts"],
24+
"@spuxx/browser-utils": ["./packages/browser-utils/src/main.ts"]
25+
}
2226
},
2327
"include": ["libs", "test-apps"]
2428
}

0 commit comments

Comments
 (0)