Skip to content

Commit dd1c36a

Browse files
committed
linting
1 parent 35a1ffe commit dd1c36a

45 files changed

Lines changed: 1179 additions & 1236 deletions

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
name: CI
22

33
on:
4-
push: {}
4+
push:
5+
branches: ["main"]
56
pull_request_target:
67
paths:
78
- 'src/**'
89
- 'test/**'
910
- '*.json'
11+
- '*.js'
12+
- '*.ts'
13+
- 'lib/**'
14+
- 'scripts/**'
15+
- '.github/workflows/ci.yml'
16+
- 'package.json'
17+
workflow_dispatch:
1018

19+
permissions:
20+
contents: read
1121

1222
jobs:
1323
build:
1424
strategy:
1525
matrix:
16-
node-version: [22.x, 24.x]
26+
node-version: [22.x, 24.x, 25.x]
1727
platform:
1828
- os: ubuntu-latest
1929
shell: bash
@@ -28,10 +38,10 @@ jobs:
2838

2939
steps:
3040
- name: Checkout Repository
31-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
3242

3343
- name: Use Nodejs ${{ matrix.node-version }}
34-
uses: actions/setup-node@v4
44+
uses: actions/setup-node@v6
3545
with:
3646
node-version: ${{ matrix.node-version }}
3747

.github/workflows/typedoc.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,41 @@
1-
# Simple workflow for deploying static content to GitHub Pages
2-
name: Deploy static content to Pages
1+
name: typedoc
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: ["main"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
106
workflow_dispatch:
117

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
138
permissions:
149
contents: read
1510
pages: write
1611
id-token: write
1712

18-
# Allow one concurrent deployment
1913
concurrency:
2014
group: "pages"
2115
cancel-in-progress: true
2216

2317
jobs:
24-
# Single deploy job since we're just deploying
2518
deploy:
2619
environment:
2720
name: github-pages
2821
url: ${{ steps.deployment.outputs.page_url }}
2922
runs-on: ubuntu-latest
3023
steps:
3124
- name: Checkout
32-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
3326
- name: Use Nodejs ${{ matrix.node-version }}
34-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v6
3528
with:
3629
node-version: 20.x
3730
- name: Install dependencies
3831
run: npm install
3932
- name: Generate typedocs
4033
run: npm run typedoc
34+
4135
- name: Setup Pages
42-
uses: actions/configure-pages@v4
36+
uses: actions/configure-pages@v5
4337
- name: Upload artifact
44-
uses: actions/upload-pages-artifact@v3
38+
uses: actions/upload-pages-artifact@v4
4539
with:
4640
path: './docs'
4741
- name: Deploy to GitHub Pages

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/node_modules
2+
/tsconfig.json
3+
/package-lock.json
4+
/package.json
25
/LICENSE.md
36
/example
47
/.github
@@ -12,3 +15,4 @@
1215
/test/fixture
1316
/test/fixtures
1417
/.tshy
18+
/docs

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"experimentalTernaries": true,
33
"semi": false,
4-
"printWidth": 70,
4+
"printWidth": 75,
55
"tabWidth": 2,
66
"useTabs": false,
77
"singleQuote": true,

0 commit comments

Comments
 (0)