-
Notifications
You must be signed in to change notification settings - Fork 18
Examples with node v20 #19
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
Open
Iru89
wants to merge
25
commits into
master
Choose a base branch
from
examples-node-v20
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b16356e
refactor(blank): remove nlp folder and fix dependencies
Iru89 e4a8b84
refactor(blank-typescript): remove nlp folder and fix dependencies
Iru89 c4ad3e9
chore(blank): remove intents config from webpack
Iru89 370a53b
chore(blank): update config for babel and jest
Iru89 555285c
chore(github): use node 20 in github actions
Iru89 55995f6
refactor(blank-typescript): upgrade packages, config jest, tsconfig a…
Iru89 9e53b21
refactor(blank): replace imagemin-webpack for image-minimizer-webpack…
Iru89 5393cca
refactor(blank-typescript): replace imagemin-webpack for image-minimi…
Iru89 28fdfbf
refactor(booking-platform): update booking-platform using node v20
Iru89 3a1fea6
refactor(childs): update childs using node v20
Iru89 181b236
refactor(custom-webchat): update custom-webchat using node v20
Iru89 1ae4a84
refactor(dynamic-carousel): update dynamic-carousel using node v20
Iru89 5079500
refactor(handoff): update handoff using node v20
Iru89 44cf88d
refactor(intent): update intent using node v20
Iru89 0b27a9e
refactor(dynamodb): update dynamodb using node v20
Iru89 dce04d1
refactor(examples): upgrade @botonic/react to alpha.5 and fix tests
Iru89 e7d429f
chore(nlu) remove nlu example
Iru89 fc2cde6
chore(nlu-assistant) remove nlu-assistant example
Iru89 b47e16b
test(childs): refactor test to pass session as undefined
Iru89 b666dd0
refactor(tutorial): update tutorial using node v20
Iru89 4072872
chore(example): remove unused github actions
Iru89 4dc738c
chore(example): use --legacy-peer-deps in custom-webchat github action
Iru89 8349f18
test(tutorial): add jest.config.js and change output string
Iru89 06be866
chore(blank-typescript): add missing require
Iru89 59bdc4a
refactor(tutorial): remove meta files created for esbuild
Iru89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| const path = require('path') | ||
|
|
||
| module.exports = { | ||
| rootDir: "tests", | ||
| transform: { | ||
| "^.+\\.[j|t]sx?$": [ | ||
| "ts-jest", | ||
| ], | ||
| }, | ||
| transformIgnorePatterns: [ | ||
| "/node_modules/(?!@botonic).+\\.(js|jsx|ts|tsx)$" | ||
| ], | ||
| moduleNameMapper: { | ||
| "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", | ||
| "\\.(scss|css|less)$": "<rootDir>/__mocks__/styleMock.js" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
68 changes: 0 additions & 68 deletions
68
blank-typescript/src/nlp/tasks/intent-classification/train.ts
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| import { PluginConfig } from '@botonic/core' | ||
| import type { PluginConfig } from '@botonic/core' | ||
|
|
||
| export const plugins: PluginConfig<any>[] = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| const path = require('path') | ||
|
|
||
| module.exports = { | ||
| rootDir: "tests", | ||
| transform: { | ||
| "^.+\\.jsx?$": [ | ||
| "babel-jest", | ||
| { "configFile": path.resolve(__dirname, "babel.config.js") }, | ||
| ], | ||
| }, | ||
| transformIgnorePatterns: [ | ||
| "/node_modules/(?!@botonic).+\\.(js|jsx|ts|tsx)$" | ||
| ], | ||
| moduleNameMapper: { | ||
| "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", | ||
| "\\.(scss|css|less)$": "<rootDir>/__mocks__/styleMock.js" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.