Skip to content

Commit

Permalink
build: modify ts-ignore for /test & /src (#3036)
Browse files Browse the repository at this point in the history
  • Loading branch information
VerteDinde authored Oct 31, 2022
1 parent 86e0189 commit 533f56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const publisher = new Listr([
let writtenNpmIgnore = false;

try {
await fs.promises.writeFile(npmIgnorePath, ['*.ts', '!*.d.ts', '*.tsbuildinfo', 'tsconfig.json', '*.map', '/test'].join('\n'));
await fs.promises.writeFile(npmIgnorePath, ['*.tsbuildinfo', '/test', '/src'].join('\n'));
writtenNpmIgnore = true;

await spawn('npm', ['publish', '--access=public', ...(isBeta ? ['--tag=beta'] : []), `--otp=${ctx.otp}`], {
Expand Down

0 comments on commit 533f56c

Please sign in to comment.