netlify / zip-it-and-ship-it

Intelligently prepare Node.js Lambda functions for deployment
https://www.npmjs.com/package/@netlify/zip-it-and-ship-it
MIT License
316 stars 35 forks source link

fix: export manifest types #1724

Closed Skn0tt closed 7 months ago

Skn0tt commented 7 months ago

See https://github.com/netlify/cli/pull/6503#discussion_r1572029476

github-actions[bot] commented 7 months ago

⏱ Benchmark results

Comparing with a2071a6e606cc1434fa9d556306bd9dbc7cd7943

largeDepsEsbuild: 1.3s

⬆️ 1.95% increase vs. a2071a6e606cc1434fa9d556306bd9dbc7cd7943

^           1.4s                                                                                          
│   1.3s    ┌──┐    1.3s                    1.3s                                                    1.3s  
│ ──┌──┐────┼──┼────┌──┐────1.3s────1.2s────┌──┐────1.3s────1.3s────1.3s────1.3s────1.3s────1.3s────┌──┐──
│   |  |    |  |    |  |    ┌──┐    ┌──┐    |  |    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend - T-30 (ec7bde9885672878e3e002026ffe4bad9e9c1f8c): 1.4s - T-29 (05b3c1a2a10c04728884c62a027b005871202091): 1.4s - T-28 (393b4900bee89e74f91e05c8c0179bf3f145cb02): 1.5s - T-27 (abcba24aae5b32a9bbde85ba910d1b76913ad31d): 1.4s - T-26 (1b10dd153a662aa9ac658624ab017d4c474f2f90): 1.5s - T-25 (46377da9cc9534cca5836258deeff4e51168985b): 1.5s - T-24 (1a06dacedb7198e969dfcdd3c1081ccce6b6c5c5): 1.4s - T-23 (8a3845d6e1500eba8d07c1e29b1176d5c9ca7d85): 1.5s - T-22 (8ebae9d293d3ffb37e5f82a24e8e6ef1d59fe450): 1.4s - T-21 (655f1a8bb37176c719861ba16a3a3d69308ace2f): 1.5s - T-20 (64ee032943234b2a4def58ab53b00a2f7ee47742): 1.4s - T-19 (f129ca1266824706fe42385f7b20ccade73dfe3d): 1.4s - T-18 (bd3bd46b53aa8bdfaa6a144611f9fb360ceae31e): 1.5s - T-17 (136119a4ffdbce38734e454f6a3f06360974eef1): 1.4s - T-16 (9e82c5a761d0a00fe92cb8221f7e48756f46d06e): 1.5s - T-15 (db2f95984d77640e31e8006978822e134e91700e): 1.5s - T-14 (ee501c7c1f51ee3820b0f8da455854b1a57d05fa): 1.4s - T-13 (2c254891bc87f427c7b69501fafd3c4d18136711): 1.3s - T-12 (51f5e9e2056a13270a29390262c0e06ed5d34f98): 1.3s - T-11 (f947eb3e210c3332aa024c2989626b6d3ce9485f): 1.4s - T-10 (b06d5a278b9effee9a28f0eeb0e0e5f91d48b971): 1.3s - T-9 (06f408ee100ce0f86786598c36c271a60f114293): 1.3s - T-8 (8591222ba252c5747155c6d5165e92e48df51d63): 1.2s - T-7 (95285a7cc8fd8591d4872013fed1da6efcb18267): 1.3s - T-6 (1aefa6ece854070428a6c7ebfe85b183291920e9): 1.3s - T-5 (7c7ce09b5fafebb0a9cf4246472ec27537eb02f8): 1.3s - T-4 (9e71c5b0e8cb870638168c05d1186b5fa92abcd4): 1.3s - T-3 (5b4140bb36d938bb2ed27254340dfee9e9f2e65e): 1.3s - T-2 (becb2ac0c7d7c8f07d114bbed21a559b7f335434): 1.3s - T-1 (a2071a6e606cc1434fa9d556306bd9dbc7cd7943): 1.3s - **T (current commit): 1.3s**

largeDepsNft: 5.5s

⬇️ 1.33% decrease vs. a2071a6e606cc1434fa9d556306bd9dbc7cd7943

^           5.8s                                    5.7s                                                  
│   5.6s    ┌──┐    5.5s            5.5s    5.5s    ┌──┐                            5.5s    5.6s    5.5s  
│ ──┌──┐────┼──┼────┌──┐────5.3s────┌──┐────┌──┐────┼──┼────5.2s────5.3s────5.3s────┌──┐────┌──┐────┌──┐──
│   |  |    |  |    |  |    ┌──┐    |  |    |  |    |  |    ┌──┐    ┌──┐    ┌──┐    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend - T-30 (ec7bde9885672878e3e002026ffe4bad9e9c1f8c): 5.5s - T-29 (05b3c1a2a10c04728884c62a027b005871202091): 5.5s - T-28 (393b4900bee89e74f91e05c8c0179bf3f145cb02): 5.6s - T-27 (abcba24aae5b32a9bbde85ba910d1b76913ad31d): 5.5s - T-26 (1b10dd153a662aa9ac658624ab017d4c474f2f90): 5.8s - T-25 (46377da9cc9534cca5836258deeff4e51168985b): 5.8s - T-24 (1a06dacedb7198e969dfcdd3c1081ccce6b6c5c5): 5.6s - T-23 (8a3845d6e1500eba8d07c1e29b1176d5c9ca7d85): 5.3s - T-22 (8ebae9d293d3ffb37e5f82a24e8e6ef1d59fe450): 5.6s - T-21 (655f1a8bb37176c719861ba16a3a3d69308ace2f): 5.5s - T-20 (64ee032943234b2a4def58ab53b00a2f7ee47742): 5.7s - T-19 (f129ca1266824706fe42385f7b20ccade73dfe3d): 5.5s - T-18 (bd3bd46b53aa8bdfaa6a144611f9fb360ceae31e): 5.7s - T-17 (136119a4ffdbce38734e454f6a3f06360974eef1): 5.4s - T-16 (9e82c5a761d0a00fe92cb8221f7e48756f46d06e): 5.6s - T-15 (db2f95984d77640e31e8006978822e134e91700e): 5.5s - T-14 (ee501c7c1f51ee3820b0f8da455854b1a57d05fa): 5.5s - T-13 (2c254891bc87f427c7b69501fafd3c4d18136711): 5.6s - T-12 (51f5e9e2056a13270a29390262c0e06ed5d34f98): 5.6s - T-11 (f947eb3e210c3332aa024c2989626b6d3ce9485f): 5.8s - T-10 (b06d5a278b9effee9a28f0eeb0e0e5f91d48b971): 5.5s - T-9 (06f408ee100ce0f86786598c36c271a60f114293): 5.3s - T-8 (8591222ba252c5747155c6d5165e92e48df51d63): 5.5s - T-7 (95285a7cc8fd8591d4872013fed1da6efcb18267): 5.5s - T-6 (1aefa6ece854070428a6c7ebfe85b183291920e9): 5.7s - T-5 (7c7ce09b5fafebb0a9cf4246472ec27537eb02f8): 5.2s - T-4 (9e71c5b0e8cb870638168c05d1186b5fa92abcd4): 5.3s - T-3 (5b4140bb36d938bb2ed27254340dfee9e9f2e65e): 5.3s - T-2 (becb2ac0c7d7c8f07d114bbed21a559b7f335434): 5.5s - T-1 (a2071a6e606cc1434fa9d556306bd9dbc7cd7943): 5.6s - **T (current commit): 5.5s**

largeDepsZisi: 10.5s

⬆️ 0.57% increase vs. a2071a6e606cc1434fa9d556306bd9dbc7cd7943

^  10.7s   10.8s                                                                                          
│   ┌──┐    ┌──┐   10.4s    10s    10.3s   10.4s   10.5s   10.2s    10s     10s    10.3s   10.4s   10.5s  
│ ──┼──┼────┼──┼────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐──
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend - T-30 (ec7bde9885672878e3e002026ffe4bad9e9c1f8c): 10.4s - T-29 (05b3c1a2a10c04728884c62a027b005871202091): 10.5s - T-28 (393b4900bee89e74f91e05c8c0179bf3f145cb02): 10.6s - T-27 (abcba24aae5b32a9bbde85ba910d1b76913ad31d): 10.1s - T-26 (1b10dd153a662aa9ac658624ab017d4c474f2f90): 10.7s - T-25 (46377da9cc9534cca5836258deeff4e51168985b): 10.6s - T-24 (1a06dacedb7198e969dfcdd3c1081ccce6b6c5c5): 10.5s - T-23 (8a3845d6e1500eba8d07c1e29b1176d5c9ca7d85): 10.5s - T-22 (8ebae9d293d3ffb37e5f82a24e8e6ef1d59fe450): 10.3s - T-21 (655f1a8bb37176c719861ba16a3a3d69308ace2f): 10.4s - T-20 (64ee032943234b2a4def58ab53b00a2f7ee47742): 10.6s - T-19 (f129ca1266824706fe42385f7b20ccade73dfe3d): 10.4s - T-18 (bd3bd46b53aa8bdfaa6a144611f9fb360ceae31e): 10.9s - T-17 (136119a4ffdbce38734e454f6a3f06360974eef1): 10.2s - T-16 (9e82c5a761d0a00fe92cb8221f7e48756f46d06e): 10.6s - T-15 (db2f95984d77640e31e8006978822e134e91700e): 10.3s - T-14 (ee501c7c1f51ee3820b0f8da455854b1a57d05fa): 10.5s - T-13 (2c254891bc87f427c7b69501fafd3c4d18136711): 10.7s - T-12 (51f5e9e2056a13270a29390262c0e06ed5d34f98): 10.7s - T-11 (f947eb3e210c3332aa024c2989626b6d3ce9485f): 10.8s - T-10 (b06d5a278b9effee9a28f0eeb0e0e5f91d48b971): 10.4s - T-9 (06f408ee100ce0f86786598c36c271a60f114293): 10s - T-8 (8591222ba252c5747155c6d5165e92e48df51d63): 10.3s - T-7 (95285a7cc8fd8591d4872013fed1da6efcb18267): 10.4s - T-6 (1aefa6ece854070428a6c7ebfe85b183291920e9): 10.5s - T-5 (7c7ce09b5fafebb0a9cf4246472ec27537eb02f8): 10.2s - T-4 (9e71c5b0e8cb870638168c05d1186b5fa92abcd4): 10s - T-3 (5b4140bb36d938bb2ed27254340dfee9e9f2e65e): 10s - T-2 (becb2ac0c7d7c8f07d114bbed21a559b7f335434): 10.3s - T-1 (a2071a6e606cc1434fa9d556306bd9dbc7cd7943): 10.4s - **T (current commit): 10.5s**