Skip to content

Commit

Permalink
template schema issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AbmSourav committed Jul 26, 2023
1 parent dcc807c commit 808b6ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codesvault/kathamo-generator",
"description": "Kathamo Generator is the CLI for Kathamo framework.",
"version": "1.3.1",
"version": "1.3.2",
"type": "library",
"minimum-stability": "stable",
"autoload": {
Expand Down Expand Up @@ -34,6 +34,7 @@
],
"license": "MIT",
"keywords": [
"cli",
"wordpress",
"kathamo",
"wordpress plugin",
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/KathamoCLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct()
{
$app = new Application();
$app->add(new Scaffold());
// $app->add(new Template()); // only for development
$app->add(new Template()); // only for development

$app->add(new MakeMiddleware());
$app->add(new MakeController());
Expand Down
3 changes: 1 addition & 2 deletions src/content-schema.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php

return [
'"Kathamo\\\\App\\\\": "app/",' => '"{{namespace_prefix}}\\\\App\\\\": "app/",',
'"Kathamo\\\\Database\\\\": "database/"' => '"{{namespace_prefix}}\\\\Database\\\\": "database/"',
'"Kathamo\\\\App\\\\": "app/"' => '"{{namespace_prefix}}\\\\App\\\\": "app/"',
'@package kathamo' => '@package {{text_domain}}',
'Plugin Name: Kathamo' => 'Plugin Name: {{plugin_name}}',
'Text Domain: kathamo' => 'Text Domain: {{text_domain}}',
Expand Down
2 changes: 1 addition & 1 deletion src/templates/project/composer_json.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"autoload": {
"psr-4": {
"Kathamo\\App\\": "app/"
"{{namespace_prefix}}\\App\\": "app/"
}
},
"scripts": {
Expand Down

0 comments on commit 808b6ef

Please sign in to comment.