Skip to content

Commit

Permalink
feat!: remove superspawn & npm packages q & cross-spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Mar 24, 2024
1 parent 2dd352e commit 4f88d91
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 355 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,6 @@ stack.process()
});
```

### `superspawn`

Module for spawning child processes with some advanced logic.

Usage:

```js
const { superspawn } = require('cordova-common');

superspawn.spawn('adb', ['devices'])
.progress(data => {
if (data.stderr) console.error(`"adb devices" raised an error: ${data.stderr}`);
})
.then(devices => {
// Do something...
});
```

### `xmlHelpers`

A set of utility methods for dealing with XML files.
Expand Down
1 change: 0 additions & 1 deletion cordova-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

module.exports = {
get events () { return require('./src/events'); },
get superspawn () { return require('./src/superspawn'); },

get ActionStack () { return require('./src/ActionStack'); },
get CordovaError () { return require('./src/CordovaError'); },
Expand Down
77 changes: 25 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@
"@netflix/nerror": "^1.1.3",
"ansi": "^0.3.1",
"bplist-parser": "^0.3.2",
"cross-spawn": "^7.0.3",
"elementtree": "^0.1.7",
"endent": "^2.1.0",
"fast-glob": "^3.2.12",
"lodash.zip": "^4.2.0",
"plist": "^3.0.6",
"q": "^1.5.1",
"read-chunk": "^3.2.0",
"strip-bom": "^4.0.0"
},
Expand Down
Loading

0 comments on commit 4f88d91

Please sign in to comment.