From ab482ca4da63bd63c154177df112627dd393bb61 Mon Sep 17 00:00:00 2001 From: Timi Date: Mon, 23 Nov 2026 20:28:05 +0800 Subject: [PATCH] feat: rename package to @timi/ts --- .gitea/workflows/release.yml | 4 ++-- README.md | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 69d6590..c552680 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -63,8 +63,8 @@ jobs: - name: Ensure version not published if: ${{ steps.version.outputs.publish == 'true' }} run: | - if npm view "timi-ts@${{ steps.version.outputs.version }}" version > /dev/null 2>&1; then - echo "FAIL: timi-ts@${{ steps.version.outputs.version }} 已存在于 nexus,请提升 package.json 版本" + if npm view "@timi/ts@${{ steps.version.outputs.version }}" version > /dev/null 2>&1; then + echo "FAIL: @timi/ts@${{ steps.version.outputs.version }} 已存在于 nexus,请提升 package.json 版本" exit 1 fi echo "OK: 版本未占用" diff --git a/README.md b/README.md index 6d7ea57..c6f843f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# timi-ts +# @timi/ts -平台无关的 TypeScript 通用工具库,供 `timi-web`、`timi-wxmp` 及其他业务项目复用。 +平台无关的 TypeScript 通用工具库,供 `@timi/web`、`timi-wxmp` 及其他业务项目复用。 ## 内容 diff --git a/package.json b/package.json index 2a7fe3a..2514b93 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "timi-ts", + "name": "@timi/ts", "version": "1.0.0", "description": "平台无关的 TypeScript 通用工具库", "license": "MIT", -- 2.54.0