Initialise package

This commit is contained in:
Fred Boniface
2025-12-16 23:38:31 +00:00
parent bfbdb3dbcb
commit 6d9631d181
5 changed files with 111 additions and 0 deletions

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
@owlboard:registry=https://git.fjla.uk/api/packages/OwlBoard/npm/

39
package-lock.json generated Normal file
View File

@@ -0,0 +1,39 @@
{
"name": "pis-data-ingress",
"version": "0.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "pis-data-ingress",
"version": "0.0.1",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@owlboard/backend-data-contracts": "^0.0.1"
},
"devDependencies": {
"typescript": "^5.9.3"
}
},
"node_modules/@owlboard/backend-data-contracts": {
"version": "0.0.1",
"resolved": "https://git.fjla.uk/api/packages/OwlBoard/npm/%40owlboard%2Fbackend-data-contracts/-/0.0.1/backend-data-contracts-0.0.1.tgz",
"integrity": "sha512-uUjz/EEdCEnW0is3s1QiFvFfeVk1FcaBVGL+atfwo8lMWqTwQfLwKbG7qZNtvLNp2U8GabDWkf2srM86A20KlA==",
"license": "ISC"
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
}
}
}

26
package.json Normal file
View File

@@ -0,0 +1,26 @@
{
"name": "pis-data-ingress",
"version": "0.0.1",
"description": "PIS Data Ingress for OwlBoard",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "ssh://svc_gitea@git.fjla.uk:2222/OwlBoard/pis-data-ingress.git"
},
"keywords": [
"data-ingress",
"owlboard",
"pis"
],
"author": "Frederick Boniface",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@owlboard/backend-data-contracts": "^0.0.1"
},
"devDependencies": {
"typescript": "^5.9.3"
}
}

0
src/index.ts Normal file
View File

45
tsconfig.json Normal file
View File

@@ -0,0 +1,45 @@
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// File Layout
// "rootDir": "./src",
// "outDir": "./dist",
// Environment Settings
// See also https://aka.ms/tsconfig/module
"module": "commonjs",
"target": "es2020",
"esModuleInterop": true,
"types": [],
// For nodejs:
// "lib": ["esnext"],
// "types": ["node"],
// and npm install -D @types/node
// Other Outputs
"sourceMap": true,
"declaration": true,
"declarationMap": true,
// Stricter Typechecking Options
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
// Style Options
// "noImplicitReturns": true,
// "noImplicitOverride": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// "noFallthroughCasesInSwitch": true,
// "noPropertyAccessFromIndexSignature": true,
// Recommended Options
"strict": true,
"jsx": "react-jsx",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noUncheckedSideEffectImports": true,
"moduleDetection": "force",
"skipLibCheck": true,
}
}