open-index/open-npm huggingface dataset:
npm package: @homeflow/v4-lib
Description: Prototype for moving lib code for V4 back into an external npm package
Latest version: 1.0.15

# V4 Lib Prototype

Prototype for moving lib code for V4 back into an external npm package

## Build

```
$ yarn build
```

## Link to local theme app

```
$ yarn link

# then navigate to the theme app and run:
$ yarn link @homeflow/v4-lib
```

## Run for local development

```
$ yarn dev
```

## Publishing

This package should be published as a new version tag to Bitbucket.

**Please note that currently you need to manually run a build locally and commit the `dist/` directory before pushing a new version.**

```bash
# Change the number here to the new version.
# Please ensure semver is followed: https://semver.org/
$ git tag 1.0.14

# Then push the new version tag
$ git push origin 1.0.14
```

Then update the theme app's `package.json` lib dependency to point to the new version:

```
"@homeflow/v4-lib": "git+ssh://git@bitbucket.org/homeflow_developers/v4_lib.git#1.0.14",
```

Or update from your terminal:

```
$ yarn add "git+ssh://git@bitbucket.org/homeflow_developers/v4_lib.git#1.0.14" --force
```