Repository navigation
v1.0.0
Features
-
Folder and File Generation:
- Automatically generates folders and files based on predefined blueprints and builders.
-
Blueprint Support:
- Blueprints are templates for generating files and folders, organized into categories based on the framework or language (e.g., React, Vue, PHP).
- Includes placeholders like
__NAME__for dynamic content in generated files.
-
Builder System:
- Builders are responsible for constructing the file and folder structure using the blueprints.
- Default builders can be extended to support various structures and file formats.
-
Configurable Structure:
- A JSON configuration file (
architect.config.json) defines the structure of the project. - Configurable options for each structure item, such as whether to generate directories, index files, subdirectories, and file/folder naming formats (e.g., PascalCase, snake-case).
- A JSON configuration file (
-
CLI Commands and Options:
- Command syntax:
architect <type> <name>(e.g.,architect molecule MyComponent). - CLI options:
--config: Specify a configuration file path.--output: Define the output directory.--force: Overwrite existing files if they already exist.
- Command syntax:
-
Multiple Language Support:
- Built-in support for multiple languages and frameworks:
- JavaScript
- TypeScript
- React
- React Native
- Vue
- PHP
- Built-in support for multiple languages and frameworks:
-
Customization of Case Formats:
- Supports various case formats for naming files and folders:
- camelCase, PascalCase, kebab-case, snake_case, and more.
- Allows custom case formatting rules for files and folders.
- Supports various case formats for naming files and folders:
-
Project Structure Definitions:
- Define custom structure types (e.g., components, utilities, hooks, constants) with subdirectories and prefixes.
- Control the generation of directories, index files, and case formats for each structure.
-
Extensibility:
- Allows developers to add or modify blueprints and builders for customized project needs.
-
Predefined Languages and Frameworks:
- Predefined languages include:
- React (JavaScript/TypeScript)
- Vue (JavaScript/TypeScript)
- React Native (JavaScript/TypeScript)
- Default Structure Item:
- Define default options for structure items, such as naming conventions or generation settings.