Interface: AttwOptions
Defined in: src/features/attw.ts:16
Extends
CheckPackageOptions
Properties
entrypoints?
optional entrypoints: string[];Defined in: node_modules/.pnpm/@arethetypeswrong+core@0.18.2/node_modules/@arethetypeswrong/core/dist/checkPackage.d.ts:9
Exhaustive list of entrypoints to check. The package root is ".". Specifying this option disables automatic entrypoint discovery, and overrides the includeEntrypoints and excludeEntrypoints options.
Inherited from
CheckPackageOptions.entrypointsentrypointsLegacy?
optional entrypointsLegacy: boolean;Defined in: node_modules/.pnpm/@arethetypeswrong+core@0.18.2/node_modules/@arethetypeswrong/core/dist/checkPackage.d.ts:22
Whether to automatically consider all published files as entrypoints in the absence of any other detected or configured entrypoints.
Inherited from
CheckPackageOptions.entrypointsLegacyexcludeEntrypoints?
optional excludeEntrypoints: (string | RegExp)[];Defined in: node_modules/.pnpm/@arethetypeswrong+core@0.18.2/node_modules/@arethetypeswrong/core/dist/checkPackage.d.ts:17
Entrypoints to exclude from checking.
Inherited from
CheckPackageOptions.excludeEntrypointsincludeEntrypoints?
optional includeEntrypoints: string[];Defined in: node_modules/.pnpm/@arethetypeswrong+core@0.18.2/node_modules/@arethetypeswrong/core/dist/checkPackage.d.ts:13
Entrypoints to check in addition to automatically discovered ones.
Inherited from
CheckPackageOptions.includeEntrypointslevel?
optional level: "error" | "warn";Defined in: src/features/attw.ts:38
The level of the check.
The available levels are:
error: fails the buildwarn: warns the build
Default
'warn'profile?
optional profile: "strict" | "node16" | "esmOnly";Defined in: src/features/attw.ts:28
Profiles select a set of resolution modes to require/ignore. All are evaluated but failures outside of those required are ignored.
The available profiles are:
strict: requires all resolutionsnode16: ignores node10 resolution failuresesmOnly: ignores CJS resolution failures
Default
'strict'