Giter Site home page Giter Site logo

peichenhu / moon Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 141 KB

一个 Monorepo 管理的 JS 超级工具包仓库

Home Page: https://docs.peichenhu.cn/docs-tools

Shell 2.75% TypeScript 53.99% JavaScript 4.73% Less 2.99% Vue 25.53% CSS 8.76% HTML 1.25%
pnpm-monorepo

moon's Introduction

备忘录

使用 pnpm

docs

pnpm i
pnpm i -w vue
pnpm i -Dw rollup
# 执行所有项目的 scripts.build 命令
pnpm -r build

在 pnpm-workplace 中使用 changesets 管理 CHANGELOG

docs

##################################
# 打 TAG 是为了同步 git 和 npm 版本 #
# 升级新版本 依赖于 commitHash      #
##################################

# 1. 收集变更信息。
# 2. 测试变更代码,确认无误。
# 3. 升级新版本 (新版本会应用变更信息更新到 CHANGELOG.md)
# 4. 使用 CHANGELOG 信息提交变更代码(git commit -m <CHANGELOG>)
# 5. 新版本发布 (推送远程仓库)

pnpm changeset                          # 1. 收集变更信息。
pnpm i && pnpm lint && pnpm -r build    # 2. 测试变更代码,确认无误。
pnpm changeset version                  # 3. 升级新版本 (新版本会应用变更信息更新到 CHANGELOG.md)
pnpm i && pnpm -r build && git commit   # 4. 使用 CHANGELOG 信息提交变更代码(git commit -m <CHANGELOG>)
pnpm -r publish                         # 5. 新版本发布 (推送远程仓库)

moon's People

Contributors

peichenhu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.