Skip to content

Commit

Permalink
Merge pull request #20 from xmtp-labs/rygine/updates
Browse files Browse the repository at this point in the history
Repository maintenance
  • Loading branch information
rygine authored Jun 7, 2024
2 parents f191c5a + 6eca1c6 commit d2ae56c
Show file tree
Hide file tree
Showing 24 changed files with 599 additions and 535 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"changelog": [
"@changesets/changelog-git",
{
"repo": "xmtp/botkit"
"repo": "xmtp-labs/botkit"
}
],
"commit": false,
Expand All @@ -15,7 +15,7 @@
"ignore": [
"subscription-bot",
"gm-bot",
"gpt-bot",
"group-bot",
"botkit-docs",
"@xmtp/tsconfig"
]
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @xmtp/engineering
* @xmtp-labs/Engineering
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ body:
value: |
Thank you for taking the time to report a bug. Community contributions like yours are key to the development and adoption of XMTP. Review the following guidelines for reporting a bug:
- Include 1 bug per issue. Creating 1 issue per bug will make it easier to assign and track progress on bugs.
- Check [existing issues](https://github.com/xmtp/botkit/issues) to see if your issue has already been reported.
- Ensure that the bug is not security-related and can safely be disclosed publicly on GitHub. For information about how to report a security issue, see [Security policy](https://github.com/xmtp/botkit/security/policy).
- Follow the [XMTP code of conduct](https://github.com/xmtp/botkit/blob/main/CODE_OF_CONDUCT.md).
- Check [existing issues](https://github.com/xmtp-labs/botkit/issues) to see if your issue has already been reported.
- Ensure that the bug is not security-related and can safely be disclosed publicly on GitHub. For information about how to report a security issue, see [Security policy](https://github.com/xmtp-labs/botkit/security/policy).
- Follow the [XMTP code of conduct](https://github.com/xmtp-labs/botkit/blob/main/CODE_OF_CONDUCT.md).
- type: textarea
id: bug-description
attributes:
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ body:
value: |
Thank you for taking the time to request a feature. Community contributions like yours are key to the development and adoption of XMTP. Review the following guidelines for requesting a feature:
- Include 1 feature request per issue. Creating 1 issue per request will make it easier to explore and assign a priority to a request.
- Check [existing issues](https://github.com/xmtp/botkit/issues) to see if the feature has already been requested.
- Ensure that the feature is not security-related and can safely be disclosed publicly on GitHub. For information about how to report a security issue, see [Security policy](https://github.com/xmtp/botkit/security/policy).
- Follow the [XMTP code of conduct](https://github.com/xmtp/botkit/blob/main/CODE_OF_CONDUCT.md).
- Check [existing issues](https://github.com/xmtp-labs/botkit/issues) to see if the feature has already been requested.
- Ensure that the feature is not security-related and can safely be disclosed publicly on GitHub. For information about how to report a security issue, see [Security policy](https://github.com/xmtp-labs/botkit/security/policy).
- Follow the [XMTP code of conduct](https://github.com/xmtp-labs/botkit/blob/main/CODE_OF_CONDUCT.md).
- type: textarea
id: problem-description
attributes:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@ jobs:
run: corepack enable
- name: Install dependencies
run: yarn
- name: Install docs dependencies
run: |
cd packages/docs
yarn
- name: Build
run: yarn build
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ dist
# yarn
.pnp.*
.yarn/*
.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.yarn/cache/**
packages/debugger/.yarn/cache/**
packages/docs/.yarn/cache/**

# next.js
.next
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19.1
20.14.0
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19.1
20.14.0
593 changes: 297 additions & 296 deletions .yarn/releases/yarn-4.1.1.cjs → .yarn/releases/yarn-4.2.2.cjs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
compressionLevel: mixed

enableGlobalCache: false

enableTelemetry: false

nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs

yarnPath: .yarn/releases/yarn-4.2.2.cjs
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Have a question about how to build with XMTP? Ask your question and learn with t

## 🐞 Bugs

Report a bug using [GitHub Issues](https://github.com/xmtp/botkit/issues).
Report a bug using [GitHub Issues](https://github.com/xmtp-labs/botkit/issues).

## ✨ Feature requests

Request a feature using [GitHub Issues](https://github.com/xmtp/botkit/issues).
Request a feature using [GitHub Issues](https://github.com/xmtp-labs/botkit/issues).

## 🔀 Pull requests

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the official repository for the XMTP bot kit and examples, powered by [Turborepo](https://turbo.build/repo).

To learn more about the contents of this repository, see this README and the READMEs provided for [packages](https://github.com/xmtp/botkit/tree/main/packages) and [examples](https://github.com/xmtp/botkit/tree/main/examples).
To learn more about the contents of this repository, see this README and the READMEs provided for [packages](https://github.com/xmtp-labs/botkit/tree/main/packages) and [examples](https://github.com/xmtp-labs/botkit/tree/main/examples).

## What's inside?

Expand Down
12 changes: 8 additions & 4 deletions examples/gm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@
"@xmtp/botkit": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.12.7",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
"@types/node": "^20.14.2",
"nodemon": "^3.1.3",
"prettier": "^3.3.1",
"typescript": "^5.4.5"
},
"packageManager": "yarn@4.2.2",
"engines": {
"node": ">=20"
}
}
14 changes: 9 additions & 5 deletions examples/group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@
},
"dependencies": {
"@xmtp/botkit": "workspace:^",
"openai": "latest"
"openai": "^4.49.0"
},
"devDependencies": {
"@types/node": "^20.12.7",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
"@types/node": "^20.14.2",
"nodemon": "^3.1.3",
"prettier": "^3.3.1",
"typescript": "^5.4.5"
},
"packageManager": "yarn@4.2.2",
"engines": {
"node": ">=20"
}
}
18 changes: 11 additions & 7 deletions examples/subscription/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "conversational-bot",
"name": "subscription-bot",
"version": "0.0.0",
"private": true,
"type": "module",
Expand All @@ -21,16 +21,20 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@redis/client": "^1.5.14",
"@redis/client": "^1.5.16",
"@xmtp/botkit": "workspace:*",
"@xmtp/redis-persistence": "^0.0.4",
"node-cron": "^3.0.3"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/node-cron": "^3",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
"@types/node": "^20.14.2",
"@types/node-cron": "^3.0.11",
"nodemon": "^3.1.3",
"prettier": "^3.3.1",
"typescript": "^5.4.5"
},
"packageManager": "yarn@4.2.2",
"engines": {
"node": ">=20"
}
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
},
"dependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1",
"vocs": "1.0.0-alpha.52"
"@changesets/cli": "^2.27.5"
},
"devDependencies": {
"prettier": "^3.2.5",
"prettier": "^3.3.1",
"prettier-plugin-packagejson": "^2.5.0",
"turbo": "^1.13.3"
"turbo": "^1.13.4"
},
"packageManager": "yarn@4.2.2",
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions packages/botkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
},
"dependencies": {
"@xmtp/grpc-api-client": "^0.2.7",
"@xmtp/xmtp-js": "^11.5.1",
"@xmtp/xmtp-js": "^11.6.3",
"dotenv": "^16.4.5",
"ethers": "^5.7.2"
},
"devDependencies": {
"@types/node": "^20.12.7",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"@types/node": "^20.14.2",
"nodemon": "^3.1.3",
"prettier": "^3.3.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},
"packageManager": "yarn@4.2.2",
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/create-xmtp-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"format:check": "yarn format:base -c ."
},
"dependencies": {
"commander": "^12.0.0",
"commander": "^12.1.0",
"fs-extra": "^11.2.0",
"inquirer": "^9.2.22"
"inquirer": "^9.2.23"
},
"devDependencies": {
"@types/node": "^20.12.7",
"prettier": "^3.2.5"
"@types/node": "^20.14.2",
"prettier": "^3.3.1"
},
"packageManager": "yarn@4.2.2",
"engines": {
Expand Down
8 changes: 8 additions & 0 deletions packages/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
Binary file removed packages/docs/.yarn/install-state.gz
Binary file not shown.
14 changes: 9 additions & 5 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
"preview": "vocs preview"
},
"dependencies": {
"@types/react": "latest",
"react": "latest",
"react-dom": "latest",
"typescript": "latest",
"vocs": "latest"
"@types/react": "^18.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.4.5",
"vocs": "1.0.0-alpha.52"
},
"packageManager": "yarn@4.2.2",
"engines": {
"node": ">=20"
}
}
28 changes: 14 additions & 14 deletions packages/docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1845,13 +1845,13 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:latest":
version: 18.3.2
resolution: "@types/react@npm:18.3.2"
"@types/react@npm:^18.3.3":
version: 18.3.3
resolution: "@types/react@npm:18.3.3"
dependencies:
"@types/prop-types": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10/a85eed82c1009dc9d979281d9ea1f5322255003de3378390f35d897b4bdaf1d34ea748636c03e9e9b4b7cc97c2f4582993d2d60e40846226ad497d97c7d8565a
checksum: 10/68e203b7f1f91d6cf21f33fc7af9d6d228035a26c83f514981e54aa3da695d0ec6af10c277c6336de1dd76c4adbe9563f3a21f80c4462000f41e5f370b46e96c
languageName: node
linkType: hard

Expand Down Expand Up @@ -2189,11 +2189,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "botkit-docs@workspace:."
dependencies:
"@types/react": "npm:latest"
react: "npm:latest"
react-dom: "npm:latest"
typescript: "npm:latest"
vocs: "npm:latest"
"@types/react": "npm:^18.3.3"
react: "npm:^18.3.1"
react-dom: "npm:^18.3.1"
typescript: "npm:^5.4.5"
vocs: "npm:1.0.0-alpha.52"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -5329,7 +5329,7 @@ __metadata:
languageName: node
linkType: hard

"react-dom@npm:latest":
"react-dom@npm:^18.3.1":
version: 18.3.1
resolution: "react-dom@npm:18.3.1"
dependencies:
Expand Down Expand Up @@ -5474,7 +5474,7 @@ __metadata:
languageName: node
linkType: hard

"react@npm:latest":
"react@npm:^18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
Expand Down Expand Up @@ -6285,7 +6285,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:latest":
"typescript@npm:^5.4.5":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
bin:
Expand All @@ -6295,7 +6295,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3Alatest#optional!builtin<compat/typescript>":
"typescript@patch:typescript@npm%3A^5.4.5#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
Expand Down Expand Up @@ -6614,7 +6614,7 @@ __metadata:
languageName: node
linkType: hard

"vocs@npm:latest":
"vocs@npm:1.0.0-alpha.52":
version: 1.0.0-alpha.52
resolution: "vocs@npm:1.0.0-alpha.52"
dependencies:
Expand Down
7 changes: 6 additions & 1 deletion shared/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
"base.json"
],
"scripts": {
"clean": "rm -rf .turbo && rm -rf node_modules",
"format": "yarn format:base -w .",
"format:base": "prettier --ignore-path ../../.gitignore",
"format:check": "yarn format:base -c ."
},
"devDependencies": {
"prettier": "^3.2.5"
"prettier": "^3.3.1"
},
"packageManager": "yarn@4.2.2",
"engines": {
"node": ">=20"
}
}
Loading

0 comments on commit d2ae56c

Please sign in to comment.