@youcan/cli 1.2.0-beta.9 → 2.0.0

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.
@@ -1,4 +1,5 @@
1
1
  import { Cli } from '@youcan/cli-kit';
2
2
  export default class Login extends Cli.Command {
3
+ static description: string;
3
4
  run(): Promise<void>;
4
5
  }
@@ -1,6 +1,7 @@
1
1
  import { Cli, Session } from '@youcan/cli-kit';
2
2
 
3
3
  class Login extends Cli.Command {
4
+ static description = 'Log in to a YouCan Dev Store';
4
5
  async run() {
5
6
  const session = await Session.authenticate(this);
6
7
  this.output.info(`Logged in as ${session.slug}`);
@@ -1,4 +1,5 @@
1
1
  import { Cli } from '@youcan/cli-kit';
2
2
  export default class Login extends Cli.Command {
3
+ static description: string;
3
4
  run(): Promise<void>;
4
5
  }
@@ -1,6 +1,7 @@
1
1
  import { Cli, Config } from '@youcan/cli-kit';
2
2
 
3
3
  class Login extends Cli.Command {
4
+ static description = 'Log out from a YouCan Dev Store';
4
5
  async run() {
5
6
  Config
6
7
  .manager({ projectName: 'youcan-cli' })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youcan/cli",
3
3
  "type": "module",
4
- "version": "1.2.0-beta.9",
4
+ "version": "2.0.0",
5
5
  "description": "A CLI for creating YouCan Shop apps",
6
6
  "author": "YouCan <contact@youcan.shop> (https://youcan.shop)",
7
7
  "license": "MIT",
@@ -36,9 +36,9 @@
36
36
  "@oclif/plugin-commands": "^2.2.26",
37
37
  "@oclif/plugin-help": "^5.2.19",
38
38
  "@oclif/plugin-plugins": "^3.8.2",
39
- "@youcan/app": "1.2.0-beta.9",
40
- "@youcan/theme": "1.2.0-beta.9",
41
- "@youcan/cli-kit": "1.2.0-beta.9"
39
+ "@youcan/cli-kit": "2.0.0",
40
+ "@youcan/theme": "2.0.0",
41
+ "@youcan/app": "2.0.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@oclif/plugin-legacy": "^1.3.0",