imgix / gatsby

A simple yet powerful integration between Gatsby and imgix
BSD 2-Clause "Simplified" License
30 stars 6 forks source link

Version 2.0.1 broken NPM package, missing dist/ folder #183

Closed asterikx closed 2 years ago

asterikx commented 2 years ago

The package published on NPM for @imgix/gatsby@2.0.1 contains no dist folder and no node_modules. Build outputs referenced by gatsby*.js files and placed in /dist as part of the build are missing, breaking this plugin.

erikmuller@067-032 Downloads % npm pack @imgix/gatsby
npm notice 
npm notice 📦  @imgix/gatsby@2.0.1
npm notice === Tarball Contents === 
npm notice 29.9kB CHANGELOG.md                                                      
npm notice 1.3kB  LICENSE                                                           
npm notice 57.5kB README.md                                                         
npm notice 742B   fragments.js                                                      
npm notice 110B   gatsby-browser.js                                                 
npm notice 104B   gatsby-node.js                                                    
npm notice 102B   gatsby-ssr.js                                                     
npm notice 6.8kB  package.json                                                      
npm notice 1.8kB  src/api/fetchBase64Image.ts                                       
npm notice 1.3kB  src/api/fetchImgixMetadata.ts                                     
npm notice 966B   src/common/ar.ts                                                  
npm notice 1.9kB  src/common/cache.ts                                               
npm notice 32B    src/common/constants.ts                                           
npm notice 713B   src/common/createExternalHelper.ts                                
npm notice 1.1kB  src/common/fpTsUtils.ts                                           
npm notice 2.9kB  src/common/imgix-js-core-wrapper.ts                               
npm notice 1.8kB  src/common/ioTs.ts                                                
npm notice 374B   src/common/log.ts                                                 
npm notice 165B   src/common/number.ts                                              
npm notice 212B   src/common/tsUtils.ts                                             
npm notice 707B   src/common/uri.ts                                                 
npm notice 3.2kB  src/common/utils.ts                                               
npm notice 163B   src/gatsby-browser.ts                                             
npm notice 852B   src/gatsby-node.ts                                                
npm notice 179B   src/gatsby-ssr.ts                                                 
npm notice 89B    src/index.ts                                                      
npm notice 1.8kB  src/modules/gatsby-plugin/buildGatsbyImageDataBaseArgs.ts         
npm notice 1.3kB  src/modules/gatsby-plugin/createImgixBase64FieldConfig.ts         
npm notice 4.9kB  src/modules/gatsby-plugin/createImgixFixedFieldConfig.ts          
npm notice 5.0kB  src/modules/gatsby-plugin/createImgixFluidFieldConfig.ts          
npm notice 10.3kB src/modules/gatsby-plugin/createImgixGatsbyImageDataFieldConfig.ts
npm notice 2.0kB  src/modules/gatsby-plugin/createImgixUrlFieldConfig.ts            
npm notice 189B   src/modules/gatsby-plugin/fieldNames.ts                           
npm notice 10.1kB src/modules/gatsby-plugin/gatsby-node.ts                          
npm notice 4.9kB  src/modules/gatsby-plugin/graphqlTypes.ts                         
npm notice 43B    src/modules/gatsby-plugin/index.ts                                
npm notice 5.2kB  src/modules/gatsby-plugin/objectBuilders.ts                       
npm notice 1.6kB  src/modules/gatsby-plugin/privateTypes.ts                         
npm notice 1.6kB  src/modules/gatsby-plugin/resolveDimensions.ts                    
npm notice 3.9kB  src/modules/gatsby-plugin/typeBuilder.ts                          
npm notice 2.6kB  src/modules/gatsby-transform-url/breakpoints.ts                   
npm notice 763B   src/modules/gatsby-transform-url/common.ts                        
npm notice 7.3kB  src/modules/gatsby-transform-url/gatsbyPluginImage.ts             
npm notice 709B   src/modules/gatsby-transform-url/gatsbyPluginImageComponent.tsx   
npm notice 4.9kB  src/modules/gatsby-transform-url/index.ts                         
npm notice 356B   src/modules/gatsby-transform-url/types.ts                         
npm notice 1.6kB  src/pluginHelpers.browser.ts                                      
npm notice 731B   src/pluginHelpers.ts                                              
npm notice 2.9kB  src/publicTypes.ts                                                
npm notice 1.4kB  types/gatsby.d.ts                                                 
npm notice === Tarball Details === 
npm notice name:          @imgix/gatsby                           
npm notice version:       2.0.1                                   
npm notice filename:      @imgix/gatsby-2.0.1.tgz                 
npm notice package size:  46.9 kB                                 
npm notice unpacked size: 191.1 kB                                
npm notice shasum:        fe7bed80952427523ac5202cab408639876b77d0
npm notice integrity:     sha512-A8e46ht6X+b77[...]VoBkI/R3MUgvw==
npm notice total files:   50                                      
npm notice 
imgix-gatsby-2.0.1.tgz

On a side note, why does the package published on NPM include the /src and /types folders?

sherwinski commented 2 years ago

Hey @asterikx and thanks for bringing this to our attention. We recently changed CI services and it looks like some steps got lost in the mix. We'll look into this to ensure future releases distribute the expected files.

imgix-git-robot commented 2 years ago

:tada: This issue has been resolved in version 2.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: