dpk 0.1.7 copy "dpk: ^0.1.7" to clipboard
dpk: ^0.1.7 copied to clipboard

An alternative package manager for Dart

Getting started with patches #

Generate the pub_packages directory.

dpk pub get

Initialize patches. #

dpk patch init

This will intialize a git repository in the pub_packages directory, and add one commit with the initial state of the dependencies.

Generate the patch files after you've made changes to the dependencies. #

dpk patch generate

This will generate a patch file for each dependency that has changed using the git diff command. This will delete any existing patch files before generating new ones, so if you have any unapplied patches, apply them first, else you will lose them.

Apply the patch files to the dependencies. #

dpk patch apply

This will apply the patch files to the dependencies. It will undo all previous applied patches, then apply the new ones. Therefore, this can also be used to delete patches by deleting any patch file and running this command.

1
likes
0
points
387
downloads

Publisher

unverified uploader

Weekly Downloads

An alternative package manager for Dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, cli_launcher, collection, freezed_annotation, get_it, glob, json_annotation, logging, path, prompts, pub_semver, pubspec_parse, yaml, yaml_edit

More

Packages that depend on dpk