Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
43c7f6b
Remove old project
SketchingDev Mar 10, 2023
1e38da4
v1
SketchingDev Mar 10, 2023
fb0a525
Update rimraf
SketchingDev Mar 10, 2023
dfe01e3
Update node version in CI
SketchingDev Mar 10, 2023
f6708d8
Remove integration test
SketchingDev Mar 10, 2023
8c7c94c
Remove integration test
SketchingDev Mar 10, 2023
437666c
Remove dep dotenv
SketchingDev Mar 10, 2023
a4d0750
Update dep typedoc
SketchingDev Mar 10, 2023
cabcbc3
Update dep joi
SketchingDev Mar 10, 2023
79410dd
Update dep ws
SketchingDev Mar 10, 2023
05c8e1a
Update dep getenv
SketchingDev Mar 10, 2023
147b7c6
Update dep google-cloud/speech
SketchingDev Mar 10, 2023
d7a9b34
Update dep prettier/eslint*
SketchingDev Mar 10, 2023
f803552
Add newline
SketchingDev Mar 10, 2023
aff6e81
Update dep typescript
SketchingDev Mar 10, 2023
a652c94
Update codeql-analysis
SketchingDev Mar 10, 2023
e5e73c7
Update GitHub Actions versions
SketchingDev Mar 10, 2023
9020bca
Add scenario-test interactor
SketchingDev Mar 17, 2023
89eec0a
Fix linting
SketchingDev Mar 17, 2023
e81d01d
Pass timeout through
SketchingDev Mar 17, 2023
e4e527a
Finish transcript after call finished
SketchingDev Mar 31, 2023
e291dae
eslint > biome, yarn > npm & update deps
SketchingDev Feb 18, 2026
25c7cef
jest > vitest
SketchingDev Feb 18, 2026
2a983d1
Update name in License
SketchingDev Feb 18, 2026
f09e251
Remove docs and website
SketchingDev Feb 18, 2026
973418e
Recreate package lock
SketchingDev Mar 23, 2026
09ad01f
Update workflow to use node version from .nvmrc
SketchingDev Mar 23, 2026
2dedcd8
Update GitHub Actions versions
SketchingDev Mar 23, 2026
5b83438
Update docs
SketchingDev Mar 23, 2026
8a44cfc
Fix README
SketchingDev Mar 23, 2026
6996603
Update README
SketchingDev Mar 23, 2026
fffad36
Update docs
SketchingDev Mar 23, 2026
a407b22
Minor doc tweaks
SketchingDev Mar 23, 2026
8f5b8d2
Decouple Twilio from IVR Tester and Transcriber classes
SketchingDev Apr 8, 2026
36ed34f
Couple making the call with handling the callback stream
SketchingDev Apr 9, 2026
7d81b57
Migrate to ESM
SketchingDev Apr 9, 2026
20d04d5
Replace joi with zod
SketchingDev Apr 9, 2026
1c24b68
Remove doc
SketchingDev Apr 9, 2026
c012831
Remove version pinning from transcriber
SketchingDev Apr 9, 2026
6fafee7
Add greetings-contains test
SketchingDev Apr 9, 2026
95bb244
Simplify API
SketchingDev Apr 13, 2026
1410ba9
Minor changes
SketchingDev Apr 14, 2026
395cb4e
Release callback after matching event
SketchingDev Apr 14, 2026
0a9adb9
CallStreamAdapter extend interface
SketchingDev Apr 14, 2026
b705613
IVR Tester checks StartServer called first
SketchingDev Apr 14, 2026
c91ab6b
Handle no match in Cloudflare Hostname extraction
SketchingDev Apr 14, 2026
670a72e
provided criteria returns true
SketchingDev Apr 14, 2026
417ad22
Correct typo
SketchingDev Apr 14, 2026
a77d2dc
remove eslint comments
SketchingDev Apr 14, 2026
520df1e
Remove eslint comment
SketchingDev Apr 14, 2026
7838c42
console.log to debugger
SketchingDev Apr 14, 2026
f08d9a8
Remove commented out code
SketchingDev Apr 14, 2026
7273fc4
Fix throwing in handler
SketchingDev Apr 14, 2026
b72042a
Add audio player and biome rule
SketchingDev Apr 17, 2026
01a1011
Fix biome issue
SketchingDev Apr 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
24 changes: 0 additions & 24 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @sketchingdev
74 changes: 41 additions & 33 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,61 +8,69 @@
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
# ******** NOTE ********

#
name: "CodeQL"

on:
push:
branches: [ main ]
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [ "main" ]
schedule:
- cron: '44 12 * * 6'
- cron: '24 12 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

#- run: |
# make bootstrap
# make release
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
49 changes: 23 additions & 26 deletions .github/workflows/on-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,39 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: 12.x
- run: yarn
- run: yarn lint
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run lint
env:
CI: true

build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 12
- run: yarn --frozen-lockfile
- run: yarn build
- run: yarn test
- run: yarn test:integration
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- run: npm test

update-documentation:
needs: build-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: 12.x
- run: yarn
- run: yarn build
- name: Generate documentation
run: yarn doc
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- name: Commit updated documentation
uses: EndBug/add-and-commit@v5
with:
Expand All @@ -57,16 +54,16 @@ jobs:
needs: update-documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '12'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- run: yarn --frozen-lockfile
- run: yarn readme:copy
- run: yarn build
- run: npm ci
- run: npm run readme:copy
- run: npm run build
# Flag --no-verify-access is necessary to skip user and access validation due to third-party registry
# Alternatively set command.publish.registry in root lerna.json
- run: yarn lerna publish from-package --yes --no-verify-access
- run: npm publish --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24 changes: 11 additions & 13 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,25 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: 12.x
- run: yarn
- run: yarn lint
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run lint
env:
CI: true

build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: 12.x
- run: yarn
- run: yarn build
- run: yarn doc
- run: yarn test
- run: yarn test:integration
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- run: npm test
15 changes: 3 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
node_modules/
dist/

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand All @@ -23,12 +21,5 @@ pids
# Optional eslint cache
.eslintcache

# Yarn Integrity file
.yarn-integrity

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
settings.local.json
.env*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 SketchingDev (sketchingdev.co.uk)
Copyright (c) 2026 Lucas Woodward

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading