package_context 1.0.0 copy "package_context: ^1.0.0" to clipboard
package_context: ^1.0.0 copied to clipboard

Initialize a package's config and dependencies once, and read them from a typed package context.

Changelog #

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2026-08-30 #

Added #

  • PackageConfig and PackageDependencies as the host-facing boundary types.
  • PackageContext with one-time setters and typed getters for config and dependencies.
  • isInitialized, true only when both values are set.
  • refresh to replace an initialized graph in the same process.
  • reset to clear the graph in tests.
1
likes
160
points
257
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Initialize a package's config and dependencies once, and read them from a typed package context.

Repository (GitHub)
View/report issues

Topics

#architecture

License

MIT (license)

Dependencies

equatable, meta

More

Packages that depend on package_context