diff --git a/package.json b/package.json index 2fd546442..0588113ca 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,8 @@ "build:component-cssvar": "pnpm -C packages/theme build:component-cssvar", "build:internals": "pnpm \"--filter=./internals/*\" build", "// ---------- 使用pnpm批量发布npm包 ----------": "", - "pub2": "pnpm --filter=\"./packages/dist2/**\" publish --no-git-checks", - "pub3": "pnpm --filter=\"./packages/dist3/**\" publish --no-git-checks", + "pub2": "pnpm --filter=\"./packages/dist2/**\" publish --no-git-checks --access=public", + "pub3": "pnpm --filter=\"./packages/dist3/**\" publish --no-git-checks --access=public", "// ---------- unit单元测试 ----------": "", "test:unit2": "pnpm -C examples/vue2 test:unit", "test:unit2.7": "pnpm -C examples/vue2.7 test:unit",