Skip to content

Commit

Permalink
SYNC_AMEND
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-of-Dev committed Dec 31, 2024
0 parents commit 2ab657b
Show file tree
Hide file tree
Showing 231 changed files with 106,713 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
end_of_line = lf
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
29 changes: 29 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# LINE ENDINGS
# Specify cross-platform rules for line endings.
#
# Auto-normalize line endings in text files.
* text=auto
# Use CRLF in Windows scripts.
# This ensures that scripts are compatible with Windows even when modified on or shared from Linux.
*.cmd text eol=crlf
*.bat text eol=crlf
*.ps1 text eol=crlf
# Force LF in Linux scripts.
# This ensures that scripts are compatible with Linux even when modified on or shared from Windows.
*.sh text eol=lf
# Configure rules for dotnet.
*.cs text diff=csharp
*.sln text eol=crlf
*.csproj text eol=crlf
# Configure rules for markdown.
*.md text eol=lf diff=markdown
*.mdx text diff=markdown
# Configure rules for vue.
*.vue text
# Configure rules for JSON and YAML.
*.json text
*.yaml text
*.yml text
# Configure rules for XML.
*.xml text
. !text !filter !merge !diff
59 changes: 59 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Angel-of-Dev

on:
# Run on changes to `bereshit` branch.
push:
branches: [ bereshit ]

# Allow manual start of this workflow.
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
# Common Build Preparation Steps
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
# Story - GitHub Pages
- name: Setup GitHub Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: npm run ci
- name: Build VitePress
run: |
npm run build
touch ./pub/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./pub/.vitepress/dist

deploy:
# Story - GitHub Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Node.JS
**/node_modules/

# Build Artifacts
**/dist/
**/out/
**/bin/
**/obj/

# Test Artifacts
**/test-results/

# Temporary
**/temp/
**/tmp/

## JetBrains Rider
.idea/
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-next",
"crystal-spider.jsdoc-generator"
]
}
48 changes: 48 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"jsdoc-generator.author": "Angel-of-Dev",
"jsdoc-generator.descriptionForConstructors": "I Declare {Object}.",
"jsdoc-generator.customTags": [
""
],
"files.associations": {
"tsdoc.json": "jsonc",
"typedoc.json": "jsonc"
},
"vue.server.includeLanguages": [
"vue",
"markdown"
],
"editor.indentSize": "tabSize",
"editor.tabSize": 4,
"editor.fontSize": 13,
"editor.fontFamily": "Fira Code, Consolas, monospace",
"editor.codeLensFontFamily": "Fira Code, Consolas, monospace",
"editor.inlayHints.fontFamily": "Fira Code, Consolas, monospace",
"editor.fontLigatures": true,
"editor.codeActionsOnSave": {
"source.fixAll": "always",
"source.fixAll.eslint": "always"
},
"eslint.workingDirectories": [
"."
],
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnSave": true,
"editor.tabSize": 4
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnSave": true,
"editor.tabSize": 4
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.formatOnSave": true,
"editor.tabSize": 4,
"typescript.suggest.jsdoc.generateReturns": true,
"typescript.suggest.enabled": true,
"typescript.suggest.completeJSDocs": true,
"typescript.preferences.quoteStyle": "double"
}
}
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All use and contributions are welcome.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/Angel-of-Dev/b-reshit.git"
},
"bugs": {
"url": "https://github.com/Angel-of-Dev/b-reshit/issues"
},
"engines": {
"node": ">= 22"
},
"scripts": {
"blt": "npm --prefix ./pub/ run build && npm run build",
"ci": "npm --prefix ./pub/ ci && npm --prefix ./pub/ ci",
"dev": "npm --prefix ./pub/ run dev",
"build": "npm --prefix ./pub/ run build",
"test": "npm --prefix ./pub/ run test"
}
}
3 changes: 3 additions & 0 deletions pub/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# VitePress
.vitepress/cache/
.vitepress/dist/
63 changes: 63 additions & 0 deletions pub/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import {defineConfig} from 'vitepress';
import inject from '@rollup/plugin-inject';
import katex from 'markdown-it-katex';

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "angelof.dev",
description: "",
plugins: [
inject({
p5: 'p5',
q5: 'q5'
})
],
vite: {
ssr: {
noExternal: ['vuetify'],
}
},
head: [
['link', {rel: 'icon', type: 'image/x-icon', href: '/favicon.ico'}],
// KaTeX, for mathematical notation support in markdown-it.
['link', {rel: 'stylesheet', href: 'https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css'}],
['script', {src: 'https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js'}]
],
markdown: {
config: md => {
md.use(katex)
},
theme: {
light: 'light-plus',
dark: 'none'
}
},
appearance: "force-dark",
themeConfig: {
nav: [
{text: '<span style="font-size:1.5em;color:#303030;"><strong style="font-size:1.1em;">❂</strong>ddly<strong style="font-size:1.1em;">S</strong>ee</span>', link: '/os/'}
],
sidebar: [],
footer: {
message: 'e-mail: <strong>angelofdev</strong>𝝠𝗼𝘂𝘁𝗹𝗼𝗼𝗸.𝗰𝗼𝗺'
}
},
transformHead({assets}) {

// Preload ttf fonts.
const fontAsset = assets.find(() => /font-name\.\w+\.ttf/)
if (fontAsset) {
return [
[
'link',
{
rel: 'preload',
href: fontAsset,
as: 'font',
type: 'font/ttf'
}
]
]
}
}
})
Loading

0 comments on commit 2ab657b

Please sign in to comment.