Skip to content

Releases: Amphore-Dev/Architect

v1.3.0 - TStructureItem.suffix, TStructureItem.language fixes, fixes

Choose a tag to compare

@Shimon42 Shimon42 released this 22 Sep 10:26

Breaking changes

  • language TStructureItem prop is only a string now

Features

  • handle TStructureItem.suffix + tests

Fixes

  • fix(ARC-14): Bad Plugins folder on plugin remove
  • fixed caseFormat
  • fixed: bad case detection if a case name got a typo (ex: pascale)
  • fixed: bad regex for split (camel/pascal)
  • fixed: bad file extension for generated files when "language" prop is defined

Others

  • more tests
  • renamed test config files
  • Update package.json
  • Update README.md

Full Changelog: v1.2.0...v1.3.0

v1.2.0 - Handle specific config for plugins

Choose a tag to compare

@Shimon42 Shimon42 released this 21 Sep 22:23
8e06405

Breaking changes

  • Default, plugins and user configs are now merged instead of overwrited

Changelogs

updated TArchitectPlugin

  • new configprop

  • optional registerprop

    export type TArchitectPlugin = {
        name: string; // the plugin's name
        destination?: string; // the destination folder name for the plugin files
        register?: (architect: TArchitectPluginAPI) => void; // the plugin's registration function
        extensions?: string | TFileExtensions; // the file extensions supported by the plugin
        config?: TConfig; // the plugin's configuration object that will be merged with the CLI's configuration
    };

fixed types definitions

Full Changelog: v1.1.3...v1.2.0

v1.1.3

Choose a tag to compare

@Shimon42 Shimon42 released this 21 Sep 19:43

Fixes

  • fixed: structureItem extensions, handle parent and defaultStructureItem
  • fixed: indexes generation
  • fixed: generateFoldersAndIndexes fail without error catch
  • fixed: Bad Indexes generation (wrong content)
  • fixed: DefaultStructureItem #5
  • Readme update

Full Changelog: v1.1.2...v1.1.3

v1.1.2 - Types declaration

Choose a tag to compare

@Shimon42 Shimon42 released this 21 Sep 01:02

Full Changelog: v1.1.1...v1.1.2

v1.1.1

Choose a tag to compare

@Shimon42 Shimon42 released this 20 Sep 22:34
160a433

StructureItem extensions & plugins directory fix (#11)

  • feat: handle extension per structureItem
  • fix: bad plugins copy directory
  • Update package.json: version number
  • Update tsconfig.json: exclude `dist`` folder

Full Changelog: v1.1.0...v1.1.1

v1.1.0 - Plugins Manager ✨

Choose a tag to compare

@Shimon42 Shimon42 released this 20 Sep 14:22
35c265c
  • handle plugins for Architect
  • handle generated index extension
  • removed default config/blueprints/builders

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@Shimon42 Shimon42 released this 17 Sep 19:39

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.