Skip to content

Commit 129b15b

Browse files
Merge pull request #95 from jcam1/develop
Release 2025-03-14 12:12:42 +0900
2 parents 6b09ef8 + a7f7bf2 commit 129b15b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+95267
-238
lines changed

.github/workflows/check.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
name: static checks
1+
name: run static checks
22

33
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
48
pull_request:
59
branches:
610
- main
711
- develop
8-
types: [opened, synchronize, reopened, closed]
912

1013
jobs:
1114
detect-changes:
@@ -43,7 +46,7 @@ jobs:
4346
- uses: actions/checkout@v4
4447
- uses: ./.github/actions/install-dependencies
4548
- name: Format
46-
run: yarn run format:dry-run .github docs README.md
49+
run: yarn format:dry-run .github docs README.md
4750

4851
check-core:
4952
needs: detect-changes
@@ -57,10 +60,10 @@ jobs:
5760
- uses: actions/checkout@v4
5861
- uses: ./.github/actions/install-dependencies
5962
- name: Compile
60-
run: yarn run compile
63+
run: yarn compile
6164
- name: Lint
62-
run: yarn run lint:dry-run
65+
run: yarn lint:dry-run
6366
- name: Format
64-
run: yarn run format:dry-run
67+
run: yarn format:dry-run
6568
- name: Run tests
66-
run: yarn run test
69+
run: yarn test

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: create a release pr from `develop` to `main`
1+
name: create release prs
22

33
on:
44
push:

.github/workflows/deploy-docs.yml

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,47 @@
1-
name: deploy documentation
1+
name: deploy developer documents
22

33
on:
44
push:
55
branches:
6-
- 'main'
6+
- main
77
paths:
88
- 'docs/**'
99
workflow_dispatch:
1010

11-
permissions:
12-
contents: read
13-
pages: write
14-
id-token: write
15-
1611
concurrency:
17-
group: 'pages'
18-
cancel-in-progress: false
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1914

2015
jobs:
2116
format:
2217
runs-on: ubuntu-latest
2318
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v4
26-
with:
27-
submodules: 'recursive'
28-
19+
- uses: actions/checkout@v4
2920
- uses: ./.github/actions/install-dependencies
30-
3121
- name: Check format
32-
run: |
33-
yarn run format:dry-run docs
22+
run: yarn format:dry-run docs
3423

3524
build:
3625
needs: format
3726
runs-on: ubuntu-latest
27+
permissions:
28+
contents: read
3829
steps:
39-
- name: Checkout
40-
uses: actions/checkout@v4
41-
with:
42-
submodules: 'recursive'
43-
44-
- name: Setup Pages
45-
uses: actions/configure-pages@v5
46-
47-
- name: Upload artifact
48-
uses: actions/upload-pages-artifact@v3
30+
- uses: actions/checkout@v4
31+
- uses: actions/configure-pages@v5
32+
- uses: actions/upload-pages-artifact@v3
4933
with:
5034
path: './docs/core/html'
5135

5236
deploy:
5337
needs: build
5438
runs-on: ubuntu-latest
39+
permissions:
40+
pages: write
41+
id-token: write
5542
environment:
5643
name: github-pages
5744
url: ${{ steps.deployment.outputs.page_url }}
5845
steps:
59-
- name: Deploy to GitHub Pages
46+
- uses: actions/deploy-pages@v4
6047
id: deployment
61-
uses: actions/deploy-pages@v4

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: publish packages to npm registry
22

33
on:
4-
pull_request:
4+
push:
55
branches:
66
- main
7-
types: [closed]
87
paths:
9-
- 'packages/core/**'
8+
- 'packages/**'
109

1110
jobs:
1211
detect-changes:
@@ -79,7 +78,7 @@ jobs:
7978
- uses: actions/checkout@v4
8079
- uses: ./.github/actions/install-dependencies
8180
- name: Build package
82-
run: yarn run compile
81+
run: yarn compile
8382
- uses: ./.github/actions/publish-package
8483
with:
8584
working-directory: ./packages/core

docs/core/globals.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/core/html/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.

docs/core/html/assets/hierarchy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
window.hierarchyData =
2+
'data:application/octet-stream;base64,H4sIAAAAAAAAE5WQMQuDMBCF/8ubY62pSpvVyU6FTkUcRCMGY4QknST/vQRbsbRUutzBvXfv426CHkdrwIrDKY4JTWhcEmjeSl5bMSoDNiHyRVUDB8O16TMpuLIg6IVqwCJ6JLhrCYZaVsZwEy6mXWcHCTILYLCmCfxWMA8cgSeu4vPPfJqkr3yhLNdtVXMT5tuMxe3FTshGcwVWRKUj8NeusefLLdsies+/sHifUs/zfcV7w3154E/U83fOPQDA4lFKvQEAAA==';

docs/core/html/assets/highlight.css

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
:root {
2+
--light-hl-0: #008000;
3+
--dark-hl-0: #6a9955;
4+
--light-hl-1: #795e26;
5+
--dark-hl-1: #dcdcaa;
6+
--light-hl-2: #000000;
7+
--dark-hl-2: #d4d4d4;
8+
--light-hl-3: #a31515;
9+
--dark-hl-3: #ce9178;
10+
--light-hl-4: #af00db;
11+
--dark-hl-4: #c586c0;
12+
--light-hl-5: #001080;
13+
--dark-hl-5: #9cdcfe;
14+
--light-hl-6: #0000ff;
15+
--dark-hl-6: #569cd6;
16+
--light-hl-7: #0070c1;
17+
--dark-hl-7: #4fc1ff;
18+
--light-hl-8: #267f99;
19+
--dark-hl-8: #4ec9b0;
20+
--light-hl-9: #000000ff;
21+
--dark-hl-9: #d4d4d4;
22+
--light-hl-10: #cd3131;
23+
--dark-hl-10: #f44747;
24+
--light-hl-11: #098658;
25+
--dark-hl-11: #b5cea8;
26+
--light-code-background: #ffffff;
27+
--dark-code-background: #1e1e1e;
28+
}
29+
30+
@media (prefers-color-scheme: light) {
31+
:root {
32+
--hl-0: var(--light-hl-0);
33+
--hl-1: var(--light-hl-1);
34+
--hl-2: var(--light-hl-2);
35+
--hl-3: var(--light-hl-3);
36+
--hl-4: var(--light-hl-4);
37+
--hl-5: var(--light-hl-5);
38+
--hl-6: var(--light-hl-6);
39+
--hl-7: var(--light-hl-7);
40+
--hl-8: var(--light-hl-8);
41+
--hl-9: var(--light-hl-9);
42+
--hl-10: var(--light-hl-10);
43+
--hl-11: var(--light-hl-11);
44+
--code-background: var(--light-code-background);
45+
}
46+
}
47+
48+
@media (prefers-color-scheme: dark) {
49+
:root {
50+
--hl-0: var(--dark-hl-0);
51+
--hl-1: var(--dark-hl-1);
52+
--hl-2: var(--dark-hl-2);
53+
--hl-3: var(--dark-hl-3);
54+
--hl-4: var(--dark-hl-4);
55+
--hl-5: var(--dark-hl-5);
56+
--hl-6: var(--dark-hl-6);
57+
--hl-7: var(--dark-hl-7);
58+
--hl-8: var(--dark-hl-8);
59+
--hl-9: var(--dark-hl-9);
60+
--hl-10: var(--dark-hl-10);
61+
--hl-11: var(--dark-hl-11);
62+
--code-background: var(--dark-code-background);
63+
}
64+
}
65+
66+
:root[data-theme='light'] {
67+
--hl-0: var(--light-hl-0);
68+
--hl-1: var(--light-hl-1);
69+
--hl-2: var(--light-hl-2);
70+
--hl-3: var(--light-hl-3);
71+
--hl-4: var(--light-hl-4);
72+
--hl-5: var(--light-hl-5);
73+
--hl-6: var(--light-hl-6);
74+
--hl-7: var(--light-hl-7);
75+
--hl-8: var(--light-hl-8);
76+
--hl-9: var(--light-hl-9);
77+
--hl-10: var(--light-hl-10);
78+
--hl-11: var(--light-hl-11);
79+
--code-background: var(--light-code-background);
80+
}
81+
82+
:root[data-theme='dark'] {
83+
--hl-0: var(--dark-hl-0);
84+
--hl-1: var(--dark-hl-1);
85+
--hl-2: var(--dark-hl-2);
86+
--hl-3: var(--dark-hl-3);
87+
--hl-4: var(--dark-hl-4);
88+
--hl-5: var(--dark-hl-5);
89+
--hl-6: var(--dark-hl-6);
90+
--hl-7: var(--dark-hl-7);
91+
--hl-8: var(--dark-hl-8);
92+
--hl-9: var(--dark-hl-9);
93+
--hl-10: var(--dark-hl-10);
94+
--hl-11: var(--dark-hl-11);
95+
--code-background: var(--dark-code-background);
96+
}
97+
98+
.hl-0 {
99+
color: var(--hl-0);
100+
}
101+
.hl-1 {
102+
color: var(--hl-1);
103+
}
104+
.hl-2 {
105+
color: var(--hl-2);
106+
}
107+
.hl-3 {
108+
color: var(--hl-3);
109+
}
110+
.hl-4 {
111+
color: var(--hl-4);
112+
}
113+
.hl-5 {
114+
color: var(--hl-5);
115+
}
116+
.hl-6 {
117+
color: var(--hl-6);
118+
}
119+
.hl-7 {
120+
color: var(--hl-7);
121+
}
122+
.hl-8 {
123+
color: var(--hl-8);
124+
}
125+
.hl-9 {
126+
color: var(--hl-9);
127+
}
128+
.hl-10 {
129+
color: var(--hl-10);
130+
}
131+
.hl-11 {
132+
color: var(--hl-11);
133+
}
134+
pre,
135+
code {
136+
background: var(--code-background);
137+
}

0 commit comments

Comments
 (0)