From 964b369c1392b97fc44bba2b162fac026f65e36d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:15:19 -0400 Subject: [PATCH 01/26] spelling: ; otherwise, Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- entities/src/lists/engines/wasm/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/src/lists/engines/wasm/index.ts b/entities/src/lists/engines/wasm/index.ts index 210560df7..73c6467dd 100644 --- a/entities/src/lists/engines/wasm/index.ts +++ b/entities/src/lists/engines/wasm/index.ts @@ -21,7 +21,7 @@ const maybeInitialize = () => { * It seems that, someone in the process is responsible for freeing them, but I don't know who. * It is not really clear in the wasm-bindgen documentation, and the generated code is not easy to read. * - * However, outputs of wasm functions must be freed, otherwise there will be memory leaks. + * However, outputs of wasm functions must be freed; otherwise, there will be memory leaks. */ type Model = ListEntityModel From 222cac232d8901483620bc12bef82a84af5ef4ef Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:14:55 -0400 Subject: [PATCH 02/26] spelling: a Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- opapi/src/generators/errors.ts | 2 +- promex/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opapi/src/generators/errors.ts b/opapi/src/generators/errors.ts index bab79588c..23938920a 100644 --- a/opapi/src/generators/errors.ts +++ b/opapi/src/generators/errors.ts @@ -136,7 +136,7 @@ export const errorFrom = (err: unknown): ApiError => { } function getApiErrorFromObject(err: any) { - // Check if it's an deserialized API error object + // Check if it's a deserialized API error object if (typeof err === 'object' && 'code' in err && 'type' in err && 'id' in err && 'message' in err && typeof err.type === 'string' && typeof err.message === 'string') { const ErrorClass = errorTypes[err.type] if (!ErrorClass) { diff --git a/promex/readme.md b/promex/readme.md index 559ad550c..4bad7c622 100644 --- a/promex/readme.md +++ b/promex/readme.md @@ -24,7 +24,7 @@ promex.start() // Starts a metrics server on port 9090 ``` -Promex can also be used with an handler on an express app +Promex can also be used with a handler on an express app ```ts import * as promex from '@bpinternal/promex'; From 16d66411dc93d56733e7e8f3d4a76019920fc9d9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:22:43 -0400 Subject: [PATCH 03/26] spelling: absolutely Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- depsynky/readme.md | 2 +- entities/README.md | 2 +- es-node/readme.md | 2 +- genenv/readme.md | 2 +- jex/readme.md | 2 +- log4bot/readme.md | 2 +- opapi/readme.md | 2 +- pingrip/README.md | 2 +- promex/readme.md | 2 +- ptb-schema/readme.md | 2 +- readiness/readme.md | 2 +- retry/readme.md | 2 +- slackdown/README.md | 2 +- thicktoken/readme.md | 2 +- trail/readme.md | 2 +- tunnel/readme.md | 2 +- verel/readme.md | 2 +- yargs-extra/readme.md | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index ec138afbc..40573f84b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Internal packages used by the Botpress team accross multiple repositories. These packages are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, they were still left intentionally public for an important reason : **We Love Open-Source**. -Therefore, if you wish to install or fork any of these packages feel absolutly free to do it. We strongly recommend that you tag your versions properly. +Therefore, if you wish to install or fork any of these packages feel absolutely free to do it. We strongly recommend that you tag your versions properly. ## Licensing diff --git a/depsynky/readme.md b/depsynky/readme.md index 24bd04ad2..81164d665 100644 --- a/depsynky/readme.md +++ b/depsynky/readme.md @@ -4,6 +4,6 @@ CLI to synchronize dependencies accross a pnpm mono-repo ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/entities/README.md b/entities/README.md index ee2803891..9d9850e7c 100644 --- a/entities/README.md +++ b/entities/README.md @@ -39,6 +39,6 @@ console.log(results) // 2 of type fruit and 1 of type company ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/es-node/readme.md b/es-node/readme.md index 8e91349f2..15b892d67 100644 --- a/es-node/readme.md +++ b/es-node/readme.md @@ -4,6 +4,6 @@ like ts-node, but uses esbuild. ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/genenv/readme.md b/genenv/readme.md index e12081c7e..3fd5e8fbd 100644 --- a/genenv/readme.md +++ b/genenv/readme.md @@ -23,6 +23,6 @@ export const MY_ENV3 = '$MY_ENV3' // default value ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/jex/readme.md b/jex/readme.md index 0ae2a5b2a..a798f198c 100644 --- a/jex/readme.md +++ b/jex/readme.md @@ -45,6 +45,6 @@ console.log(res2) // false ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install this package feel absolutly free to do it. We strongly recomand that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install this package feel absolutely free to do it. We strongly recomand that you tag your versions properly. The Botpress Engineering team. diff --git a/log4bot/readme.md b/log4bot/readme.md index ac0f9ea97..197a3258c 100644 --- a/log4bot/readme.md +++ b/log4bot/readme.md @@ -15,6 +15,6 @@ logger.attachError(new Error('Precondition Failed')).error('An error occured') ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/opapi/readme.md b/opapi/readme.md index 56c429579..0566f67f2 100644 --- a/opapi/readme.md +++ b/opapi/readme.md @@ -88,6 +88,6 @@ api.exportClient('./gen/client') // This will generate a client that can be used ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/pingrip/README.md b/pingrip/README.md index 49ad23211..47f96c34b 100644 --- a/pingrip/README.md +++ b/pingrip/README.md @@ -51,6 +51,6 @@ function handler(body: string) { ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/promex/readme.md b/promex/readme.md index 4bad7c622..9569c88ec 100644 --- a/promex/readme.md +++ b/promex/readme.md @@ -43,6 +43,6 @@ app.listen() ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/ptb-schema/readme.md b/ptb-schema/readme.md index c07c077e4..a8f990c72 100644 --- a/ptb-schema/readme.md +++ b/ptb-schema/readme.md @@ -51,6 +51,6 @@ console.log('decoded:', decoded) ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/readiness/readme.md b/readiness/readme.md index 5d9510934..2d45d5641 100644 --- a/readiness/readme.md +++ b/readiness/readme.md @@ -12,6 +12,6 @@ curl http://localhost:9398/ready ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/retry/readme.md b/retry/readme.md index febf47849..f77f44864 100644 --- a/retry/readme.md +++ b/retry/readme.md @@ -6,6 +6,6 @@ The original library was unmaintained. ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/slackdown/README.md b/slackdown/README.md index 791c48c28..98df5de88 100644 --- a/slackdown/README.md +++ b/slackdown/README.md @@ -13,6 +13,6 @@ const markdown = slackToMarkdown('') ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/thicktoken/readme.md b/thicktoken/readme.md index 466fda46b..4a64301ae 100644 --- a/thicktoken/readme.md +++ b/thicktoken/readme.md @@ -4,6 +4,6 @@ Tiktoken but thicker; A bundled tokenizer with added helper functions ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/trail/readme.md b/trail/readme.md index d4dff2155..3323726ef 100644 --- a/trail/readme.md +++ b/trail/readme.md @@ -28,6 +28,6 @@ The available environment variables for configuring the tracing client are: ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/tunnel/readme.md b/tunnel/readme.md index 144aaf844..8beae4818 100644 --- a/tunnel/readme.md +++ b/tunnel/readme.md @@ -6,6 +6,6 @@ Used in the botpress tunnel system. ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/verel/readme.md b/verel/readme.md index 462144645..f0eb7922b 100644 --- a/verel/readme.md +++ b/verel/readme.md @@ -52,6 +52,6 @@ console.log(outputEvent) ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. diff --git a/yargs-extra/readme.md b/yargs-extra/readme.md index e464f7469..6633de763 100644 --- a/yargs-extra/readme.md +++ b/yargs-extra/readme.md @@ -76,6 +76,6 @@ When opening the config file in vscode, you'll get intellisense: ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutly free to do it. We strongly recommend that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install or fork this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. From 9bfadcde59c2aadb3c54f642584c76a72ae72393 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:23:10 -0400 Subject: [PATCH 04/26] spelling: across Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- depsynky/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 40573f84b..fcad17f86 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # packages -Internal packages used by the Botpress team accross multiple repositories. +Internal packages used by the Botpress team across multiple repositories. These packages are not meant for our community. Since the packages are catered to our own use-cases, they might have less stable APIs, receive breaking changes without much warning, have minimal documentation and lack community-focused support. However, they were still left intentionally public for an important reason : **We Love Open-Source**. diff --git a/depsynky/readme.md b/depsynky/readme.md index 81164d665..bceccc910 100644 --- a/depsynky/readme.md +++ b/depsynky/readme.md @@ -1,6 +1,6 @@ # DepSynky -CLI to synchronize dependencies accross a pnpm mono-repo +CLI to synchronize dependencies across a pnpm mono-repo ## Disclaimer ⚠️ From 24bc0901ef24c1e9c77434b39c4f9309a7eba936 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:37:12 -0400 Subject: [PATCH 05/26] spelling: an Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- jex/src/jexir/from-json-schema.test.ts | 2 +- opapi/test/openapi.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jex/src/jexir/from-json-schema.test.ts b/jex/src/jexir/from-json-schema.test.ts index e6a31ba1f..635bbb598 100644 --- a/jex/src/jexir/from-json-schema.test.ts +++ b/jex/src/jexir/from-json-schema.test.ts @@ -187,7 +187,7 @@ test('JexIR should model map types', () => { }) }) -test('JexIR should model a object type with both properties and additionalProperties', () => { +test('JexIR should model an object type with both properties and additionalProperties', () => { expectJsonSchema({ type: 'object', properties: { diff --git a/opapi/test/openapi.test.ts b/opapi/test/openapi.test.ts index f9107202e..328ae4f1c 100644 --- a/opapi/test/openapi.test.ts +++ b/opapi/test/openapi.test.ts @@ -7,7 +7,7 @@ import { existsSync } from 'fs' const openapiFiles = ['metadata.json', 'openapi.json'] describe('openapi generator', () => { - it('should be able to generate a openapi', async () => { + it('should be able to generate an openapi', async () => { const genOpenapiFolder = join(__dirname, 'gen/openapi') const api = getMockApi() From 8baff4ea0ad7a3df0593c0d5d65b1c0b1794059b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:25:22 -0400 Subject: [PATCH 06/26] spelling: children Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- log4bot/src/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log4bot/src/logger.ts b/log4bot/src/logger.ts index 61d1e593f..c9054b8ce 100644 --- a/log4bot/src/logger.ts +++ b/log4bot/src/logger.ts @@ -33,7 +33,7 @@ export class Logger implements types.Logger { this._filters = _.mapValues(config.filters, regexParser) as any as { [level: string]: RegExp } } - // logger configures all childs + // logger configures all children for (const logger of this._loggers.values()) { logger.configure(config) } From b34da765ff5e10b13853f8413300ba4e47b7cb14 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:15:48 -0400 Subject: [PATCH 07/26] spelling: fall back Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- mcp-gen/src/api.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp-gen/src/api.test.ts b/mcp-gen/src/api.test.ts index fdadb3269..c39f3a682 100644 --- a/mcp-gen/src/api.test.ts +++ b/mcp-gen/src/api.test.ts @@ -142,7 +142,7 @@ describe('api', () => { await expect(generateIntegrationWithConfig({ outputDir: './output' })).rejects.toThrow('mcpServerUrl is required') }) - it('should fallback to http transport when config has no type', async () => { + it('should fall back to http transport when config has no type', async () => { mockLoad.mockResolvedValue({ name: 'test', url: 'http://localhost:3000' } as any) mockGenerate.mockResolvedValue(undefined) From 9507b026953e2b6f97a0716c08fcacc73f008103 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:44:05 -0400 Subject: [PATCH 08/26] spelling: implementation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- opapi/src/generators/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opapi/src/generators/errors.ts b/opapi/src/generators/errors.ts index 23938920a..0cf31b756 100644 --- a/opapi/src/generators/errors.ts +++ b/opapi/src/generators/errors.ts @@ -51,7 +51,7 @@ let cryptoLib: CryptoLib = : crypto if (!cryptoLib.getRandomValues) { - // Use a polyfill in older environments that have a crypto implementaton missing getRandomValues() + // Use a polyfill in older environments that have a crypto implementation missing getRandomValues() cryptoLib = cryptoLibPolyfill } From 456711c38d9556f27f89393d9e87038229cdab8a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:26:13 -0400 Subject: [PATCH 09/26] spelling: inferring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- ptb-schema/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptb-schema/readme.md b/ptb-schema/readme.md index a8f990c72..839d6bd67 100644 --- a/ptb-schema/readme.md +++ b/ptb-schema/readme.md @@ -1,6 +1,6 @@ # Protobuf Schema -Small wrapper above [protobufjs](https://github.com/protobufjs/protobuf.js) that allows infering a TypeScript type directly from a protobuf schema in a [zod](https://github.com/colinhacks/zod)-like fashion. +Small wrapper above [protobufjs](https://github.com/protobufjs/protobuf.js) that allows inferring a TypeScript type directly from a protobuf schema in a [zod](https://github.com/colinhacks/zod)-like fashion. Defining a `PTBMessage` allows both to decode/encode data structures and to define types. From 119b19f95f6c02099463afb4fe6c4f0a0857dc5a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:26:30 -0400 Subject: [PATCH 10/26] spelling: instance Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- trail/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trail/readme.md b/trail/readme.md index 3323726ef..f350ec757 100644 --- a/trail/readme.md +++ b/trail/readme.md @@ -22,7 +22,7 @@ The available environment variables for configuring the tracing client are: - OTEL_EXPORTER_JAEGER_ENDPOINT `url` Sets the Jaeger collector endpoint - OTEL_SERVICE_NAME `string` Sets the service name given to a trace - OTEL_SERVICE_VERSION `string` Sets the current running version of the service -- OTEL_SERVICE_VERSION_INSTANCE_ID `string` Sets the node intance id on which the service is running on +- OTEL_SERVICE_VERSION_INSTANCE_ID `string` Sets the node instance id on which the service is running on - OTEL_SERVICE_NAMESPACE `string` Sets the namespace of the service - OTEL_DEPLOYMENT_ENVIRONMENT `string` Sets the environment of the service From a3ba9ce230263b1e36b22aa58c2cc6ae459da479 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:27:30 -0400 Subject: [PATCH 11/26] spelling: occurred Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- log4bot/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log4bot/readme.md b/log4bot/readme.md index 197a3258c..cacdb70d2 100644 --- a/log4bot/readme.md +++ b/log4bot/readme.md @@ -10,7 +10,7 @@ import { Logger } from '@bpinternal/log4bot' const logger = new Logger('main', { prefix: 'MYAPP', level: 'debug' }) logger.info('I love Botpress.', { afield: '42' }) -logger.attachError(new Error('Precondition Failed')).error('An error occured') +logger.attachError(new Error('Precondition Failed')).error('An error occurred') ``` ## Disclaimer ⚠️ From 4ff443e76238c99fb708f40da6d025974ddd40e6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:27:41 -0400 Subject: [PATCH 12/26] spelling: occurrence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- entities/src/lists.test.ts | 2 +- opapi/src/jsonschema.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/entities/src/lists.test.ts b/entities/src/lists.test.ts index 32df5fa38..51a293123 100644 --- a/entities/src/lists.test.ts +++ b/entities/src/lists.test.ts @@ -95,7 +95,7 @@ describe.each(['wasm', 'javascript'] satisfies ListEntityEngine[])('%s list enti ) }) - test('same occurence in multiple entities extracts multiple entities', () => { + test('same occurrence in multiple entities extracts multiple entities', () => { // arrange const testEntities: ListEntityDef[] = [ ...listEntities, diff --git a/opapi/src/jsonschema.ts b/opapi/src/jsonschema.ts index e6153049e..e24ccbd68 100644 --- a/opapi/src/jsonschema.ts +++ b/opapi/src/jsonschema.ts @@ -135,7 +135,7 @@ export const exploreJsonSchema = * Lib "@anatine/zod-openapi" transforms zod to json-schema using the nullable property. * This property is not officially supported by json-schema, but supported by ajv (see: https://ajv.js.org/json-schema.html#nullable) * Since it's not officially supported, some tools like "json-schema-to-typescript" don't support it. - * This function replaces all occurences of { type: T, nullable: true } with { anyOf: [{ type: T }, { type: 'null' }] } + * This function replaces all occurrences of { type: T, nullable: true } with { anyOf: [{ type: T }, { type: 'null' }] } */ export const replaceNullableWithUnion = (schema: NullableJsonSchema): JSONSchema7 => { const mapper = exploreJsonSchema((s) => { @@ -152,7 +152,7 @@ export const replaceNullableWithUnion = (schema: NullableJsonSchema): JSONSchema /** * Lib "@anatine/zod-openapi" transforms zod unions to json-schema oneOf. * This is a mistake as a union does not enforce that only one of the types is present. - * This function replaces all occurences of { oneOf: [{ type: T1 }, { type: T2 }] } with { anyOf: [{ type: T1 }, { type: T2 }] } + * This function replaces all occurrences of { oneOf: [{ type: T1 }, { type: T2 }] } with { anyOf: [{ type: T1 }, { type: T2 }] } */ export const replaceOneOfWithAnyOf = (oneOfSchema: JsonSchema): JSONSchema7 => { const mapper = exploreJsonSchema((schema) => { From 3b6b4bd2015275262101a36768e0ca515e2b8f33 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:29:18 -0400 Subject: [PATCH 13/26] spelling: perform Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- opapi/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opapi/readme.md b/opapi/readme.md index 0566f67f2..21a7b51e6 100644 --- a/opapi/readme.md +++ b/opapi/readme.md @@ -46,7 +46,7 @@ const api = new OpenApi({ { status: 403, type: 'Forbidden', - description: "The requested action can't be peform by this resource.", + description: "The requested action can't be perform by this resource.", }, { status: 400, From 8d156eb2b9822adee0b06808fc813b2b4927badd Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:29:46 -0400 Subject: [PATCH 14/26] spelling: province Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- entities/src/lists.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/src/lists.test.ts b/entities/src/lists.test.ts index 51a293123..2507879b2 100644 --- a/entities/src/lists.test.ts +++ b/entities/src/lists.test.ts @@ -123,7 +123,7 @@ describe.each(['wasm', 'javascript'] satisfies ListEntityEngine[])('%s list enti describe('fuzzy match', () => { describe('loose fuzzy', () => { - entityTest('[Qebec citty] is a city within [QC], a provice.', { qty: 1, value: 'YQB' }, { qty: 0 }) + entityTest('[Qebec citty] is a city within [QC], a province.', { qty: 1, value: 'YQB' }, { qty: 0 }) entityTest( 'A quaterback is also called a [QB] and [sn francisco] used to have one', { qty: 0 }, From dd515bf7932ea7be00ada52d6337f0e283c4070e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:30:03 -0400 Subject: [PATCH 15/26] spelling: quarterback Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- entities/src/lists.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/src/lists.test.ts b/entities/src/lists.test.ts index 2507879b2..95c52030e 100644 --- a/entities/src/lists.test.ts +++ b/entities/src/lists.test.ts @@ -125,7 +125,7 @@ describe.each(['wasm', 'javascript'] satisfies ListEntityEngine[])('%s list enti describe('loose fuzzy', () => { entityTest('[Qebec citty] is a city within [QC], a province.', { qty: 1, value: 'YQB' }, { qty: 0 }) entityTest( - 'A quaterback is also called a [QB] and [sn francisco] used to have one', + 'A quarterback is also called a [QB] and [sn francisco] used to have one', { qty: 0 }, { qty: 1, value: 'SFO' } ) From ef00f6f3d2061b414abe37a12d1d92a48b7c6ed9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:30:22 -0400 Subject: [PATCH 16/26] spelling: recommend Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- jex/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jex/readme.md b/jex/readme.md index a798f198c..e0a2f9356 100644 --- a/jex/readme.md +++ b/jex/readme.md @@ -45,6 +45,6 @@ console.log(res2) // false ## Disclaimer ⚠️ -This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install this package feel absolutely free to do it. We strongly recomand that you tag your versions properly. +This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install this package feel absolutely free to do it. We strongly recommend that you tag your versions properly. The Botpress Engineering team. From 0b0623803f5e0c2035dbae6cafa95d6138de2967 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:30:59 -0400 Subject: [PATCH 17/26] spelling: resources Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- readiness/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readiness/readme.md b/readiness/readme.md index 2d45d5641..4e896671c 100644 --- a/readiness/readme.md +++ b/readiness/readme.md @@ -1,6 +1,6 @@ # Readiness -Offers a readiness probe for docker ressources like Postgres, Redis, etc. +Offers a readiness probe for docker resources like Postgres, Redis, etc. ## Usage From e3dc18ee31b152d7ec20fbd0c0e19fa01a59ffa3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:30:42 -0400 Subject: [PATCH 18/26] spelling: response Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- tunnel/src/tunnel-client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tunnel/src/tunnel-client.ts b/tunnel/src/tunnel-client.ts index 201676284..39f76b4d6 100644 --- a/tunnel/src/tunnel-client.ts +++ b/tunnel/src/tunnel-client.ts @@ -170,7 +170,7 @@ export class TunnelHead extends TunnelClient { this.events.emit('hello', {}) return } - this.events.emit('response', message.reponse) + this.events.emit('response', message.response) }) } @@ -183,7 +183,7 @@ export class TunnelHead extends TunnelClient { private _parseMessage = ( ev: WebSocket.MessageEvent - ): { type: 'hello' } | { type: 'response'; reponse: TunnelResponse } | undefined => { + ): { type: 'hello' } | { type: 'response'; response: TunnelResponse } | undefined => { const data = JSON.parse(ev.data.toString()) const parseResult = headSchema.safeParse(data) @@ -195,6 +195,6 @@ export class TunnelHead extends TunnelClient { return { type: 'hello' } } - return { type: 'response', reponse: parseResult.data } + return { type: 'response', response: parseResult.data } } } From 6c4af4117e4f599305281ab7d4c8b0b19175a226 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:16:15 -0400 Subject: [PATCH 19/26] spelling: set up Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- promex/src/prometheus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promex/src/prometheus.ts b/promex/src/prometheus.ts index 238e23248..415bfd57e 100644 --- a/promex/src/prometheus.ts +++ b/promex/src/prometheus.ts @@ -19,7 +19,7 @@ let defaultNormalizedPathEnabled = true type TOptionalPromsterOptions = NonNullable[0]>['options'] /** - * config is used to setup the global promster middleware + * config is used to set up the global promster middleware * @param options for the promster middleware * @returns the configured promster middleware */ From fa10d91f59ec53fa33bdff3406514ced1aa2dace Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:15:15 -0400 Subject: [PATCH 20/26] spelling: should Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- jex/src/jexir/from-json-schema.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jex/src/jexir/from-json-schema.test.ts b/jex/src/jexir/from-json-schema.test.ts index 635bbb598..0d693da34 100644 --- a/jex/src/jexir/from-json-schema.test.ts +++ b/jex/src/jexir/from-json-schema.test.ts @@ -32,7 +32,7 @@ const expectJsonSchema = (jsonSchema: JSONSchema7) => ({ } }) -test('JexIR should should throw an error when the JSON schema is unsuported', () => { +test('JexIR should throw an error when the JSON schema is unsuported', () => { const foo = (schema: JSONSchema7) => $.object({ foo: schema }) const path: PropertyPath = [ { type: 'key', value: 'properties' }, @@ -47,7 +47,7 @@ test('JexIR should should throw an error when the JSON schema is unsuported', () expectJsonSchema(foo({ else: {} })).toFailAt(path) }) -test('JexIR should should throw an error when schema contains unresolved references', () => { +test('JexIR should throw an error when schema contains unresolved references', () => { const path: PropertyPath = [ { type: 'key', value: 'items' }, { type: 'number-index', value: 2 } From 69a83a2adc3c177d440786d5b647e1af491c7edf Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:31:52 -0400 Subject: [PATCH 21/26] spelling: substitution Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- entities/rssrc/strings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entities/rssrc/strings.rs b/entities/rssrc/strings.rs index 84edd48fc..32b242f5e 100644 --- a/entities/rssrc/strings.rs +++ b/entities/rssrc/strings.rs @@ -149,10 +149,10 @@ pub fn levenshtein_distance(a: &str, b: &str) -> usize { let bj = b_chars[j - 1]; let ai = a_chars[i - 1]; - let substitition_cost = if bj == ai { 0 } else { 1 }; + let substitution_cost = if bj == ai { 0 } else { 1 }; res = lodash::min(&[ - tmp + substitition_cost, // substitution + tmp + substitution_cost, // substitution res + 1, // insertion row[i] + 1, // deletion ]) From f87a074357f2544295d10de18e098f9fdf2f4f7f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:32:00 -0400 Subject: [PATCH 22/26] spelling: successful Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- retry/src/retry-cli.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retry/src/retry-cli.test.ts b/retry/src/retry-cli.test.ts index 64f430206..5220d7bf7 100644 --- a/retry/src/retry-cli.test.ts +++ b/retry/src/retry-cli.test.ts @@ -46,7 +46,7 @@ test('retry-cli help should run successfully', async () => { expect(exitCode).toBe(0) }) -test('retry-cli retry of a successfull command should run successfully once', async () => { +test('retry-cli retry of a successful command should run successfully once', async () => { const { stderr, stdout, exitCode } = await runCommand(`${RETRY} -n 20 -- echo "HELLO WORLD"`) expect(stderr).toBe('') expect(parseStd(stdout)).toEqual(['HELLO WORLD']) From 1631c4bf47dd7eb5f1ac0a0e481c991a6cb2a150 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:40:33 -0400 Subject: [PATCH 23/26] spelling: unsuccessful Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- retry/src/retry-cli.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retry/src/retry-cli.test.ts b/retry/src/retry-cli.test.ts index 5220d7bf7..af612f072 100644 --- a/retry/src/retry-cli.test.ts +++ b/retry/src/retry-cli.test.ts @@ -53,7 +53,7 @@ test('retry-cli retry of a successful command should run successfully once', asy expect(exitCode).toBe(0) }) -test('retry-cli retry of an unsuccessfull command should retry n + 1 times', async () => { +test('retry-cli retry of an unsuccessful command should retry n + 1 times', async () => { const { stderr, exitCode } = await runCommand( `${RETRY} -n 5 -f 0 -- node -e "console.error('### ERROR'); process.exit(42)"` ) From ab57eaaa8d59e7f1cfb865b83fe91d09c28355eb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:40:03 -0400 Subject: [PATCH 24/26] spelling: unsupported Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- entities/build.ts | 2 +- jex/src/errors.ts | 2 +- jex/src/jexir/from-json-schema.test.ts | 2 +- jex/src/jexir/from-json-schema.ts | 14 +++++++------- verel/build.ts | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/entities/build.ts b/entities/build.ts index de1a85e1f..435c89aa3 100644 --- a/entities/build.ts +++ b/entities/build.ts @@ -140,7 +140,7 @@ const main = async (argv: string[]) => { await buildWeb() return } - throw new Error(`Unsuported target: ${target}`) + throw new Error(`Unsupported target: ${target}`) } void main(process.argv.slice(2)) diff --git a/jex/src/errors.ts b/jex/src/errors.ts index 7a428125a..b6453e8fe 100644 --- a/jex/src/errors.ts +++ b/jex/src/errors.ts @@ -36,7 +36,7 @@ export class JexUnresolvedReferenceError extends JexInvalidJsonSchemaError { } } -export class JexUnsuportedJsonSchemaError extends JexInvalidJsonSchemaError { +export class JexUnsupportedJsonSchemaError extends JexInvalidJsonSchemaError { public constructor(path: PropertyPath, schema: JSONSchema7Definition) { const pathString = pathToString(path) super(path, `Unsupported JSON schema at ${pathString}: ${JSON.stringify(schema)}`) diff --git a/jex/src/jexir/from-json-schema.test.ts b/jex/src/jexir/from-json-schema.test.ts index 0d693da34..85f7c1f5c 100644 --- a/jex/src/jexir/from-json-schema.test.ts +++ b/jex/src/jexir/from-json-schema.test.ts @@ -32,7 +32,7 @@ const expectJsonSchema = (jsonSchema: JSONSchema7) => ({ } }) -test('JexIR should throw an error when the JSON schema is unsuported', () => { +test('JexIR should throw an error when the JSON schema is unsupported', () => { const foo = (schema: JSONSchema7) => $.object({ foo: schema }) const path: PropertyPath = [ { type: 'key', value: 'properties' }, diff --git a/jex/src/jexir/from-json-schema.ts b/jex/src/jexir/from-json-schema.ts index e922ccf96..9eb6c61fe 100644 --- a/jex/src/jexir/from-json-schema.ts +++ b/jex/src/jexir/from-json-schema.ts @@ -73,7 +73,7 @@ const _toInternalRep = (path: JSONSchemaPropertyPath, schema: JSONSchema7Definit } if (schema.oneOf !== undefined) { - throw new errors.JexUnsuportedJsonSchemaError(path.path, { oneOf: schema.oneOf }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { oneOf: schema.oneOf }) } if (schema.$ref !== undefined) { @@ -81,23 +81,23 @@ const _toInternalRep = (path: JSONSchemaPropertyPath, schema: JSONSchema7Definit } if (schema.patternProperties !== undefined) { - throw new errors.JexUnsuportedJsonSchemaError(path.path, { patternProperties: schema.patternProperties }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { patternProperties: schema.patternProperties }) } if (schema.propertyNames !== undefined) { - throw new errors.JexUnsuportedJsonSchemaError(path.path, { propertyNames: schema.propertyNames }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { propertyNames: schema.propertyNames }) } if (schema.if !== undefined) { - throw new errors.JexUnsuportedJsonSchemaError(path.path, { if: schema.if }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { if: schema.if }) } if (schema.then !== undefined) { - throw new errors.JexUnsuportedJsonSchemaError(path.path, { then: schema.then }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { then: schema.then }) } if (schema.else !== undefined) { - throw new errors.JexUnsuportedJsonSchemaError(path.path, { else: schema.else }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { else: schema.else }) } if (schema.not !== undefined) { @@ -114,7 +114,7 @@ const _toInternalRep = (path: JSONSchemaPropertyPath, schema: JSONSchema7Definit } } - throw new errors.JexUnsuportedJsonSchemaError(path.path, { not: schema.not }) + throw new errors.JexUnsupportedJsonSchemaError(path.path, { not: schema.not }) } if (Array.isArray(schema.type)) { diff --git a/verel/build.ts b/verel/build.ts index 5ff6c26ee..5b5ae8d09 100644 --- a/verel/build.ts +++ b/verel/build.ts @@ -140,7 +140,7 @@ const main = async (argv: string[]) => { await buildWeb() return } - throw new Error(`Unsuported target: ${target}`) + throw new Error(`Unsupported target: ${target}`) } void main(process.argv.slice(2)) From 9235b68210fc41b04b0bc6a635db9ab1065723ad Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:40:17 -0400 Subject: [PATCH 25/26] spelling: useful Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- opapi/src/generators/client-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opapi/src/generators/client-node.ts b/opapi/src/generators/client-node.ts index b56fc5bd1..b1924a19c 100644 --- a/opapi/src/generators/client-node.ts +++ b/opapi/src/generators/client-node.ts @@ -27,7 +27,7 @@ const fixSchema = (schema: JSONSchema7): JSONSchema7 => { return schema } -// usefull for debugging, remove when generator is stable +// useful for debugging, remove when generator is stable const debugSchema = (inputSchema: JSONSchema7, key: string, enable: boolean = false) => (tsCode: string) => { From ed5172f14de6f945d253cb0194ee9fe249e76663 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:39:21 -0400 Subject: [PATCH 26/26] spelling: when Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- opapi/src/generators/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opapi/src/generators/errors.ts b/opapi/src/generators/errors.ts index 0cf31b756..749c5830d 100644 --- a/opapi/src/generators/errors.ts +++ b/opapi/src/generators/errors.ts @@ -41,7 +41,7 @@ declare const window: any type CryptoLib = { getRandomValues(array: Uint8Array): Uint8Array } const cryptoLibPolyfill: CryptoLib = { - // Fallback in case crypto isn't available. + // Fallback when crypto isn't available. getRandomValues: (array: Uint8Array) => new Uint8Array(array.map(() => Math.floor(Math.random() * 256))), }