@bigbinary/neeto-playwright-commons 3.0.8 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/index.cjs.js +287 -42
- package/index.cjs.js.map +1 -1
- package/index.d.ts +112 -31
- package/index.js +287 -44
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/neeto-chat-widget/setup.sh +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-playwright-commons",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "A package encapsulating common playwright code across neeto projects.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
|
|
6
6
|
"license": "apache-2.0",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
DIR="${1:?'Usage: setup.sh <target-directory>'}"
|
|
5
|
+
: "${GITHUB_TOKEN:?'GITHUB_TOKEN is required'}"
|
|
6
|
+
|
|
7
|
+
echo "[NeetoChatWidget] Cloning neeto-chat-widget into ${DIR}..."
|
|
8
|
+
git clone --depth 1 \
|
|
9
|
+
"https://x-access-token:${GITHUB_TOKEN}@github.com/neetozone/neeto-chat-widget.git" \
|
|
10
|
+
"${DIR}"
|
|
11
|
+
|
|
12
|
+
cd "${DIR}"
|
|
13
|
+
|
|
14
|
+
echo "[NeetoChatWidget] Installing dependencies..."
|
|
15
|
+
yarn install --frozen-lockfile
|