@nestjs/schematics
- Version 10.2.3
- Published
- 192 kB
- 5 dependencies
- MIT license
Install
npm i @nestjs/schematics
yarn add @nestjs/schematics
pnpm add @nestjs/schematics
Overview
Nest - modern, fast, powerful node.js web framework (@schematics)
Index
Variables
Functions
Classes
Interfaces
Variables
variable DEFAULT_APP_NAME
const DEFAULT_APP_NAME: string;
variable DEFAULT_APPS_PATH
const DEFAULT_APPS_PATH: string;
variable DEFAULT_AUTHOR
const DEFAULT_AUTHOR: string;
variable DEFAULT_DESCRIPTION
const DEFAULT_DESCRIPTION: string;
variable DEFAULT_DIR_ENTRY_APP
const DEFAULT_DIR_ENTRY_APP: string;
variable DEFAULT_LANGUAGE
const DEFAULT_LANGUAGE: string;
variable DEFAULT_LIB_PATH
const DEFAULT_LIB_PATH: string;
variable DEFAULT_PATH_NAME
const DEFAULT_PATH_NAME: string;
variable DEFAULT_VERSION
const DEFAULT_VERSION: string;
variable PROJECT_TYPE
const PROJECT_TYPE: { LIBRARY: string; APPLICATION: string };
variable TEST_ENV
const TEST_ENV: string;
Functions
function isInRootDirectory
isInRootDirectory: (host: Tree, extraFiles?: string[]) => boolean;
function mergeSourceRoot
mergeSourceRoot: <T extends { sourceRoot?: string; path?: string } = any>( options: T) => Rule;
function normalizeToKebabOrSnakeCase
normalizeToKebabOrSnakeCase: (str: string) => string;
Classes
class MetadataManager
class MetadataManager {}
constructor
constructor(content: string);
method insert
insert: ( metadata: string, symbol: string, staticOptions?: DeclarationOptions['staticOptions']) => string | undefined;
class ModuleDeclarator
class ModuleDeclarator {}
constructor
constructor( imports?: ModuleImportDeclarator, metadata?: ModuleMetadataDeclarator);
method declare
declare: (content: string, options: DeclarationOptions) => string;
class ModuleFinder
class ModuleFinder {}
constructor
constructor(tree: Tree);
method find
find: (options: FindOptions) => Path | null;
class ModuleImportDeclarator
class ModuleImportDeclarator {}
constructor
constructor(solver?: PathSolver);
method declare
declare: (content: string, options: DeclarationOptions) => string;
class ModuleMetadataDeclarator
class ModuleMetadataDeclarator {}
method declare
declare: (content: string, options: DeclarationOptions) => string;
class NameParser
class NameParser {}
method parse
parse: (options: ParseOptions) => Location;
class PathSolver
class PathSolver {}
method relative
relative: (from: Path, to: Path) => string;
Interfaces
interface DeclarationOptions
interface DeclarationOptions {}
interface FindOptions
interface FindOptions {}
interface ParseOptions
interface ParseOptions {}
Package Files (11)
- dist/index.d.ts
- dist/lib/defaults.d.ts
- dist/utils/formatting.d.ts
- dist/utils/metadata.manager.d.ts
- dist/utils/module-import.declarator.d.ts
- dist/utils/module-metadata.declarator.d.ts
- dist/utils/module.declarator.d.ts
- dist/utils/module.finder.d.ts
- dist/utils/name.parser.d.ts
- dist/utils/path.solver.d.ts
- dist/utils/source-root.helpers.d.ts
Dependencies (5)
Dev Dependencies (19)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@nestjs/schematics
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@nestjs/schematics)
- HTML<a href="https://www.jsdocs.io/package/@nestjs/schematics"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4461 ms. - Missing or incorrect documentation? Open an issue for this package.