@webmate-studio/cli 0.3.46 → 0.3.48

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.
Files changed (2) hide show
  1. package/bin/wm.mjs +0 -46
  2. package/package.json +3 -3
package/bin/wm.mjs CHANGED
@@ -1,15 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { Command } from 'commander';
4
- import { buildCommand } from '../src/commands/build.js';
5
4
  import { devCommand } from '../src/commands/dev.js';
6
5
  import { initCommand } from '../src/commands/init.js';
7
- import { loginCommand } from '../src/commands/login.js';
8
6
  import { generate } from '../src/commands/generate.js';
9
- import { logout } from '../src/commands/logout.js';
10
- import { info } from '../src/commands/info.js';
11
- import { switchCommand } from '../src/commands/switch.js';
12
- import { switchOrgCommand } from '../src/commands/switch-org.js';
13
7
  import { readFileSync } from 'fs';
14
8
  import { fileURLToPath } from 'url';
15
9
  import { dirname, join } from 'path';
@@ -24,13 +18,6 @@ program
24
18
  .description('Webmate Component CLI - Build and manage HTML-first components')
25
19
  .version(packageJson.version);
26
20
 
27
- // wm login - Login to CMS
28
- program
29
- .command('login')
30
- .description('Login to Webmate CMS')
31
- .option('-u, --url <url>', 'CMS base URL')
32
- .action(loginCommand);
33
-
34
21
  // wm init - Create new component project
35
22
  program
36
23
  .command('init')
@@ -58,37 +45,4 @@ program
58
45
  .option('-o, --open', 'Open browser automatically')
59
46
  .action(devCommand);
60
47
 
61
- // wm build - Build components (for local testing only - deployment via GitHub)
62
- program
63
- .command('build')
64
- .description('Build components for production (local testing only)')
65
- .option('-o, --output <dir>', 'Output directory', './dist')
66
- .option('-m, --minify', 'Minify output')
67
- .option('--watch', 'Watch for changes')
68
- .action(buildCommand);
69
-
70
- // wm logout - Logout from CMS
71
- program
72
- .command('logout')
73
- .description('Logout from Webmate CMS')
74
- .action(logout);
75
-
76
- // wm info - Show current project information
77
- program
78
- .command('info')
79
- .description('Show current project information')
80
- .action(info);
81
-
82
- // wm switch - Switch to a different project
83
- program
84
- .command('switch')
85
- .description('Switch to a different project within current organization')
86
- .action(switchCommand);
87
-
88
- // wm switch-org - Switch to a different organization
89
- program
90
- .command('switch-org')
91
- .description('Switch to a different organization')
92
- .action(switchOrgCommand);
93
-
94
48
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/cli",
3
- "version": "0.3.46",
3
+ "version": "0.3.48",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio CLI - Build and manage your Webmate components",
6
6
  "keywords": [
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@inquirer/prompts": "^5.0.0",
35
- "@webmate-studio/builder": "^0.2.66",
35
+ "@webmate-studio/builder": "^0.2.70",
36
36
  "@webmate-studio/core": "^0.2.7",
37
37
  "@webmate-studio/parser": "^0.2.8",
38
- "@webmate-studio/preview": "^0.2.39",
38
+ "@webmate-studio/preview": "^0.2.46",
39
39
  "alpinejs": "^3.15.0",
40
40
  "commander": "^11.0.0",
41
41
  "esbuild": "^0.19.0",