Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 committed Jul 19, 2024
0 parents commit 8bfd59d
Show file tree
Hide file tree
Showing 10 changed files with 398 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNER
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @pulsate-dev/core
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>pulsate-dev/renovate-conf"]
}
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ci

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Run fmt
run: |
deno task format:check
- name: Run test
run: |
deno task test
- name: Run build
run: |
deno task build
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"denoland.vscode-deno"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"deno.enable": true
}
9 changes: 9 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Pulsate Blog

Pulsate Project に関する情報を発信するためのブログ.

## Add a new post

1. ブランチを切る
2. `posts/` に新しい Markdown ファイルを作成する. `{date}-{post_title}.md` (`%Y-%m-%d`) の形式で作成します. `deno task create` でテンプレートをコピーすることもできます.
3.
13 changes: 13 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tasks": {
"dev": "deno run --allow-net --allow-read --allow-env --watch main.ts --dev",
"serve": "deno run --allow-net --allow-read --allow-env --no-check main.ts",
"create": "cp template.md posts/$(date + '%Y-%m-%d')-post-title.md",
"fmt": "deno fmt .",
"fmt:check": "deno fmt --check .",
"lint": "deno lint"
},
"imports": {
"deno_blog": "https://deno.land/x/[email protected]/blog.tsx"
}
}
311 changes: 311 additions & 0 deletions deno.lock

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/** @jsx h */

import blog from "deno_blog";

blog({
title: "Pulsate Blog",
description: "The Pulsate Project Blog",
avatar: "https://github.com/pulsate-dev.png",
avatarClass: "rounded-full",
author: "Pulsate Project Team",
links: [
{ title: "GitHub", url: "https://github.com/pulsate-dev", },
{ title: "Email", url: "mailto:[email protected]" }
]
});
6 changes: 6 additions & 0 deletions template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title:
publishDate:
author:
summary:
---

0 comments on commit 8bfd59d

Please sign in to comment.