2.0.18 • Published 3 months ago

@toptal/davinci-code v2.0.18

Weekly downloads
53,799
License
SEE LICENSE IN LI...
Repository
github
Last release
3 months ago

@toptal/davinci-code

Generates code that is compliant with the Frontend Architecture Guidelines. It simplifies creation of modules, components, pages and other code.

Usage

Use it by installing yarn add @toptal/davinci-code in your project.

Commands

Custom templates

To use a custom template from your project to generate components, pages or other files you just need to create those templates following the next format and file paths:

/your-project-root
   /_templates
      /templateName
         /new
            ...hygen template files

Important! You have to keep the structure and the folder names _templates and new are important. templateName will be replaced with your template name, ex. SearchPage, ContentComponent, etc. new folder is a required directory for storing template files.

All the hygen template files have a format of hygen templates.

To create a component from your custom template execute the command:

davinci-code templateName componentName moduleName

Arguments:

  • templateName - name of the custom template
  • moduleName - name of the destination module
  • componentName - name of the React component

IDE Tooling

This package can be used directly in your IDE through these extensions

2.0.18

9 months ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

2 years ago

2.0.13

2 years ago

2.0.14

2 years ago

2.0.12

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.3

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

3 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.7.0

3 years ago

1.6.5

3 years ago

1.6.4

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.5

3 years ago

1.5.7

3 years ago

1.5.6

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.0

4 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0-alpha.19

5 years ago

0.1.0-alpha.18

5 years ago

0.1.0-alpha.17

5 years ago

0.1.0-alpha.16

5 years ago

0.1.0-alpha.15

5 years ago

0.1.0-alpha.14

6 years ago

0.1.0-alpha.13

6 years ago

0.1.0-alpha.12

6 years ago

0.1.0-alpha.11

6 years ago

0.1.0-alpha.10

6 years ago

0.1.0-alpha.9

6 years ago

0.1.0-alpha.8

6 years ago

0.1.0-alpha.5

6 years ago

0.1.0-alpha.4

6 years ago

0.1.0-alpha.3

6 years ago

0.1.0-alpha.2

6 years ago

0.1.0-alpha.1

6 years ago

0.1.0-alpha.0

6 years ago