Skip to content

Commit

Permalink
Engineering blog v2 (#87)
Browse files Browse the repository at this point in the history
* New Engineering Blog Angular

---------

Co-authored-by: Aleksei Morozov <[email protected]>
  • Loading branch information
robinsonzimmermann and a1exymoroz authored Feb 12, 2024
1 parent 28ef146 commit f9094a3
Show file tree
Hide file tree
Showing 443 changed files with 23,697 additions and 2,854 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Editor configuration, see http://editorconfig.org
# Editor configuration, see https://editorconfig.org
root = true

[*]
Expand All @@ -8,6 +8,9 @@ indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
31 changes: 0 additions & 31 deletions .github/workflows/build.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/github-pages.yml

This file was deleted.

52 changes: 52 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: |
npm run build:utils
npm run posts:update
npm run build -- --configuration=production --base-href=/
cp dist/blog/browser/404/index.html dist/blog/browser/404.html
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './dist/blog/browser'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
54 changes: 47 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,48 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
.bundle/config
.asset_pipeline
Thumbs.db

# App
.angular
.vscode
/content/posts/posts.json
/content/authors/avatars/dist
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

53 changes: 53 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db

# App
.angular
.vscode
/content/posts/posts.json
/content/authors/avatars/dist
*.md
.editorconfig
.prettierrc.json

*.json
11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": true,
"bracketSpacing": true,
"arrowParens": "avoid",
"trailingComma": "es5",
"bracketSameLine": true,
"printWidth": 80
}
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

25 changes: 0 additions & 25 deletions 404.html

This file was deleted.

39 changes: 0 additions & 39 deletions Gemfile

This file was deleted.

Loading

0 comments on commit f9094a3

Please sign in to comment.