@webiny/cli 5.23.1 → 5.25.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,37 @@
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.25.0-beta.0](https://github.com/webiny/webiny-js/compare/v5.24.0...v5.25.0-beta.0) (2022-03-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * enable sourcemaps for lambda functions ([#2272](https://github.com/webiny/webiny-js/issues/2272)) ([0694711](https://github.com/webiny/webiny-js/commit/0694711dca6b3c8f9f91858f97871d1660ad30df))
12
+ * strict typescript ([#2235](https://github.com/webiny/webiny-js/issues/2235)) ([c7c49e7](https://github.com/webiny/webiny-js/commit/c7c49e744667112a0013ea5370644f4df7eb800a))
13
+
14
+
15
+
16
+
17
+
18
+ # [5.24.0](https://github.com/webiny/webiny-js/compare/v5.24.0-beta.0...v5.24.0) (2022-03-03)
19
+
20
+ **Note:** Version bump only for package @webiny/cli
21
+
22
+
23
+
24
+
25
+
26
+ # [5.24.0-beta.0](https://github.com/webiny/webiny-js/compare/v5.23.1...v5.24.0-beta.0) (2022-03-02)
27
+
28
+
29
+ ### Features
30
+
31
+ * add types to cli ([2d2ce00](https://github.com/webiny/webiny-js/commit/2d2ce001ca12d4b6f57aed7525ab2e09d417ffd1))
32
+
33
+
34
+
35
+
36
+
6
37
  ## [5.23.1](https://github.com/webiny/webiny-js/compare/v5.23.1-beta.0...v5.23.1) (2022-02-16)
7
38
 
8
39
  **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.1",
3
+ "version": "5.25.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.1",
16
+ "@webiny/telemetry": "5.25.0-beta.0",
17
17
  "boolean": "3.1.4",
18
18
  "camelcase": "5.3.1",
19
19
  "chalk": "4.1.2",
@@ -25,9 +25,9 @@
25
25
  "inquirer": "7.3.3",
26
26
  "open": "8.4.0",
27
27
  "pirates": "4.0.5",
28
- "semver": "7.3.4",
28
+ "semver": "7.3.5",
29
29
  "ts-morph": "11.0.3",
30
- "typescript": "4.1.3",
30
+ "typescript": "4.5.5",
31
31
  "uniqid": "5.4.0",
32
32
  "yargs": "14.2.3"
33
33
  },
@@ -63,5 +63,5 @@
63
63
  ]
64
64
  }
65
65
  },
66
- "gitHead": "a726d09d2647d13e5a4f376cef23463564ef7ca0"
66
+ "gitHead": "2d3e7833575e88fde77d84e5490e746933a5ec28"
67
67
  }
package/types.d.ts CHANGED
@@ -15,7 +15,7 @@ export interface PluginsContainer {
15
15
  * A simplified plugin interface, used specifically within the Webiny CLI.
16
16
  * Not in relation with "@webiny/plugins" package.
17
17
  */
18
- export interface Plugin<T = Record<string, any>> {
18
+ export interface Plugin {
19
19
  type: string;
20
20
  name?: string;
21
21
  [key: string]: any;
@@ -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.