-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from xmtp/xmtpnodejs
xmtp-node-js-tools
- Loading branch information
Showing
45 changed files
with
3,297 additions
and
1,754 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- name: Install Yarn v3 | ||
run: | | ||
corepack enable | ||
corepack prepare [email protected]-rc.51 --activate | ||
corepack prepare [email protected] --activate | ||
- run: yarn | ||
- run: yarn build | ||
- run: yarn lint |
This file contains 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 |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
- name: Install Yarn v3 | ||
run: | | ||
corepack enable | ||
corepack prepare [email protected]-rc.51 --activate | ||
corepack prepare [email protected] --activate | ||
- name: Install dependencies | ||
run: yarn | ||
|
This file contains 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 |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
cache: "yarn" | ||
env: | ||
SKIP_YARN_COREPACK_CHECK: "1" | ||
- name: Install Yarn v3 | ||
- name: Install Yarn v4 | ||
run: | | ||
corepack enable | ||
corepack prepare [email protected]-rc.51 --activate | ||
corepack prepare [email protected] --activate | ||
- run: yarn | ||
- run: yarn build | ||
- run: yarn workspace @xmtp/bot-kit-pro run up | ||
|
This file contains 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 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,6 +1,6 @@ | ||
FROM node:18 | ||
|
||
RUN corepack enable && corepack prepare [email protected]-rc.51 --activate | ||
RUN corepack enable && corepack prepare [email protected] --activate | ||
|
||
COPY . /app/ | ||
WORKDIR /app | ||
|
This file contains 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 |
---|---|---|
|
@@ -9,7 +9,9 @@ | |
"build": "turbo run build", | ||
"publish": "yarn build && changeset publish", | ||
"release": "yarn workspaces foreach --no-private --all npm publish --access public --tolerate-republish && changeset tag", | ||
"test": "turbo run test" | ||
"test": "turbo run test", | ||
"fresh": "find . -name 'node_modules' -type d -exec rm -rf {} + && find . -name 'dist' -type d -exec rm -rf {} + && yarn cache clean && yarn install && yarn build && yarn test --scope=@xmtp/bot-kit-pro && yarn test --scope=@xmtp/redis-persistence && yarn test --scope=@xmtp/bot-starter && yarn test --scope=@xmtp/bot-examples && yarn test --scope=@xmtp/grpc-api-client && yarn test --scope=@xmtp/fs-persistence && yarn test --scope=@xmtp/cli-starter ", | ||
"fresh2": "find . -name 'node_modules' -type d -exec rm -rf {} + && find . -name 'dist' -type d -exec rm -rf {} + && yarn cache clean && yarn install && yarn build --scope=@xmtp/cli-starter && yarn test --scope=@xmtp/cli-starter" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -58,5 +60,5 @@ | |
"typescript": "~5.2.2", | ||
"vitest": "^0.34.6" | ||
}, | ||
"packageManager": "[email protected]-rc.51" | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.