Skip to content

Commit

Permalink
Merge branch 'v1.51' into tcm/support-anthropic
Browse files Browse the repository at this point in the history
  • Loading branch information
tcm390 authored Feb 7, 2025
2 parents e8642b2 + f08a1fe commit ab24836
Show file tree
Hide file tree
Showing 1,108 changed files with 4,311 additions and 99,885 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM $BASE_IMAGE

ENV DEBIAN_FRONTEND=noninteractive

# Install pnpm globally and install necessary build tools
# Install bun globally and install necessary build tools
RUN apt-get update \
&& apt-get install -y \
git \
Expand All @@ -16,8 +16,7 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

ARG PNPM_VER=9.15.2
RUN npm install -g pnpm@${PNPM_VER}
RUN npm install -g bun@$1.2.2

# Set Python 3 as the default python
RUN ln -s /usr/bin/python3 /usr/bin/python
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": {
"args": {
"NODE_VER": "23.5.0",
"PNPM_VER": "9.15.2"
"BUN_VER": "1.2.2"
}
},
"privileged": true,
Expand Down
12 changes: 0 additions & 12 deletions .editorconfig

This file was deleted.

12 changes: 4 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ jobs:
TURBO_REMOTE_ONLY: true
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: oven-sh/setup-bun@v2

- uses: actions/setup-node@v4
with:
node-version: "23"
cache: "pnpm"

- name: Install dependencies
run: pnpm install -r --no-frozen-lockfile
run: bun install

- name: Setup Biome CLI
uses: biomejs/setup-biome@v2
Expand All @@ -41,10 +37,10 @@ jobs:
echo "NODE_ENV=test" >> packages/core/.env.test
- name: Run tests
run: cd packages/core && pnpm test:coverage
run: cd packages/core && bun test:coverage

- name: Build packages
run: pnpm run build
run: bun run build

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL Advanced"

on:
push:
branches: ["main"]
branches: ["main", "develop"]
pull_request:
branches: ["main"]
branches: ["main", "develop"]
schedule:
- cron: "29 8 * * 6"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-readme-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
"content_path": "README.md"
}
],
save_path: "i18n/readme/README_${{ matrix.language.code }}.md",
save_path: "packages/docs/packages/docs/i18n/readme/README_${{ matrix.language.code }}.md",
"model": "gpt-4o"
}
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/integrationTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: oven-sh/setup-bun@v2

- uses: actions/setup-node@v4
with:
node-version: "23.3"
cache: "pnpm"
node-version: "23"

- name: Install dependencies
run: pnpm install --no-frozen-lockfile
run: bun install

- name: Build packages
run: pnpm build
run: bun run build

- name: Check for API key
run: |
Expand All @@ -41,4 +38,4 @@ jobs:
fi
- name: Run integration tests
run: pnpm run integrationTests
run: bun run test
23 changes: 10 additions & 13 deletions .github/workflows/jsdoc-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,39 +55,36 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "23"

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Install bun
- uses: oven-sh/setup-bun@v2

- name: Update lockfile
working-directory: scripts/jsdoc-automation
run: |
echo "Updating lockfile..."
pnpm install --no-frozen-lockfile
bun install
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add pnpm-lock.yaml
git commit -m "chore: update pnpm lockfile" || echo "No changes to commit"
git add bun.lockb
git commit -m "chore: update bun lockfile" || echo "No changes to commit"
git push || echo "No changes to push"
- name: Install root dependencies
run: pnpm install --no-frozen-lockfile
run: bun install

- name: Install package dependencies
working-directory: scripts/jsdoc-automation
run: pnpm install --no-frozen-lockfile
run: bun install

- name: Build TypeScript
working-directory: scripts/jsdoc-automation
run: pnpm build
run: bun run build

- name: Run documentation generator
working-directory: scripts/jsdoc-automation
run: pnpm start
run: bun start
env:
INPUT_ROOT_DIRECTORY: ${{ inputs.root_directory }}
INPUT_PULL_NUMBER: ${{ inputs.pull_number }}
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/pnpm-lockfile-check.yml

This file was deleted.

11 changes: 4 additions & 7 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22
node-version: "23"

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: oven-sh/setup-bun@v2

- name: Configure Git
run: |
Expand All @@ -38,10 +36,10 @@ jobs:
run: sudo apt-get install -y protobuf-compiler

- name: Install dependencies
run: pnpm install
run: bun install

- name: Build packages
run: pnpm run build
run: bun run build

- name: Tag and Publish Packages
id: tag_publish
Expand All @@ -67,7 +65,6 @@ jobs:
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
with:
tag_name: ${{ steps.get_tag.outputs.TAG }}
release_name: Release
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 23.3.0
node-version: "23"

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: oven-sh/setup-bun@v2

- name: Configure Git
run: |
Expand All @@ -35,10 +33,10 @@ jobs:
run: sudo apt-get install -y protobuf-compiler

- name: Install dependencies
run: pnpm install -r --no-frozen-lockfile
run: bun install

- name: Build packages
run: pnpm run build
run: bun run build

- name: Publish Packages
id: publish
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: oven-sh/setup-bun@v2

- uses: actions/setup-node@v4
with:
node-version: "23.3"
cache: "pnpm"
node-version: "23"

- name: Run smoke tests
run: pnpm run smokeTests
run: bun run smokeTests
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ tsup.config.bundled_*.mjs

.turbo
.cursorrules
.pnpm-store
instructions.md
wallet_data.txt

Expand Down Expand Up @@ -99,5 +98,11 @@ ton_nft_metadata/*
ton_nft_images/
ton_nft_images/*

packages/docs/api/*
packages/*/dist/*

**/dist/**

**/dist/**

**/.docusaurus/**
**/docs/build/**
7 changes: 0 additions & 7 deletions .gitpod.yml

This file was deleted.

1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# ignore lock files
**/*-lock.yaml
package-lock.json
dev-dist

**/CHANGELOG.md
Loading

0 comments on commit ab24836

Please sign in to comment.