Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rename and or remove a pub package

Tags:

dart

dart-pub

How can I rename or delete packages?

Currently I have a package x that I want to split into separate components. Want to keep the main Name but extend it for these components eg "x a" "x b"

Current workaround would be: I keep the old one ,linking to the 2 new once in the read me page

Thank you.

like image 606
H.R. Avatar asked Jul 27 '13 03:07

H.R.


People also ask

How do you get rid of darts?

First, draw a vertical line from the hem of the garment to the dart point. Cut open this line as well as one of the dart legs. Leave a little bit of paper at the dart point to create a hinge. Close the dart by swinging the side of the pattern over.

What is Pub command?

Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs. Some basic command: Use pub get to get dependencies. Use pub upgrade to upgrade a dependency. Use pub publish to make your library available for others.


1 Answers

See the following response of Nathan Weizenbaum on a similar request :

We don't like deleting packages that people might be depending on. The best thing to do is probably upload a new version with a README that points users to the "redisclient" package (or "redis_client", which conforms better to the package naming conventions).

like image 85
Alexandre Ardhuin Avatar answered Sep 18 '22 04:09

Alexandre Ardhuin