Skip to content

Commit

Permalink
botonic: publish 0.31.0 (#2969)
Browse files Browse the repository at this point in the history
## Description

publish version 0.31.0 for all package except @botonic/cli
@botonic/dx-bundler-wepack and examples
  • Loading branch information
Iru89 authored Jan 24, 2025
1 parent b960748 commit 76a2131
Show file tree
Hide file tree
Showing 24 changed files with 281 additions and 297 deletions.
347 changes: 161 additions & 186 deletions package-lock.json

Large diffs are not rendered by default.

45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,39 @@
"clean": "rimraf packages/**/lib"
},
"dependencies": {
"axios": "^1.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"axios": "^1.7.9",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.9",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"@types/react-dom": "^18.0.0",
"@types/react": "^18.0.0",
"@types/rimraf": "^3.0.0",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.14",
"@types/react-dom": "^18.3.5",
"@types/react": "^18.3.18",
"@types/rimraf": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-plugin-add-module-exports": "^1.0.4",
"cloc": "^2.7.0",
"eslint": "^8.56.0",
"eslint": "^8.57.1",
"eslint_d": "^13.1.2",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^29.7.0",
"jest-each": "^29.7.0",
Expand All @@ -59,7 +59,8 @@
}
},
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"license": "MIT",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/botonic-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@oclif/config": "^1.18.10",
"@oclif/plugin-help": "^3.2.2",
"analytics-node": "^3.5.0",
"axios": "^1.7.2",
"axios": "^1.7.9",
"colors": "^1.4.0",
"concurrently": "^6.2.1",
"fetch-repo-dir": "^1.0.6",
Expand Down
9 changes: 5 additions & 4 deletions packages/botonic-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/core",
"version": "0.31.0-alpha.1",
"version": "0.31.0",
"license": "MIT",
"description": "Build Chatbots using React",
"main": "./lib/cjs/index.js",
Expand Down Expand Up @@ -29,8 +29,8 @@
"README.md"
],
"dependencies": {
"@babel/plugin-transform-runtime": "^7.23.9",
"axios": "^1.7.2",
"@babel/plugin-transform-runtime": "^7.25.9",
"axios": "^1.7.9",
"decode": "^0.3.0",
"pako": "^2.1.0",
"process": "^0.11.10",
Expand All @@ -44,7 +44,8 @@
},
"homepage": "https://github.com/hubtype/botonic#readme",
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"keywords": [
"bot-framework",
Expand Down
30 changes: 8 additions & 22 deletions packages/botonic-dx-bundler-rspack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,32 @@ This package simplifies the configuration of a rspack bundler to build a Botonic

Do:

````
export function MyWebview(){
...
return
}
```typescript
export function MyWebview() {}
```

instead of:
````

export const MyWebview = () => {
...
return
}

```typescript
export const MyWebview = () => {}
```

## Setup

- Install this package.

```

npm install -D @botonic/dx-bundler-rspack

```

- Copy `baseline/rspack.config.js` file to the root of your project.

- Add this script to your package.json to build for production and start for development in local.

```

...
```json
"scipts": {
...
"build_production": "ENVIRONMENT=production NODE_ENV=production rspack build --env target=all --mode=production",
"start": "ENVIRONMENT=local NODE_ENV=development rspack serve --env target=dev --mode=development",
...
"build_production": "ENVIRONMENT=production NODE_ENV=production rspack build --env target=all --mode=production",
"start": "ENVIRONMENT=local NODE_ENV=development rspack serve --env target=dev --mode=development",
}

```
```
5 changes: 3 additions & 2 deletions packages/botonic-dx-bundler-rspack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/dx-bundler-rspack",
"version": "0.31.0-alpha.0",
"version": "0.31.0",
"description": "Build Botonic bots with RSPack",
"scripts": {
"build": "echo Skipping build...",
Expand Down Expand Up @@ -40,6 +40,7 @@
"typescript"
],
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
}
}
3 changes: 2 additions & 1 deletion packages/botonic-dx-bundler-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"webpackbar": "^5.0.2"
},
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"files": [
"README.md",
Expand Down
9 changes: 5 additions & 4 deletions packages/botonic-dx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/dx",
"version": "0.31.0-alpha.2",
"version": "0.31.0",
"description": "Continuous integration for botonic packages",
"scripts": {
"build": "echo Skipping build..."
Expand All @@ -13,8 +13,8 @@
"typescript"
],
"dependencies": {
"@botonic/dx-bundler-rspack": "0.31.0-alpha.0",
"@botonic/eslint-config": "0.31.0-alpha.2",
"@botonic/dx-bundler-rspack": "^0.31.0",
"@botonic/eslint-config": "^0.31.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.14",
"eslint": "^8.57.1",
Expand All @@ -35,7 +35,8 @@
"typescript": "^4.9.5"
},
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"files": [
"README.md",
Expand Down
2 changes: 1 addition & 1 deletion packages/botonic-eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/eslint-config",
"version": "0.31.0-alpha.2",
"version": "0.31.0",
"description": "Eslint config for botonic packages",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions packages/botonic-plugin-contentful/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-contentful",
"version": "0.30.0",
"version": "0.31.0",
"license": "MIT",
"main": "lib/cjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -72,7 +72,8 @@
"identity-obj-proxy": "^3.0.0"
},
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"keywords": [
"bot-framework",
Expand Down
4 changes: 2 additions & 2 deletions packages/botonic-plugin-dashbot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-dashbot",
"version": "0.30.0",
"version": "0.31.0",
"license": "MIT",
"main": "src/index.js",
"scripts": {
Expand All @@ -12,7 +12,7 @@
"prepublishOnly": "npm i && npm run build"
},
"dependencies": {
"axios": "^1.7.2",
"axios": "^1.7.9",
"dashbot": "^11.2.5"
},
"devDependencies": {},
Expand Down
8 changes: 4 additions & 4 deletions packages/botonic-plugin-dialogflow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-dialogflow",
"version": "0.30.1",
"version": "0.31.0",
"license": "MIT",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
Expand All @@ -15,9 +15,9 @@
"lint_core": "../../node_modules/.bin/eslint_d --cache --quiet 'src/**/*.ts'"
},
"dependencies": {
"@babel/runtime": "^7.23.9",
"@botonic/core": "^0.30.0",
"axios": "^1.7.2",
"@babel/runtime": "^7.26.0",
"@botonic/core": "^0.31.0",
"axios": "^1.7.9",
"jsrsasign": "^10.9.0",
"uuid": "^10.0.0"
},
Expand Down
7 changes: 4 additions & 3 deletions packages/botonic-plugin-dynamodb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-dynamodb",
"version": "0.30.0",
"version": "0.31.0",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/cjs/index.d.ts",
Expand All @@ -18,7 +18,7 @@
"@aws/dynamodb-data-mapper": "^0.7.3",
"@aws/dynamodb-data-mapper-annotations": "^0.7.3",
"@babel/runtime": "^7.23.9",
"@botonic/core": "^0.30.0",
"@botonic/core": "^0.31.0",
"aws-sdk": "^2.1554.0"
},
"devDependencies": {
Expand All @@ -27,7 +27,8 @@
},
"author": "",
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"files": [
"lib/**",
Expand Down
9 changes: 5 additions & 4 deletions packages/botonic-plugin-flow-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-flow-builder",
"version": "0.31.0-alpha.6",
"version": "0.31.0",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"description": "Use Flow Builder to show your contents",
Expand All @@ -14,8 +14,8 @@
"lint_core": "../../node_modules/.bin/eslint_d --cache --quiet 'src/**/*.ts*'"
},
"dependencies": {
"@botonic/react": "0.31.0-alpha.6",
"axios": "^1.7.2",
"@botonic/react": "^0.31.0",
"axios": "^1.7.9",
"uuid": "^10.0.0"
},
"repository": {
Expand All @@ -32,7 +32,8 @@
"README.md"
],
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"keywords": [
"bot-framework",
Expand Down
10 changes: 7 additions & 3 deletions packages/botonic-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-google-analytics",
"version": "0.30.0",
"version": "0.31.0",
"license": "MIT",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
Expand All @@ -14,8 +14,12 @@
"lint_core": "../../node_modules/.bin/eslint_d --cache --quiet 'src/**/*.ts'"
},
"dependencies": {
"@botonic/core": "^0.30.0",
"axios": "^1.7.2"
"@botonic/core": "^0.31.0",
"axios": "^1.7.9"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"keywords": [
"analytics",
Expand Down
12 changes: 8 additions & 4 deletions packages/botonic-plugin-google-translation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-google-translation",
"version": "0.30.0",
"version": "0.31.0",
"license": "MIT",
"main": "lib/index.js",
"scripts": {
Expand All @@ -14,14 +14,18 @@
"lint_core": "../../node_modules/.bin/eslint_d --cache --quiet 'src/**/*.ts*'"
},
"dependencies": {
"@babel/runtime": "^7.23.9",
"@botonic/core": "^0.30.0",
"axios": "^1.7.2",
"@babel/runtime": "^7.26.0",
"@botonic/core": "^0.31.0",
"axios": "^1.7.9",
"jsrsasign": "^10.9.0"
},
"resolutions": {
"@types/webgl2": "0.0.6"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"keywords": [
"bot-framework",
"google-cloud-translation",
Expand Down
Loading

1 comment on commit 76a2131

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.