Skip to content

Merge packages/components to packages/cli? #119

@severo

Description

@severo

It's complex to try the current code of components within the cli. One way to do this is:

  • in components, run npm pack -> it generates hyparam-components-0.1.9.tgz
  • in cli/package.json, replace "@hyparam/components": "0.1.9", with "@hyparam/components": "../components/hyparam-components-0.1.9.tgz",
  • then npm update @hyparam/components

We could move components back to cli, and publish everything under the hyperparam package (ie deprecate @hyparam/components). The package would be bigger, but thanks to tree shaking, it should not affect too much dependent packages if they use a build step.

If we do so: should we move the apps/ subdirectory elsewhere?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions