Skip to content

Commit

Permalink
Fix npm release (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme authored Feb 17, 2023
1 parent 050f43c commit 7c22749
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tool/prepare-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ import {getJSApi} from './get-js-api';
shell.cp('-R', 'lib/src/vendor/sass', 'dist/types');
await fs.unlink('dist/types/README.md');

// .gitignore needs to exist in dist for `npm publish` to correctly exclude
// files from the published tarball.
console.log('Copying .gitignore to dist.');
await fs.copyFile('.gitignore', 'dist/.gitignore');

console.log('Ready for publishing to npm.');
} catch (error) {
console.error(error);
Expand Down

0 comments on commit 7c22749

Please # to comment.