Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Bolt monorepo for NPM migration #3483

Closed
wants to merge 25 commits into from

Conversation

goodmind
Copy link
Contributor

@goodmind goodmind commented Aug 1, 2019

  • Links to documentation:
  • Link to GitHub or NPM:
  • Type of contribution: refactor

Other notes: #3083

Related PR: flow-typed/bolt#2

This is all would need tons of tests on monorepo tool itself, there isn't many changes in CLI

@villesau villesau self-assigned this Aug 9, 2019
@goodmind
Copy link
Contributor Author

goodmind commented Aug 10, 2019

@villesau

How to test

  1. Change "bolt": "git://github.com/flow-typed/bolt.git#master" in package.json to
    "bolt": "git://github.com/goodmind/bolt.git#master" or merge Add flow version based symlink resolution bolt#2
  2. yarn
  3. Setup https://verdaccio.org/ and run NPM server verdaccio
  4. yarn sync-definitions
  5. ./node_modules/bolt/bin.js, this command would link packages with dependencies, but given that current definitions doesn't have them you would need to add some
  6. ./node_modules/bolt/bin.js publish --registry http://localhost:4873 (NOTE: make sure that it isn't real npm registry, I would even log out from npm first, so you wouldn't accidentally publish packages)
  7. Test installing types with yarn add @flowtyped/whatever --registry http://localhost:4873

@gantoine gantoine closed this May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to CLI tool work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants