Skip to content

Commit

Permalink
chore: seems like path is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar committed Sep 28, 2023
1 parent 5de8cb9 commit a1719ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 19 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,16 +426,16 @@ And reference dependant workspaces in the workspace `tsconfig.json`:
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"declarationDir": "types",
"paths": {
"@scope/some-dependency": ["../some-dependency/src"]
}
"declarationDir": "types"
},
"references": [{ "path": "../some-dependency" }],
"include": ["src/**/*"]
}
```

You can optionally sync project references with
`yarn dlx workspaces-to-typescript-project-references`.

## `xv`

_Scope: repo or workspace_
Expand Down
7 changes: 1 addition & 6 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"declarationDir": "types",
"paths": {
"@mokr/core": ["../core/src"],
"@mokr/plugins": ["../plugins/src"],
"@mokr/templates": ["../templates/src"]
}
"declarationDir": "types"
},
"references": [
{ "path": "../core" },
Expand Down
5 changes: 1 addition & 4 deletions packages/plugins/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"declarationDir": "types",
"paths": {
"@mokr/core": ["../core/src"]
}
"declarationDir": "types"
},
"references": [{ "path": "../core" }],
"include": ["src/**/*"]
Expand Down
6 changes: 1 addition & 5 deletions packages/templates/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"declarationDir": "types",
"paths": {
"@mokr/core": ["../core/src"],
"@mokr/plugins": ["../plugins/src"]
}
"declarationDir": "types"
},
"references": [{ "path": "../core" }, { "path": "../plugins" }],
"include": ["src/**/*"]
Expand Down

0 comments on commit a1719ee

Please sign in to comment.