Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

refactor: move cli to a sub-package #195

Merged
merged 1 commit into from
Nov 21, 2018
Merged

refactor: move cli to a sub-package #195

merged 1 commit into from
Nov 21, 2018

Conversation

dominicbarnes
Copy link
Contributor

@dominicbarnes dominicbarnes commented Oct 12, 2018

The current npm package bundles a CLI, which adds some unnecessary bloat to the package size. This PR removes this bloat, and will be moved to a separate repo/package.

@dominicbarnes dominicbarnes force-pushed the remove-cli branch 5 times, most recently from e1cba28 to f00582a Compare October 12, 2018 19:43
@codecov-io
Copy link

Codecov Report

Merging #195 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #195   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         108    108           
=====================================
  Hits          108    108

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 11042e1...f00582a. Read the comment docs.

cli/package.json Outdated
"segment"
],
"dependencies": {
"analytics-node": "^3.3.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this depend the local version? Otherwise our end to end tests will be testing an outdated version

It adds unnecessary bulk to `analytics-node`, and will be moved to it's
own package.
Copy link
Contributor

@f2prateek f2prateek left a comment

Choose a reason for hiding this comment

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

Awesome! I'll release this as a new minor version, and point folks to the new analytics-node-cli repo if they need to use that.

@f2prateek f2prateek merged commit e7f7f9b into master Nov 21, 2018
@f2prateek f2prateek deleted the remove-cli branch November 21, 2018 00:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants