Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude the tsconfig.json file from new releases #7

Merged
merged 2 commits into from Jan 28, 2020
Merged

Exclude the tsconfig.json file from new releases #7

merged 2 commits into from Jan 28, 2020

Conversation

PopGoesTheWza
Copy link
Contributor

@PopGoesTheWza PopGoesTheWza commented Jan 28, 2020

Adding the files attribute so that npm package only includes necessary files (Cf. #6 )

~/ref/defer-to-connect$ npm publish --dry-run

> defer-to-connect@1.1.1 prepublishOnly .
> npm run build


> defer-to-connect@1.1.1 build /Users/xxx/ref/defer-to-connect
> del-cli dist && tsc

npm notice
npm notice 馃摝  defer-to-connect@1.1.1
npm notice === Tarball Contents ===
npm notice 1.1kB LICENSE
npm notice 1.5kB dist/index.js
npm notice 1.6kB package.json
npm notice 951B  README.md
npm notice 346B  dist/index.d.ts
npm notice === Tarball Details ===
npm notice name:          defer-to-connect
npm notice version:       1.1.1
npm notice package size:  2.4 kB
npm notice unpacked size: 5.4 kB
npm notice shasum:        5b951fb0165161c29ca5635672772f45d8600b42
npm notice integrity:     sha512-mzkA7swfXs/c8[...]bv01T4Tk0QGaQ==
npm notice total files:   5
npm notice
+ defer-to-connect@1.1.1

@szmarczak szmarczak changed the title streamlining npm package Exclude the tsconfig.json file from new releases Jan 28, 2020
@szmarczak szmarczak merged commit 251c0a7 into szmarczak:master Jan 28, 2020
@szmarczak
Copy link
Owner

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants