Skip to content

@kekkai/blueprint / OwnedPackage

Interface: OwnedPackage ​

Defined in: src/config/types.ts:17

A package a layer owns, restricting where it may be imported.

Properties ​

exempt? ​

optional exempt?: string[]

Defined in: src/config/types.ts:25

File globs exempt from this restriction.


imports? ​

optional imports?: string[]

Defined in: src/config/types.ts:21

Restrict to specific named imports, e.g. ['createContext'].


package ​

package: string

Defined in: src/config/types.ts:19

Package / module specifier, e.g. axios or react.


pattern? ​

optional pattern?: boolean

Defined in: src/config/types.ts:23

Treat package as a glob group instead of an exact path.