Skip to content

Commit 64143ad

Browse files
authored
Merge pull request #66 from philoserf/improve-docs
improve internal documentation
2 parents ec784f1 + 822630c commit 64143ad

File tree

9 files changed

+275
-110
lines changed

9 files changed

+275
-110
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ charset = utf-8
55
end_of_line = lf
66
insert_final_newline = true
77
indent_style = tab
8-
indent_size = 4
9-
tab_width = 4
8+
indent_size = 2
9+
tab_width = 2

.github/dependabot.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "npm"
4-
directory: "/"
5-
schedule:
6-
interval: "weekly"
7-
- package-ecosystem: "github-actions"
8-
directory: "/"
9-
schedule:
10-
interval: "daily"
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.github/workflows/codeql.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
name: "CodeQL"
22

33
on:
4-
push:
5-
branches: ["main"]
6-
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
- cron: "16 15 * * 1"
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
schedule:
9+
- cron: "16 15 * * 1"
1010

1111
jobs:
12-
analyze:
13-
name: Analyze (${{ matrix.language }})
14-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15-
permissions:
16-
security-events: write
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+
permissions:
16+
security-events: write
1717

18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
include:
22-
- language: javascript-typescript
23-
build-mode: none
24-
steps:
25-
- name: Checkout repository
26-
uses: actions/checkout@v4
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
include:
22+
- language: javascript-typescript
23+
build-mode: none
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
2727

28-
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v3
30-
with:
31-
languages: ${{ matrix.language }}
32-
build-mode: ${{ matrix.build-mode }}
28+
- name: Initialize CodeQL
29+
uses: github/codeql-action/init@v3
30+
with:
31+
languages: ${{ matrix.language }}
32+
build-mode: ${{ matrix.build-mode }}
3333

34-
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@v3
36-
with:
37-
category: "/language:${{matrix.language}}"
34+
- name: Perform CodeQL Analysis
35+
uses: github/codeql-action/analyze@v3
36+
with:
37+
category: "/language:${{matrix.language}}"

.github/workflows/release.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
name: Release
22
on:
3-
push:
4-
tags: ["*"]
3+
push:
4+
tags: ["*"]
55

66
jobs:
7-
build:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- uses: actions/checkout@v4
11-
- uses: actions/setup-node@v4
12-
with:
13-
node-version: "22"
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: "22"
1414

15-
- run: |
16-
npm install
17-
npm run build
15+
- run: |
16+
npm install
17+
npm run build
1818
19-
- name: Package
20-
run: |
21-
mkdir dist
22-
cp main.js manifest.json README.md dist/
23-
zip -r release.zip dist/
19+
- name: Package
20+
run: |
21+
mkdir dist
22+
cp main.js manifest.json README.md dist/
23+
zip -r release.zip dist/
2424
25-
- uses: actions/create-release@v1
26-
id: create_release
27-
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
with:
30-
tag_name: ${{ github.ref }}
31-
release_name: ${{ github.ref }}
25+
- uses: actions/create-release@v1
26+
id: create_release
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
with:
30+
tag_name: ${{ github.ref }}
31+
release_name: ${{ github.ref }}
3232

33-
- uses: actions/upload-release-asset@v1
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
with:
37-
upload_url: ${{ steps.create_release.outputs.upload_url }}
38-
asset_path: ./release.zip
39-
asset_name: release-${{ github.ref_name }}.zip
40-
asset_content_type: application/zip
33+
- uses: actions/upload-release-asset@v1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
with:
37+
upload_url: ${{ steps.create_release.outputs.upload_url }}
38+
asset_path: ./release.zip
39+
asset_name: release-${{ github.ref_name }}.zip
40+
asset_content_type: application/zip
4141

42-
- uses: actions/upload-release-asset@v1
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
with:
46-
upload_url: ${{ steps.create_release.outputs.upload_url }}
47-
asset_path: ./main.js
48-
asset_name: main.js
49-
asset_content_type: text/javascript
42+
- uses: actions/upload-release-asset@v1
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
with:
46+
upload_url: ${{ steps.create_release.outputs.upload_url }}
47+
asset_path: ./main.js
48+
asset_name: main.js
49+
asset_content_type: text/javascript
5050

51-
- uses: actions/upload-release-asset@v1
52-
env:
53-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
with:
55-
upload_url: ${{ steps.create_release.outputs.upload_url }}
56-
asset_path: ./manifest.json
57-
asset_name: manifest.json
58-
asset_content_type: application/json
51+
- uses: actions/upload-release-asset@v1
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
with:
55+
upload_url: ${{ steps.create_release.outputs.upload_url }}
56+
asset_path: ./manifest.json
57+
asset_name: manifest.json
58+
asset_content_type: application/json

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
### Maintenance
1616

17+
- Improved internal documentation
1718
- Added Dependabot configuration for GitHub Actions
1819
- Updated development dependencies:
1920
- TypeScript from 5.7.3 to 5.8.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"scripts": {
33
"build": "node esbuild.config.mjs production",
44
"dev": "node esbuild.config.mjs",
5-
"format": "prettier --write --list --ignore-unknown .",
5+
"format": "prettier --write --ignore-unknown .",
66
"lint": "eslint ."
77
},
88
"devDependencies": {

0 commit comments

Comments
 (0)