Skip to content

relizy / getDetectedPublishConfig

Function: getDetectedPublishConfig() ​

getDetectedPublishConfig(detection, __namedParameters): object

Defined in: src/core/init.ts:269

publishConfig.access and publishConfig.registry shared by the released packages: npm already applies them, they are only the defaults of the questions.

Parameters ​

detection ​

ProjectDetection

__namedParameters ​

goal ​

InitGoal

patterns ​

string[]

Returns ​

object

access? ​

optional access?: "public" | "restricted"

registry? ​

optional registry?: string

Released under the MIT License.