Some checks are pending
CI / verify (push) Waiting to run
- 30-test suite (node --test, no framework) covering the exact functions
that have regressed in previous rounds:
* parseStoreArg / parseStoreNumber / storeEmail (helpers)
* greetingForBrand (brand fallback)
* formatE911Address / formatSuite (google response reducer)
* parseNextLink (RFC-5988 pagination — now exported)
* runStep success / non-critical / critical / no-bot paths
- test/setup.js stubs required env vars so any src/ module can be
imported cleanly; loaded via --import once per test process
- npm run test wired up; directory form works on Node 20 + 22
- .gitea/workflows/ci.yml runs lint + format:check + test on push/PR
to main, on Node 22 to match the runtime image
- Exclude test/ and .gitea/ from the Docker build context
- Exclude docker/ from bot Prettier scope (remote-agent is its own
sub-project with its own tooling)
Co-authored-by: Cursor <cursoragent@cursor.com>
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"name": "wbxcallprov",
|
|
"version": "2.0.0",
|
|
"description": "Webex Calling provisioning bot for retail stores",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "src/index.js",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"author": "Joseph B. McQueen",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "node --watch src/index.js",
|
|
"test": "node --test --import ./test/setup.js test/",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"generate-911-csv": "node scripts/generate911Csv.js",
|
|
"fix-store-phones": "node scripts/fixStorePhones.js",
|
|
"agent:package": "./docker/remote-agent/package.sh",
|
|
"agent:check": "./docker/remote-agent/package.sh --check",
|
|
"agent:inspect": "./docker/remote-agent/inspect-bundle.sh"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "^16.4.5",
|
|
"node-cron": "^3.0.3",
|
|
"undici": "^6.19.8",
|
|
"webex-node-bot-framework": "^2.5.1",
|
|
"ws": "^8.20.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.9.0",
|
|
"eslint": "^9.9.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"globals": "^15.9.0",
|
|
"prettier": "^3.3.3"
|
|
}
|
|
}
|