Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
76 changes: 38 additions & 38 deletions .github/styles/Google/GenderBias.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,42 @@ link: 'https://developers.google.com/style/inclusive-documentation'
ignorecase: true
level: error
swap:
(?:alumna|alumnus): graduate
(?:alumnae|alumni): graduates
air(?:m[ae]n|wom[ae]n): pilot(s)
anchor(?:m[ae]n|wom[ae]n): anchor(s)
authoress: author
camera(?:m[ae]n|wom[ae]n): camera operator(s)
chair(?:m[ae]n|wom[ae]n): chair(s)
(?:alumna|alumnus): graduate
(?:alumnae|alumni): graduates
air(?:m[ae]n|wom[ae]n): pilot(s)
anchor(?:m[ae]n|wom[ae]n): anchor(s)
authoress: author
camera(?:m[ae]n|wom[ae]n): camera operator(s)
chair(?:m[ae]n|wom[ae]n): chair(s)
congress(?:m[ae]n|wom[ae]n): member(s) of congress
door(?:m[ae]|wom[ae]n): concierge(s)
draft(?:m[ae]n|wom[ae]n): drafter(s)
fire(?:m[ae]n|wom[ae]n): firefighter(s)
fisher(?:m[ae]n|wom[ae]n): fisher(s)
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
lady lawyer: lawyer
ladylike: courteous
landlord: building manager
mail(?:m[ae]n|wom[ae]n): mail carriers
man and wife: husband and wife
man enough: strong enough
mankind: human kind
manmade: manufactured
manpower: personnel
men and girls: men and women
middle(?:m[ae]n|wom[ae]n): intermediary
news(?:m[ae]n|wom[ae]n): journalist(s)
ombuds(?:man|woman): ombuds
oneupmanship: upstaging
poetess: poet
police(?:m[ae]n|wom[ae]n): police officer(s)
repair(?:m[ae]n|wom[ae]n): technician(s)
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
service(?:m[ae]n|wom[ae]n): soldier(s)
steward(?:ess)?: flight attendant
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
waitress: waiter
woman doctor: doctor
woman scientist[s]?: scientist(s)
work(?:m[ae]n|wom[ae]n): worker(s)
door(?:m[ae]|wom[ae]n): concierge(s)
draft(?:m[ae]n|wom[ae]n): drafter(s)
fire(?:m[ae]n|wom[ae]n): firefighter(s)
fisher(?:m[ae]n|wom[ae]n): fisher(s)
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
lady lawyer: lawyer
ladylike: courteous
landlord: building manager
mail(?:m[ae]n|wom[ae]n): mail carriers
man and wife: husband and wife
man enough: strong enough
mankind: human kind
manmade: manufactured
manpower: personnel
men and girls: men and women
middle(?:m[ae]n|wom[ae]n): intermediary
news(?:m[ae]n|wom[ae]n): journalist(s)
ombuds(?:man|woman): ombuds
oneupmanship: upstaging
poetess: poet
police(?:m[ae]n|wom[ae]n): police officer(s)
repair(?:m[ae]n|wom[ae]n): technician(s)
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
service(?:m[ae]n|wom[ae]n): soldier(s)
steward(?:ess)?: flight attendant
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
waitress: waiter
woman doctor: doctor
woman scientist[s]?: scientist(s)
work(?:m[ae]n|wom[ae]n): worker(s)
2 changes: 1 addition & 1 deletion .github/styles/Google/Parens.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "Use parentheses judiciously."
message: 'Use parentheses judiciously.'
link: 'https://developers.google.com/style/parentheses'
nonword: true
level: suggestion
Expand Down
2 changes: 1 addition & 1 deletion .github/styles/Google/Quotes.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "Commas and periods go inside quotation marks."
message: 'Commas and periods go inside quotation marks.'
link: 'https://developers.google.com/style/quotation-marks'
level: error
nonword: true
Expand Down
2 changes: 1 addition & 1 deletion .github/styles/Google/Semicolons.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "Use semicolons judiciously."
message: 'Use semicolons judiciously.'
link: 'https://developers.google.com/style/semicolons'
nonword: true
scope: sentence
Expand Down
2 changes: 1 addition & 1 deletion .github/styles/Google/WordList.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ swap:
tablename: table name
tablet: device
touch: tap
url: URL
url: URL
vs\.: versus
World Wide Web: web
2 changes: 1 addition & 1 deletion .github/styles/write-good/Illusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ action:
name: edit
params:
- truncate
- " "
- ' '
tokens:
- '[^\s]+'
30 changes: 15 additions & 15 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ jobs:
prose:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Checkout
uses: actions/checkout@master

- name: Get Changed Files
id: get_changed_files
uses: lots0logs/gh-action-get-changed-files@2.2.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Get Changed Files
id: get_changed_files
uses: lots0logs/gh-action-get-changed-files@2.2.2
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Vale
uses: errata-ai/vale-action@reviewdog
with:
reporter: github-pr-check
files: '${{ steps.get_changed_files.outputs.modified }}'
fail_on_error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Vale
uses: errata-ai/vale-action@reviewdog
with:
reporter: github-pr-check
files: '${{ steps.get_changed_files.outputs.modified }}'
fail_on_error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
6 changes: 3 additions & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Should publish
id: should-publish
run: echo "should_publish=$([[ -d "content/posts/unpublished" ]] && echo true || echo false)" >> "$GITHUB_OUTPUT"

publish:
runs-on: ubuntu-latest
needs: check-unpublished
Expand All @@ -30,7 +30,7 @@ jobs:
node-version: 20
- name: Move article to current date directory
run: |
npm ci
npm ci --ignore-scripts
npm run build:utils
npm run posts:publish

Expand All @@ -40,7 +40,7 @@ jobs:
git config --local user.name "backbaseoss"
git add content
git commit -m "[BOT] Post published"

- name: Push changes
uses: ad-m/github-push-action@master
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: |
npm ci --ignore-scripts
npm rebuild esbuild protobufjs
- run: |
npm run build:utils
npm run posts:update
npm run build -- --configuration=production --base-href=/
npm run build -- --define=O11Y_APP_KEY="'{{secrets.O11Y_APP_KEY}}'" --configuration=production --base-href=/
cp dist/blog/browser/404/index.html dist/blog/browser/404.html
- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
41 changes: 35 additions & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@
"prefix": "blog",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/blog",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"define": {
"O11Y_APP_KEY": "'dev_key'"
},
"assets": [
"src/favicon.ico",
"src/assets",
Expand Down Expand Up @@ -113,7 +116,7 @@
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "blog:build:production"
Expand All @@ -125,13 +128,13 @@
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "blog:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular/build:karma",
"options": {
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
Expand All @@ -153,7 +156,7 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"builder": "@angular/build:ng-packagr",
"options": {
"project": "projects/utils/ng-package.json"
},
Expand All @@ -168,7 +171,7 @@
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular/build:karma",
"options": {
"tsConfig": "projects/utils/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
Expand All @@ -179,5 +182,31 @@
},
"cli": {
"analytics": false
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}
14 changes: 7 additions & 7 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3'
services:
nginx:
image: nginx:latest
ports:
- '80:80'
volumes:
- ./dist/blog/browser:/usr/share/nginx/html
- ./nginx.conf:/etc/nginx/nginx.conf
nginx:
image: nginx:latest
ports:
- '80:80'
volumes:
- ./dist/blog/browser:/usr/share/nginx/html
- ./nginx.conf:/etc/nginx/nginx.conf
Loading