Skip to content

Commit 24d9017

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

File tree

261 files changed

+16838
-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

+16838
-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: 42 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,86 @@
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+
resource_class: large
8+
working_directory: ~/angular-docs-es
159

1610
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.
1911
checkout_and_rebase:
20-
description: Checkout and verify clean merge with main
12+
description: Checkout y rebase con main
2113
steps:
2214
- checkout
2315
- run:
24-
name: Set git user.name and user.email for rebase.
25-
# User is required for rebase.
16+
name: Configurar git user/email
2617
command: |
2718
git config user.name "Admin"
2819
git config user.email "[email protected]"
29-
- build-tools/merge-with-parent:
30-
parent: main
20+
- run:
21+
name: Rebase con main
22+
command: |
23+
git fetch origin main
24+
git rebase origin/main
25+
3126
setup:
32-
description: 'Set up executor'
27+
description: Attach workspace
3328
steps:
3429
- attach_workspace:
3530
at: ~/
31+
3632
setup_firebase_auth:
3733
description: 'Set up Firebase authentication'
3834
steps:
3935
- run:
40-
name: Create a google_service_account.json
36+
name: Crear google_service_account.json
4137
command: |
4238
echo $GSA_KEY > $GOOGLE_APPLICATION_CREDENTIALS
4339
44-
# ----------------------------------
45-
# Job definitions.
46-
# ----------------------------------
47-
4840
jobs:
49-
# ----------------------------------
50-
# initialize job
51-
# ----------------------------------
5241
initialize:
53-
<<: *job_defaults
42+
executor: ubuntu-machine
5443
steps:
5544
- checkout_and_rebase
56-
- node/install-packages
45+
- run:
46+
name: Instalar Node y Yarn
47+
command: |
48+
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
49+
sudo apt-get install -y nodejs
50+
- run:
51+
name: Instalar paquetes raíz
52+
command: |
53+
npm ci
5754
- persist_to_workspace:
5855
root: ~/
5956
paths:
6057
- angular-docs-es
61-
# -----------------------------------
62-
# Build job.
63-
# -----------------------------------
58+
6459
build:
65-
<<: *job_defaults
60+
executor: ubuntu-machine
6661
steps:
6762
- setup
6863
- checkout
6964
- run:
7065
name: Build project in CI mode (pre build)
7166
command: npm run build:ci
7267
- run:
73-
name: Installing packages
68+
name: Instalar dependencias en ./build
7469
working_directory: ./build
75-
command: yarn install
70+
command: yarn install --frozen-lockfile
7671
- run:
77-
name: Build adev-es docs
72+
name: Compilar ADEV docs con Bazel
7873
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'
9574
command: |
96-
npm run deploy:staging
75+
yarn bazel -- \
76+
--host_jvm_args=-Xmx2048m \
77+
--host_jvm_args=-Xms1024m \
78+
build //adev:build \
79+
--local_ram_resources=6144 \
80+
--jobs=2 \
81+
--full_build_adev \
82+
--config=release \
83+
--verbose_failures
9784
9885
workflows:
9986
build-workflow:
@@ -102,10 +89,4 @@ workflows:
10289
- build:
10390
requires:
10491
- initialize
105-
- firebase-deploy-staging:
106-
filters:
107-
branches:
108-
only:
109-
- main
110-
requires:
111-
- build
92+

.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)