{"_id":"@anonymousmister/crane-jib-tool","_rev":"14-c195c4e66034796adb8e5bf4c09ed409","name":"@anonymousmister/crane-jib-tool","dist-tags":{"latest":"2.1.4"},"versions":{"2.0.1-snapshot":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.1-snapshot","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.1-snapshot","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"d770e3f87946d6ed0c9ad61fa24c791fadb2d49d","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.1-snapshot.tgz","fileCount":4,"integrity":"sha512-h7vTnJfXlbB633VeNepZYas0br7Yw6eprncirALQQdFPH4kpEyk08RkZipUkC9lDcffVj43JAt1poE39rI7QPg==","signatures":[{"sig":"MEUCIQCqlu9eYAgFaNQs1eeZdwRWL/fvPVMO7LRrB3uVJw7tigIgbyFolmt9RJsRJEAPu342PHu2Hf2q/Q/3W0yPSZGDfBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10261},"type":"module","gitHead":"a87fed40a29c0c77865fbe4183e756d31e0cca3a","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.1-snapshot_1766850577018_0.765857910785438","host":"s3://npm-registry-packages-npm-production"}},"2.0.1-snapshot2":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.1-snapshot2","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.1-snapshot2","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"b4d35bd91955c6ad5f3eca069cb3f401c8deee19","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.1-snapshot2.tgz","fileCount":6,"integrity":"sha512-ShZbspufgoMA4r1WGFJN1hAatJu6p5H4ikUJ4NQfjc/Fj8PycA5gphZ/xOo+efa77OSUvss2qTRGLVDTgacFOQ==","signatures":[{"sig":"MEUCIEN4dlzhUZZU1K8V08ZjW1E6FSf6Ti1HIUjQ7KV1Yhq3AiEAlVsolb6LvTigYUKw+f4+fAr/XPyhviBTObSgDmW4Rlk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7120817},"type":"module","gitHead":"a87fed40a29c0c77865fbe4183e756d31e0cca3a","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.1-snapshot2_1766884809447_0.735387823740068","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.2","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.2","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"eb8143b8cd4dfbe41b09326adb375765811578a2","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.2.tgz","fileCount":6,"integrity":"sha512-js/rYvEtrloEWDGNLvHZhpbY2Xn2LrkKdqdP4awoNAFVIvxI0PS3mNlWhvgekROkjdspY19WczifE4/jpv4GZw==","signatures":[{"sig":"MEUCIQCjSOOTQq0DbSo6bJPYOVHC6ecLfX7TV42BUwX++OMzAAIgZSXhSU/DEJj+eI0CGBjPPgGmYSPKXhtuo74IYeI5I48=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7122946},"type":"module","gitHead":"71c9a510ce5a900353c4dc070fc8bbd0fa1ed0e6","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.2_1766972202546_0.3652671736419888","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.3","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.3","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"1d78aad2f60f35c61339761a9cf4c67115efe8d8","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.3.tgz","fileCount":6,"integrity":"sha512-fsJ1A8/U5VFmMijnt2QFf5IUiRtfVY4bDH0iMR0q4ET8XHXPI166rGCIWYq5L4F8SbNfcsn0ceWRPLrFgTsjFg==","signatures":[{"sig":"MEQCIG0SFybljhCJTbLflWYxJmf1IxePYuUZvadLo5jHezlHAiBvVYwortTdIvhiUR4Fas/qieS2ng/smJ+JTp2s11Qauw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7125410},"type":"module","gitHead":"7427305afb36a0b919790ba91e06bc695410c313","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.3_1766973020160_0.14181260400072127","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.4","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.4","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"93929a5937c9d4b20f744bde7cdcb2ef8c97f5c4","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.4.tgz","fileCount":7,"integrity":"sha512-OQicZ8SayNlm5odVv9MYK/oulkn9xysLbpsjXpR2lEzOIEk5E5mxEpHqiQ3jMQldXc83ALalg1tuObNY65kXiA==","signatures":[{"sig":"MEYCIQC+gyalG1thHBGU59GVzpghycyBMGOpXMe/7kWOLdzUswIhANL5KcJ5ejcv80snRS5RCBQLljCm+sZ4675IYOfVnZX1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10741672},"type":"module","gitHead":"24cab18ed9814def9954300649db1ec099be73d8","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.4_1767079899463_0.044056248724916536","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.5","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.5","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"09bdc36c4917b083d42416d6a54bfcb942c8b160","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.5.tgz","fileCount":7,"integrity":"sha512-SAqRKtaTmcYH/hUSCKY44Pj2ZBKYTd6ZwauegRyT3PdRTDVgFquz1O/RUwgQ8MkcANO31OWrodKJDDEAGFRJeg==","signatures":[{"sig":"MEYCIQCgrvLbRvwXGJCFNBWT0xHqB+oJZlDO84CdxAP0oS383gIhALa/1u4qS6bt/2nREzWQEJjTL1R0x0QphfQZzKV2aCou","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10741562},"type":"module","gitHead":"8ef025f97e4afd8450395976c6dcff6b79303a95","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.5_1767080388312_0.26849475304430204","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"@anonymousmister/crane-jib-tool","version":"2.0.6","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.0.6","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"2eba1ff0268a4d3246bf7d16d69bac325163d13a","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.0.6.tgz","fileCount":6,"integrity":"sha512-hkqqwn8p/Q3n+jM4k/lGCxw6/MDBf5otUfAVeWXMJpH/D1f8XzXrfryCKPucpruPu9oP5ZJEqZ9MP0lIDoNIrg==","signatures":[{"sig":"MEUCIGKVh6HIqzcb8vz/D9uPoMnNrvLeglaYkqc0bNGkOzpxAiEA4M/5hQtehCose+9xsKQd2WEKTFIrzMV5LmRQA3oQPr8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7334389},"type":"module","gitHead":"2daa0c3e692d997f42082fd8e1a5cde072a71f05","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.0.6_1767775518162_0.5115694660709693","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@anonymousmister/crane-jib-tool","version":"2.1.1","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.1.1","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"df473206f6f7002436d10c854140d7f48e343c42","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.1.1.tgz","fileCount":7,"integrity":"sha512-8scybbdx5Flj4K7/hYC2b+DesJQBkeSgz/GeGb1fZMw/gcbLYjh6jQHIOMjJWtpqeAeUJziLj+3ZfpzlfqPVbA==","signatures":[{"sig":"MEUCIQCO69dG+dOkyw7MzqfnnXnev7LCFiPBqjZ5s6qZlRPmLwIgDKGxXJhk+8N6/20vEseFaHrl6B2Wn8HyZs413zE4xWw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7346024},"type":"module","gitHead":"631720695d7f2e45a80b2f7e576ccd76e0e228ac","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.1.1_1770360192265_0.6038502205462306","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@anonymousmister/crane-jib-tool","version":"2.1.2","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.1.2","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"54805010181e5eb59342d29fd00e8bfdd5a34063","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.1.2.tgz","fileCount":7,"integrity":"sha512-G/7DBDGWJZXS6ClZg3y7dmTCtqwgBv0233dYd/ilnOYwphbCDeduAro8JwqcIUvYMRgP9I/gGjM9+oJXRnazYA==","signatures":[{"sig":"MEUCIQCKCthoPn7YevfSX8HLROQ1MQ3BobxkdlOJRbn0OmmVGwIgRtx73we+vg1V7VAcMIAIiK5sBkLgFK7IlZkhEKsTBrs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7347488},"type":"module","gitHead":"693d2f0d293452644214c640916be1bef7b188da","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.1.2_1770366573913_0.199186434930134","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"@anonymousmister/crane-jib-tool","version":"2.1.3","keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","_id":"@anonymousmister/crane-jib-tool@2.1.3","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"bin":{"crane-jib-tool":"bin/cli.js"},"dist":{"shasum":"8b332371815014016062d982d3163deda7a9521c","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.1.3.tgz","fileCount":7,"integrity":"sha512-XQOixZAFo8hHflx9ewwjAYTnxOwHSIRCxQCo4SET+n8RZcrFq2Rexq7aog1y1Cd8m//MupPaZGytt1fUahGLOg==","signatures":[{"sig":"MEUCIQCfkTOwcT6+hq81sZwhRfvU7qVn/VfvWM8NHpl5GVE92QIgfD473cIKJEXHzkAz03oOTdzjsIktZEou9+zJe4XkITU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7347640},"type":"module","gitHead":"0e719fbe14e025bdbf0ee961a2ab4cd6aae16d84","scripts":{"postinstall":"node bin/install.js"},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"repository":{"url":"git+https://github.com/AnonymousMister/crane-jib-tool.git","type":"git"},"_npmVersion":"10.9.3","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.2","adm-zip":"^0.5.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crane-jib-tool_2.1.3_1770369479608_0.8267447926091471","host":"s3://npm-registry-packages-npm-production"}},"2.1.4":{"name":"@anonymousmister/crane-jib-tool","version":"2.1.4","description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","type":"module","bin":{"crane-jib-tool":"bin/cli.js"},"repository":{"type":"git","url":"git+https://github.com/AnonymousMister/crane-jib-tool.git"},"scripts":{"postinstall":"node bin/install.js"},"keywords":["crane","jib","docker","nginx","vite"],"author":{"name":"misterzhang"},"license":"MIT","dependencies":{"adm-zip":"^0.5.10","tar":"^7.5.2"},"_id":"@anonymousmister/crane-jib-tool@2.1.4","gitHead":"e4f54f67884e23224bc1620045f602552651eae3","bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-J9gEh+drEcT/gcUAZGccdmmG7lH4/duF0r/e055z3omPqfV1AuHTLmz3OHkfEfFRlJNzOBeUA8cSVJVtFgI7aw==","shasum":"64d2b468575e0acc0c68f9e44dd5517c6e0c800c","tarball":"https://registry.npmjs.org/@anonymousmister/crane-jib-tool/-/crane-jib-tool-2.1.4.tgz","fileCount":5,"unpackedSize":15659,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCytuYfrDKl4Kk2jjznxGJT3FoAwlQdHaZzTLnNT0v8WAIhAM+qnrE/oK0yv9FA7LdqLQ6DOm1qVvTfw8ljkrNV5VwC"}]},"_npmUser":{"name":"misterzhang","email":"1345260334@qq.com"},"directories":{},"maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crane-jib-tool_2.1.4_1770387420103_0.19310652646100057"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-27T15:49:36.911Z","modified":"2026-02-06T14:17:00.379Z","2.0.0-snapshot":"2025-12-27T15:46:47.656Z","2.0.1-snapshot":"2025-12-27T15:49:37.161Z","2.0.1-snapshot2":"2025-12-28T01:20:09.793Z","2.0.2":"2025-12-29T01:36:43.076Z","2.0.3":"2025-12-29T01:50:20.596Z","2.0.4":"2025-12-30T07:31:39.921Z","2.0.5":"2025-12-30T07:39:48.768Z","2.0.6":"2026-01-07T08:45:18.546Z","2.1.1":"2026-02-06T06:43:12.676Z","2.1.2":"2026-02-06T08:29:34.254Z","2.1.3":"2026-02-06T09:18:00.026Z","2.1.4":"2026-02-06T14:17:00.257Z"},"bugs":{"url":"https://github.com/AnonymousMister/crane-jib-tool/issues"},"author":{"name":"misterzhang"},"license":"MIT","homepage":"https://github.com/AnonymousMister/crane-jib-tool#readme","keywords":["crane","jib","docker","nginx","vite"],"repository":{"type":"git","url":"git+https://github.com/AnonymousMister/crane-jib-tool.git"},"description":"基于 Crane 的分层镜像构建工具,模仿 jib 的功能","maintainers":[{"name":"misterzhang","email":"1345260334@qq.com"}],"readme":"\n\n# crane-jib-tool 🚀\n\n一个轻量级、声明式的容器镜像构建工具。无需 Docker 守护进程，通过 `crane-jib-tool` 实现类似 Google Jib 的文件分层打包与推送功能。支持 JSON 模板、INI 配置注入以及动态变量替换。\n\n## ✨ 特性\n\n* **免 Docker 构建**：直接生成 OCI 兼容镜像并推送到远程仓库。\n* **声明式分层**：通过 `crane.yaml` 定义本地文件到镜像路径的精确映射。\n* **动态模板引擎**：支持 `${Variable}` 占位符，可从环境、文件或命令行注入。\n* **内置时间戳**：自动生成 `${TimestampTag}` 变量，支持版本回溯。\n* **多格式支持**：变量源支持 `.yaml` 文件及 `KEY=VALUE` 字符串。\n* **npm 包集成**：方便集成到 npm 项目中，支持 `npx` 调用。\n\n## 📦 安装\n\n### 全局安装\n\n```bash\nnpm install -g @anonymousmister/crane-jib-tool\n# 或者\npnpm add -g @anonymousmister/crane-jib-tool\n```\n\n### 项目内安装\n\n```bash\nnpm install @anonymousmister/crane-jib-tool --save-dev\n# 或者\npnpm add @anonymousmister/crane-jib-tool -D\n```\n\n## 🛠 快速开始\n\n### 1. 准备镜像模板 `crane.yaml`\n\n在项目根目录创建模板文件，使用占位符定义动态内容：\n\n\n```yaml\n# required apiVersion and kind, for compatibility over versions of the cli\napiVersion: jib/v1alpha1\nkind: BuildFile\n\n# full base image specification with detail for manifest lists or multiple architectures\nfrom:\n  image: \"ubuntu\"\n  # set platforms for multi architecture builds, defaults to `linux/amd64`\n  platforms:\n    - \"linux/amd64\"\nto: swr.cn-east-3.myhuaweicloud.com/your-project:tag\n# creation time sets the creation time of the container only\n# can be: millis since epoch (ex: 1000) or an ISO 8601 creation time (ex: 2020-06-08T14:54:36+00:00)\ncreationTime: 2000\n\nformat: Docker # Docker or OCI\n\n# container environment variables\nenvironment:\n  \"KEY1\": \"v1\"\n  \"KEY2\": \"v2\"\n\n# container labels\nlabels:\n  \"label1\": \"l1\"\n  \"label2\": \"l2\"\n\n# specify volume mount points\nvolumes:\n  - \"/volume1\"\n  - \"/volume2\"\n\n# specify exposed ports metadata (port-number/protocol)\nexposedPorts:\n  - \"123/udp\"\n  - \"456\"      # default protocol is tcp\n  - \"789/tcp\"\n\n# the user to run the container (does not affect file permissions)\nuser: \"customUser\"\n\nworkingDirectory: \"/home\"\n\nentrypoint:\n  - \"sh\"\n  - \"script.sh\"\ncmd:\n  - \"--param\"\n  - \"param\"\n\n# file layers of the container\nlayers:\n  properties:                        # file properties applied to all layers\n    filePermissions: \"123\"           # octal file permissions, default is 644\n    directoryPermissions: \"123\"      # octal directory permissions, default is 755\n    user: \"2\"                        # default user is 0\n    group: \"4\"                       # default group is 0\n    timestamp: \"1232\"                # timestamp can be millis since epoch or ISO 8601 format, default is \"Epoch + 1 second\"\n  entries:\n    - name: \"scripts\"                # first layer\n      properties:                    # file properties applied to only this layer\n        filePermissions: \"123\"\n        # see above for full list of properties...\n      files:                         # a list of copy directives constitute a single layer\n        - src: \"project/run.sh\"      # a simple copy directive (inherits layer level file properties)\n          dest: \"/home/run.sh\"       # all 'dest' specifications must be absolute paths on the container\n        - src: \"scripts\"             # a second copy directive in the same layer\n          dest: \"/home/scripts\"\n          excludes:                  # exclude all files matching these patterns\n            - \"**/exclude.me\"\n            - \"**/*.ignore\"\n          includes:                  # include only files matching these patterns\n            - \"**/include.me\"\n          properties:                # file properties applied to only this copy directive\n            filePermissions: \"123\"\n            # see above for full list of properties...  \n    - name: \"images\"                 # second layer, inherits file properties from global\n      files:\n        - src: \"images\"\n          dest: \"/images\"            \n```\n\n### 2. 执行构建\n\n#### 使用全局安装的命令\n\n```bash\n# 基础用法（使用内置时间戳）\ncrane-jib-tool create -c configFile.yaml  \n\n# 覆盖自动生成的 Tag\ncrane-jib-tool create -c configFile.yaml  \n```\n\n#### 使用 npx 调用（项目内安装）\n\n```bash\n# 基础用法（使用内置时间戳）\nnpx crane-jib-tool create -c configFile.yaml  \n\n# 覆盖自动生成的 Tag\nnpx crane-jib-tool create -c configFile.yaml  \n```\n\n### 3. 手动安装二进制文件\n\n如果您需要手动安装 `crane-jib-tool` 二进制文件，可以使用以下命令：\n\n```bash\n# 项目内安装\nnpx crane-jib-tool install\n```\n\n## 📖 详细用法\n\n### 命令列表\n\n| 命令                                                                                         | 描述                             |\n|--------------------------------------------------------------------------------------------|--------------------------------|\n| `crane-jib-tool install`                                                                   | 安装 `crane-jib-tool` 二进制文件      |\n| `crane-jib-tool auth login  <image host>   -u <docker user name >  -p <docker passsword> ` | 登录Docker 仓库                    |\n| `crane-jib-tool create -c <template>`                                                      | 执行镜像构建                         |\n| `crane-jib-tool help`                                                                      | 显示帮助信息                         |\n| 其他命令                                                                                       | 直接转发给 `crane-jib-tool` 二进制文件执行 |\n\n### 变量注入优先级\n\n工具会按以下顺序合并变量（后者覆盖前者）：\n\n1. **系统环境变量** (`process.env`)。\n2. **内置变量**：`${TimestampTag}` (格式: `YYYYMMDDHHMMSS`)。\n3. **文件变量**：通过 `-f config.yaml` 加载。\n4. **命令行变量**：通过 `--val \"KEY=VALUE\"` 直接指定。\n\n### 使用 yaml 文件作为变量源\n\n您可以创建一个 `config.yaml`：\n\n```yaml\nAPP_NAME: wlhy-wj-admin\nVERSION: 2.4.5\n```\n\n然后运行：\n\n```bash\ncrane-jib-tool create -c configFile.yaml   -f config.yaml\n```\n\n### 支持的模板格式\n\n除了基本的 JSON 模板格式外，`crane-jib-tool` 还支持 YAML 格式的模板文件，例如：\n\n```yaml\napiVersion: jib/v1alpha1\nkind: BuildFile\n\nfrom:\n  image: nginx:1.13.5\n  platforms:\n    - \"linux/amd64\"\n    - \"linux/arm/v7\"\nto: swr.cn-east-3.myhuaweicloud.com/your-project/${APP_NAME}:${TimestampTag}\n\nformat: Docker\n\nexposedPorts:\n  - \"80\"\n  - \"443\"\n\nlayers:\n  entries:\n    - name: \"nginx-conf\"\n      files:\n        - src: \"./nginx.conf\"\n          dest: \"/etc/nginx/conf.d/default.conf\"\n    - name: \"static-assets\"\n      files:\n        - src: \"./dist\"\n          dest: \"/usr/share/nginx/html\"\n```\n\n## 🚀 运行流程说明\n\n1. **变量初始化**：收集环境、内置时间戳及 `-f` 传入的所有参数。\n2. **模板渲染**：将  `crane.yaml` 中的占位符替换为实际数值。\n3. **本地打包**：根据 `layers` 定义，将本地文件临时打包为 `tar` 层。\n4. **合并层**：调用 `layers` 将所有层合并推送到目标仓库。\n5. **修改元数据**：调用 `mutate` 配置 `ExposedPorts` 和 `Env` 变量。\n6. **自动清理**：构建完成后自动删除临时目录。\n\n \n## 📁 目录结构\n\n```\n├── bin/\n│   ├── cli.js              # npm 包入口文件\n│   └── install.js          # 二进制文件安装脚本\n├── examples/               # 示例配置文件\n│   ├── configFile.yaml     # 完整的 YAML 配置示例\n│   ├── example-config-1.yaml # 简单的 YAML 配置示例\n│   └── examples.conf       # Nginx 配置示例\n├── package.json            # npm 包配置\n└── README.md               # 项目文档\n```\n\n","readmeFilename":"README.md"}