Skip to content

Commit

Permalink
Can't really use . as the rootDir
Browse files Browse the repository at this point in the history
This would in turn require us to adjust the exports accordingly, so reverting for now.
  • Loading branch information
knutwannheden committed Sep 28, 2024
1 parent bdf48b1 commit 2af952d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions openrewrite/src/javascript/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './markers';
export * from './parser';
export * from './projectParser';
export * from './tree';
export * from './visitor';
2 changes: 1 addition & 1 deletion openrewrite/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"rootDir": ".",
"rootDir": "./src",
"outDir": "./dist",
"experimentalDecorators": true,
"moduleResolution": "node16"
Expand Down
3 changes: 3 additions & 0 deletions openrewrite/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./test"
},
"include": ["test/**/*.ts"],
}

0 comments on commit 2af952d

Please sign in to comment.