Repository navigation
Releases: Amphore-Dev/Architect
Releases · Amphore-Dev/Architect
Release list
v1.3.0 - TStructureItem.suffix, TStructureItem.language fixes, fixes
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
Breaking changes
- Default, plugins and user configs are now merged instead of overwrited
Changelogs
updated TArchitectPlugin
-
new
configprop -
optional
registerpropexport 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
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
Full Changelog: v1.1.1...v1.1.2
v1.1.1
v1.1.0 - Plugins Manager ✨
- handle plugins for Architect
- handle generated index extension
- removed default config/blueprints/builders
Full Changelog: v1.0.0...v1.1.0
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.