Skip to content

Commit 8018485

Browse files
hollowaykeanhoJeanShuralyovcorygalyna
committed
Angular: patched for readily usable engine
It appears the existing Angular engine is a work-in-progress one. Hence, let's update it to generate a SEO-capable and search friendly static website seamlessly. Hence, let's do this. This patch upgrades the Angular engine to a readily usable engine in Angular/ directory. Co-authored-by: Shuralyov, Jean <jean.shuralyov@proton.me> Co-authored-by: Galyna, Cory <cory.galyna@gmail.com> Co-authored-by: (Holloway) Chew, Kean Ho <me@hollowaykeanho.com> Signed-off-by: (Holloway) Chew, Kean Ho <me@hollowaykeanho.com>
1 parent 5327c99 commit 8018485

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2329
-127
lines changed

.internals/icons/inkscape-banner_1200x1200.svg

Lines changed: 225 additions & 0 deletions
Loading

.internals/icons/inkscape-banner_1200x630.svg

Lines changed: 225 additions & 0 deletions
Loading

.internals/icons/inkscape-banner_630x1200.svg

Lines changed: 225 additions & 0 deletions
Loading

Angular/.ci/build_unix-any.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
22
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
33
#
4+
#
45
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
# use this file except in compliance with the License. You may obtain a copy of
67
# the License at:
@@ -46,7 +47,7 @@ fi
4647

4748
I18N_Build "$PROJECT_ANGULAR"
4849
__current_path="$PWD" && cd "${PROJECT_PATH_ROOT}/${PROJECT_ANGULAR}"
49-
ANGULAR_Build
50+
./build.sh.ps1
5051
___process=$?
5152
cd "$__current_path" && unset __current_path
5253
if [ $___process -ne 0 ]; then

Angular/.ci/build_windows-any.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
22
#
3+
#
34
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
45
# use this file except in compliance with the License. You may obtain a copy
56
# of the License at:
@@ -20,6 +21,7 @@ if (-not (Test-Path -Path $env:PROJECT_PATH_ROOT)) {
2021
}
2122

2223
. "${env:LIBS_AUTOMATACI}\services\io\fs.ps1"
24+
. "${env:LIBS_AUTOMATACI}\services\io\os.ps1"
2325
. "${env:LIBS_AUTOMATACI}\services\i18n\translations.ps1"
2426
. "${env:LIBS_AUTOMATACI}\services\compilers\angular.ps1"
2527

@@ -46,7 +48,7 @@ if ($___process -ne 0) {
4648
$null = I18N-Build "${env:PROJECT_ANGULAR}"
4749
$__current_path = Get-Location
4850
$null = Set-Location "${env:PROJECT_PATH_ROOT}\${env:PROJECT_ANGULAR}"
49-
$___process = ANGULAR-Build
51+
$___process = OS-Exec "./build.sh.ps1"
5052
$null = Set-Location "${__current_path}"
5153
$null = Remove-Variable __current_path
5254
if ($___process -ne 0) {

Angular/.ci/clean_unix-any.sh

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/bin/sh
2+
# Copyright 2024 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
3+
#
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
# use this file except in compliance with the License. You may obtain a copy of
7+
# the License at:
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
# License for the specific language governing permissions and limitations under
13+
# the License.
14+
15+
16+
17+
18+
# initialize
19+
if [ "$PROJECT_PATH_ROOT" = "" ]; then
20+
>&2 printf "[ ERROR ] - Please run from automataCI/ci.sh.ps1 instead!\n"
21+
return 1
22+
fi
23+
24+
. "${LIBS_AUTOMATACI}/services/io/fs.sh"
25+
26+
27+
28+
29+
# execute
30+
__current_path="$PWD"
31+
cd "${PROJECT_PATH_ROOT}/${PROJECT_ANGULAR}"
32+
33+
FS_Remove_Silently "dist"
34+
FS_Remove_Silently "node_modules"
35+
36+
cd "$__current_path"
37+
unset __current_path
38+
39+
40+
41+
42+
# report status
43+
return 0

Angular/.ci/clean_windows-any.ps1

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright 2024 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
2+
#
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
# use this file except in compliance with the License. You may obtain a copy
6+
# of the License at:
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
14+
15+
16+
17+
# initialize
18+
if (-not (Test-Path -Path $env:PROJECT_PATH_ROOT)) {
19+
Write-Error "[ ERROR ] - Please run from automataCI\ci.sh.ps1 instead!`n"
20+
return 1
21+
}
22+
23+
. "${env:LIBS_AUTOMATACI}\services\io\fs.ps1"
24+
25+
26+
27+
28+
# execute
29+
$__current_path = Get-Location
30+
$null = Set-Location "${env:PROJECT_PATH_ROOT}\${env:PROJECT_ANGULAR}"
31+
32+
$null = FS-Remove-Silently "dist"
33+
$null = FS-Remove-Silently "node_modules"
34+
35+
$null = Set-Location "${__current_path}"
36+
$null = Remove-Variable __current_path
37+
38+
39+
40+
41+
# report status
42+
return 0

Angular/.ci/materialize_unix-any.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
22
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
33
#
4+
#
45
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
# use this file except in compliance with the License. You may obtain a copy of
67
# the License at:
@@ -38,7 +39,7 @@ fi
3839

3940
I18N_Build "$PROJECT_ANGULAR"
4041
__current_path="$PWD" && cd "${PROJECT_PATH_ROOT}/${PROJECT_ANGULAR}"
41-
ANGULAR_Build
42+
./build.sh.ps1
4243
___process=$?
4344
cd "$__current_path" && unset __current_path
4445
if [ $___process -ne 0 ]; then

Angular/.ci/materialize_windows-any.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
22
#
3+
#
34
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
45
# use this file except in compliance with the License. You may obtain a copy
56
# of the License at:
@@ -39,7 +40,7 @@ if ($___process -ne 0) {
3940
$null = I18N-Build "${env:PROJECT_ANGULAR}"
4041
$__current_path = Get-Location
4142
$null = Set-Location "${env:PROJECT_PATH_ROOT}\${env:PROJECT_ANGULAR}"
42-
$___process = Angular-Build
43+
$___process = OS-Exec "./build.sh.ps1"
4344
$null = Set-Location "${__current_path}"
4445
$null = Remove-Variable __current_path
4546
if ($___process -ne 0) {

Angular/.ci/prepare_unix-any.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
22
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
33
#
4+
#
45
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
# use this file except in compliance with the License. You may obtain a copy of
67
# the License at:

0 commit comments

Comments
 (0)