New/appium.io/appium (#4358)

* initial try

* use npmjs.org

* finish version

* remove space

* fix url

* fix test

* make it global like other npm packages

* 3-digit versions

* require 3 digits

* rename

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
Josh Phillips 2023-12-11 10:02:43 -07:00 committed by GitHub
parent 974f5a167b
commit 3e8ef1f2ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,32 @@
distributable:
url: https://registry.npmjs.org/appium/-/appium-{{version}}.tgz
strip-components: 1
versions:
url: https://npmjs.com/package/appium?activeTab=versions
match: /v\/\d+\.\d+\.\d+/
strip:
- /^v\//
dependencies:
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^20
build:
dependencies:
npmjs.com: '*'
linux/x86-64:
python.org: ^3 # node-gyp needs python to build
script:
- chmod +x lib/appium.js
- npm install .
--global
--prefix="{{prefix}}"
--install-links
provides:
- bin/appium
test:
script:
- appium --version | grep {{version}}