Skip to content

Commit 86ab175

Browse files
committed
feat: initial implementation
0 parents  commit 86ab175

21 files changed

+5443
-0
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v2
15+
- name: use node 22
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '22'
19+
- run: npm ci
20+
- run: npm run lint
21+
- run: npm run compile
22+
- run: npm test

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
node_modules/
2+
*.log
3+
yarn.lock
4+
.eslintcache
5+
.DS_Store
6+
7+
.env*
8+
!.env.example
9+
!.env.test
10+
11+
out/
12+
.tmp*
13+
_dev
14+
_archive/
15+
*.tsbuildinfo

.mocharc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"reporter": "spec",
3+
"spec": "./out/**/*.test.js",
4+
"require": [
5+
"./register-async.mjs"
6+
]
7+
}

eslint.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { sharedConfigs } from '@nodescript/eslint-config';
2+
3+
export default [
4+
...sharedConfigs
5+
];

0 commit comments

Comments
 (0)