|
15 | 15 | "clean": "rimraf ./lib ./dist ./build-artifacts", |
16 | 16 | "compile": "tsc -p ./", |
17 | 17 | "lint": "eslint src --ext ts", |
18 | | - "watch": "tsc -w -p ./", |
| 18 | + "watch": "webpack --config ./configs/webpack.config.js --watch", |
19 | 19 | "webpack": "webpack --config ./configs/webpack.config.js", |
20 | 20 | "package": "mkdirp build-artifacts && vsce package --out ./build-artifacts" |
21 | 21 | }, |
|
35 | 35 | "eslint": "^7.9.0", |
36 | 36 | "mkdirp": "^1.0.4", |
37 | 37 | "rimraf": "^3.0.2", |
38 | | - "typescript": "^3.8.3", |
| 38 | + "typescript": "^4.7.4", |
| 39 | + "ts-loader": "^9.3.1", |
39 | 40 | "vsce": "^1.66.0", |
40 | 41 | "vscode": "^1.1.33", |
41 | | - "webpack": "^4.39.1", |
42 | | - "webpack-cli": "^3.3.6", |
| 42 | + "webpack": "^5.73.0", |
| 43 | + "webpack-cli": "^4.10.0", |
43 | 44 | "webpack-permissions-plugin": "^1.0.7" |
44 | 45 | }, |
45 | 46 | "dependencies": { |
|
74 | 75 | }, |
75 | 76 | "activationEvents": [ |
76 | 77 | "onLanguage:ino", |
| 78 | + "onCommand:arduino.ide2Path", |
77 | 79 | "onCommand:arduino.debug.start", |
78 | 80 | "onCommand:arduino.languageserver.start", |
79 | 81 | "onCommand:arduino.languageserver.stop", |
|
131 | 133 | "command": "arduino.debug.start", |
132 | 134 | "title": "Start Debug", |
133 | 135 | "category": "Arduino" |
| 136 | + }, |
| 137 | + { |
| 138 | + "command": "arduino.ide2Path", |
| 139 | + "title": "Print IDE2 Path", |
| 140 | + "category": "Arduino" |
| 141 | + } |
| 142 | + ], |
| 143 | + "configuration": { |
| 144 | + "title": "Arduino Tools", |
| 145 | + "properties": { |
| 146 | + "arduinoTools.ide2Path": { |
| 147 | + "type": "string", |
| 148 | + "description": "Absolute path to the Arduino IDE2 installation. This is required to use the Arduino CLI, language server, and other binaries from the IDE2" |
| 149 | + } |
134 | 150 | } |
135 | | - ] |
| 151 | + } |
136 | 152 | } |
137 | 153 | } |
0 commit comments