@newlogic-digital/cli 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newlogic-digital/cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "main": "index.mjs",
5
5
  "bin": {
6
6
  "newlogic-cli": "index.mjs",
@@ -340,9 +340,9 @@ export default function prepare(options) {
340
340
 
341
341
  namespace App\Components;
342
342
 
343
+ use App\Components\Attributes\ComponentName;
343
344
  use App\Components\Attributes\FieldName;
344
345
  use App\Components\Attributes\FieldType;
345
- use App\Components\Attributes\SectionName;
346
346
 
347
347
  #[ComponentName('${name}')]
348
348
  class ${name} extends BaseComponent
@@ -370,7 +370,7 @@ export default function prepare(options) {
370
370
 
371
371
  declare(strict_types=1);
372
372
 
373
- namespace App\SComponents\Factory;
373
+ namespace App\Components\Factory;
374
374
 
375
375
  use ${'App\\Components\\'}${name};
376
376
 
@@ -74,6 +74,7 @@ export default async function cms(name, { variant, branch }) {
74
74
 
75
75
  await move('.docker')
76
76
  await move('app')
77
+ await move('bin')
77
78
  await move('config')
78
79
  await move('log')
79
80
  await move('public/index.php')