1.0.7 • Published 11 months ago

rename-component v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Getting Started with Schematics

================================

It includes a schematic that allows you to rename Angular components efficiently.This repository provides a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

Features


Rename Angular Component

Quickly rename an Angular component across your project files.Renames all related component files and updates their respective import statements across module.ts, component.ts, and routing.module.ts files, ensuring that all references are accurately adjusted throughout your project.

Customizable Options

Specify the path, old name, and new name for the component.

Installation


To ensure seamless integration and efficient development, our package is a mandatory addition to your devDependencies To install and use the schematics, you first need to have @angular-devkit/schematics-cli globally installed. You can install it using:

npm install -g @angular-devkit/schematics-cli

npm install --save-dev rename-component

eg: 
npx schematics rename-component:rename-component --path=src/app/hello/hello.component.ts --old=Hello --new=Bye
1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago