Skip to content

Commit

Permalink
Updated lerna package and settings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkonst committed May 2, 2024
1 parent 16c69a1 commit 22f886d
Show file tree
Hide file tree
Showing 67 changed files with 25,381 additions and 44,624 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.DS_Store
.idea
.nyc_output
.nx
.vscode
/coverage
node_modules
Expand Down
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
# ULMS kit

[![codecov](https://codecov.io/gh/netology-group/ulms-media-ui/branch/add-package-manager/graph/badge.svg?token=e10nIirTN9)](https://codecov.io/gh/netology-group/ulms-media-ui)
[![Build Status](https://netology-group.semaphoreci.com/badges/ulms-media-ui/branches/master.svg?style=shields)](https://netology-group.semaphoreci.com/projects/ulms-media-ui)

## Development

Lerna is a dev-dependency so there is no need to install it globally.

- Link all the components

```bash
npx lerna exec 'npm link'
```

- Build all packages

```bash
npx lerna run build
```

- Provide build capabilities to the packages (runs automatically after installation)

```bash
npm run postinstall
```
# ULMS components
5 changes: 3 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"packages": [
"packages/*"
],
"version": "1.0.0"
]
}
12 changes: 12 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"targetDefaults": {
"build": {
"cache": true,
"dependsOn": []
},
"lint": {
"cache": true,
"dependsOn": []
}
}
}
Loading

0 comments on commit 22f886d

Please sign in to comment.