1.0.16 • Published 2 months ago

@universis/ngx-events v1.0.16

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

@universis/ngx-events

@universis/ngx-events is an implementation of an event scheduling system used by universis client applications.

Installation

npm i @universis/ngx-events

Usage

Import EventsModule in app modules

...
import { EventsModule } from '@universis/ngx-events';

@NgModule({
declarations: [
    ...
],
imports: [
    ...
    EventsModule
],
    providers: [
        ...
    ],
    bootstrap: [ AppComponent ]
})
export class AppModule {

}

Development

This project is intended to be used as a part of an angular cli project.

  • Add this project as git submodule

      git submodule add https://gitlab.com/universis/ngx-events.git packages/ngx-events
  • Edit angular.json and add ngx-events configuration under packages node:

      "ngx-events": {
          "root": "packages/ngx-events",
          "sourceRoot": "packages/ngx-events/src",
          "projectType": "library",
          "prefix": "universis",
          "architect": {
              "build": {
                  "builder": "@angular-devkit/build-ng-packagr:build",
                  "options": {
                      "tsConfig": "packages/ngx-events/tsconfig.lib.json",
                      "project": "packages/ngx-events/ng-package.json"
                  }
              },
              "test": {
              "builder": "@angular-devkit/build-angular:karma",
              "options": {
                  "main": "packages/ngx-events/src/test.ts",
                  "tsConfig": "packages/ngx-events/tsconfig.spec.json",
                  "karmaConfig": "packages/ngx-events/karma.conf.js"
              }
              },
              "lint": {
              "builder": "@angular-devkit/build-angular:tslint",
              "options": {
                  "tsConfig": [
                      "packages/ngx-events/tsconfig.lib.json",
                      "packages/ngx-events/tsconfig.spec.json"
                  ],
                  "exclude": [
                  "**/node_modules/**"
                  ]
              }
          }
      }
      }
  • Import @universis/ngx-events in tsconfig.json#paths

      {
          ...
          "compilerOptions": {
              ...
              "paths": {
                  ...
                  "@universis/ngx-events": [
                      "packages/ngx-events/src/public_api"
                  ]
              }
          }
      }
1.0.16

2 months ago

15.0.15

3 months ago

1.0.15

3 months ago

1.0.14

3 months ago

15.0.13

4 months ago

15.0.12

4 months ago

15.0.11

4 months ago

15.0.10

4 months ago

15.0.9

4 months ago

1.0.13

4 months ago

15.0.8

4 months ago

1.0.12

5 months ago

1.0.9

6 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

8 months ago

15.0.6

10 months ago

15.0.7

5 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.5

11 months ago

15.0.0

12 months ago

1.0.4

11 months ago

1.0.3

12 months ago

1.0.2

1 year ago

1.0.1

1 year ago

0.1.11

1 year ago

0.1.9

1 year ago

0.1.8

2 years ago

0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.1

2 years ago

0.1.3

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago