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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify which files are included in npm package #667

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukaw3d
Copy link

@lukaw3d lukaw3d commented Sep 14, 2022

npm package >=1.4.0 includes quite a bit of clutter (https://app.renovatebot.com/package-diff?name=typed-redux-saga&from=1.3.1&to=1.5.0)

npm pack differences: this PR vs [email protected]

- npm notice 82B    .babelrc                                  
- npm notice 39B    .eslintignore                             
- npm notice 4B     .nvmrc                                    
  npm notice 1.1kB  LICENSE                                   
- npm notice 5.4kB  coverage/lcov-report/base.css             
- npm notice 676B   coverage/lcov-report/prettify.css         
- npm notice 4.2kB  coverage/lcov-report/index.html           
- npm notice 6.7kB  coverage/lcov-report/macro.js.html        
- npm notice 228B   coverage/lcov.info                        
- npm notice 2.4kB  coverage/lcov-report/block-navigation.js  
  npm notice 3.9kB  dist/cjs/index.js                         
  npm notice 3.8kB  dist/es/index.js                          
  npm notice 4.1kB  src/index.js                              
  npm notice 907B   dist/cjs/macro.js                         
  npm notice 844B   dist/es/macro.js                          
  npm notice 977B   src/macro.js                              
- npm notice 817B   tests/macro.test.js                       
- npm notice 17.6kB coverage/lcov-report/prettify.js          
- npm notice 638B   rollup.config.js                          
- npm notice 5.3kB  coverage/lcov-report/sorter.js            
- npm notice 1.6kB  coverage/coverage-final.json              
- npm notice 124B   macro/package.json                        
  npm notice 3.0kB  package.json                              
- npm notice 321B   renovate.json                             
- npm notice 556B   tsconfig.json                             
  npm notice 406B   types/tsconfig.json                       
  npm notice 294B   types/tslint.json                         
  npm notice 3.9kB  README.md                                 
- npm notice 1.1kB  templates/index.js.njk                    
- npm notice 540B   coverage/lcov-report/favicon.png          
- npm notice 209B   coverage/lcov-report/sort-arrow-sprite.png
- npm notice 1.2kB  tests/__snapshots__/macro.test.js.snap    
- npm notice 827B   generateTemplates.ts                      
  npm notice 15.8kB dist/index.d.ts                           
  npm notice 15.8kB types/index.d.ts                          
  npm notice 7.3kB  types/index.test.ts                       
  npm notice 19B    dist/macro.d.ts                           
  npm notice 19B    types/macro.d.ts                          
  npm notice 421B   types/macro.test.ts                       
- npm notice 189B   typings/types.d.ts                        
- npm notice 1.0kB  coverage/clover.xml                       
- npm notice 685B   .eslintrc.yml                             
- npm notice 190B   .travis.yml                               
- npm notice 143B   .github/depedabot.yml   

npm pack differences: this PR vs [email protected]

- .babelrc                              
- .eslintignore                         
- .nvmrc                                
  LICENSE                               
  dist/cjs/index.js                     
  dist/es/index.js                      
  src/index.js                          
  dist/cjs/macro.js                     
  dist/es/macro.js                      
  src/macro.js                          
- tests/macro.test.js                   
- rollup.config.js                      
  package.json                          
- tsconfig.json                         
  types/tsconfig.json                   
  types/tslint.json                     
  README.md                             
- templates/index.js.njk                
- tests/__snapshots__/macro.test.js.snap
- generateTemplates.ts                  
  dist/index.d.ts                       
  types/index.d.ts                      
  types/index.test.ts                   
  dist/macro.d.ts                       
  types/macro.d.ts                      
  types/macro.test.ts                   
- .eslintrc.yml                         
- .travis.yml                           

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.

1 participant