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: remove .npmignore #2894

Merged
merged 2 commits into from
Oct 13, 2021
Merged

chore: remove .npmignore #2894

merged 2 commits into from
Oct 13, 2021

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Oct 12, 2021

Issue

.npmignore is no longer required as we only publish files from dist-* folders #2873

Description

Remove .npmignore

Testing

Verified that no additional files other than dist-* and ones required by npm are not included in npm pack

npm pack on client-sts
$ pwd
/home/trivikr/workspace/aws-sdk-js-v3/clients/client-sts

$ npm pack --dry-run
npm notice 
npm notice 📦  @aws-sdk/client-sts@3.36.0
npm notice === Tarball Contents === 
npm notice 11.4kB LICENSE                                                         
npm notice 1.8kB  dist-cjs/commands/AssumeRoleCommand.js                          
npm notice 2.0kB  dist-es/commands/AssumeRoleCommand.js                           
npm notice 1.7kB  dist-cjs/commands/AssumeRoleWithSAMLCommand.js                  
npm notice 2.0kB  dist-es/commands/AssumeRoleWithSAMLCommand.js                   
npm notice 1.8kB  dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js           
npm notice 2.1kB  dist-es/commands/AssumeRoleWithWebIdentityCommand.js            
npm notice 51.5kB dist-cjs/protocols/Aws_query.js                                 
npm notice 63.9kB dist-es/protocols/Aws_query.js                                  
npm notice 1.9kB  dist-cjs/commands/DecodeAuthorizationMessageCommand.js          
npm notice 2.3kB  dist-es/commands/DecodeAuthorizationMessageCommand.js           
npm notice 1.1kB  dist-cjs/defaultRoleAssumers.js                                 
npm notice 900B   dist-es/defaultRoleAssumers.js                                  
npm notice 3.5kB  dist-cjs/defaultStsRoleAssumers.js                              
npm notice 4.7kB  dist-es/defaultStsRoleAssumers.js                               
npm notice 2.6kB  dist-cjs/endpoints.js                                           
npm notice 2.7kB  dist-es/endpoints.js                                            
npm notice 1.8kB  dist-cjs/commands/GetAccessKeyInfoCommand.js                    
npm notice 2.1kB  dist-es/commands/GetAccessKeyInfoCommand.js                     
npm notice 1.8kB  dist-cjs/commands/GetCallerIdentityCommand.js                   
npm notice 2.1kB  dist-es/commands/GetCallerIdentityCommand.js                    
npm notice 1.8kB  dist-cjs/commands/GetFederationTokenCommand.js                  
npm notice 2.1kB  dist-es/commands/GetFederationTokenCommand.js                   
npm notice 1.8kB  dist-cjs/commands/GetSessionTokenCommand.js                     
npm notice 2.1kB  dist-es/commands/GetSessionTokenCommand.js                      
npm notice 979B   dist-cjs/index.js                                               
npm notice 165B   dist-cjs/models/index.js                                        
npm notice 556B   dist-es/index.js                                                
npm notice 28B    dist-es/models/index.js                                         
npm notice 8.7kB  dist-cjs/models/models_0.js                                     
npm notice 7.0kB  dist-es/models/models_0.js                                      
npm notice 3.6kB  dist-cjs/runtimeConfig.browser.js                               
npm notice 3.0kB  dist-es/runtimeConfig.browser.js                                
npm notice 4.0kB  dist-cjs/runtimeConfig.js                                       
npm notice 3.5kB  dist-es/runtimeConfig.js                                        
npm notice 649B   dist-cjs/runtimeConfig.native.js                                
npm notice 510B   dist-es/runtimeConfig.native.js                                 
npm notice 1.1kB  dist-cjs/runtimeConfig.shared.js                                
npm notice 945B   dist-es/runtimeConfig.shared.js                                 
npm notice 5.4kB  dist-cjs/STS.js                                                 
npm notice 5.5kB  dist-es/STS.js                                                  
npm notice 2.0kB  dist-cjs/STSClient.js                                           
npm notice 1.9kB  dist-es/STSClient.js                                            
npm notice 3.2kB  package.json                                                    
npm notice 56.6kB CHANGELOG.md                                                    
npm notice 6.1kB  README.md                                                       
npm notice 8.5kB  dist-types/commands/AssumeRoleCommand.d.ts                      
npm notice 1.1kB  dist-types/ts3.4/commands/AssumeRoleCommand.d.ts                
npm notice 12.2kB dist-types/commands/AssumeRoleWithSAMLCommand.d.ts              
npm notice 1.2kB  dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts        
npm notice 13.4kB dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts       
npm notice 1.2kB  dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts 
npm notice 3.7kB  dist-types/protocols/Aws_query.d.ts                             
npm notice 3.7kB  dist-types/ts3.4/protocols/Aws_query.d.ts                       
npm notice 4.3kB  dist-types/commands/DecodeAuthorizationMessageCommand.d.ts      
npm notice 1.3kB  dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts
npm notice 1.2kB  dist-types/defaultRoleAssumers.d.ts                             
npm notice 597B   dist-types/ts3.4/defaultRoleAssumers.d.ts                       
npm notice 1.9kB  dist-types/defaultStsRoleAssumers.d.ts                          
npm notice 1.2kB  dist-types/ts3.4/defaultStsRoleAssumers.d.ts                    
npm notice 121B   dist-types/endpoints.d.ts                                       
npm notice 123B   dist-types/ts3.4/endpoints.d.ts                                 
npm notice 3.8kB  dist-types/commands/GetAccessKeyInfoCommand.d.ts                
npm notice 1.1kB  dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts          
npm notice 2.7kB  dist-types/commands/GetCallerIdentityCommand.d.ts               
npm notice 1.1kB  dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts         
npm notice 13.7kB dist-types/commands/GetFederationTokenCommand.d.ts              
npm notice 1.2kB  dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts        
npm notice 6.0kB  dist-types/commands/GetSessionTokenCommand.d.ts                 
npm notice 1.1kB  dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts           
npm notice 556B   dist-types/index.d.ts                                           
npm notice 28B    dist-types/models/index.d.ts                                    
npm notice 568B   dist-types/ts3.4/index.d.ts                                     
npm notice 29B    dist-types/ts3.4/models/index.d.ts                              
npm notice 71.1kB dist-types/models/models_0.d.ts                                 
npm notice 9.2kB  dist-types/ts3.4/models/models_0.d.ts                           
npm notice 2.4kB  dist-types/runtimeConfig.browser.d.ts                           
npm notice 2.4kB  dist-types/ts3.4/runtimeConfig.browser.d.ts                     
npm notice 2.4kB  dist-types/runtimeConfig.d.ts                                   
npm notice 2.4kB  dist-types/ts3.4/runtimeConfig.d.ts                             
npm notice 2.4kB  dist-types/runtimeConfig.native.d.ts                            
npm notice 2.4kB  dist-types/ts3.4/runtimeConfig.native.d.ts                      
npm notice 415B   dist-types/runtimeConfig.shared.d.ts                            
npm notice 406B   dist-types/ts3.4/runtimeConfig.shared.d.ts                      
npm notice 57.2kB dist-types/STS.d.ts                                             
npm notice 4.7kB  dist-types/ts3.4/STS.d.ts                                       
npm notice 7.7kB  dist-types/STSClient.d.ts                                       
npm notice 4.6kB  dist-types/ts3.4/STSClient.d.ts                                 
npm notice === Tarball Details === 
npm notice name:          @aws-sdk/client-sts                     
npm notice version:       3.36.0                                  
npm notice filename:      aws-sdk-client-sts-3.36.0.tgz           
npm notice package size:  70.2 kB                                 
npm notice unpacked size: 546.3 kB                                
npm notice shasum:        2977220afb582d374d3e14d4789058f6a8fb3a53
npm notice integrity:     sha512-8QzsIZ/MI3PKA[...]xuv/s5clYDSkw==
npm notice total files:   88                                      
npm notice 
aws-sdk-client-sts-3.36.0.tgz

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

foreach parentDir ("clients" "protocol_tests" "lib" "packages")
  for dir in ./$parentDir/*; do (cd "$dir" && rm .npmignore); done
end
@codecov-commenter
Copy link

Codecov Report

Merging #2894 (7e42e39) into main (6dc3d56) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2894   +/-   ##
=======================================
  Coverage   58.57%   58.57%           
=======================================
  Files         558      558           
  Lines       30249    30249           
  Branches     7443     7443           
=======================================
  Hits        17719    17719           
  Misses      12530    12530           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dc3d56...7e42e39. Read the comment docs.

@trivikr trivikr merged commit 820e7a2 into aws:main Oct 13, 2021
@trivikr trivikr deleted the remove-npmignore branch October 13, 2021 19:26
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants