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

chore: exclude .tsbuildinfo from files, reduce install size #2119

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

promer94
Copy link
Collaborator

Before
npm notice 
npm notice 📦  [email protected]
npm notice === Tarball Contents === 
npm notice 119B   _internal/dist/_internal/constants.d.ts              
npm notice 1.1kB  _internal/dist/_internal/index.d.ts                  
npm notice 34.4kB _internal/dist/_internal/tsconfig.tsbuildinfo        
npm notice 11.5kB _internal/dist/_internal/types.d.ts                  
npm notice 299B   _internal/dist/_internal/utils/cache.d.ts            
npm notice 509B   _internal/dist/_internal/utils/config-context.d.ts   
npm notice 292B   _internal/dist/_internal/utils/config.d.ts           
npm notice 79B    _internal/dist/_internal/utils/devtools.d.ts         
npm notice 331B   _internal/dist/_internal/utils/env.d.ts              
npm notice 123B   _internal/dist/_internal/utils/global-state.d.ts     
npm notice 55B    _internal/dist/_internal/utils/hash.d.ts             
npm notice 795B   _internal/dist/_internal/utils/helper.d.ts           
npm notice 181B   _internal/dist/_internal/utils/merge-config.d.ts     
npm notice 47B    _internal/dist/_internal/utils/middleware-preset.d.ts
npm notice 576B   _internal/dist/_internal/utils/mutate.d.ts           
npm notice 1.8kB  _internal/dist/_internal/utils/normalize-args.d.ts   
npm notice 197B   _internal/dist/_internal/utils/preload.d.ts          
npm notice 64B    _internal/dist/_internal/utils/resolve-args.d.ts     
npm notice 98B    _internal/dist/_internal/utils/serialize.d.ts        
npm notice 257B   _internal/dist/_internal/utils/state.d.ts            
npm notice 188B   _internal/dist/_internal/utils/subscribe-key.d.ts    
npm notice 49B    _internal/dist/_internal/utils/timestamp.d.ts        
npm notice 111B   _internal/dist/_internal/utils/use-swr-config.d.ts   
npm notice 232B   _internal/dist/_internal/utils/web-preset.d.ts       
npm notice 144B   _internal/dist/_internal/utils/with-middleware.d.ts  
npm notice 35.3kB _internal/dist/index.esm.js                          
npm notice 36.4kB _internal/dist/index.js                              
npm notice 35.3kB _internal/dist/index.mjs                             
npm notice 377B   _internal/package.json                               
npm notice 1.1kB  LICENSE                                              
npm notice 3.6kB  README.md                                            
npm notice 473B   core/dist/core/index.d.ts                            
npm notice 35.5kB core/dist/core/tsconfig.tsbuildinfo                  
npm notice 2.6kB  core/dist/core/use-swr.d.ts                          
npm notice 26.2kB core/dist/index.esm.js                               
npm notice 26.8kB core/dist/index.js                                   
npm notice 26.2kB core/dist/index.mjs                                  
npm notice 430B   core/package.json                                    
npm notice 155B   immutable/dist/immutable/index.d.ts                  
npm notice 35.8kB immutable/dist/immutable/tsconfig.tsbuildinfo        
npm notice 460B   immutable/dist/index.esm.js                          
npm notice 753B   immutable/dist/index.js                              
npm notice 460B   immutable/dist/index.mjs                             
npm notice 393B   immutable/package.json                               
npm notice 14.0kB infinite/dist/index.esm.js                           
npm notice 14.4kB infinite/dist/index.js                               
npm notice 14.0kB infinite/dist/index.mjs                              
npm notice 495B   infinite/dist/infinite/index.d.ts                    
npm notice 36.0kB infinite/dist/infinite/tsconfig.tsbuildinfo          
npm notice 2.9kB  infinite/dist/infinite/types.d.ts                    
npm notice 428B   infinite/package.json                                
npm notice 8.6kB  mutation/dist/index.esm.js                           
npm notice 8.8kB  mutation/dist/index.js                               
npm notice 8.6kB  mutation/dist/index.mjs                              
npm notice 236B   mutation/dist/mutation/index.d.ts                    
npm notice 36.0kB mutation/dist/mutation/tsconfig.tsbuildinfo          
npm notice 1.9kB  mutation/dist/mutation/types.d.ts                    
npm notice 392B   mutation/package.json                                
npm notice 4.7kB  package.json                                         
npm notice === Tarball Details === 
npm notice name:          swr                                     
npm notice version:       2.0.0-beta.6                            
npm notice filename:      swr-2.0.0-beta.6.tgz                    
npm notice package size:  117.6 kB                                
npm notice unpacked size: 473.2 kB                                
npm notice shasum:        acce74271184f00ed0583ec1fcfbab98ab82ae64
npm notice integrity:     sha512-1UUeqIyMa5M40[...]dFH3aBftkmNGA==
npm notice total files:   59                                      
npm notice 
swr-2.0.0-beta.6.tgz
After
npm notice 
npm notice 📦  [email protected]
npm notice === Tarball Contents === 
npm notice 119B   _internal/dist/_internal/constants.d.ts              
npm notice 1.1kB  _internal/dist/_internal/index.d.ts                  
npm notice 11.5kB _internal/dist/_internal/types.d.ts                  
npm notice 299B   _internal/dist/_internal/utils/cache.d.ts            
npm notice 509B   _internal/dist/_internal/utils/config-context.d.ts   
npm notice 292B   _internal/dist/_internal/utils/config.d.ts           
npm notice 79B    _internal/dist/_internal/utils/devtools.d.ts         
npm notice 331B   _internal/dist/_internal/utils/env.d.ts              
npm notice 123B   _internal/dist/_internal/utils/global-state.d.ts     
npm notice 55B    _internal/dist/_internal/utils/hash.d.ts             
npm notice 795B   _internal/dist/_internal/utils/helper.d.ts           
npm notice 181B   _internal/dist/_internal/utils/merge-config.d.ts     
npm notice 47B    _internal/dist/_internal/utils/middleware-preset.d.ts
npm notice 576B   _internal/dist/_internal/utils/mutate.d.ts           
npm notice 1.8kB  _internal/dist/_internal/utils/normalize-args.d.ts   
npm notice 197B   _internal/dist/_internal/utils/preload.d.ts          
npm notice 64B    _internal/dist/_internal/utils/resolve-args.d.ts     
npm notice 98B    _internal/dist/_internal/utils/serialize.d.ts        
npm notice 257B   _internal/dist/_internal/utils/state.d.ts            
npm notice 188B   _internal/dist/_internal/utils/subscribe-key.d.ts    
npm notice 49B    _internal/dist/_internal/utils/timestamp.d.ts        
npm notice 111B   _internal/dist/_internal/utils/use-swr-config.d.ts   
npm notice 232B   _internal/dist/_internal/utils/web-preset.d.ts       
npm notice 144B   _internal/dist/_internal/utils/with-middleware.d.ts  
npm notice 35.3kB _internal/dist/index.esm.js                          
npm notice 36.4kB _internal/dist/index.js                              
npm notice 35.3kB _internal/dist/index.mjs                             
npm notice 377B   _internal/package.json                               
npm notice 1.1kB  LICENSE                                              
npm notice 3.6kB  README.md                                            
npm notice 473B   core/dist/core/index.d.ts                            
npm notice 2.6kB  core/dist/core/use-swr.d.ts                          
npm notice 26.2kB core/dist/index.esm.js                               
npm notice 26.8kB core/dist/index.js                                   
npm notice 26.2kB core/dist/index.mjs                                  
npm notice 430B   core/package.json                                    
npm notice 155B   immutable/dist/immutable/index.d.ts                  
npm notice 460B   immutable/dist/index.esm.js                          
npm notice 753B   immutable/dist/index.js                              
npm notice 460B   immutable/dist/index.mjs                             
npm notice 393B   immutable/package.json                               
npm notice 14.0kB infinite/dist/index.esm.js                           
npm notice 14.4kB infinite/dist/index.js                               
npm notice 14.0kB infinite/dist/index.mjs                              
npm notice 495B   infinite/dist/infinite/index.d.ts                    
npm notice 2.9kB  infinite/dist/infinite/types.d.ts                    
npm notice 428B   infinite/package.json                                
npm notice 8.6kB  mutation/dist/index.esm.js                           
npm notice 8.8kB  mutation/dist/index.js                               
npm notice 8.6kB  mutation/dist/index.mjs                              
npm notice 236B   mutation/dist/mutation/index.d.ts                    
npm notice 1.9kB  mutation/dist/mutation/types.d.ts                    
npm notice 392B   mutation/package.json                                
npm notice 4.7kB  package.json                                         
npm notice === Tarball Details === 
npm notice name:          swr                                     
npm notice version:       2.0.0-beta.6                            
npm notice filename:      swr-2.0.0-beta.6.tgz                    
npm notice package size:  66.5 kB                                 
npm notice unpacked size: 295.5 kB                                
npm notice shasum:        69c8c527db047572135ddf11a8862f9e294d5922
npm notice integrity:     sha512-6xThP25thR9wn[...]bQw+pEa+V0wcg==
npm notice total files:   54                                      
npm notice 
swr-2.0.0-beta.6.tgz

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cb51ead:

Sandbox Source
SWR-Basic Configuration
SWR-States Configuration
SWR-Infinite Configuration
SWR-SSR Configuration

package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
@huozhi huozhi merged commit fbcb891 into vercel:main Aug 13, 2022
@promer94 promer94 deleted the install-size branch March 5, 2023 08:55
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.

2 participants