• This repository has been archived on 21/Mar/2021
  • Stars
    star
    123
  • Rank 281,028 (Top 6 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JHipster Angular library

Logo

Greetings, Java Hipster!

This is the JHipster Angular 2+ utilities library

NPM version Azure DevOps Build Status Build Status Dependency Status

This library is used by the code generated by the generator-jhipster: https://github.com/jhipster/generator-jhipster/. When releasing a new version of the generator-jhipster then this is tested with the specific version of the ng-jhipster referenced in the generated package.json file. If your application is generated by the older version of the generator-jhipster and you manually update ng-jhipster version in the package.json then this may and may not work. To use a newer version of the ng-jhipster, regenerate application with a newer version of the generator-jhipster which generates a right ng-jhipster version into package.json file.

Full documentation and information is available on our website at https://jhipster.tech/

Please read our guidelines before submitting an issue. If your issue is a bug, please use the bug template pre populated here. For feature requests and queries you can use this template.

Development setup

You need NodeJS and NPM.

Fork the ng-jhipster project

Go to the ng-jhipster project and click on the "fork" button. You can then clone your own fork of the project, and start working on it.

Please read the Github forking documentation for more information

Build

Run npm install to install all dependencies.

Make some changes, run npm run test to run both eslint/tslint and unit tests.

Build the library with npm run build.

Package the library by running npm pack in the dist directory. This will create an archive ng-jhipster-vX.Y.Z.tgz.

For testing, you will want to integrate this archive into an application generated by JHipster.

Go to your generated JHipster application and run...

npm install path/to/ng-jhipster/dist/ng-jhipster-vX.Y.Z.tgz

...so that your JHipster application uses the content of this archive as ng-jhipster dependency which is located in node_modules/ng-jhipster.

Quick development

You can quickly test library changes in Angular application generated by JHipster in the following manner.

  1. Generate Angular application using JHipster generator.

  2. Actions in the ng-jhipster project.

    • In the ng-package.dev.json change the value of the dest to some subfolder inside generated project, for example if using Gradle or skipping server then you can use GeneratedAppRootFolder/build/dist/ng-jhipster and if using Maven then use target subfolder instead of build.
      For example, if the generated app and the ng-jhipster are siblings in the disk then you can use:

      "dest": "../generated-app-root-folder-name/build/dist/ng-jhipster",
      

      One note about this change. As Angular framework architecture excpects that in building app all blocks of the application are inside app root folder then you can't skip this step. If you don't do this change and in the generated app tsconfig.json file refer to ng-jhipster default destination folder like this "ng-jhipster": ["../ng-jhipster/dist"] then runtime errors will occur on running app.

    • Run npm run build:dev

  3. Actions in the generated application.

    • In the tsconfig.json file, add the following entry into compilerOptions.paths:

      "ng-jhipster": ["build/dist/ng-jhipster"]
      
    • Optional step. If you are using some other subfolder than build or target for ng-jhipster build destination and this folder is not in .eslintignore then add this folder there (this suppresses ESLint errors for compiled ng-jhipster bundle)

    • Run npm start

Now on every change in ng-jhipster the following will happen automatically:

  • ng-jhipster rebuilds
  • generated app rebuilds using freshly built local ng-jhipster
  • generated app is reloaded in the browser and you can see and test changes made in the ng-jhipster

More Repositories

1

generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
TypeScript
21,203
star
2

jhipster-sample-app

This is a sample application created with JHipster
TypeScript
1,338
star
3

prettier-java

Prettier Java Plugin
Java
1,029
star
4

jhipster-registry

JHipster Registry, based on Spring Cloud Netflix Eureka and Spring Cloud Config
TypeScript
693
star
5

jhipster-kotlin

Kotlin based JHipster
Kotlin
445
star
6

jhipster-lite

JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservices architecture, step by step - using Hexagonal Architecture 💎
Java
413
star
7

jhipster

DEPRECATED: use https://github.com/jhipster/jhipster-bom instead
Java
409
star
8

jdl-studio

JDL Studio is an online JHipster Domain Language visual editor
TypeScript
403
star
9

jhipster-core

JHipster Domain Language, used by JHipster UML and JDL-Studio to generate entities
JavaScript
344
star
10

jhipster.github.io

Public website for JHipster - generates https://www.jhipster.tech
JavaScript
342
star
11

jhipster-dotnetcore

JHipster.NET blueprint
EJS
305
star
12

jhipster-vuejs

A Vue.js blueprint for JHipster. It will use Vue.js as the frontend library!
TypeScript
300
star
13

generator-jhipster-react-native

A React Native blueprint for JHipster
EJS
259
star
14

jhipster-uml

UML support for JHipster
JavaScript
258
star
15

generator-jhipster-nodejs

A NodeJS blueprint that creates the backend using NestJS
EJS
248
star
16

jhipster-console

JHipster monitoring & alerting console, based on ELK
Go
226
star
17

jdl-samples

Sample JDL files
215
star
18

jhipster-sample-app-react

This is a sample application created with JHipster, using React
Java
212
star
19

jhipster-online

JHipster Online lets you generate your JHipster projects through a user friendly web interface.
Java
201
star
20

jhipster-devbox

JHipster virtualized development box
Shell
200
star
21

generator-jhipster-ionic

Ionic for JHipster ✨
TypeScript
186
star
22

jhipster-guides

Guides to help you learn JHipster quickly
Shell
177
star
23

generator-jhipster-quarkus

Quarkus blueprint for JHipster
EJS
135
star
24

generator-jhipster-entity-audit

JHipster module to enable entity audit and audit log page
EJS
127
star
25

jhipster-ide

An IDE for the JHipster Domain Language
Xtend
124
star
26

generator-jhipster-micronaut

Micronaut blueprint for JHipster
EJS
98
star
27

jhipster-sample-app-ng2

DEPRECATED now that Angular 2+ is the default - This is a sample application created with JHipster, using Angular 2
Java
95
star
28

jhipster-sample-app-vuejs

This is a sample application created with JHipster, with the Vue.js blueprint
Java
91
star
29

react-jhipster

JHipster React library
TypeScript
82
star
30

webflux-jhipster

HTML
69
star
31

jhipster-bom

JHipster BOM and server-side library
Java
68
star
32

generator-jhipster-svelte

Generate Svelte powered JHipster web applications
EJS
61
star
33

jhipster-control-center

Manage your JHipster applications from a single place
TypeScript
59
star
34

jhipster-docker

DO NOT USE - DEPRECATED REPO - Old jdubois/jhipster Docker image, replaced by https://hub.docker.com/r/jhipster/jhipster/
59
star
35

jhipster-loaded

DEPRECATED - Java Agent used by JHipster to hot-reload Java classes
Java
51
star
36

jhipster-sample-app-microservice

This is a sample application created with JHipster, with the Microservice type
Java
50
star
37

jhipster-sample-app-oauth2

This is a sample application created with JHipster, with the OAuth2 option
TypeScript
50
star
38

jhipster-net-sample-app-template

JHipster.NET sample application
C#
49
star
39

jhipster-experimental-microservices

DON'T USE THIS - old experimental repository
Java
45
star
40

jhipster-sample-app-gradle

This is a sample application created with JHipster, with the Gradle option
TypeScript
43
star
41

generator-jhipster-module

DEPRECATED: use https://github.com/jhipster/generator-jhipster instead
EJS
43
star
42

generator-jhipster-native

JavaScript
40
star
43

jhipster-oh-my-zsh-plugin

JHipster plugin for oh-my-zsh
Shell
39
star
44

jhipster-sample-app-elasticsearch

This is a sample application created with JHipster, using ElasticSearch
TypeScript
39
star
45

jhipster-sample-app-dotnetcore

This is a sample .NET application created with the JHipster .NET blueprint
TypeScript
39
star
46

jhipster-sample-app-nodejs

This is a sample application created with NodeJS JHipster Official Blueprint (NHipster)
TypeScript
38
star
47

jhipster-sample-app-gateway

This is a sample application created with JHipster, with the Gateway type
TypeScript
37
star
48

generator-jhipster-blueprint

DEPRECATED: use https://github.com/jhipster/generator-jhipster instead
JavaScript
35
star
49

jhipster-app

The JHipster App lives in the menu bar, and helps running the most usual JHipster tasks
JavaScript
33
star
50

cn

中文官方版本, 由社区维护
JavaScript
30
star
51

consul-config-loader

A small docker based tool to load Spring Boot property files into Consul's K/V Store
Shell
29
star
52

jhipster-sample-app-quarkus

JHipster on Quarkus
TypeScript
27
star
53

jhipster-sample-app-mongodb

This is a sample application created with JHipster, with the MongoDB option
TypeScript
26
star
54

devoxx-2016

Code developed live during Devoxx 2016: video is at https://www.youtube.com/watch?v=dzdjP3CPOCs and slides are at http://www.slideshare.net/julien.dubois/devoxx-being-productive-with-jhipster
Java
25
star
55

chevrotain-java

A javascript based java parser based on chevrotain
JavaScript
25
star
56

jhipster-sample-app-hazelcast

This is a sample application created with JHipster, with the Hazelcast option
TypeScript
24
star
57

jhipster-sample-app-websocket

This is a sample application created with JHipster, with the Websocket option
TypeScript
24
star
58

jhipster-sample-app-micronaut

[WORK IN PROGRESS] JHipster on Micronaut
Java
23
star
59

jhipster-sample-app-token

DEPRECATED as JWT is now the default option - this is a sample application created with JHipster, with the JWT authentication option
Java
22
star
60

jhipster-sample-app-dto

This is a sample application created with JHipster, using DTOs
TypeScript
21
star
61

jhipster-go

GoHipster: A JHipster blueprint that will provide Golang as the server side language
JavaScript
20
star
62

jhipster-artwork

All artwork related to JHipster
18
star
63

jhipster-registry-sample-config

Sample Spring Cloud Config repository for the JHipster Registry
18
star
64

jhipster-dashboard

Hystrix dashboard for JHipster microservices architecture
Shell
16
star
65

jhipster-bot

Bot for creating JHipster applications
JavaScript
15
star
66

jhipster-sample-app-kotlin

This is a sample application created with JHipster, with the Kotlin blueprint
Kotlin
14
star
67

jhipster-docker-hub

docker-compose files using images from JHipster organization at Docker Hub
Shell
14
star
68

jhipster-sample-app-cassandra

This is a sample application created with JHipster, with the Cassandra option
TypeScript
13
star
69

jhipster-openid-connect

WORK IN PROGRESS - DO NOT USE YET - JHipster OpenID Connect server, based on CloudFoundry UAA
13
star
70

jhipster-operator

Java
12
star
71

jhipster-ansible

Ansible role for managing releases
HTML
12
star
72

generator-jhipster-docker-compose

DO NOT USE THIS REPO - it's now a sub-generator in the main generator-jhipster project
JavaScript
12
star
73

jhipster-sample-app-svelte

This is a sample application created with JHipster Svelte blueprint
Java
10
star
74

jhipster-automated-samples

Automatically generate the JHipster sample applications
Shell
10
star
75

jhipster-sample-app-nodejs-oauth2

This is a sample application created with NodeJS JHipster Official Blueprint (NHipster), with OAuth2 and the React option
TypeScript
9
star
76

jhipster-dependencies

DEPRECATED - Maven BOM for all JHipster projects
Shell
9
star
77

jhipster-lite-sample-app

This is a sample application created with JHipster Lite
Java
9
star
78

generator-jhipster-jooq

JHipster blueprint for jOOQ support
JavaScript
8
star
79

jhipster-fisher-plugin

A fisher plug-in for JHipster
Shell
8
star
80

jhipster-neo4j-app

Sample JHipster application forked to use Neo4J
Java
8
star
81

eslint-config-jhipster

JavaScript
8
star
82

jhipster-sample-app-ng1

DEPRECATED as AngularJS 1.X support is removed in JHipster 5 - This is a sample application created with JHipster, using AngularJS 1.x
Java
8
star
83

jhipster-net

Core library for JHipster.NET
C#
7
star
84

jhipster-dotnet

C#
7
star
85

jhipster-sample-app-java7

DEPRECATED as Java 7 is deprecated on JHipster
Java
7
star
86

jhipster-php

[work in progress] PHP implementation for JHipster
Java
7
star
87

hipslacker

A Slack bot for JHipster
Python
7
star
88

jhipster-ci-stack

DO NOT USE - UNDER DEVELOPMENT Official Docker continuous integration agent image
7
star
89

jhipster-sample-app-nocache

This is a sample application created with JHipster, without using a 2nd level cache
TypeScript
6
star
90

jhipster-registry-buildpack

A buildpack for the JHipster Registry
Shell
5
star
91

jhipster-sample-app-couchbase

This is a sample application created with JHipster, with the Couchbase option
TypeScript
4
star
92

jhipster-sample-app-blazor

Blazor front-end for JHipster .NET Core
C#
4
star
93

jhipster-code

Website for JHipster Code
JavaScript
4
star
94

jhipster-sample-app-noi18n

This is a sample application created with JHipster, without using i18n
TypeScript
4
star
95

documentation-archive

Archive for old JHipster documentation
HTML
3
star
96

jhipster-sample-app-golang

A sample application for go blueprint
3
star
97

jhipster-sample-app-nodejs-vuejs

This is a sample application created with NodeJS JHipster Official Blueprint (NHipster), with MongoDB and the Vue.js option
TypeScript
3
star
98

.github

Maintains all of the default policies for the JHipster organization
2
star
99

jhipster-sample-application

Java
2
star
100

jhipster-base

Shared data between JHipster dependent modules such like JH Core and JH IDE
Shell
2
star