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

(ALSO NOT FOR MERGING) use Yarn workspaces and Babel 7 #4

Closed

Conversation

kohlmannj
Copy link

@kohlmannj kohlmannj commented Jul 15, 2018

Based on #3. I wanted to riff on @rosskevin and @RyanCavanaugh's work by configuring this monorepo to not only use Yarn workspaces, but also use Babel 7 for TypeScript transpilation. This setup closely resembles an internal monorepo I've been working with.

Notable Changes

  • Update README with usage and setup details
  • Add multiple @babel/* devDependencies to the root package.json
  • Add @babel/cli and concurrently devDependencies to each package
  • Upgrade typescript devDependency refspecs to ^3.0.0-rc
  • tsconfig.settings.json: add "emitDeclarationOnly": true
  • Add scripts to root package.json:
    • bootstrap (run this instead of yarn install && lerna bootstrap)
    • build (uses concurrently)
    • build:js
    • build:dts
    • clean (uses concurrently)
    • clean:lerna
    • clean:lib
    • dev (uses concurrently)
  • Add scripts to each package:

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