Skip to content

Commit

Permalink
meta: fix JS2TS script (#4778)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Nov 9, 2023
1 parent 472cc93 commit 1431d52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions private/js2ts/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ await tsConfig.writeFile(
emitDeclarationOnly: false,
noEmit: true,
},
include: ['./package.json', './src/**/*.'],
include: ['./package.json', './src/**/*.*'],
references,
},
undefined,
Expand All @@ -90,7 +90,7 @@ await tsConfig.writeFile(
await tsConfig.close()

await writeFile(
new URL('./tsconfig.build.json', import.meta.url),
new URL('./tsconfig.build.json', packageRoot),
`${JSON.stringify(
{
extends: '../../../tsconfig.shared',
Expand All @@ -101,7 +101,7 @@ await writeFile(
noImplicitAny: false,
skipLibCheck: true,
},
include: ['./src/**/*.'],
include: ['./src/**/*.*'],
exclude: ['./src/**/*.test.ts'],
references,
},
Expand Down

0 comments on commit 1431d52

Please sign in to comment.