Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ertrzyiks/dep-cruiser-ts-monorepo
https://github.com/ertrzyiks/dep-cruiser-ts-monorepo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ertrzyiks/dep-cruiser-ts-monorepo
- Owner: ertrzyiks
- Created: 2022-02-03T16:01:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-03T16:04:30.000Z (almost 3 years ago)
- Last Synced: 2024-12-07T19:35:55.212Z (about 1 month ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dependency cruiser monorepo TS
Demo project using [dependency-cruiser](https://github.com/sverweij/dependency-cruiser/) in a monorepo
with typescript aliases not being resolved.```
yarn
yarn test
```Inspect modules.json and see that the aliased module is not properly resolved.
```json
{
"source": "packages/a/src/index.ts",
"dependencies": [
{
"module": "~core/test",
"moduleSystem": "es6",
"dynamic": false,
"exoticallyRequired": false,
"resolved": "~core/test",
"coreModule": false,
"followable": false,
"couldNotResolve": true,
"dependencyTypes": [
"unknown"
],
"matchesDoNotFollow": false,
"circular": false,
"valid": false,
"rules": [
{
"severity": "error",
"name": "not-to-unresolvable"
}
]
}
],
"orphan": false,
"valid": true
},
```