refactor(common): Introduceer common package

This commit is contained in:
Tibo De Peuter 2025-03-31 18:31:12 +02:00
parent da2729eeca
commit 8bf927d1c9
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
4 changed files with 36 additions and 5 deletions

12
common/package.json Normal file
View file

@ -0,0 +1,12 @@
{
"name": "dwengo-1-common",
"version": "0.1.1",
"description": "Common types and utilities for Dwengo-1",
"private": true,
"type": "module",
"scripts": {
"format": "prettier --write src/",
"format-check": "prettier --check src/",
"lint": "eslint . --fix"
}
}

9
common/tsconfig.json Normal file
View file

@ -0,0 +1,9 @@
{
"extends": "../tsconfig.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"resolveJsonModule": true
}
}