Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/deebloo/angular-multi-lib-starter


https://github.com/deebloo/angular-multi-lib-starter

Last synced: 15 days ago
JSON representation

Awesome Lists containing this project

README

        

# Angular Multi-Lib Starter

Packages for building Typescript/Angular applications.

#### Module Docs

| Module |
| --------------------------------- |
| [MyCommonModule](packages/common) |
| [MyCoreModule](packages/core) |

#### Development

Clone:

```BASH
git clone https://github.com/your-repo.git
```

Install Deps:

```BASH
npm run i
```

Serve demo app:

```BASH
npm run serve:dev
```

Run tests

```BASH
npm test
```

to run demo app to test with final compiled modules

```BASH
npm run serve:packages
```

If wanting to test in a different application while building you will have to do the following.

1. link the dev packages from this repo

```BASH
npm run link-dev
```

2. Link the packages you are working on with your project. (run these from your app)

```BASH
npm link @my-lib/common

npm link @my-lib/core

# etc
```

3. Edit your app `tsconfig.app.json`

```JSON
{
"exclude": [
"test.ts",
"**/*.spec.ts",
"../node_modules/@my-lib/**/*.spec.ts"
],
"include": ["**/*.ts", "../node_modules/@my-lib/**/*.ts"]
}
```