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

Adds bootstrap scripts #341

Merged
merged 2 commits into from
Dec 10, 2016
Merged

Adds bootstrap scripts #341

merged 2 commits into from
Dec 10, 2016

Conversation

delambo
Copy link
Member

@delambo delambo commented Dec 10, 2016

Most of us have been on the fence about using Lerna to manage our monorepo. Until we decide, I thought we could use a bootstrap script for setting up the project and managing node modules across the packages.

Notes:

  1. I intentionally left out the starter kyts because I feel like less work is done there and can easily be handled manually.
  2. I remove node_modules directories in the background/parallel, but chose to install the packages sequentially because the npm output gets messy.

Copy link
Contributor

@ccpricenytimes ccpricenytimes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple super tiny optional things. Otherwise 👌

PACKAGES=( "" )
ROOT=`pwd`

for FILE in packages/*; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we call this variable DIR since its getting directories?

@@ -0,0 +1,6 @@
#!/bin/sh

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

silly, but can we add 🔥 and ✅ ? haha

@ccpricenytimes ccpricenytimes merged commit 0afb996 into master Dec 10, 2016
@ccpricenytimes ccpricenytimes deleted the adds-bootstrap-scripts branch December 10, 2016 23:15
tizmagik added a commit that referenced this pull request Dec 14, 2016
* master: (35 commits)
  creates local copies of packages so e2e tests use latest code (#345)
  adds style and script linter packages (#344)
  now using npm version to check for kyt-cli updates (#337)
  Adds kyt version option to setup command (#343)
  make lint-script command; lint now runs scripts and style (#339)
  Adds bootstrap scripts (#341)
  fixes test coverage command (#342)
  Run test from root directory (#336)
  Monorepo (#330)
  [ci skip] document Jest/Watchman issue and common workaround (#334)
  Catch SIGINT (#332)
  Fixes e2e tests (#326)
  Removes deprecated reflect eslint rule (#325)
  Upgrade Linter dependencies (#289)
  [doc]fix path of eslintrc and stylelintrc (#321)
  Update unit tests for changes made to resolve #303 (#318)
  adds ISSUE_TEMPLATE (#317)
  Adds rfc template (#316)
  document possible kyt setup repository url formats (#314)
  Overwrites default npm init test script on setup (#293)
  ...

# Conflicts:
#	.travis.yml
#	e2e_tests/tests/cli.test.js
#	package.json
#	packages/kyt-cli/cli/actions/setup.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants