Skip to content

Commit c54f417

Browse files
committed
feat: update origin to Angular v20.0.6
1 parent 34a8a20 commit c54f417

File tree

261 files changed

+16837
-4832
lines changed

Some content is hidden

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

261 files changed

+16837
-4832
lines changed

.circleci/config-old.yml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/configuration-reference
3+
version: 2.1
4+
5+
# Settings common to each job
6+
job_defaults: &job_defaults
7+
working_directory: ~/angular-docs-es
8+
docker:
9+
- image: cimg/node:lts-browsers
10+
11+
orbs:
12+
node: circleci/[email protected]
13+
build-tools: circleci/[email protected]
14+
browser-tools: circleci/[email protected]
15+
16+
commands:
17+
# Command for checking out the source code from GitHub. This also ensures that the source code
18+
# can be merged to the main branch without conflicts.
19+
checkout_and_rebase:
20+
description: Checkout and verify clean merge with main
21+
steps:
22+
- checkout
23+
- run:
24+
name: Set git user.name and user.email for rebase.
25+
# User is required for rebase.
26+
command: |
27+
git config user.name "Admin"
28+
git config user.email "[email protected]"
29+
- build-tools/merge-with-parent:
30+
parent: main
31+
setup:
32+
description: 'Set up executor'
33+
steps:
34+
- attach_workspace:
35+
at: ~/
36+
setup_firebase_auth:
37+
description: 'Set up Firebase authentication'
38+
steps:
39+
- run:
40+
name: Create a google_service_account.json
41+
command: |
42+
echo $GSA_KEY > $GOOGLE_APPLICATION_CREDENTIALS
43+
44+
# ----------------------------------
45+
# Job definitions.
46+
# ----------------------------------
47+
48+
jobs:
49+
# ----------------------------------
50+
# initialize job
51+
# ----------------------------------
52+
initialize:
53+
<<: *job_defaults
54+
steps:
55+
- checkout_and_rebase
56+
- node/install-packages
57+
- persist_to_workspace:
58+
root: ~/
59+
paths:
60+
- angular-docs-es
61+
# -----------------------------------
62+
# Build job.
63+
# -----------------------------------
64+
build:
65+
<<: *job_defaults
66+
steps:
67+
- setup
68+
- checkout
69+
- run:
70+
name: Build project in CI mode (pre build)
71+
command: npm run build:ci
72+
- run:
73+
name: Installing packages
74+
working_directory: ./build
75+
command: yarn install --frozen-lockfile
76+
- run:
77+
name: Build adev-es docs
78+
working_directory: ./build
79+
command: yarn bazel build //adev:build --local_ram_resources="HOST_RAM*.90" --jobs=1
80+
- persist_to_workspace:
81+
root: ~/
82+
paths:
83+
- angular-docs-es/build/dist/bin/adev/build/browser
84+
85+
# -----------------------------------
86+
# Firebase deploy to staging job.
87+
# -----------------------------------
88+
firebase-deploy-staging:
89+
<<: *job_defaults
90+
steps:
91+
- setup
92+
- setup_firebase_auth
93+
- run:
94+
name: 'Deploy Main Branch to Firebase Hosting'
95+
command: |
96+
npm run deploy:staging
97+
98+
workflows:
99+
build-workflow:
100+
jobs:
101+
- initialize
102+
- build:
103+
requires:
104+
- initialize
105+
- firebase-deploy-staging:
106+
filters:
107+
branches:
108+
only:
109+
- main
110+
requires:
111+
- build

.circleci/config.yml

Lines changed: 41 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,85 @@
1-
# Use the latest 2.1 version of CircleCI pipeline process engine.
2-
# See: https://circleci.com/docs/configuration-reference
31
version: 2.1
42

5-
# Settings common to each job
6-
job_defaults: &job_defaults
7-
working_directory: ~/angular-docs-es
8-
docker:
9-
- image: cimg/node:lts-browsers
10-
11-
orbs:
12-
node: circleci/[email protected]
13-
build-tools: circleci/[email protected]
14-
browser-tools: circleci/[email protected]
3+
executors:
4+
ubuntu-machine:
5+
machine:
6+
image: ubuntu-2204:2023.07.1
7+
working_directory: ~/angular-docs-es
158

169
commands:
17-
# Command for checking out the source code from GitHub. This also ensures that the source code
18-
# can be merged to the main branch without conflicts.
1910
checkout_and_rebase:
20-
description: Checkout and verify clean merge with main
11+
description: Checkout y rebase con main
2112
steps:
2213
- checkout
2314
- run:
24-
name: Set git user.name and user.email for rebase.
25-
# User is required for rebase.
15+
name: Configurar git user/email
2616
command: |
2717
git config user.name "Admin"
2818
git config user.email "[email protected]"
29-
- build-tools/merge-with-parent:
30-
parent: main
19+
- run:
20+
name: Rebase con main
21+
command: |
22+
git fetch origin main
23+
git rebase origin/main
24+
3125
setup:
32-
description: 'Set up executor'
26+
description: Attach workspace
3327
steps:
3428
- attach_workspace:
3529
at: ~/
30+
3631
setup_firebase_auth:
3732
description: 'Set up Firebase authentication'
3833
steps:
3934
- run:
40-
name: Create a google_service_account.json
35+
name: Crear google_service_account.json
4136
command: |
4237
echo $GSA_KEY > $GOOGLE_APPLICATION_CREDENTIALS
4338
44-
# ----------------------------------
45-
# Job definitions.
46-
# ----------------------------------
47-
4839
jobs:
49-
# ----------------------------------
50-
# initialize job
51-
# ----------------------------------
5240
initialize:
53-
<<: *job_defaults
41+
executor: ubuntu-machine
5442
steps:
5543
- checkout_and_rebase
56-
- node/install-packages
44+
- run:
45+
name: Instalar Node y Yarn
46+
command: |
47+
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
48+
sudo apt-get install -y nodejs
49+
- run:
50+
name: Instalar paquetes raíz
51+
command: |
52+
npm ci
5753
- persist_to_workspace:
5854
root: ~/
5955
paths:
6056
- angular-docs-es
61-
# -----------------------------------
62-
# Build job.
63-
# -----------------------------------
57+
6458
build:
65-
<<: *job_defaults
59+
executor: ubuntu-machine
6660
steps:
6761
- setup
6862
- checkout
6963
- run:
7064
name: Build project in CI mode (pre build)
7165
command: npm run build:ci
7266
- run:
73-
name: Installing packages
67+
name: Instalar dependencias en ./build
7468
working_directory: ./build
75-
command: yarn install
69+
command: yarn install --frozen-lockfile
7670
- run:
77-
name: Build adev-es docs
71+
name: Compilar ADEV docs con Bazel
7872
working_directory: ./build
79-
command: yarn bazel build //adev:build --fast_adev --local_ram_resources="HOST_RAM*.90" --jobs=1
80-
- persist_to_workspace:
81-
root: ~/
82-
paths:
83-
- angular-docs-es/build/dist/bin/adev/build/browser
84-
85-
# -----------------------------------
86-
# Firebase deploy to staging job.
87-
# -----------------------------------
88-
firebase-deploy-staging:
89-
<<: *job_defaults
90-
steps:
91-
- setup
92-
- setup_firebase_auth
93-
- run:
94-
name: 'Deploy Main Branch to Firebase Hosting'
9573
command: |
96-
npm run deploy:staging
74+
yarn bazel -- \
75+
--host_jvm_args=-Xmx2048m \
76+
--host_jvm_args=-Xms1024m \
77+
build //adev:build \
78+
--local_ram_resources=6144 \
79+
--jobs=2 \
80+
--full_build_adev \
81+
--config=release \
82+
--verbose_failures
9783
9884
workflows:
9985
build-workflow:
@@ -102,10 +88,4 @@ workflows:
10288
- build:
10389
requires:
10490
- initialize
105-
- firebase-deploy-staging:
106-
filters:
107-
branches:
108-
only:
109-
- main
110-
requires:
111-
- build
91+

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.18.2
1+
20.19.2

adev-es/src/app/core/constants/links.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ export const GITHUB = 'https://github.com/angular-hispano/angular-docs-es';
22
export const X = 'https://x.com/AngularHispana';
33
export const DISCORD = 'https://discord.com/invite/4cWb6SKUcb';
44
export const MEDIUM = '';
5-
export const YOUTUBE = '';
5+
export const YOUTUBE = '';
6+
export const BLUESKY = '';
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<div class="adev-footer-container">
2+
<div class="adev-footer-columns">
3+
<div>
4+
<h2>Social Media</h2>
5+
<ul>
6+
<li>
7+
<a [href]="MEDIUM" title="Angular blog">Blog</a>
8+
</li>
9+
<li>
10+
<a [href]="X" title="X (formerly Twitter)">X (formerly Twitter)</a>
11+
</li>
12+
<li>
13+
<a [href]="BLUESKY" title="Bluesky">Bluesky</a>
14+
</li>
15+
<li>
16+
<a [href]="YOUTUBE" title="YouTube">YouTube</a>
17+
</li>
18+
<li>
19+
<a
20+
href="https://discord.gg/angular"
21+
title="Join the discussions at Angular Community Discord server."
22+
>
23+
Discord
24+
</a>
25+
</li>
26+
<li>
27+
<a [href]="GITHUB" title="GitHub">GitHub</a>
28+
</li>
29+
<li>
30+
<a
31+
href="https://stackoverflow.com/questions/tagged/angular"
32+
title="Stack Overflow: where the community answers your technical Angular questions."
33+
>
34+
Stack Overflow
35+
</a>
36+
</li>
37+
</ul>
38+
</div>
39+
<div>
40+
<h2>Community</h2>
41+
<ul>
42+
<li>
43+
<a
44+
href="https://github.com/angular/angular/blob/main/CONTRIBUTING.md"
45+
title="Contribute to Angular"
46+
>
47+
Contribute
48+
</a>
49+
</li>
50+
<li>
51+
<a
52+
href="https://github.com/angular/code-of-conduct/blob/main/CODE_OF_CONDUCT.md"
53+
title="Treating each other with respect."
54+
>
55+
Code of Conduct
56+
</a>
57+
</li>
58+
<li>
59+
<a
60+
href="https://github.com/angular/angular/issues"
61+
title="Post issues and suggestions on github."
62+
>
63+
Report Issues
64+
</a>
65+
</li>
66+
<li>
67+
<a
68+
href="https://devlibrary.withgoogle.com/products/angular?sort=updated"
69+
title="Google's DevLibrary"
70+
>
71+
Google's DevLibrary
72+
</a>
73+
</li>
74+
<li>
75+
<a
76+
href="https://developers.google.com/community/experts/directory?specialization=angular"
77+
title="Angular Google Developer Experts"
78+
>
79+
Angular Google Developer Experts
80+
</a>
81+
</li>
82+
</ul>
83+
</div>
84+
<div>
85+
<h2>Resources</h2>
86+
<ul>
87+
<li>
88+
<a routerLink="/press-kit" title="Press contacts, logos, and branding.">Press Kit</a>
89+
</li>
90+
<li>
91+
<a routerLink="/roadmap" title="Roadmap">Roadmap</a>
92+
</li>
93+
</ul>
94+
</div>
95+
<div>
96+
<h2>Languages</h2>
97+
<ul>
98+
<li>
99+
<a href="https://angular.cn/" title="简体中文版">简体中文版</a>
100+
</li>
101+
<li>
102+
<a href="https://dev.angular.tw/" title="正體中文版">正體中文版</a>
103+
</li>
104+
<li>
105+
<a href="https://angular.jp/" title="日本語版">日本語版</a>
106+
</li>
107+
<li>
108+
<a href="https://angular.kr/" title="한국어">한국어</a>
109+
</li>
110+
</ul>
111+
</div>
112+
</div>
113+
<p class="docs-license">
114+
Super-powered by Google ©2010-2025. Code licensed under an
115+
<a routerLink="/license" title="License text">MIT-style License</a>
116+
. Documentation licensed under
117+
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>
118+
.
119+
</p>
120+
</div>

0 commit comments

Comments
 (0)