generator-jhipster-yellowbricks-angular-contextpath 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,7 @@ A [JHipster](https://www.jhipster.tech/) blueprint that sets the Angular `baseHr
4
4
 
5
5
  [![NPM version][npm-image]][npm-url]
6
6
  [![Generator][github-generator-image]][github-generator-url]
7
+ ![GitHub Maintained](https://img.shields.io/maintenance/yes/2026)
7
8
 
8
9
  ## What it does
9
10
 
@@ -33,6 +34,8 @@ npm install -g generator-jhipster-yellowbricks-angular-contextpath
33
34
 
34
35
  ## Usage
35
36
 
37
+ ### Standard generator
38
+
36
39
  Run JHipster with this blueprint and pass your desired context path:
37
40
 
38
41
  ```bash
@@ -40,6 +43,24 @@ jhipster --blueprints yellowbricks-angular-contextpath \
40
43
  --yellowbricks-angular-contextpath-config='{"contextPath":"/jh/"}'
41
44
  ```
42
45
 
46
+ ### With `import-jdl`
47
+
48
+ `import-jdl` does not support blueprint-specific CLI options. Create a `.yo-rc.json` in your project directory first:
49
+
50
+ ```json
51
+ {
52
+ "generator-jhipster-yellowbricks-angular-contextpath": {
53
+ "contextPath": "/jh/"
54
+ }
55
+ }
56
+ ```
57
+
58
+ Then run:
59
+
60
+ ```bash
61
+ jhipster import-jdl your-app.jdl --blueprints yellowbricks-angular-contextpath
62
+ ```
63
+
43
64
  Replace `/jh/` with your actual context path. The trailing slash is required.
44
65
 
45
66
  ## Pre-release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-jhipster-yellowbricks-angular-contextpath",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "JHipster blueprint to configure Angular application baseHref via a custom context path",
5
5
  "keywords": [
6
6
  "yeoman-generator",