0.0.43 • Published 2 years ago

@karve.it/core v0.0.43

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

KarveCore

This library was generated with Angular CLI version 11.2.12.

Code scaffolding

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

Note: Don't forget to add --project karve-core or else it will be added to the default project in your angular.json file.

Build

Run ng build karve-core -c=production to build the project. The build artifacts will be stored in the dist/ directory.

Note: Building without the -c=production flag will work but the pacakge will not be publishable. Note: Files that have not been exposed via the public-api.ts file will not be built/compiled.

Publishing

Before publishing make sure you have moved all dependencies into peer dependencies, this will prevent confflicts with other pacakages when imported. After building your library with ng build karve-core -c=production, go to the dist folder cd dist/karve-core and run npm publish.

Running unit tests

Run ng test karve-core to execute the unit tests via Karma.

Setup In New Project

Step 1: Install Pacakge

npm install @karve/core

Step 2: Install Dependencies

npm install graphql apollo-angular@^1.10.0 apollo-angular-link-http apollo-cache-inmemory apollo-link and any other missing dependencies.

Step 3: Add GraphqlModule to add.module imports

Step 4: Add Enviroment variables

export const environment = { GRAPH_URI: "http://localhost:1337/api/graphql", websocket: ws://${ window.location.host }/api/subscriptions, rememberLength: 63072000, // two years in seconds. production: false };

Step 5: Run ng serve

Your project should now build successfully, if it doesn't report the issue and add the missing step to this list.

0.0.42

2 years ago

0.0.43

2 years ago

0.0.40

2 years ago

0.0.41

2 years ago

0.0.39

2 years ago

0.0.37

2 years ago

0.0.38

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.20

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago