xs-dev 0.19.2 → 0.20.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.
@@ -0,0 +1,42 @@
1
+ ---
2
+ title: Doctor
3
+ description: Display the current environment setup information, including valid target devices
4
+ layout: ../../../layouts/MainLayout.astro
5
+ ---
6
+
7
+ ## Display the current environment setup information
8
+
9
+ The `doctor` command can help determine what the current developer environment has available to support the various Moddable device targets and tooling.
10
+
11
+ ```
12
+ xs-dev doctor
13
+ ```
14
+
15
+ This should output something like this:
16
+
17
+ ```
18
+ xs-dev environment info:
19
+ CLI Version 0.19.3
20
+ OS Darwin
21
+ Arch arm64
22
+ NodeJS Version v16.14.0 (/path/to/node)
23
+ Python Version 3.10.9 (/path/to/python)
24
+ Moddable SDK Version 3.5.0 (/path/to/moddable)
25
+ Supported target devices mac, esp32, esp8266, pico
26
+ ESP32 IDF Directory /path/to/esp32/esp-idf
27
+ ESP8266 Base Directory /path/to/esp
28
+ Pico SDK Directory /path/to/pico/pico-sdk
29
+
30
+ If this is related to an error when using the CLI, please create an issue at "https://github.com/hipsterbrown/xs-dev/issues/new" with the above info.
31
+ ```
32
+
33
+ **Aliases**
34
+
35
+ ```
36
+ xs-dev dr
37
+ ```
38
+ OR
39
+
40
+ ```
41
+ xs-dev info
42
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xs-dev",
3
- "version": "0.19.2",
3
+ "version": "0.20.0",
4
4
  "description": "CLI for automating the setup and usage of Moddable XS tools",
5
5
  "types": "build/types/types.d.ts",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@octokit/rest": "^19.0.3",
24
- "axios": "^0.24.0",
24
+ "axios": "^1.2.1",
25
25
  "gluegun": "^5.1.2",
26
26
  "serialport": "^10.3.0",
27
27
  "serve-handler": "^6.1.3",
@@ -68,7 +68,7 @@
68
68
  "testEnvironment": "node"
69
69
  },
70
70
  "volta": {
71
- "node": "16.14.0"
71
+ "node": "18.12.1"
72
72
  },
73
73
  "prettier": {
74
74
  "semi": false,