[英]What is the official way to host dart / flutter package in enterprise (private) environment?
Since the package pub_server is discontinued.由于 package pub_server已停产。 But get recommended for that use case in the README.md from pub-dev但是在pub-dev 的 README.md中为该用例推荐
So I'm a bit confused about what is now the recommended way.所以我对现在推荐的方式有点困惑。
I know about the package unpub but it doesn't feel right to use it in an environment.我知道 package unpub但在环境中使用它感觉不对。
Is there something official from the dart team which is not discontinued? dart团队有什么官方没有停产吗?
You can use internal private pub server.您可以使用内部私人 pub 服务器。 Flutter team use the same for Internal private packages and plugins. Flutter 团队对内部私有包和插件使用相同的。
https://pub.dev/packages/unpub https://pub.dev/packages/unpub
To use this server you have to install mongodb.要使用此服务器,您必须安装 mongodb。
https://docs.mongodb.com/manual/installation/ https://docs.mongodb.com/manual/installation/
If just published unpubd which is a clone of the pub.dev server that you can run internally.如果刚刚发布了 unpubd,它是您可以在内部运行的 pub.dev 服务器的克隆。
Its essentially an installer for unpub.它本质上是 unpub 的安装程序。
https://pub.dev/packages/unpubd https://pub.dev/packages/unpubd
If just published unpubd which is a clone of the pub.dev server that you can run internally.如果刚刚发布了 unpubd,它是您可以在内部运行的 pub.dev 服务器的克隆。
https://pub.dev/packages/unpubd https://pub.dev/packages/unpubd
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.