diff --git a/.npmrc b/.npmrc index d742a14..9582e65 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,6 @@ shamefully-hoist=true registry=https://registry.npmmirror.com +# publish 前检查分支 +git-checks=true +# publish 允许的分支 +publish-branch=next diff --git a/packages/changelog/package.json b/packages/changelog/package.json index eea732c..05ee613 100644 --- a/packages/changelog/package.json +++ b/packages/changelog/package.json @@ -1,6 +1,6 @@ { "name": "@142vip/changelog", - "version": "0.0.1-alpha.1", + "version": "0.0.1-alpha.2", "private": false, "type": "module", "description": "公众号搜:储凡", diff --git a/packages/release-version/package.json b/packages/release-version/package.json index 23ba798..2f6bc08 100644 --- a/packages/release-version/package.json +++ b/packages/release-version/package.json @@ -1,6 +1,6 @@ { "name": "@142vip/release-version", - "version": "0.0.1-alpha.3", + "version": "0.0.1-alpha.4", "description": "版本迭代更新,Git提交信息、打标记并推送到远程", "keywords": [ "@142vip/release-version", @@ -38,8 +38,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@142vip/common": "latest", - "@142vip/changelog": "latest", + "@142vip/common": "^0.0.1-alpha.5", + "@142vip/changelog": "workspace:*", "c12": "^1.10.0", "cac": "^6.7.14", "escalade": "^3.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0bc5b6..31c8263 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -299,10 +299,10 @@ importers: packages/release-version: dependencies: '@142vip/changelog': - specifier: latest - version: 0.0.1-alpha.1 + specifier: workspace:* + version: link:../changelog '@142vip/common': - specifier: latest + specifier: ^0.0.1-alpha.5 version: 0.0.1-alpha.5 c12: specifier: ^1.10.0 @@ -397,11 +397,6 @@ importers: packages: - '@142vip/changelog@0.0.1-alpha.1': - resolution: {integrity: sha512-HR6Oxw6PslPWP8ZhhbdQOy3miXW8i36o3JYPqQ0VaViegybiKOuJCKcEaz5/qcwGeNPwI1n9FNBzQaJ+vGMMGg==} - engines: {node: '>=16.0.0'} - hasBin: true - '@142vip/common@0.0.1-alpha.5': resolution: {integrity: sha512-ifqOhFhy1EUJg4FL5cPH9OdNEuOcLatNsfZpL2UmVPjEIqEj9oboorTeZnoi9QIH+u6g0Xgu3U86Bqe2FX2wRg==} engines: {node: '>=16.0.0'} @@ -10308,21 +10303,6 @@ packages: snapshots: - '@142vip/changelog@0.0.1-alpha.1': - dependencies: - '@antfu/utils': 0.7.10 - '@esm2cjs/execa': 6.1.1-cjs.1 - c12: 1.11.1 - cac: 6.7.14 - changelogen: 0.5.5 - convert-gitmoji: 0.1.5 - dayjs: 1.11.12 - kolorist: 1.8.0 - ofetch: 1.3.4 - semver: 7.6.3 - transitivePeerDependencies: - - magicast - '@142vip/common@0.0.1-alpha.5': dependencies: chalk: 4.1.2 @@ -17643,7 +17623,7 @@ snapshots: jake@10.9.2: dependencies: async: 3.2.5 - chalk: 4.1.0 + chalk: 4.1.2 filelist: 1.0.4 minimatch: 3.1.2