From 6d9631d181c1642223b056c29ea4c7b9647b1232 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 16 Dec 2025 23:38:31 +0000 Subject: [PATCH] Initialise package --- .npmrc | 1 + package-lock.json | 39 +++++++++++++++++++++++++++++++++++++++ package.json | 26 ++++++++++++++++++++++++++ src/index.ts | 0 tsconfig.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 111 insertions(+) create mode 100644 .npmrc create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 src/index.ts create mode 100644 tsconfig.json diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..acf93cf --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@owlboard:registry=https://git.fjla.uk/api/packages/OwlBoard/npm/ \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..a6a78dd --- /dev/null +++ b/package-lock.json @@ -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" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..f272636 --- /dev/null +++ b/package.json @@ -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" + } +} diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..129a8c4 --- /dev/null +++ b/tsconfig.json @@ -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, + } +}