From 3e8ef1f2ab65e2a59a5b0792160c88f649dd7390 Mon Sep 17 00:00:00 2001 From: Josh Phillips Date: Mon, 11 Dec 2023 10:02:43 -0700 Subject: [PATCH] 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 --- projects/appium.io/package.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 projects/appium.io/package.yml diff --git a/projects/appium.io/package.yml b/projects/appium.io/package.yml new file mode 100644 index 00000000..9e18ac93 --- /dev/null +++ b/projects/appium.io/package.yml @@ -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}} +