Skip to content

Commit 4d8418c

Browse files
authored
Initial commit
0 parents  commit 4d8418c

17 files changed

+22855
-0
lines changed

.github/dependabot.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
assignees:
5+
- 'kubosho'
6+
directory: '/'
7+
schedule:
8+
interval: weekly
9+
time: '10:00'
10+
timezone: Asia/Tokyo
11+
versioning-strategy: increase
12+
open-pull-requests-limit: 50

.github/workflows/release.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Build
27+
run: npm run build
28+
29+
- name: Release script
30+
run: npx semantic-release
31+
env:
32+
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.github/workflows/textlint.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Text check by Textlint
2+
on:
3+
push:
4+
branches: [main, master]
5+
paths:
6+
- 'entries/**.md'
7+
pull_request:
8+
branches: [main, master]
9+
paths:
10+
- 'entries/**.md'
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: v20.17.0
24+
25+
- name: Package Install
26+
run: npm install
27+
28+
- name: Exec Textlint
29+
run: |
30+
git diff origin/${GITHUB_BASE_REF}..origin/${GITHUB_HEAD_REF} \
31+
--diff-filter=AM \
32+
--name-only -- '*.md' \
33+
| xargs npm run lint

.gitignore

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
# ------------------------------
2+
# Project
3+
# ------------------------------
4+
5+
.temp/
6+
dist/
7+
8+
# ------------------------------
9+
# macOS
10+
# ------------------------------
11+
12+
# General
13+
.DS_Store
14+
.AppleDouble
15+
.LSOverride
16+
17+
# Icon must end with two \r
18+
Icon
19+
20+
21+
# Thumbnails
22+
._*
23+
24+
# Files that might appear in the root of a volume
25+
.DocumentRevisions-V100
26+
.fseventsd
27+
.Spotlight-V100
28+
.TemporaryItems
29+
.Trashes
30+
.VolumeIcon.icns
31+
.com.apple.timemachine.donotpresent
32+
33+
# Directories potentially created on remote AFP share
34+
.AppleDB
35+
.AppleDesktop
36+
Network Trash Folder
37+
Temporary Items
38+
.apdisk
39+
40+
# ------------------------------
41+
# Windows
42+
# ------------------------------
43+
44+
# Windows thumbnail cache files
45+
Thumbs.db
46+
Thumbs.db:encryptable
47+
ehthumbs.db
48+
ehthumbs_vista.db
49+
50+
# Dump file
51+
*.stackdump
52+
53+
# Folder config file
54+
[Dd]esktop.ini
55+
56+
# Recycle Bin used on file shares
57+
$RECYCLE.BIN/
58+
59+
# Windows Installer files
60+
*.cab
61+
*.msi
62+
*.msix
63+
*.msm
64+
*.msp
65+
66+
# Windows shortcuts
67+
*.lnk
68+
69+
# ------------------------------
70+
# Node.js
71+
# ------------------------------
72+
73+
# Logs
74+
logs
75+
*.log
76+
npm-debug.log*
77+
yarn-debug.log*
78+
yarn-error.log*
79+
lerna-debug.log*
80+
.pnpm-debug.log*
81+
82+
# Diagnostic reports (https://nodejs.org/api/report.html)
83+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
84+
85+
# Runtime data
86+
pids
87+
*.pid
88+
*.seed
89+
*.pid.lock
90+
91+
# Directory for instrumented libs generated by jscoverage/JSCover
92+
lib-cov
93+
94+
# Coverage directory used by tools like istanbul
95+
coverage
96+
*.lcov
97+
98+
# nyc test coverage
99+
.nyc_output
100+
101+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
102+
.grunt
103+
104+
# Bower dependency directory (https://bower.io/)
105+
bower_components
106+
107+
# node-waf configuration
108+
.lock-wscript
109+
110+
# Compiled binary addons (https://nodejs.org/api/addons.html)
111+
build/Release
112+
113+
# Dependency directories
114+
node_modules/
115+
jspm_packages/
116+
117+
# Snowpack dependency directory (https://snowpack.dev/)
118+
web_modules/
119+
120+
# TypeScript cache
121+
*.tsbuildinfo
122+
123+
# Optional npm cache directory
124+
.npm
125+
126+
# Optional eslint cache
127+
.eslintcache
128+
129+
# Microbundle cache
130+
.rpt2_cache/
131+
.rts2_cache_cjs/
132+
.rts2_cache_es/
133+
.rts2_cache_umd/
134+
135+
# Optional REPL history
136+
.node_repl_history
137+
138+
# Output of 'npm pack'
139+
*.tgz
140+
141+
# Yarn Integrity file
142+
.yarn-integrity
143+
144+
# dotenv environment variables file
145+
.env
146+
.env.test
147+
.env.production
148+
149+
# parcel-bundler cache (https://parceljs.org/)
150+
.cache
151+
.parcel-cache
152+
153+
# Next.js build output
154+
.next
155+
out
156+
157+
# Nuxt.js build / generate output
158+
.nuxt
159+
dist
160+
161+
# Gatsby files
162+
.cache/
163+
# Comment in the public line in if your project uses Gatsby and not Next.js
164+
# https://nextjs.org/blog/next-9-1#public-directory-support
165+
# public
166+
167+
# vuepress build output
168+
.vuepress/dist
169+
170+
# Serverless directories
171+
.serverless/
172+
173+
# FuseBox cache
174+
.fusebox/
175+
176+
# DynamoDB Local files
177+
.dynamodb/
178+
179+
# TernJS port file
180+
.tern-port
181+
182+
# Stores VSCode versions used for testing VSCode extensions
183+
.vscode-test
184+
185+
# yarn v2
186+
.yarn/cache
187+
.yarn/unplugged
188+
.yarn/build-state.yml
189+
.yarn/install-state.gz
190+
.pnp.*

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.17.0

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.temp/
2+
out/
3+
yarn.lock

.prettierrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const config = require('@kubosho/configs/prettier');
2+
3+
module.exports = {
4+
...config,
5+
};

.textlintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const config = require('@kubosho/configs/textlint');
2+
3+
module.exports = {
4+
...config,
5+
};

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## 1.0.0 (2024-09-23)
2+
3+
### ✨ Features
4+
5+
* **entries:** replace contents ([d94227b](https://github.com/o2project/techbook-template/commit/d94227b5632acb796bcd81b2e2babe0b42da8e9d))
6+
7+
### 🐛 Bug Fixes
8+
9+
* **vivliostyle:** correct PDF output destination ([566cf17](https://github.com/o2project/techbook-template/commit/566cf17bb9bac3c6c9310ccc25b2d8c4d4cd3603))
10+
* **entries:** fix lint error ([1b04761](https://github.com/o2project/techbook-template/commit/1b04761b635caf6b1ffe1ef908b5c49d25ce5404))
11+
* **entries:** fix text ([f6d9ca2](https://github.com/o2project/techbook-template/commit/f6d9ca2ac08f6b8225621908a5c3d140b1d3c35d))
12+
13+
### 📚 Some changes
14+
15+
* **README:** add README ([9b30b85](https://github.com/o2project/techbook-template/commit/9b30b85aa75528cc1f626466444eecfff5d711ae))
16+
* **vivliostyle:** reduce scope of environment variable-based branching ([3dfe480](https://github.com/o2project/techbook-template/commit/3dfe48037e7327f08404b1900dc478b58889f656))
17+
* **deps:** remove yarn.lock ([a0dcda5](https://github.com/o2project/techbook-template/commit/a0dcda5733f7f891731f997c6a1ec70b2cbb4b1b))
18+
* **deps:** update @kubosho/configs ([60bd2d9](https://github.com/o2project/techbook-template/commit/60bd2d9d22057c9b10c480587ace36f2e4f63286))
19+
* **deps:** update @o2project/vivliostyle-theme-o2project version ([c8b2cb9](https://github.com/o2project/techbook-template/commit/c8b2cb9258f090c2e2e08701669006ee7de47b46))
20+
* **README:** update development commands ([13665a6](https://github.com/o2project/techbook-template/commit/13665a612ce938c529a40c9a65a63a19fc6afcfb))
21+
* **entries/introduction:** update sample page ([a3a682d](https://github.com/o2project/techbook-template/commit/a3a682de7ae94d319f4156e66d9c73110c62160c))

LICENSE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Source Code released under the MIT License
2+
3+
Copyright (c) 2021 O2 Project
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
23+
---
24+
25+
The text content released under the CC BY 4.0.
26+
27+
Copyright (c) 2021 O2 Project
28+
29+
https://creativecommons.org/licenses/by/4.0

0 commit comments

Comments
 (0)