Giter Club home page Giter Club logo

rn-lalala's Introduction

基础架构

  • pnpm 结合软硬链接与新的依赖组织方式,大大提升了包管理的效率,也同时解决了 “ 幻影依赖” 的问题,让包管理更加规范,减少潜在风险发生的可能性。

  • react-native-builder-bob Simple set of CLIs to scaffold and build React Native libraries for different targets.

  • changesets The changesets workflow is designed to help when people are making changes, all the way through to publishing. It lets contributors declare how their changes should be released, then we automate updating package versions, and changelogs, and publishing new versions of packages based on the provided information.

TODO

  • 使用 pnpm
  • add 多包
  • eslint
  • dumi 文档
  • change log
  • publish npm
  • github ci
  • test

command

最外部安装依赖

pnpm install rimraf -w

清理 node_modules

pnpm clean

添加包直接依赖

pnpm --filter @rn-lalala/core add @rn-lalala/hello-world2 --workspace

更新依赖

pnpm up -r --workspace "@rn-lalala/*"

workflow

安装机器人 changeset-bot: https://github.com/apps/changeset-bot

开发者流程

  1. 新建功能特性分支
git checkout -b feature/xxxx
  1. 开发功能

  2. 管理版本

pnpm ci:version

管理者流程

  1. codeView pr

如果 merge 有冲突,让提交的人重新合 main

rn-lalala's People

Contributors

winljm001 avatar github-actions[bot] 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.