Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9d6e65b
add docs to repo
Feb 13, 2026
6450a9b
feat(docs): add build script for documentation and update package names
Feb 16, 2026
b811baf
chore: update commitlint configuration and add apphosting.yaml for do…
Feb 16, 2026
e638ca7
chore(docs): skip browser downloads for documentation build
Feb 17, 2026
5b8bff5
chore(docs): enhance build process by skipping Playwright installatio…
Feb 17, 2026
6ef1ff4
chore(docs): refine build command by removing unnecessary ellipsis
Feb 17, 2026
8c5c6c1
chore(docs): add environment variable for documentation build process
Feb 17, 2026
83c248b
chore(docs): update documentation build process to include new enviro…
Feb 19, 2026
b6388a7
chore(docs): remove apphosting.yaml as it is no longer needed for the…
Feb 19, 2026
cbb8746
chore(docs): update apphosting.yaml to refine build and run commands,…
Feb 19, 2026
18805bf
chore(docs): update output directory in apphosting.yaml for documenta…
Feb 19, 2026
87cad52
chore(docs): update build command in apphosting.yaml and specify pnpm…
Feb 19, 2026
251b5a2
chore(docs): specify Node.js and pnpm engine requirements in package.…
Feb 19, 2026
6452b94
chore(docs): update apphosting.yaml, and add start script in package.…
Feb 19, 2026
ce3774f
chore(docs): disable auto-installing peer dependencies in .npmrc and …
Feb 19, 2026
823209c
chore(docs): update .npmrc to set resolution mode and specify pnpm ve…
Feb 19, 2026
58180b1
chore(docs): update pnpm version in package.json and remove resolutio…
Feb 19, 2026
941daaa
chore(docs): update pnpm version specification in package.json
Feb 19, 2026
b16d91c
chore(docs): update pnpm version and set frozen-lockfile to false in …
Feb 19, 2026
14b9c34
chore(docs): set resolution mode to highest in .npmrc and update pnpm…
Feb 19, 2026
6b488a0
chore(docs): update pnpm version and remove angular dist directory fr…
Feb 19, 2026
06f2ca1
chore(docs): add dev script
Feb 20, 2026
ed5e367
chore: add preinstall script and log agent information in prepare.js
Feb 20, 2026
de8c167
chore: remove preinstall and prepare scripts
Feb 20, 2026
4f9c382
chore: add preinstall and prepare scripts
Feb 20, 2026
f3838a9
chore(docs): adjustments
Feb 20, 2026
49cdbb3
chore(docs): update build and run commands in apphosting.yaml
Feb 20, 2026
1cc3cec
chore(docs): modify apphosting configuration and update root director…
Feb 20, 2026
c4b7896
chore(docs): adjustments
Feb 20, 2026
1a2c705
chore: fixes
Feb 20, 2026
6ba7c9c
chore(docs): update apphosting configuration, pnpm version, and enhan…
Apr 14, 2026
000c61c
chore(docs): refine apphosting configuration with output directory an…
Apr 14, 2026
b320e87
chore: remove apphosting and Firebase configuration files
Apr 14, 2026
9bfb30f
chore: add diagnostic step to verify build context in cloudbuild.yaml
Apr 14, 2026
6fb12eb
ci: add GitHub Actions workflow for docs deployment
Apr 14, 2026
7f754da
chore: merge main into feature/update-documentaion, resolve conflicts
Copilot Apr 14, 2026
6e27305
ci: use service account key auth and hardcode GCP project ID
Apr 14, 2026
b42969d
ci: add workflow_dispatch trigger for manual runs
Apr 14, 2026
28d3cca
fix(docs): update documentation link text for clarity
Apr 14, 2026
c53d0f0
fix: remove COPY of generated docs/.source from Dockerfile
Apr 14, 2026
135392f
fix: correct standalone server path and remove full node_modules copy
Apr 14, 2026
fe1eeab
fix(docs): enhance documentation link text for improved user experience
Apr 14, 2026
a874b24
fix(docs): simplify documentation link text for clarity
Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"scope-enum": [2, "always", ["angular", "angular-formly", "core", "react", "tokens", "release"]],
"scope-enum": [2, "always", ["angular", "angular-formly", "core", "docs", "react", "tokens", "release"]],
"scope-case": [2, "always", "lower-case"]
}
}
64 changes: 64 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Deploy Docs to Cloud Run

on:
push:
branches:
- main
- feature/update-documentaion
paths:
- 'docs/**'
- 'core/**'
- 'tokens/**'
- 'package.json'
- 'pnpm-workspace.yaml'
- 'pnpm-lock.yaml'
workflow_dispatch:

env:
REGION: europe-west1
SERVICE: catalyst-docs
IMAGE: europe-west1-docker.pkg.dev/haiilo-docs-487312/catalyst-docs/catalyst-docs

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Auth to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}

- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v2

- name: Configure Docker for Artifact Registry
run: gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev --quiet

- name: Build and push Docker image
run: |
docker build -f docs/Dockerfile \
-t ${{ env.IMAGE }}:${{ github.sha }} \
-t ${{ env.IMAGE }}:latest \
.

docker push --all-tags ${{ env.IMAGE }}

- name: Deploy to Cloud Run
run: |
gcloud run deploy ${{ env.SERVICE }} \
--image=${{ env.IMAGE }}:${{ github.sha }} \
--region=${{ env.REGION }} \
--platform=managed \
--allow-unauthenticated \
--port=3000 \
--min-instances=1 \
--max-instances=3 \
--memory=512Mi \
--quiet
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ engine-strict=true
enable-pre-post-scripts=true
git-checks=false
shamefully-hoist=true
auto-install-peers=false
frozen-lockfile=false
resolution-mode=highest
19 changes: 19 additions & 0 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// #region agent log
fetch('http://127.0.0.1:7245/ingest/a53d94c4-bb14-4c00-8cee-e4c7e61eb768',{method:'POST',headers:{'Content-Type':'application/json','X-Debug-Session-Id':'67fbf2'},body:JSON.stringify({sessionId:'67fbf2',runId:'pre-fix',hypothesisId:'H1',location:'.pnpmfile.cjs:2',message:'pnpmfile loaded',data:{node:process.version},timestamp:Date.now()})}).catch(()=>{});
// #endregion

let firstPackageLogged = false;

module.exports = {
hooks: {
readPackage(pkg) {
if (!firstPackageLogged) {
firstPackageLogged = true;
// #region agent log
fetch('http://127.0.0.1:7245/ingest/a53d94c4-bb14-4c00-8cee-e4c7e61eb768',{method:'POST',headers:{'Content-Type':'application/json','X-Debug-Session-Id':'67fbf2'},body:JSON.stringify({sessionId:'67fbf2',runId:'pre-fix',hypothesisId:'H2',location:'.pnpmfile.cjs:13',message:'pnpm readPackage hook called',data:{name:pkg.name||null,version:pkg.version||null},timestamp:Date.now()})}).catch(()=>{});
// #endregion
}
return pkg;
},
},
};
48 changes: 48 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
steps:
# Diagnostic: verify build context has the full repo
- name: 'alpine'
args: ['ls', '-la', '/workspace/']

# Build the container image from repo root using docs/Dockerfile
- name: 'gcr.io/cloud-builders/docker'
dir: '.'
args:
- 'build'
- '-f'
- 'docs/Dockerfile'
- '-t'
- '${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO_NAME}/${_SERVICE_NAME}:$COMMIT_SHA'
- '-t'
- '${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO_NAME}/${_SERVICE_NAME}:latest'
- '.'

# Push to Artifact Registry
- name: 'gcr.io/cloud-builders/docker'
args:
- 'push'
- '--all-tags'
- '${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO_NAME}/${_SERVICE_NAME}'

# Deploy to Cloud Run
- name: 'gcr.io/cloud-builders/gcloud'
args:
- 'run'
- 'deploy'
- '${_SERVICE_NAME}'
- '--image=${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO_NAME}/${_SERVICE_NAME}:$COMMIT_SHA'
- '--region=${_REGION}'
- '--platform=managed'
- '--allow-unauthenticated'
- '--port=3000'
- '--min-instances=0'
- '--max-instances=3'
- '--memory=512Mi'

substitutions:
_REGION: europe-west1
_REPO_NAME: catalyst-docs
_SERVICE_NAME: catalyst-docs

images:
- '${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO_NAME}/${_SERVICE_NAME}:$COMMIT_SHA'
- '${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO_NAME}/${_SERVICE_NAME}:latest'
136 changes: 136 additions & 0 deletions core/src/components/cat-alert/docs.json
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we use these docs.json files? couldn't figure out so far how are they generated and where they are used. if we use it we need to fix relative paths I think

Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
{
"dirPath": "/Users/marcus/Haiilo/catalyst/core/src/components/cat-alert",
"filePath": "src/components/cat-alert/cat-alert.tsx",
"fileName": "cat-alert.tsx",
"readmePath": "/Users/marcus/Haiilo/catalyst/core/src/components/cat-alert/readme.md",
"usagesDir": "/Users/marcus/Haiilo/catalyst/core/src/components/cat-alert/usage",
"tag": "cat-alert",
"readme": "# cat-alert\n\n\n",
"overview": "Informs user about important changes or conditions in the interface. Use this\ncomponent if you need to capture user’s attention in a prominent way.",
"usage": {},
"docs": "Informs user about important changes or conditions in the interface. Use this\ncomponent if you need to capture user’s attention in a prominent way.",
"docsTags": [],
"encapsulation": "shadow",
"dependents": [],
"dependencies": [
"cat-icon"
],
"dependencyGraph": {
"cat-alert": [
"cat-icon"
]
},
"props": [
{
"name": "color",
"type": "\"danger\" | \"none\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
"complexType": {
"original": "'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'none'",
"resolved": "\"danger\" | \"none\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
"references": {}
},
"mutable": false,
"attr": "color",
"reflectToAttr": true,
"docs": "The color palette of the alert.",
"docsTags": [
{
"name": "default",
"text": "'primary'"
}
],
"default": "'primary'",
"values": [
{
"value": "danger",
"type": "string"
},
{
"value": "none",
"type": "string"
},
{
"value": "primary",
"type": "string"
},
{
"value": "secondary",
"type": "string"
},
{
"value": "success",
"type": "string"
},
{
"value": "warning",
"type": "string"
}
],
"optional": false,
"required": false,
"getter": false,
"setter": false
},
{
"name": "icon",
"type": "string | undefined",
"complexType": {
"original": "string",
"resolved": "string | undefined",
"references": {}
},
"mutable": false,
"attr": "icon",
"reflectToAttr": false,
"docs": "The name of an icon to be displayed in the alert.",
"docsTags": [],
"values": [
{
"type": "string"
},
{
"type": "undefined"
}
],
"optional": true,
"required": false,
"getter": false,
"setter": false
},
{
"name": "noIcon",
"type": "boolean",
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"mutable": false,
"attr": "no-icon",
"reflectToAttr": false,
"docs": "Whether the icon of the alert is deactivated.",
"docsTags": [
{
"name": "default",
"text": "false"
}
],
"default": "false",
"values": [
{
"type": "boolean"
}
],
"optional": false,
"required": false,
"getter": false,
"setter": false
}
],
"methods": [],
"events": [],
"styles": [],
"slots": [],
"parts": [],
"listeners": []
}
Loading
Loading