Socket
Socket
Sign inDemoInstall

@pureadmin/release

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pureadmin/release

超简单的发包工具(修改版本号并提交git、自动打包、发布npm、计算并显示打包后文件大小)


Version published
Maintainers
1
Install size
0.997 MB
Created

Changelog

Source

1.1.0 (2023-12-31)

🎫 Chores

  • chore: adjust the order, version first, then build, and finally publish

Readme

Source

@pureadmin/release
超简单的发包工具(修改版本号并提交git、自动打包、发布npm、计算并显示打包后文件大小)

NPM version

简体中文 | English

📦 安装

npm install @pureadmin/release -D
# or
yarn add @pureadmin/release -D
# or
pnpm add @pureadmin/release -D

⚙️ 用法

  1. package.jsonscripts 中加入下面代码
"scripts": {
  "pub": "pub"
}
  1. 执行自动发版命令
npm run pub
# or
yarn pub
# or
pnpm pub

⚠️ 注意

  1. 请确保在执行自动发版命令前,清空当前 git 暂存区
  2. 默认会使用 npm run build 打包,如当前打包命令不是 build ,比如是 npm run lib ,修改 package.jsonscripts 如下面代码
"scripts": {
  "pub": "pub lib"
}

License

MIT © 2022-present, pure-admin

Keywords

FAQs

Last updated on 31 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc