Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "creator"
version = "0.1.0"
edition = "2021"
about = "CLI tool for creating React Native structure folders"
about = "CLI tool for creating cohesive module structures in projects"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Creator v2.0 🚀
# Creator v1.0 🚀

[![Code Quality](https://github.com/andraderaul/creator/actions/workflows/quality.yml/badge.svg)](https://github.com/andraderaul/creator/actions/workflows/quality.yml) [![Release](https://github.com/andraderaul/creator/actions/workflows/release.yml/badge.svg)](https://github.com/andraderaul/creator/actions/workflows/release.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

Expand All @@ -19,8 +19,6 @@

## Features

**Creator v2.0** is a complete architectural rewrite with powerful new capabilities:

- [x] **Dynamic Configuration System**: 100% configuration-driven CLI with no hardcoded commands
- [x] **Flexible Project Structures**: Support for any project architecture via JSON configuration
- [x] **Static & Dynamic Categories**: Create both predefined items and dynamic items at runtime
Expand Down
2 changes: 1 addition & 1 deletion config-clean-architecture.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"project": {
"name": "my-react-native-clean-app",
"version": "2.0",
"version": "1.0",
"structure": {
"infra": {
"description": "External configurations and integrations",
Expand Down
22 changes: 19 additions & 3 deletions config-module-based.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"project": {
"name": "my-react-native-modular-app",
"version": "2.0",
"version": "1.0",
"structure": {
"application": {
"description": "Main application layer",
Expand All @@ -24,21 +24,37 @@
"description": "Business modules with full dynamic support",
"allow_dynamic_children": true,
"default_structure": {
"containers": {
"components": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"components": {
"containers": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"services": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"hooks": {
"template": "templates/hooks.hbs",
"file_extension": "ts"
},
"types": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"utils": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"providers": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"bridges": {
"template": "templates/components.hbs",
"file_extension": "tsx"
}
}
},
Expand Down
83 changes: 45 additions & 38 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
{
"project": {
"name": "my-react-native-clean-app",
"version": "2.0",
"name": "my-project",
"version": "1.0",
"structure": {
"infra": {
"description": "External configurations and integrations",
"children": {
"clients": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"providers": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"config": {
"template": "templates/default.hbs",
"file_extension": "ts"
}
}
},
"features": {
"description": "Business features with dynamic creation support",
"modules": {
"description": "Business modules with cohesive structure",
"allow_dynamic_children": true,
"default_structure": {
"modules": {
"components": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"containers": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
Expand All @@ -35,39 +22,59 @@
"hooks": {
"template": "templates/hooks.hbs",
"file_extension": "ts"
}
}
},
"pages": {
"description": "Application pages/screens",
"children": {
"dashboard": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"login": {
"types": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"utils": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"providers": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"profile": {
"bridges": {
"template": "templates/components.hbs",
"file_extension": "tsx"
}
}
},
"core": {
"description": "Core utilities and shared code",
"shared": {
"description": "Shared utilities and components",
"children": {
"components": {
"template": "templates/components.hbs",
"file_extension": "tsx"
},
"hooks": {
"template": "templates/hooks.hbs",
"file_extension": "ts"
},
"utils": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"types": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"utils": {
"constants": {
"template": "templates/default.hbs",
"file_extension": "ts"
}
}
},
"external": {
"description": "External integrations and APIs",
"children": {
"apis": {
"template": "templates/default.hbs",
"file_extension": "ts"
},
"hooks": {
"template": "templates/hooks.hbs",
"clients": {
"template": "templates/default.hbs",
"file_extension": "ts"
}
}
Expand Down
177 changes: 0 additions & 177 deletions docs/README.md

This file was deleted.

Loading