From e4369ad52d49a9c0afa74ee4a5bafec953a4ba74 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 6 Apr 2022 11:52:13 +0000 Subject: [PATCH 1/2] chore(release): 2.3.6 [skip ci] --- CHANGELOG.md | 7 +++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcd063e..37d96f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.3.6](https://github.com/pycom/pymakr-atom/compare/v2.3.5...v2.3.6) (2022-04-06) + + +### Bug Fixes + +* removed serialport from dependencies ([6e3d64e](https://github.com/pycom/pymakr-atom/commit/6e3d64e2da6898f563265f30abd00a25ac93afa5)) + ## [2.3.5](https://github.com/pycom/pymakr-atom/compare/v2.3.4...v2.3.5) (2022-04-06) diff --git a/package-lock.json b/package-lock.json index ac0e45e..55e18d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "pymakr", - "version": "2.3.4", + "version": "2.3.6", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 67de7de..9328229 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pymakr", "main": "./lib/main.js", - "version": "2.3.5", + "version": "2.3.6", "description": "Adds a REPL console to Atom that connects to your Pycom board. It can run code on the board or synchronize your project files to it.", "keywords": [ "Pycom", From 501380ef6c7ab3585c853d148da545b8798e9ce5 Mon Sep 17 00:00:00 2001 From: Jakob Rosenberg Date: Wed, 6 Apr 2022 14:10:41 +0200 Subject: [PATCH 2/2] fix: npm couldn't install serialport at runtime --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 2c0e699..a8325f9 100644 --- a/lib/main.js +++ b/lib/main.js @@ -14,7 +14,7 @@ export default { } catch (err) { if (err.code === 'MODULE_NOT_FOUND') { console.log('serialport not installed. Installing...'); - require('child_process').execSync('npm install serialport'); + require('child_process').execSync('npm install serialport', { cwd: __dirname + '/..' }); console.log('Installed serialport!'); } }