From b857132e371c6e6297dc6a271f9313da540c47ef Mon Sep 17 00:00:00 2001 From: gxz Date: Tue, 5 Sep 2023 11:31:09 +0800 Subject: [PATCH] chore: rename to agora-rtc-sdk-ng-fake --- .github/workflows/pr.yml | 2 +- .github/workflows/publish.yml | 8 ++++---- .husky/pre-commit | 2 +- CHANGELOG.md | 2 +- README.md | 2 +- package.json | 12 ++++++------ 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ba7a00c..baea925 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -30,7 +30,7 @@ jobs: pnpm run test pnpm run build - - name: Report Coverage for fake-agora-rtc 🟢 + - name: Report Coverage for agora-rtc-sdk-ng-fake 🟢 if: always() # Also generate the report if tests are failing uses: davelosert/vitest-coverage-report-action@v1.4.0 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d7b1d4..1791869 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,13 +29,13 @@ jobs: - name: Zip It Up 🤐 run: | pnpm build - zip -r fake-agora-rtc.zip dist + zip -r agora-rtc-sdk-ng-fake.zip dist - name: Upload Artifact ⬆️ uses: actions/upload-artifact@v3 with: - name: fake-agora-rtc.zip - path: fake-agora-rtc.zip + name: agora-rtc-sdk-ng-fake.zip + path: agora-rtc-sdk-ng-fake.zip - name: Setup NPM auth token if: ${{ inputs.publish-npm }} @@ -59,4 +59,4 @@ jobs: - name: Release and Publish run: | - pnpm release ${{ steps.package-info.outputs.version }} --ci --npm.publish=${{ inputs.publish-npm }} --github.update --github.assets=fake-agora-rtc.zip + pnpm release ${{ steps.package-info.outputs.version }} --ci --npm.publish=${{ inputs.publish-npm }} --github.update --github.assets=agora-rtc-sdk-ng-fake.zip diff --git a/.husky/pre-commit b/.husky/pre-commit index 3866522..dd9cce5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -6,7 +6,7 @@ npx lint-staged --allow-empty if command -v gitleaks >/dev/null 2>&1; then echo "gitleaks found, proceeding..." - gitleaks protect --staged --source . -v fake-agora-rtc.git -c .gitleaks.toml + gitleaks protect --staged --source . -v agora-rtc-sdk-ng-fake.git -c .gitleaks.toml else echo "gitleaks not found, skip" fi diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d9c3e..5a18a3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1 @@ -# fake-agora-rtc +# agora-rtc-sdk-ng-fake diff --git a/README.md b/README.md index ff9c5a1..f4e1f44 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# fake-agora-rtc +# agora-rtc-sdk-ng-fake Fake RTC client, remote users and tracks. For internal stubbing. diff --git a/package.json b/package.json index f272309..a5085d2 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "fake-agora-rtc", - "version": "0.0.0", + "name": "agora-rtc-sdk-ng-fake", + "version": "1.0.0", "private": true, - "description": "Fake Agora RTC for testing", + "description": "Fake Agora Web RTC for testing", "repository": { "type": "git", - "url": "https://github.com/AgoraIO-Extensions/fake-agora-rtc.git" + "url": "https://github.com/AgoraIO-Extensions/agora-rtc-sdk-ng-fake.git" }, "bugs": { - "url": "https://github.com/AgoraIO-Extensions/fake-agora-rtc/issues" + "url": "https://github.com/AgoraIO-Extensions/agora-rtc-sdk-ng-fake/issues" }, "main": "src/index.ts", "scripts": { @@ -105,7 +105,7 @@ }, "plugins": { "@release-it/conventional-changelog": { - "header": "# fake-agora-rtc", + "header": "# agora-rtc-sdk-ng-fake", "preset": { "name": "conventionalcommits", "types": [