Go to repository

Interface FileDefinitionWithTooling

Models a project type's file definition that has tooling content

interface FileDefinitionWithTooling {
    copyOnEject: boolean;
    copyOnInit: boolean;
    copyOnUpdate: boolean;
    gobstonesScriptsLocation: string[];
    isOverridable: boolean;
    name: keyof ProjectTypeDefinition;
    projectLocation: string[];
    requiresReferenceUpdate: boolean;
    requiresTestDataInjection: boolean;
    toolingFile: string;
}

Hierarchy (view full)

Properties

copyOnEject: boolean

Whether this file should be copied on project ejection.

copyOnInit: boolean

Whether this file should be copied on project initialization.

copyOnUpdate: boolean

Whether this file should be copied on project update.

gobstonesScriptsLocation: string[]

The location of one or more files in the gobstones-script's path.

isOverridable: boolean

Whether this file represents tooling configuration files that can be overwritten with local configurations.

The internal name for this file descriptor. Will automatically be set to the key name when creating the list of files.

projectLocation: string[]

The location that the files should have in the local project's folder.

requiresReferenceUpdate: boolean

Whether this file contains reference to the generic project name that should be updates.

requiresTestDataInjection: boolean

Whether this file requires the data for testing (verdaccio server data) to be inserted to it.

toolingFile: string

The detected tooling file to use. Only present if the file is overridable. The full path of the file is saved. It's automatically calculated.