sun6boys / dart_pub

Private pub.dev for packages Flutter Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dart_pub

Private pub.dev for packages Flutter Dart

On server

docker-compose up

Publish package

Add the publish_to property in package's pubspec.yaml

name: my_amazing_package
description: The Package!
version: 1.0.0
author: Author<contact@example.com>
homepage: example.com

publish_to: http://your-server.com

Use command:

flutter pub publish

Using in other projects

Add in package's pubspec.yaml

dependencies:
  my_amazing_package:
    hosted:
      url: http://your-server.com
      version: ˆ1.0.0

About

Private pub.dev for packages Flutter Dart


Languages

Language:Dart 52.6%Language:Dockerfile 41.2%Language:Shell 6.2%