bynk.package.dev_dependency_in_source
Error A commons, context or adapter reaches a [dev-dependencies] alias, which only a suite may use.
A [dev-dependencies] package is there for the project's suites, and a deployable build leaves suites out, so a package that only suites need is never compiled into it. A context or commons that reached one would break that build, so only a suite may. If the source needs the package, move its entry to [dependencies]; otherwise keep the use in a suite.
Example
[dev-dependencies]lib = { package = "acme/lib", path = "pkg/lib" }
// shop.bynkuses lib.notify // ✗ a `[dev-dependencies]` alias is for suites
// bynk.toml[dependencies] // ✓ the entry moved herelib = { package = "acme/lib", path = "pkg/lib" }In the Book
See also
- Every code in its category, Packages, on the diagnostic index.
bynk explain bynk.package.dev_dependency_in_sourceshows the same from the installed toolchain, without a network.