Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Botonic cli regex bot config #2919

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions packages/botonic-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm install -g @botonic/cli
$ botonic COMMAND
running command...
$ botonic (-v|--version|version)
@botonic/cli/0.30.0 darwin-arm64 node-v20.11.1
@botonic/cli/0.30.1 darwin-arm64 node-v20.11.1
$ botonic --help [COMMAND]
USAGE
$ botonic COMMAND
Expand Down Expand Up @@ -66,7 +66,7 @@ EXAMPLES
Deploying to AWS...
```

_See code: [lib/commands/deploy.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/deploy.js)_
_See code: [lib/commands/deploy.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/deploy.js)_

## `botonic destroy [PROVIDER]`

Expand All @@ -81,7 +81,7 @@ EXAMPLE
Destroying AWS stack...
```

_See code: [lib/commands/destroy.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/destroy.js)_
_See code: [lib/commands/destroy.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/destroy.js)_

## `botonic help [COMMAND]`

Expand Down Expand Up @@ -112,7 +112,7 @@ OPTIONS
-p, --path=path Path to botonic project. Defaults to current dir.
```

_See code: [lib/commands/login.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/login.js)_
_See code: [lib/commands/login.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/login.js)_

## `botonic logout`

Expand All @@ -126,7 +126,7 @@ OPTIONS
-p, --path=path Path to botonic project. Defaults to current dir.
```

_See code: [lib/commands/logout.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/logout.js)_
_See code: [lib/commands/logout.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/logout.js)_

## `botonic new NAME [PROJECTNAME]`

Expand All @@ -146,7 +146,7 @@ EXAMPLE
✨ test_bot was successfully created!
```

_See code: [lib/commands/new.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/new.js)_
_See code: [lib/commands/new.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/new.js)_

## `botonic serve`

Expand All @@ -164,7 +164,7 @@ EXAMPLE
> Project is running at http://localhost:8080/
```

_See code: [lib/commands/serve.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/serve.js)_
_See code: [lib/commands/serve.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/serve.js)_

## `botonic test`

Expand All @@ -191,5 +191,5 @@ EXAMPLE
Ran all test suites.
```

_See code: [lib/commands/test.js](https://github.com/hubtype/botonic/blob/v0.30.0/lib/commands/test.js)_
_See code: [lib/commands/test.js](https://github.com/hubtype/botonic/blob/v0.30.1/lib/commands/test.js)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion packages/botonic-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@botonic/cli",
"description": "Build Chatbots Using React",
"version": "0.30.0",
"version": "0.30.1",
"license": "MIT",
"bin": {
"botonic": "./bin/run"
Expand Down
2 changes: 1 addition & 1 deletion packages/botonic-cli/src/util/bot-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as util from 'util'

const BOTONIC_PREFIX_PACKAGE = '@botonic'
const BOTONIC_CORE_PACKAGE = `${BOTONIC_PREFIX_PACKAGE}/core`
const botonicCliVersionRegex = /@botonic\/cli\/([\d.]+-[\w.]+)/
const botonicCliVersionRegex = /@botonic\/cli\/([^ ]+)/
const NPM_DEPTH_1 = 1
const NPM_DEPTH_0 = 0

Expand Down
Loading