Marlene

Decorators

TODO Hinweis auf reflect-metadata einfügen

Deployment

Wie kann Marlene in einem anderen Projekt genutzt werden?

npm Registry - geht nicht

Die npm Registry fällt momentan aus, da PASCADA dort keinen berechtigten Account hat. Die Information dort lautet:

To share your code with a limited set of users or teams, you can publish private user-scoped or Org-scoped packages to the npm registry.
...
Note: Before you can publish private user-scoped npm packages, you must sign up for a paid npm user account. Additionally, to publish private Org-scoped packages, you must create an npm user account, then create a paid npm Org.

(Quelle: [Creating and publishing private packages}(https://docs.npmjs.com/creating-and-publishing-private-packages))

Direkter Zugriff aufs GitLab-Repo - geht nicht

Die direkte Verwendung des GitLab-Repos funktioniert zwar mittels npm i git+https://git@gitlab.pascada.net/libs/angular/marlene#master, aber dann liegt in den node_modules nur eine Kopie des Projekts - die Library ist dort gar nicht kompiliert.

(Quelle: Install npm module from gitlab private repository)

Lokaler Build in parallelem Verzeichnis

Momentan bleibt nur der Weg, Marlene einmal zu bauen und eine Zip-Datei zu erzeugen (npm run marlene-package). Diese kann in einer parallel liegenden Angular App mittels npm install ../../marlene/dist/marlene/pascada-marlene-0.0.1.tgz eingebunden werden.

(Quelle: The Angular Library Series - Building and Packaging)

(obsolet) Von Angular generierte Doku

This project was generated with Angular CLI version 8.0.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Dokumentation

results matching ""

    No results matching ""