@rxap/plugin-angular 16.1.0-dev.6 → 16.1.0-dev.8

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.8](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.7...@rxap/plugin-angular@16.1.0-dev.8) (2023-08-14)
7
+
8
+ ### Bug Fixes
9
+
10
+ - use utility docker image for frontend containers ([bb1ca18](https://gitlab.com/rxap/packages/commit/bb1ca18661b4624de822bf5468ee4d090fc6112c))
11
+
12
+ # [16.1.0-dev.7](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.6...@rxap/plugin-angular@16.1.0-dev.7) (2023-08-06)
13
+
14
+ ### Bug Fixes
15
+
16
+ - expose generators as schematics ([679ca36](https://gitlab.com/rxap/packages/commit/679ca36d3712a11e4dc838762bca2f7c471e1e04))
17
+
6
18
  # [16.1.0-dev.6](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.5...@rxap/plugin-angular@16.1.0-dev.6) (2023-08-04)
7
19
 
8
20
  ### Bug Fixes
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-angular
19
19
  ```
20
20
  **Install peer dependencies:**
21
21
  ```bash
22
- yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.1 @rxap/plugin-localazy@^16.1.0-dev.0 @rxap/plugin-utilities@^16.1.0-dev.3 @rxap/schematics-ts-morph@^16.0.0-dev.6 @rxap/workspace-ts-morph@^0.0.2-dev.0 @rxap/workspace-utilities@^0.1.0-dev.1 nx@^16.5.0 ts-morph@^18.0.0
22
+ yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.4 @rxap/plugin-localazy@^16.1.0-dev.3 @rxap/plugin-utilities@^16.1.0-dev.6 @rxap/schematics-ts-morph@^16.0.0-dev.8 @rxap/workspace-ts-morph@^0.1.0-dev.0 @rxap/workspace-utilities@^0.1.0-dev.3 nx@^16.5.0 ts-morph@^18.0.0
23
23
  ```
24
24
  **Execute the init generator:**
25
25
  ```bash
@@ -58,6 +58,41 @@ yarn nx g @rxap/plugin-angular:fix-schematic
58
58
  ## schematic
59
59
  > Create a Schematic for a project.
60
60
 
61
+ ```bash
62
+ yarn nx g @rxap/plugin-angular:schematic
63
+ ```
64
+
65
+ ## init
66
+ > init generator
67
+
68
+ ```bash
69
+ yarn nx g @rxap/plugin-angular:init
70
+ ```
71
+
72
+ ## init-application
73
+ > init-application generator
74
+
75
+ ```bash
76
+ yarn nx g @rxap/plugin-angular:init-application
77
+ ```
78
+
79
+ ## init-library
80
+ > init-library generator
81
+
82
+ ```bash
83
+ yarn nx g @rxap/plugin-angular:init-library
84
+ ```
85
+
86
+ ## fix-schematic
87
+ > fix-schematic generator
88
+
89
+ ```bash
90
+ yarn nx g @rxap/plugin-angular:fix-schematic
91
+ ```
92
+
93
+ ## schematic
94
+ > Create a Schematic for a project.
95
+
61
96
  ```bash
62
97
  yarn nx g @rxap/plugin-angular:schematic
63
98
  ```
package/generators.json CHANGED
@@ -25,5 +25,32 @@
25
25
  "schema": "./src/generators/schematic/schema.json",
26
26
  "description": "Create a Schematic for a project."
27
27
  }
28
+ },
29
+ "schematics": {
30
+ "init": {
31
+ "factory": "./src/generators/init/index",
32
+ "schema": "./src/generators/init/schema.json",
33
+ "description": "init generator"
34
+ },
35
+ "init-application": {
36
+ "factory": "./src/generators/init-application/index",
37
+ "schema": "./src/generators/init-application/schema.json",
38
+ "description": "init-application generator"
39
+ },
40
+ "init-library": {
41
+ "factory": "./src/generators/init-library/index",
42
+ "schema": "./src/generators/init-library/schema.json",
43
+ "description": "init-library generator"
44
+ },
45
+ "fix-schematic": {
46
+ "factory": "./src/generators/fix-schematic/index",
47
+ "schema": "./src/generators/fix-schematic/schema.json",
48
+ "description": "fix-schematic generator"
49
+ },
50
+ "schematic": {
51
+ "factory": "./src/generators/schematic/index",
52
+ "schema": "./src/generators/schematic/schema.json",
53
+ "description": "Create a Schematic for a project."
54
+ }
28
55
  }
29
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/plugin-angular",
3
- "version": "16.1.0-dev.6",
3
+ "version": "16.1.0-dev.8",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "publishConfig": {
@@ -39,48 +39,49 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@nx/devkit": "^16.5.0",
42
- "@rxap/generator-utilities": "^1.1.0-dev.1",
43
- "@rxap/plugin-localazy": "^16.1.0-dev.0",
44
- "@rxap/plugin-utilities": "^16.1.0-dev.3",
45
- "@rxap/schematics-ts-morph": "^16.0.0-dev.6",
46
- "@rxap/workspace-ts-morph": "^0.0.2-dev.0",
47
- "@rxap/workspace-utilities": "^0.1.0-dev.1",
42
+ "@rxap/generator-utilities": "^1.1.0-dev.4",
43
+ "@rxap/plugin-localazy": "^16.1.0-dev.3",
44
+ "@rxap/plugin-utilities": "^16.1.0-dev.6",
45
+ "@rxap/schematics-ts-morph": "^16.0.0-dev.8",
46
+ "@rxap/workspace-ts-morph": "^0.1.0-dev.0",
47
+ "@rxap/workspace-utilities": "^0.1.0-dev.3",
48
48
  "nx": "^16.5.0",
49
49
  "ts-morph": "^18.0.0",
50
50
  "@rxap/node-utilities": "1.1.0-dev.1",
51
51
  "@rxap/schematics-utilities": "16.0.0-dev.7",
52
- "@rxap/utilities": "16.0.0-dev.6"
52
+ "@rxap/utilities": "16.0.0-dev.8"
53
53
  },
54
54
  "nx-migrations": {
55
55
  "packageGroup": [
56
56
  {
57
57
  "package": "@rxap/generator-utilities",
58
- "version": "1.1.0-dev.1"
58
+ "version": "1.1.0-dev.4"
59
59
  },
60
60
  {
61
61
  "package": "@rxap/plugin-localazy",
62
- "version": "16.1.0-dev.0"
62
+ "version": "16.1.0-dev.3"
63
63
  },
64
64
  {
65
65
  "package": "@rxap/plugin-utilities",
66
- "version": "16.1.0-dev.3"
66
+ "version": "16.1.0-dev.6"
67
67
  },
68
68
  {
69
69
  "package": "@rxap/schematics-ts-morph",
70
- "version": "16.0.0-dev.6"
70
+ "version": "16.0.0-dev.8"
71
71
  },
72
72
  {
73
73
  "package": "@rxap/workspace-ts-morph",
74
- "version": "0.0.2-dev.0"
74
+ "version": "0.1.0-dev.0"
75
75
  },
76
76
  {
77
77
  "package": "@rxap/workspace-utilities",
78
- "version": "0.1.0-dev.1"
78
+ "version": "0.1.0-dev.3"
79
79
  }
80
80
  ]
81
81
  },
82
82
  "executors": "./executors.json",
83
- "gitHead": "20620e6fe09d85f69aedad8c9193f03a12e58951",
83
+ "schematics": "./generators.json",
84
+ "gitHead": "2e18c42848d760a0e64ac7022730018c0f135bf5",
84
85
  "main": "./src/index.js",
85
86
  "types": "./src/index.d.ts"
86
87
  }
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").FixSchematicGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/fix-schematic/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").InitGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ FROM registry.gitlab.com/rxap/docker/i18n-nginx:alpine
2
+
3
+ COPY . /usr/share/nginx/html
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").InitApplicationGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init-application/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").InitLibraryGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init-library/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").SchematicGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/schematic/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -1,5 +0,0 @@
1
- FROM nginx:alpine
2
-
3
- COPY nginx.conf /etc/nginx/nginx.conf
4
-
5
- COPY . /usr/share/nginx/html
@@ -1,74 +0,0 @@
1
- user nginx;
2
- worker_processes auto;
3
-
4
- error_log /var/log/nginx/error.log notice;
5
- pid /var/run/nginx.pid;
6
-
7
- events {
8
- worker_connections 1024;
9
- }
10
-
11
- http {
12
- include /etc/nginx/mime.types;
13
- default_type application/octet-stream;
14
-
15
- log_format main '$remote_addr - $remote_user [$time_local] "$request" '
16
- '$status $body_bytes_sent "$http_referer" '
17
- '"$http_user_agent" "$http_x_forwarded_for"';
18
-
19
- access_log /var/log/nginx/access.log main;
20
-
21
- sendfile on;
22
- tcp_nopush on;
23
-
24
- keepalive_timeout 65;
25
-
26
- gzip on;
27
- gzip_types text/plain text/html text/css image/jpeg application/javascript image/png image/svg+xml font/woff font/woff2 application/json;
28
-
29
- map $http_accept_language $accept_language {
30
- default en;
31
- }
32
-
33
- server {
34
-
35
- listen 80 default_server;
36
- listen [::]:80 default_server;
37
- server_name _;
38
-
39
- root /usr/share/nginx/html;
40
-
41
- index index.html;
42
-
43
- location ~* .(js|css)$ {
44
- expires max;
45
- log_not_found on;
46
- access_log off;
47
- add_header Cache-Control "public";
48
- }
49
-
50
- location ~* .(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
51
- expires 1d;
52
- log_not_found on;
53
- access_log off;
54
- add_header Cache-Control "public";
55
- }
56
-
57
- location ~* .(json|html|xml)$ {
58
- expires epoch;
59
- log_not_found on;
60
- access_log on;
61
- add_header Cache-Control "no-cache";
62
- }
63
-
64
- location / {
65
- rewrite ^/(.*)$ https://$host/$accept_language/$1 redirect;
66
- }
67
-
68
- location ~ ^/(de|en|pl) {
69
- try_files $uri $uri/ /$1/index.html?$args;
70
- }
71
-
72
- }
73
-
74
- }