-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE This PR updates the dev dependencies to use `@appium/support`, `@appium/gulp-plugins` and `@appium/eslint-config-appium`, away from the unmaintained (non-scoped) packages. Due to the requirements of these deps, it's unlikely that a dev environment older than Node.js v14 / npm v6 will work. Thus, Node.js v8, v10, and v12 are officially dropped (though they may still work; this change should not affect the published, "production" library). An organizational change was needed for the `@appium/gulp-plugins` upgrade; `index.js` moved to `lib/index.js`, and `index.js` is now a CJS file which re-exports `build/lib/index.js`. In addition: - modified some tests to ensure that child processes were being cleanly shut down - modified the `bad_exit.sh` fixture for BSD `sleep` compat
- Loading branch information
Showing
10 changed files
with
43 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "appium" | ||
"extends": "@appium/eslint-config-appium" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
|
||
const gulp = require('gulp'); | ||
const boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp); | ||
const boilerplate = require('@appium/gulp-plugins').boilerplate.use(gulp); | ||
|
||
boilerplate({build: 'teen_process'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
// transpile:main | ||
import * as cp from 'child_process'; | ||
import * as spIndex from './lib/subprocess'; | ||
import * as execIndex from './lib/exec'; | ||
|
||
|
||
const { spawn } = cp; | ||
const { SubProcess } = spIndex; | ||
const { exec } = execIndex; | ||
|
||
export { exec, spawn, SubProcess }; | ||
module.exports = require('./build/lib/index.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// transpile:main | ||
import * as cp from 'child_process'; | ||
import * as spIndex from './subprocess'; | ||
import * as execIndex from './exec'; | ||
|
||
|
||
const { spawn } = cp; | ||
const { SubProcess } = spIndex; | ||
const { exec } = execIndex; | ||
|
||
export { exec, spawn, SubProcess }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo "foo" | ||
sleep 1s | ||
sleep 1 | ||
1>&2 echo "bar" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters