@azure-net/cli 1.3.2 → 1.3.4

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/bin/azure-net.js CHANGED
@@ -38,4 +38,13 @@ program
38
38
  .description('Generate alias mappings for modules or default architecture')
39
39
  .action(initAliases);
40
40
 
41
+ program
42
+ .command('init')
43
+ .description('Run all initialization steps: structure, aliases, lint')
44
+ .action(async () => {
45
+ initLint();
46
+ initStructure();
47
+ await initAliases();
48
+ });
49
+
41
50
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-net/cli",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "azure-net": "bin/azure-net.js"
@@ -4,7 +4,7 @@ import { loadUserConfig } from '../utils/loadConfig.js';
4
4
 
5
5
  const BASE_STRUCTURE = ['domain', 'infra', 'application', 'presentation'];
6
6
  const APP_ROOT = path.join(process.cwd(), 'src', 'app');
7
- const ARCHITECTURE_PATH = path.join(APP_ROOT, 'architecture');
7
+ const ARCHITECTURE_PATH = path.join(APP_ROOT, 'context');
8
8
 
9
9
  async function createDirIfNotExists(dirPath) {
10
10
  try {