Skip to content

Commit

Permalink
fix(jsbattle-react): make jsbattle-react package public
Browse files Browse the repository at this point in the history
  • Loading branch information
jamro committed Jan 9, 2020
1 parent abfced9 commit 888ff9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/jsbattle-docs/docs/dev_guide/dev_process/monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,18 @@ The repository is managed by [Lerna](https://github.com/lerna/lerna). Most impor
- **Publish** - publish packages to NPM repository

### Adding new package
Follow those steps to add new monorepo package (private, not published to NPM)
Follow those steps to add new monorepo package

1. Create npm package:
```bash
mkdir packages/PackageName
cd packages/PackageName
npm init -y
```
2. Update `package.json`. Make the package private, update version and other required fields:
2. Update `package.json`. Update version and other required fields:
```json
{
"name": "PackageName",
"private": true,
"version": "2.1.4",
"license": "MIT"
...
Expand Down
1 change: 0 additions & 1 deletion packages/jsbattle-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "jsbattle-react",
"version": "2.7.0",
"private": true,
"description": "",
"main": "src/JsBattleBattlefield.js",
"scripts": {
Expand Down

0 comments on commit 888ff9b

Please sign in to comment.