0.0.14 • Published 10 months ago

tlemon-migration-tool v0.0.14

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

code style: prettier

T.Lemon Migration Tool

A tool to migrate html components to T.Lemon Component Library.

Prerequisites

Make sure you have installed T.Lemon Component Library before using this tool.

Click on this link and follow the directions to set up T. Lemon Component Library.

Installation

To install and set up the library, run:

$ npm i tlemon-migration-tool

Configuration

Step 1:

Create tlemon-migration-config.json file in the root of angular project, specify the root directory path.

{"root": ""}

Leave empty for default root path "...\src\app"

Step 2:

Add script in package.json file

"scripts": {
"ng": "...",
.....
"migrate": "node ./node_modules/tlemon-migration-tool/dist/index.js"
}

Usage

To start migration

$ npm run migrate

The migration will result in the replacement of HTML tags are

  1. input
    • Types
      • text
      • password
      • checkbox
      • radio
  2. option
  3. select
  4. textarea
  5. button
  6. img
  7. label
  8. dialog
  9. a
0.0.14

10 months ago

0.0.10

11 months ago

0.0.11

11 months ago

0.0.13

10 months ago

0.0.0

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.3

12 months ago

0.0.1

12 months ago

0.0.2

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

1 year ago