@rxap/plugin-angular 16.1.0-dev.3 → 16.1.0-dev.31
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 +197 -0
- package/LICENSE.md +621 -0
- package/README.md +64 -1
- package/executors.json +5 -0
- package/generators.json +37 -0
- package/package.json +58 -45
- package/src/executors/check-ng-package/executor.d.ts +5 -0
- package/src/executors/check-ng-package/executor.js +30 -0
- package/src/executors/check-ng-package/executor.js.map +1 -0
- package/src/executors/check-ng-package/schema.d.ts +1 -0
- package/src/executors/check-ng-package/schema.json +9 -0
- package/src/generators/fix-schematic/index.d.ts +2 -0
- package/src/generators/fix-schematic/index.js +7 -0
- package/src/generators/fix-schematic/index.js.map +1 -0
- package/src/generators/init/index.d.ts +2 -0
- package/src/generators/init/index.js +7 -0
- package/src/generators/init/index.js.map +1 -0
- package/src/generators/init/schema.d.ts +1 -0
- package/src/generators/init/schema.json +5 -0
- package/src/generators/init-application/files/app/app.navigation.ts.template +11 -0
- package/src/generators/init-application/files/app/app.routes.ts.template +14 -0
- package/src/generators/init-application/files/app/layout.routes.ts.template +33 -0
- package/src/generators/init-application/files/monolithic/app/app.config.ts.template +35 -0
- package/src/generators/init-application/files/monolithic/app/app.navigation.ts.template +11 -0
- package/src/generators/init-application/files/monolithic/app/app.routes.ts.template +14 -0
- package/src/generators/init-application/files/monolithic/app/layout.routes.ts.template +32 -0
- package/src/generators/init-application/files/monolithic/assets/icons/create-pwa-icons.sh +11 -0
- package/src/generators/init-application/files/monolithic/assets/icons/dashboard.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-114x114.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-120x120.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-128x128.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-144x144.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-152x152.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-16x16.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-180x180.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-192x192.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-32x32.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-384x384.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-512x512.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-57x57.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-60x60.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-72x72.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-76x76.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon-96x96.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/icons/icon.svg +43 -0
- package/src/generators/init-application/files/monolithic/assets/logo.png +0 -0
- package/src/generators/init-application/files/monolithic/assets/logo.svg +63 -0
- package/src/generators/init-application/files/monolithic/index.html.template +165 -0
- package/src/generators/init-application/files/monolithic/styles.scss.template +3 -0
- package/src/generators/init-application/files/service-worker/manifest.webmanifest +52 -0
- package/src/generators/init-application/files/shared/Dockerfile +3 -0
- package/src/generators/init-application/files/shared/changelog/.gitkeep +0 -0
- package/src/generators/init-application/files/shared/configuration/.gitkeep +0 -0
- package/src/generators/init-application/files/shared/ngsw-config.json +0 -12
- package/src/generators/init-application/files/styles/_fonts.scss +1 -0
- package/src/generators/init-application/files/styles/_index.scss +10 -0
- package/src/generators/init-application/files/styles/_loading-animation.scss +200 -0
- package/src/generators/init-application/files/styles/_palette.scss +98 -0
- package/src/generators/init-application/files/styles/_table.scss +45 -0
- package/src/generators/init-application/files/styles/_theme.scss +102 -0
- package/src/generators/init-application/files/styles/_variables.scss +63 -0
- package/src/generators/init-application/files/styles/fonts/_material-icons.scss +20 -0
- package/src/generators/init-application/files/styles/fonts/material-icons.ttf +0 -0
- package/src/generators/init-application/generator.js +285 -61
- package/src/generators/init-application/generator.js.map +1 -1
- package/src/generators/init-application/index.d.ts +2 -0
- package/src/generators/init-application/index.js +7 -0
- package/src/generators/init-application/index.js.map +1 -0
- package/src/generators/init-application/schema.d.ts +4 -0
- package/src/generators/init-application/schema.json +35 -8
- package/src/generators/init-feature/files/feature/__name__/routes.ts.template +10 -0
- package/src/generators/init-feature/generator.d.ts +11 -0
- package/src/generators/init-feature/generator.js +106 -0
- package/src/generators/init-feature/generator.js.map +1 -0
- package/src/generators/init-feature/index.d.ts +2 -0
- package/src/generators/init-feature/index.js +7 -0
- package/src/generators/init-feature/index.js.map +1 -0
- package/src/generators/init-feature/schema.d.ts +4 -0
- package/src/generators/init-feature/schema.json +20 -0
- package/src/generators/init-library/generator.js +68 -40
- package/src/generators/init-library/generator.js.map +1 -1
- package/src/generators/init-library/index.d.ts +2 -0
- package/src/generators/init-library/index.js +7 -0
- package/src/generators/init-library/index.js.map +1 -0
- package/src/generators/init-library/schema.d.ts +1 -0
- package/src/generators/init-library/schema.json +5 -0
- package/src/generators/schematic/index.d.ts +2 -0
- package/src/generators/schematic/index.js +7 -0
- package/src/generators/schematic/index.js.map +1 -0
- package/src/generators/init-application/files/shared/assets/Dockerfile +0 -5
- package/src/generators/init-application/files/shared/assets/nginx.conf +0 -74
- package/src/generators/init-application/files/shared/i18n.index.html.hbs +0 -40
- /package/src/generators/init-application/files/{shared → monolithic/assets}/.gitkeep +0 -0
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.0.1-dev.
|
|
22
|
+
yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.14 @rxap/plugin-localazy@^16.1.0-dev.11 @rxap/plugin-utilities@^16.1.0-dev.15 @rxap/ts-morph@^0.1.0-dev.9 @rxap/utilities@* @rxap/workspace-ts-morph@^0.1.0-dev.8 @rxap/workspace-utilities@^0.1.0-dev.15 nx@^16.5.0 ts-morph@^18.0.0 tslib@2.6.2
|
|
23
23
|
```
|
|
24
24
|
**Execute the init generator:**
|
|
25
25
|
```bash
|
|
@@ -61,6 +61,55 @@ yarn nx g @rxap/plugin-angular:fix-schematic
|
|
|
61
61
|
```bash
|
|
62
62
|
yarn nx g @rxap/plugin-angular:schematic
|
|
63
63
|
```
|
|
64
|
+
|
|
65
|
+
## init-feature
|
|
66
|
+
> init-feature generator
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
yarn nx g @rxap/plugin-angular:init-feature
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## init
|
|
73
|
+
> init generator
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
yarn nx g @rxap/plugin-angular:init
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## init-application
|
|
80
|
+
> init-application generator
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
yarn nx g @rxap/plugin-angular:init-application
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## init-library
|
|
87
|
+
> init-library generator
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
yarn nx g @rxap/plugin-angular:init-library
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## fix-schematic
|
|
94
|
+
> fix-schematic generator
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
yarn nx g @rxap/plugin-angular:fix-schematic
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## schematic
|
|
101
|
+
> Create a Schematic for a project.
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
yarn nx g @rxap/plugin-angular:schematic
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## init-feature
|
|
108
|
+
> init-feature generator
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
yarn nx g @rxap/plugin-angular:init-feature
|
|
112
|
+
```
|
|
64
113
|
# Executors
|
|
65
114
|
|
|
66
115
|
## tailwind
|
|
@@ -77,3 +126,17 @@ yarn nx g @rxap/plugin-angular:schematic
|
|
|
77
126
|
}
|
|
78
127
|
```
|
|
79
128
|
|
|
129
|
+
## check-ng-package
|
|
130
|
+
> check-ng-package executor
|
|
131
|
+
|
|
132
|
+
**project.json**
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"targets": {
|
|
136
|
+
"check-ng-package": {
|
|
137
|
+
"executor": "@rxap/plugin-angular:check-ng-package"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
package/executors.json
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
"implementation": "./src/executors/tailwind/executor",
|
|
5
5
|
"schema": "./src/executors/tailwind/schema.json",
|
|
6
6
|
"description": "tailwind executor"
|
|
7
|
+
},
|
|
8
|
+
"check-ng-package": {
|
|
9
|
+
"implementation": "./src/executors/check-ng-package/executor",
|
|
10
|
+
"schema": "./src/executors/check-ng-package/schema.json",
|
|
11
|
+
"description": "check-ng-package executor"
|
|
7
12
|
}
|
|
8
13
|
}
|
|
9
14
|
}
|
package/generators.json
CHANGED
|
@@ -24,6 +24,43 @@
|
|
|
24
24
|
"factory": "./src/generators/schematic/generator",
|
|
25
25
|
"schema": "./src/generators/schematic/schema.json",
|
|
26
26
|
"description": "Create a Schematic for a project."
|
|
27
|
+
},
|
|
28
|
+
"init-feature": {
|
|
29
|
+
"factory": "./src/generators/init-feature/generator",
|
|
30
|
+
"schema": "./src/generators/init-feature/schema.json",
|
|
31
|
+
"description": "init-feature generator"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"schematics": {
|
|
35
|
+
"init": {
|
|
36
|
+
"factory": "./src/generators/init/index",
|
|
37
|
+
"schema": "./src/generators/init/schema.json",
|
|
38
|
+
"description": "init generator"
|
|
39
|
+
},
|
|
40
|
+
"init-application": {
|
|
41
|
+
"factory": "./src/generators/init-application/index",
|
|
42
|
+
"schema": "./src/generators/init-application/schema.json",
|
|
43
|
+
"description": "init-application generator"
|
|
44
|
+
},
|
|
45
|
+
"init-library": {
|
|
46
|
+
"factory": "./src/generators/init-library/index",
|
|
47
|
+
"schema": "./src/generators/init-library/schema.json",
|
|
48
|
+
"description": "init-library generator"
|
|
49
|
+
},
|
|
50
|
+
"fix-schematic": {
|
|
51
|
+
"factory": "./src/generators/fix-schematic/index",
|
|
52
|
+
"schema": "./src/generators/fix-schematic/schema.json",
|
|
53
|
+
"description": "fix-schematic generator"
|
|
54
|
+
},
|
|
55
|
+
"schematic": {
|
|
56
|
+
"factory": "./src/generators/schematic/index",
|
|
57
|
+
"schema": "./src/generators/schematic/schema.json",
|
|
58
|
+
"description": "Create a Schematic for a project."
|
|
59
|
+
},
|
|
60
|
+
"init-feature": {
|
|
61
|
+
"factory": "./src/generators/init-feature/index",
|
|
62
|
+
"schema": "./src/generators/init-feature/schema.json",
|
|
63
|
+
"description": "init-feature generator"
|
|
27
64
|
}
|
|
28
65
|
}
|
|
29
66
|
}
|
package/package.json
CHANGED
|
@@ -1,79 +1,92 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "16.1.0-dev.31",
|
|
2
3
|
"name": "@rxap/plugin-angular",
|
|
3
|
-
"version": "16.1.0-dev.3",
|
|
4
|
-
"type": "commonjs",
|
|
5
|
-
"generators": "./generators.json",
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public",
|
|
8
|
-
"directory": "../../../dist/packages/plugin/angular"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"rxap",
|
|
12
|
-
"plugin",
|
|
13
|
-
"nx",
|
|
14
|
-
"nx-plugin",
|
|
15
|
-
"packages",
|
|
16
|
-
"angular"
|
|
17
|
-
],
|
|
18
|
-
"homepage": "https:/gitlab.com/rxap/packages/packages/plugin/angular",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
21
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
22
|
-
},
|
|
23
4
|
"license": "GPL-3.0-or-later",
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "https://gitlab.com/rxap/packages.git",
|
|
27
|
-
"directory": "packages/plugin/angular"
|
|
28
|
-
},
|
|
29
|
-
"author": {
|
|
30
|
-
"name": "Merzough Münker",
|
|
31
|
-
"email": "mmuenker@digitaix.com"
|
|
32
|
-
},
|
|
33
5
|
"dependencies": {
|
|
34
6
|
"ignore": "^5.2.4",
|
|
7
|
+
"process": "0.11.10",
|
|
35
8
|
"semver": "^7.3.5",
|
|
36
|
-
"tslib": "2.6.
|
|
9
|
+
"tslib": "2.6.2",
|
|
10
|
+
"yaml": "2.3.1"
|
|
37
11
|
},
|
|
38
12
|
"peerDependencies": {
|
|
39
13
|
"@nx/devkit": "^16.5.0",
|
|
40
|
-
"@rxap/generator-utilities": "^1.0
|
|
41
|
-
"@rxap/plugin-
|
|
42
|
-
"@rxap/
|
|
43
|
-
"@rxap/
|
|
44
|
-
"@rxap/
|
|
14
|
+
"@rxap/generator-utilities": "^1.1.0-dev.14",
|
|
15
|
+
"@rxap/plugin-localazy": "^16.1.0-dev.11",
|
|
16
|
+
"@rxap/plugin-utilities": "^16.1.0-dev.15",
|
|
17
|
+
"@rxap/ts-morph": "^0.1.0-dev.9",
|
|
18
|
+
"@rxap/utilities": "*",
|
|
19
|
+
"@rxap/workspace-ts-morph": "^0.1.0-dev.8",
|
|
20
|
+
"@rxap/workspace-utilities": "^0.1.0-dev.15",
|
|
45
21
|
"nx": "^16.5.0",
|
|
46
22
|
"ts-morph": "^18.0.0",
|
|
47
|
-
"
|
|
48
|
-
"@rxap/
|
|
49
|
-
|
|
23
|
+
"tslib": "2.6.2",
|
|
24
|
+
"@rxap/node-utilities": "1.1.0-dev.9"
|
|
25
|
+
},
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Merzough Münker",
|
|
28
|
+
"email": "mmuenker@digitaix.com"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
32
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
50
33
|
},
|
|
34
|
+
"executors": "./executors.json",
|
|
35
|
+
"generators": "./generators.json",
|
|
36
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/plugin/angular",
|
|
37
|
+
"keywords": [
|
|
38
|
+
"angular",
|
|
39
|
+
"nx",
|
|
40
|
+
"nx-plugin",
|
|
41
|
+
"packages",
|
|
42
|
+
"plugin",
|
|
43
|
+
"plugin-angular",
|
|
44
|
+
"rxap"
|
|
45
|
+
],
|
|
51
46
|
"nx-migrations": {
|
|
52
47
|
"packageGroup": [
|
|
53
48
|
{
|
|
54
49
|
"package": "@rxap/generator-utilities",
|
|
55
|
-
"version": "1.0
|
|
50
|
+
"version": "1.1.0-dev.14"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"package": "@rxap/plugin-localazy",
|
|
54
|
+
"version": "16.1.0-dev.11"
|
|
56
55
|
},
|
|
57
56
|
{
|
|
58
57
|
"package": "@rxap/plugin-utilities",
|
|
59
|
-
"version": "16.1.0-dev.
|
|
58
|
+
"version": "16.1.0-dev.15"
|
|
60
59
|
},
|
|
61
60
|
{
|
|
62
61
|
"package": "@rxap/schematics-ts-morph",
|
|
63
|
-
"version": "16.0.0-dev.
|
|
62
|
+
"version": "16.0.0-dev.12"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"package": "@rxap/ts-morph",
|
|
66
|
+
"version": "0.1.0-dev.9"
|
|
64
67
|
},
|
|
65
68
|
{
|
|
66
69
|
"package": "@rxap/workspace-ts-morph",
|
|
67
|
-
"version": "0.0
|
|
70
|
+
"version": "0.1.0-dev.8"
|
|
68
71
|
},
|
|
69
72
|
{
|
|
70
73
|
"package": "@rxap/workspace-utilities",
|
|
71
|
-
"version": "0.1.0-dev.
|
|
74
|
+
"version": "0.1.0-dev.15"
|
|
72
75
|
}
|
|
73
76
|
]
|
|
74
77
|
},
|
|
75
|
-
"
|
|
76
|
-
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"access": "public",
|
|
80
|
+
"directory": "../../../dist/packages/plugin/angular"
|
|
81
|
+
},
|
|
82
|
+
"repository": {
|
|
83
|
+
"type": "git",
|
|
84
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
85
|
+
"directory": "packages/plugin/angular"
|
|
86
|
+
},
|
|
87
|
+
"schematics": "./generators.json",
|
|
88
|
+
"type": "commonjs",
|
|
89
|
+
"gitHead": "728105249357243c065e1a5a6fec05870b4af511",
|
|
77
90
|
"main": "./src/index.js",
|
|
78
91
|
"types": "./src/index.d.ts"
|
|
79
92
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const plugin_utilities_1 = require("@rxap/plugin-utilities");
|
|
5
|
+
function runExecutor(options, context) {
|
|
6
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
7
|
+
console.log('Executor ran for CheckNgPackage', options);
|
|
8
|
+
const ngPackage = JSON.parse((0, plugin_utilities_1.readFileFromProjectRoot)(context, 'ng-package.json', true));
|
|
9
|
+
const { dependencies } = JSON.parse((0, plugin_utilities_1.readFileFromProjectRoot)(context, 'package.json', true));
|
|
10
|
+
if (ngPackage.allowedNonPeerDependencies) {
|
|
11
|
+
const wrongPackages = [];
|
|
12
|
+
for (const packageName of ngPackage.allowedNonPeerDependencies) {
|
|
13
|
+
if (!dependencies[packageName]) {
|
|
14
|
+
wrongPackages.push(packageName);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
if (wrongPackages.length) {
|
|
18
|
+
console.log(`\x1b[31mSome packages in the allowed non peer dependencies list are not in the package.json dependencies list:\x1b[0m\n - ${wrongPackages.join('\n - ')}`);
|
|
19
|
+
return {
|
|
20
|
+
success: false,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
success: true,
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
exports.default = runExecutor;
|
|
30
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/executors/check-ng-package/executor.ts"],"names":[],"mappings":";;;AACA,6DAAiE;AAGjE,SAA8B,WAAW,CACvC,OAAqC,EACrC,OAAwB;;QAExB,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;QAExD,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,0CAAuB,EAAC,OAAO,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAC,CAAC;QACxF,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,0CAAuB,EAAC,OAAO,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC;QAE5F,IAAI,SAAS,CAAC,0BAA0B,EAAE;YACxC,MAAM,aAAa,GAAa,EAAE,CAAC;YACnC,KAAK,MAAM,WAAW,IAAI,SAAS,CAAC,0BAA0B,EAAE;gBAC9D,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE;oBAC9B,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;iBACjC;aACF;YACD,IAAI,aAAa,CAAC,MAAM,EAAE;gBACxB,OAAO,CAAC,GAAG,CAAC,6HAA8H,aAAa,CAAC,IAAI,CAC1J,OAAO,CAAE,EAAE,CAAC,CAAC;gBACf,OAAO;oBACL,OAAO,EAAE,KAAK;iBACf,CAAC;aACH;SACF;QAED,OAAO;YACL,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;CAAA;AA5BD,8BA4BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export interface CheckNgPackageExecutorSchema {} // eslint-disable-line
|
|
@@ -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,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,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavigationWithInserts,
|
|
3
|
+
RXAP_NAVIGATION_CONFIG,
|
|
4
|
+
} from '@rxap/layout';
|
|
5
|
+
|
|
6
|
+
export const APP_NAVIGATION: () => NavigationWithInserts = () => [];
|
|
7
|
+
|
|
8
|
+
export const APP_NAVIGATION_PROVIDER = {
|
|
9
|
+
provide: RXAP_NAVIGATION_CONFIG,
|
|
10
|
+
useValue: APP_NAVIGATION,
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Route } from '@angular/router';
|
|
2
|
+
import { STATUS_CHECK_ROUTE } from '@rxap/ngx-status-check';
|
|
3
|
+
|
|
4
|
+
export const appRoutes: Route[] = [
|
|
5
|
+
STATUS_CHECK_ROUTE,
|
|
6
|
+
{
|
|
7
|
+
path: '',
|
|
8
|
+
loadChildren: () => import('./layout.routes')
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
path: '**',
|
|
12
|
+
redirectTo: '',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
2
|
+
import { Route } from '@angular/router';
|
|
3
|
+
import {
|
|
4
|
+
LayoutComponent,
|
|
5
|
+
NavigationService,
|
|
6
|
+
} from '@rxap/layout';
|
|
7
|
+
import { StatusCheckGuard } from '@rxap/ngx-status-check';
|
|
8
|
+
import { APP_NAVIGATION_PROVIDER } from './app.navigation';
|
|
9
|
+
|
|
10
|
+
const ROUTES: Route[] = [
|
|
11
|
+
{
|
|
12
|
+
path: '',
|
|
13
|
+
component: LayoutComponent,
|
|
14
|
+
canActivateChild: [ StatusCheckGuard ],
|
|
15
|
+
children: [
|
|
16
|
+
{
|
|
17
|
+
path: '**',
|
|
18
|
+
redirectTo: '',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
providers: [
|
|
22
|
+
provideAnimations(),
|
|
23
|
+
APP_NAVIGATION_PROVIDER,
|
|
24
|
+
NavigationService,
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
path: '**',
|
|
29
|
+
redirectTo: '',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
export default ROUTES;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ApplicationConfig,
|
|
3
|
+
importProvidersFrom,
|
|
4
|
+
} from '@angular/core';
|
|
5
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
6
|
+
import {
|
|
7
|
+
provideRouter,
|
|
8
|
+
withEnabledBlockingInitialNavigation,
|
|
9
|
+
} from '@angular/router';
|
|
10
|
+
import { ProvideEnvironment } from '@rxap/environment';
|
|
11
|
+
import {
|
|
12
|
+
HttpErrorInterceptor,
|
|
13
|
+
ProvideErrorHandler,
|
|
14
|
+
} from '@rxap/ngx-error';
|
|
15
|
+
import { environment } from '../environments/environment';
|
|
16
|
+
import { appRoutes } from './app.routes';
|
|
17
|
+
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
18
|
+
import { LanguageInterceptor } from '@rxap/ngx-localize';
|
|
19
|
+
import { ProvideChangelog } from '@rxap/ngx-changelog';
|
|
20
|
+
import { MarkdownModule } from 'ngx-markdown';
|
|
21
|
+
|
|
22
|
+
export const appConfig: ApplicationConfig = {
|
|
23
|
+
providers: [
|
|
24
|
+
importProvidersFrom(MarkdownModule.forRoot()),
|
|
25
|
+
// required to be imported so that the http client is available in the application for the status check method
|
|
26
|
+
provideHttpClient(withInterceptors([HttpErrorInterceptor, LanguageInterceptor])),
|
|
27
|
+
provideRouter(appRoutes, withEnabledBlockingInitialNavigation()),
|
|
28
|
+
// it is required to provide the animations provider in the app config.
|
|
29
|
+
// If provided in a lazy loaded module the animations will not work
|
|
30
|
+
provideAnimations(),
|
|
31
|
+
ProvideErrorHandler(),
|
|
32
|
+
ProvideEnvironment(environment),
|
|
33
|
+
ProvideChangelog(),
|
|
34
|
+
],
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavigationWithInserts,
|
|
3
|
+
RXAP_NAVIGATION_CONFIG,
|
|
4
|
+
} from '@rxap/layout';
|
|
5
|
+
|
|
6
|
+
export const APP_NAVIGATION: () => NavigationWithInserts = () => [];
|
|
7
|
+
|
|
8
|
+
export const APP_NAVIGATION_PROVIDER = {
|
|
9
|
+
provide: RXAP_NAVIGATION_CONFIG,
|
|
10
|
+
useValue: APP_NAVIGATION,
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Route } from '@angular/router';
|
|
2
|
+
import { STATUS_CHECK_ROUTE } from '@rxap/ngx-status-check';
|
|
3
|
+
|
|
4
|
+
export const appRoutes: Route[] = [
|
|
5
|
+
STATUS_CHECK_ROUTE,
|
|
6
|
+
{
|
|
7
|
+
path: '',
|
|
8
|
+
loadChildren: () => import('./layout.routes')
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
path: '**',
|
|
12
|
+
redirectTo: '',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
2
|
+
import { Route } from '@angular/router';
|
|
3
|
+
import {
|
|
4
|
+
LayoutComponent,
|
|
5
|
+
NavigationService,
|
|
6
|
+
} from '@rxap/layout';
|
|
7
|
+
import { StatusCheckGuard } from '@rxap/ngx-status-check';
|
|
8
|
+
import { APP_NAVIGATION_PROVIDER } from './app.navigation';
|
|
9
|
+
|
|
10
|
+
const ROUTES: Route[] = [
|
|
11
|
+
{
|
|
12
|
+
path: '',
|
|
13
|
+
component: LayoutComponent,
|
|
14
|
+
canActivateChild: [ StatusCheckGuard ],
|
|
15
|
+
children: [
|
|
16
|
+
{
|
|
17
|
+
path: '**',
|
|
18
|
+
redirectTo: '',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
providers: [
|
|
22
|
+
APP_NAVIGATION_PROVIDER,
|
|
23
|
+
NavigationService,
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
path: '**',
|
|
28
|
+
redirectTo: '',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
export default ROUTES;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
SIZES=("57x57" "60x60" "72x72" "76x76" "96x96" "114x114" "120x120" "128x128" "144x144" "152x152" "180x180" "192x192" "384x384" "512x512" "32x32" "96x96" "16x16")
|
|
4
|
+
|
|
5
|
+
for size in "${SIZES[@]}"
|
|
6
|
+
do
|
|
7
|
+
convert -resize "${size}" icon.png "icon-${size}.png"
|
|
8
|
+
done
|
|
9
|
+
|
|
10
|
+
optipng -o 7 icon-*
|
|
11
|
+
optipng -o 7 icon.png
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<svg height="522" viewBox="0 0 522 522" width="522" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>.a {
|
|
4
|
+
fill: #73be90;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.b {
|
|
8
|
+
fill: #61d596;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.c {
|
|
12
|
+
fill: #e8a646;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.d {
|
|
16
|
+
fill: #01149f;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.e {
|
|
20
|
+
fill: #d3244d;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
</style>
|
|
24
|
+
</defs>
|
|
25
|
+
<!-- -23.929 -23.35 -->
|
|
26
|
+
<g class="container" transform="translate(116 116)">
|
|
27
|
+
<g id="top-left" transform="translate(0 0)">
|
|
28
|
+
<path class="a" d="M0,38.975,145.245,184.22l42.782-42.783L42.782-3.808Z" transform="translate(0 3.808)"/>
|
|
29
|
+
</g>
|
|
30
|
+
<g id="bottom-right" transform="translate(102 102)">
|
|
31
|
+
<path class="b" d="M0,38.975,145.245,184.22l42.782-42.783L42.782-3.808Z" transform="translate(0 3.808)"/>
|
|
32
|
+
</g>
|
|
33
|
+
<g id="top-right" transform="translate(145 0)">
|
|
34
|
+
<path class="c" d="M93.342,0-9.12,102.462l42.782,42.783L136.125,42.783Z" transform="translate(9.12)"/>
|
|
35
|
+
</g>
|
|
36
|
+
<g id="center" transform="translate(102 102)">
|
|
37
|
+
<path class="d" d="M38.985,0-3.809,42.794,38.985,85.576,81.767,42.783Z" transform="translate(3.809)"/>
|
|
38
|
+
</g>
|
|
39
|
+
<g id="bottom-left" transform="translate(0 145)">
|
|
40
|
+
<path class="e" d="M93.342,0-9.12,102.462l42.782,42.783L136.125,42.783Z" transform="translate(9.12)"/>
|
|
41
|
+
</g>
|
|
42
|
+
</g>
|
|
43
|
+
</svg>
|
|
Binary file
|