@webiny/cli 5.23.0 → 5.24.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.24.0-beta.0](https://github.com/webiny/webiny-js/compare/v5.23.1...v5.24.0-beta.0) (2022-03-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * add types to cli ([2d2ce00](https://github.com/webiny/webiny-js/commit/2d2ce001ca12d4b6f57aed7525ab2e09d417ffd1))
12
+
13
+
14
+
15
+
16
+
17
+ ## [5.23.1](https://github.com/webiny/webiny-js/compare/v5.23.1-beta.0...v5.23.1) (2022-02-16)
18
+
19
+ **Note:** Version bump only for package @webiny/cli
20
+
21
+
22
+
23
+
24
+
25
+ ## [5.23.1-beta.0](https://github.com/webiny/webiny-js/compare/v5.23.0...v5.23.1-beta.0) (2022-02-16)
26
+
27
+ **Note:** Version bump only for package @webiny/cli
28
+
29
+
30
+
31
+
32
+
6
33
  # [5.23.0](https://github.com/webiny/webiny-js/compare/v5.23.0-beta.1...v5.23.0) (2022-02-15)
7
34
 
8
35
  **Note:** Version bump only for package @webiny/cli
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/cli",
3
- "version": "5.23.0",
3
+ "version": "5.24.0-beta.0",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "webiny": "./bin.js"
@@ -13,7 +13,7 @@
13
13
  "author": "Pavel Denisjuk <pavel@webiny.com>",
14
14
  "description": "A tool to bootstrap a Webiny project.",
15
15
  "dependencies": {
16
- "@webiny/telemetry": "5.23.0",
16
+ "@webiny/telemetry": "5.24.0-beta.0",
17
17
  "boolean": "3.1.4",
18
18
  "camelcase": "5.3.1",
19
19
  "chalk": "4.1.2",
@@ -63,5 +63,5 @@
63
63
  ]
64
64
  }
65
65
  },
66
- "gitHead": "eaa0003e39194d687ab5397c08eeccdb3557fb28"
66
+ "gitHead": "05b90b92bbaf2ef3adf275d008c4641580cf5f42"
67
67
  }
package/types.d.ts CHANGED
@@ -40,9 +40,9 @@ interface Project {
40
40
  * A type that represents the logging method.
41
41
  */
42
42
  interface Log {
43
- (...args): string;
44
- hl: (...args) => string;
45
- highlight: (...args) => string;
43
+ (...args: any): string;
44
+ hl: (...args: any) => string;
45
+ highlight: (...args: any) => string;
46
46
  }
47
47
 
48
48
  /**
@@ -100,7 +100,7 @@ export interface CliContext {
100
100
  /**
101
101
  * Resolve given dir or dirs against project root path.
102
102
  */
103
- resolve: (dir) => string;
103
+ resolve: (dir: string) => string;
104
104
 
105
105
  /**
106
106
  * Provides a way to store some meta data in the project's local ".webiny/cli.json" file.