Skip to content

Commit ad70865

Browse files
authored
Initial commit
0 parents  commit ad70865

File tree

19 files changed

+280
-0
lines changed

19 files changed

+280
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
indent_style = space
7+
indent_size = 2
8+
charset = utf-8
9+
trim_trailing_whitespace = true

.eslintignore

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

.eslintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "@voxpelli/eslint-config/esm",
3+
"root": true
4+
}

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Linting
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- '*'
9+
pull_request:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
lint:
18+
uses: voxpelli/ghatemplates/.github/workflows/lint.yml@main

.github/workflows/nodejs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Node CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- '*'
9+
pull_request:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
test:
18+
uses: voxpelli/ghatemplates/.github/workflows/test.yml@main
19+
with:
20+
node-versions: '16,18,20'
21+
os: 'ubuntu-latest'

.github/workflows/ts-internal.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Type Checks, Internal Types
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- '*'
9+
pull_request:
10+
branches:
11+
- main
12+
schedule:
13+
- cron: '14 5 * * 1,3,5'
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
type-check:
20+
uses: voxpelli/ghatemplates/.github/workflows/type-check.yml@main
21+
with:
22+
ts-versions: ${{ github.event.schedule && 'next' || '4.9,next' }}
23+
ts-libs: 'es2020;esnext'

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Basic ones
2+
/coverage
3+
/coverage-ts
4+
/node_modules
5+
/.env
6+
/.nyc_output
7+
8+
# We're a library, so please, no lock files
9+
/package-lock.json
10+
/yarn.lock
11+
12+
# Generated types
13+
*.d.ts
14+
*.d.ts.map
15+
!/lib/advanced-types.d.ts
16+
17+
# Library specific ones

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm test

.knip.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://unpkg.com/knip@2/schema.json",
3+
"ignoreDependencies": ["@types/mocha", "mocha"]
4+
}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)