Skip to content

Commit 4d9b531

Browse files
first public commit
0 parents  commit 4d9b531

Some content is hidden

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

41 files changed

+5738
-0
lines changed

.github/FUNDING.yml

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

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: main
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
branches:
9+
- 'main'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Compile
27+
run: npx tsc
28+
29+
- name: Test
30+
run: npm test

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Compile
24+
run: npx tsc
25+
26+
- name: Test
27+
run: npm test
28+
29+
publish:
30+
needs: ['build']
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-node@v4
35+
with:
36+
node-version: 22
37+
registry-url: https://registry.npmjs.org/
38+
- run: |
39+
npm install
40+
npm run build
41+
git config --global user.email ${{ secrets.GIT_EMAIL }}
42+
git config --global user.name ${{ secrets.GIT_NAME }}
43+
npm publish
44+
env:
45+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
node_modules/
2+
.serverless/
3+
.webpack/
4+
.esbuild/
5+
build/
6+
.dccache
7+
lib/
8+
docs/anode_modules/
9+
.serverless/
10+
.webpack/
11+
.esbuild/
12+
build/
13+
.dccache
14+
lib/
15+
docs/
16+
dist/
17+
.aws-sam/
18+
package-lock.json
19+
20+
send-*test.ts
21+
mikroauth.config.json
22+
mikroauth/
23+
24+
mikrodb*/
25+
26+
# Files generated from tests
27+
coverage/
28+
jest-coverage/
29+
**/jest-coverage/**
30+
31+
# No Yarn stuff
32+
yarn.lock
33+
34+
### Node ###
35+
36+
# Reports
37+
*.report.html
38+
*.report.csv
39+
*.report.json
40+
hint-report/
41+
42+
# Dependency directories
43+
/**/node_modules
44+
45+
# Environment variables file(s)
46+
.env
47+
.env.*
48+
49+
# Compressed archives
50+
*.7zip
51+
*.rar
52+
*.zip
53+
54+
### VisualStudioCode ###
55+
.vscode/*
56+
!.vscode/settings.json
57+
!.vscode/tasks.json
58+
!.vscode/launch.json
59+
!.vscode/extensions.json
60+
61+
### Vim ###
62+
*.sw[a-p]
63+
64+
# Windows thumbnail cache files
65+
Thumbs.db
66+
ehthumbs.db
67+
ehthumbs_vista.db
68+
69+
# Folder config file
70+
Desktop.ini
71+
72+
# Recycle Bin used on file shares
73+
$RECYCLE.BIN/
74+
75+
### macOS ###
76+
.DS_Store
77+
*.DS_Store
78+
.AppleDouble
79+
.LSOverride
80+
81+
# Icon must end with two \r
82+
Icon
83+
84+
# Thumbnails
85+
._*
86+
87+
# Files that might appear in the root of a volume
88+
.DocumentRevisions-V100
89+
.fseventsd
90+
.Spotlight-V100
91+
.TemporaryItems
92+
.Trashes
93+
.VolumeIcon.icns
94+
.com.apple.timemachine.donotpresent
95+
96+
# Directories potentially created on remote AFP share
97+
.AppleDB
98+
.AppleDesktop
99+
Network Trash Folder
100+
Temporary Items
101+
.apdisk
102+
103+
### Node ###
104+
# Logs
105+
logs
106+
*.log
107+
npm-debug.log*
108+
yarn-debug.log*
109+
yarn-error.log*
110+
111+
# Runtime data
112+
pids
113+
*.pid
114+
*.seed
115+
*.pid.lock
116+
117+
# Directory for instrumented libs generated by jscoverage/JSCover
118+
lib-cov
119+
120+
# Coverage directory used by tools like istanbul
121+
coverage
122+
123+
# Optional npm cache directory
124+
.npm
125+
126+
# Optional eslint cache
127+
.eslintcache
128+
129+
# Optional REPL history
130+
.node_repl_history
131+
132+
# Output of 'npm pack'
133+
*.tgz
134+
135+
# Yarn Integrity file
136+
.yarn-integrity
137+
138+
package-lock.json
139+
140+
# Files generated from tests
141+
coverage/
142+
jest-coverage/
143+
**/jest-coverage/**
144+
145+
# No Yarn stuff
146+
yarn.lock
147+
148+
### Node ###
149+
150+
# Reports
151+
*.report.html
152+
*.report.csv
153+
*.report.json
154+
hint-report/
155+
156+
# Dependency directories
157+
/**/node_modules
158+
159+
# Environment variables file(s)
160+
.env
161+
.env.*
162+
163+
# Compressed archives
164+
*.7zip
165+
*.rar
166+
*.zip
167+
168+
### VisualStudioCode ###
169+
.vscode/*
170+
!.vscode/settings.json
171+
!.vscode/tasks.json
172+
!.vscode/launch.json
173+
!.vscode/extensions.json
174+
175+
### Vim ###
176+
*.sw[a-p]
177+
178+
# Windows thumbnail cache files
179+
Thumbs.db
180+
ehthumbs.db
181+
ehthumbs_vista.db
182+
183+
# Folder config file
184+
Desktop.ini
185+
186+
# Recycle Bin used on file shares
187+
$RECYCLE.BIN/
188+
189+
### macOS ###
190+
.DS_Store
191+
*.DS_Store
192+
.AppleDouble
193+
.LSOverride
194+
195+
# Icon must end with two \r
196+
Icon
197+
198+
# Thumbnails
199+
._*
200+
201+
# Files that might appear in the root of a volume
202+
.DocumentRevisions-V100
203+
.fseventsd
204+
.Spotlight-V100
205+
.TemporaryItems
206+
.Trashes
207+
.VolumeIcon.icns
208+
.com.apple.timemachine.donotpresent
209+
210+
# Directories potentially created on remote AFP share
211+
.AppleDB
212+
.AppleDesktop
213+
Network Trash Folder
214+
Temporary Items
215+
.apdisk
216+
217+
### Node ###
218+
# Logs
219+
logs
220+
*.log
221+
npm-debug.log*
222+
yarn-debug.log*
223+
yarn-error.log*
224+
225+
# Runtime data
226+
pids
227+
*.pid
228+
*.seed
229+
*.pid.lock
230+
231+
# Directory for instrumented libs generated by jscoverage/JSCover
232+
lib-cov
233+
234+
# Coverage directory used by tools like istanbul
235+
coverage
236+
237+
# Optional npm cache directory
238+
.npm
239+
240+
# Optional eslint cache
241+
.eslintcache
242+
243+
# Optional REPL history
244+
.node_repl_history
245+
246+
# Output of 'npm pack'
247+
*.tgz
248+
249+
# Yarn Integrity file
250+
.yarn-integrity

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
npx tsc
2+
npm test
3+
npm run build
4+
npm run lint
5+
git add .

CODEOWNERS

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

0 commit comments

Comments
 (0)