An open API service indexing awesome lists of open source software.

https://github.com/push-based/pb-workshops


https://github.com/push-based/pb-workshops

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# NX Intro

## Prepare

```shell
yarn install
```

## Create Libs

### Models

create models lib:

```shell
yarn nx g @nrwl/workspace:lib models --directory=shared
```

find & replace:

from: `from.*model.*` to: `from '@movies/shared/model';`

fix `libs/shared/models/index.ts`:

### Util

create util lib:

```shell
yarn nx g @nrwl/angular:lib util --directory=shared
```

from: `from.*utils.*` to: `from '@movies/shared/util'`

fix `libs/shared/util/index.ts`:

### data-access

create data-access lib:

```shell
yarn nx g @nrwl/angular:lib data-access --directory=shared
```

find & replace:

from: `from.*data-access.*` to: `from '@movies/shared/data-access';`

fix `libs/shared/data-access/index.ts`: