https://github.com/jakzo/svelte-ts-monorepo-issue
https://github.com/jakzo/svelte-ts-monorepo-issue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jakzo/svelte-ts-monorepo-issue
- Owner: jakzo
- Created: 2023-08-20T01:04:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-20T05:40:32.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T20:14:32.649Z (5 months ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To reproduce:
1. `npm install`
1. Compare outputs of:
- `npm -w app run check:ts`
- `npm -w app run check:svelte`
1. Should see no error in TS but in Svelte:
```
File '/svelte-ts-monorepo-issue/packages/dep/index.ts' is not under 'rootDir' '/svelte-ts-monorepo-issue/packages/app'. 'rootDir' is expected to contain all source files.
The file is in the program because:
Imported via "dep" from file '/svelte-ts-monorepo-issue/packages/app/index.ts' with packageId 'dep/[email protected]'
Root file specified for compilation
```