Skip to content

v1.0.0

Choose a tag to compare

@Shimon42 Shimon42 released this 17 Sep 19:39
· 8 commits to main since this release

Features

  1. Folder and File Generation:

    • Automatically generates folders and files based on predefined blueprints and builders.
  2. 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.
  3. 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.
  4. 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).
  5. 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.
  6. Multiple Language Support:

    • Built-in support for multiple languages and frameworks:
      • JavaScript
      • TypeScript
      • React
      • React Native
      • Vue
      • PHP
  7. 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.
  8. 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.
  9. Extensibility:

    • Allows developers to add or modify blueprints and builders for customized project needs.
  10. Predefined Languages and Frameworks:

  • Predefined languages include:
    • React (JavaScript/TypeScript)
    • Vue (JavaScript/TypeScript)
    • React Native (JavaScript/TypeScript)
  1. Default Structure Item:
  • Define default options for structure items, such as naming conventions or generation settings.