Giter VIP home page Giter VIP logo

repo-man's Introduction

Motion

A simple CLI for running Javascript projects.

Motion repository has been moved inside Pundle's monorepo for better maintenance

Motion can now be found at steelbrain/pundle/motion

๐Ÿ™‡ Thank you everyone who used Motion in their projects. Motion will continue development in it's new home.

repo-man's People

Contributors

natew avatar steelbrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

repo-man's Issues

Eject broken

Complains of string not array, repoman eject in a non-repoman folder

Add support for lifecycles

Currently I'm using my steelbrain/publish to publish my npm packages.

It has some lifecycles like checking if certain files are ignored before publishing etc, if we could add support in repoman for those, I could switch all my open source repo management to repoman

repoman sync breaking

Error { Error: spawn git ENOENT
    at exports._errnoException (util.js:1022:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn git',
  path: 'git',
  spawnargs:
   [ 'clone',
     '[email protected]:motion/repos',
     '/Users/nw/projects/.config/motion/repos' ] }

Commands

  • publish to publish, optional org, optional org/package, handles bumping versions
  • link <org> links together an orgs files (multiple orgs?)
  • exec -- npm run watch good, but what about if some dont have watch? watch maybe?
  • cd helps you cd into things, preferably with fuzzy match repoman cd chunky

Major questions:

Linking into monorepo requires some sort of knowledge of the monorepo and all its sub-packages which is an unfortunate complexity... any way to simplify???

  • link <...orgs> --into mono-repo --recursive could do it

Finally, not sure why we have dependencies key in config, that should be handled flexibly without needing a config.

Questions on having a repos(.json)? inside ~/projects/*:

  • Can share with team to have consistent dev env
  • Where do you store it? Github?
    • Perhaps it could just point to a remote file! the whole file could just be:
      • motion/repos/repos.json
      • then on clone it could pull everything from that?.... (complex)
  • How do you keep things in sync?
    • repoman clone-set []
    • repoman clone motion/repos/repos.json smart?
    • repoman new set => prompts for location

Naming for "sets" or "groups" or "orgs":

  • repoman sets => show list of sets?
  • repoman set clone [] => commands for a set? but this is weird...
  • repoman clone set [] => better
  • repoman set motion publish => prefix with set?
  • repoman publish motion => or postfix? seems less flexible

Notes

Lets make this a bit more focused to start. There are two high level directions, lets do the second:

  • Make managing lots of github repos easier
  • Make managing lots of small node packages easier

Goal is to be able to go from 0 to published package easy, and make ongoing maintenance easy. It's basically lerna sans mono-repo, maybe even more opinionated.

Goals for v1:

  1. Track directories
  2. Exec commands easily in all directories
  3. Share scripts between all repos easily (and have a default set that uses babel + presets-steelbrain)
  4. Be really good at linking stuff together thats tracked by it (lerna-style)

Bonus points:

  • See nice status of all repos
  • Publishing helpers

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.