Skip to main content

pana_workspace 0.1.1 copy "pana_workspace: ^0.1.1" to clipboard
pana_workspace: ^0.1.1 copied to clipboard

Scores a package, or the packages of a pub workspace, with pana before they are published, resolving siblings from the checkout, and fails when one loses pub.dev points.

example/README.md

pana_workspace examples #

Score every package of the workspace that can be published:

dart pub global activate pana_workspace
cd my_workspace
pana_workspace check

Score a package that is not in a workspace, from anywhere inside it:

cd my_package
pana_workspace check

Score one package from a GitHub Actions workflow:

- uses: actions/checkout@v7
- uses: subosito/flutter-action@v2
- uses: bluefireteam/pana_workspace@v0
  with:
    packages: my_package

Use the package server and the report check from Dart:

import 'package:pana_workspace/pana_workspace.dart';

Future<void> main() async {
  final workspace = Workspace.load(Workspace.findRoot('.')!);
  final server = await PackageServer.start(workspace);
  print('pana --hosted-url ${server.url} <package> <version>');
}

The fixture workspace that the tests score has a package that depends on an unpublished version of its sibling.

2
likes
160
points
120
downloads

Documentation

API reference

Publisher

verified publisherblue-fire.xyz

Weekly Downloads

Scores a package, or the packages of a pub workspace, with pana before they are published, resolving siblings from the checkout, and fails when one loses pub.dev points.

Repository (GitHub)
View/report issues
Contributing

Topics

#pana #workspace #monorepo #ci

License

MIT (license)

Dependencies

args, glob, logging, pana, path, tar, yaml

More

Packages that depend on pana_workspace