Coder Social home page Coder Social logo

mono-semantic's People

Contributors

jackmellis avatar

Watchers

 avatar

mono-semantic's Issues

npmlog issues

It looks like npmlog is getting overwritten or reset or something, it's definitely not right (and probably is being affected by outside applications).

Best solution is probably to wrap npmlog in another object that basically re-sets the npmlog config each time before logging. That way we should always know the log levels are correct.

Improve debug

  • should not create any tags
  • should not publish
  • should output additional messages
  • should output a message at the start of each process

Build pipeline

travis / codeclimate / semantic-release

also add an .npmignore

run scripts separately

the publish command should have an --ignore-scripts

the pre command should run the publish scripts

before:

  • prepublish
  • prepare
  • prepublishOnly

after:

  • publish
  • postpublish

I guess this means we will need lerna installed (should it be a dev dependency).
yarn lerna help - to check that lerna is available
yarn lerna --scope=${pkg.name} run ${script}

multiple scoped commits

handle commits in this format:

feat(package1, package2, package3): changed three packages

The commit analyzer will need to separate these out to check if it matches the current package. The changelog generator will also need to take this into account.

handle rollbacks on error

if something goes wrong during pre it will probably be fine, since nothing is published or committed

if something goes wrong during the publish stage, we could easily find ourselves stuck because half of the packages have been published and half not. Once a package is published, there's not really any way to undo it either

if something goes wrong during post it's not as bad as publish, but it might mean you've got published packages that don't then have git tags

One potential solution would be rather than erroring during the publish phase, we just track which packages published and which didn't, then at the end of the post phase we validate that pre publish and post all succeeded and throw an error for any packages that didn't.

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.