Initial builded version

Change-Id: I8937a5b559134d1d6029d16e9831c961287fee0c
This commit is contained in:
Roman Jaroš 2023-09-09 16:55:38 +02:00
commit 13ab39d1fd
57 changed files with 1186 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = tab
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

1
source/shared/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
build/

2
source/shared/.npmrc Normal file
View file

@ -0,0 +1,2 @@
always-auth=true
@prokyon:registry=https://npm.romanjaros.dev

View file

@ -0,0 +1,9 @@
{
"useTabs": true,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"parser": "typescript",
"printWidth": 120,
"bracketSameLine": true
}

8
source/shared/Jenkinsfile vendored Normal file
View file

@ -0,0 +1,8 @@
@Library('jenkins-lib')
import FrontendBuild
FrontendBuild({
name = '$(appName)'
port = '$(appPort):80'
runSonar = true
})

View file

@ -0,0 +1,14 @@
{
"name": "$(appName)",
"version": "0.1.0",
"author": "Roman Jaroš",
"license": "ISC",
"scripts": {
"dev": "pnpm -r dev"
},
"dependencies": {},
"devDependencies": {
"@types/node": "18.11.9"
},
"peerDependencies": {}
}

View file

@ -0,0 +1,2 @@
packages:
- "apps/*"

View file

@ -0,0 +1,5 @@
sonar.projectKey=$(appName)
sonar.projectName=$(appName)
sonar.inclusions=apps/**
sonar.coverage.exclusions=**/__tests__/**
sonar.javascript.lcov.reportPaths=apps/**/jest/lcov.info

View file

@ -0,0 +1,28 @@
{
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipLibCheck": true,
"sourceMap": true,
"esModuleInterop": true,
"allowJs": true,
"outDir": "build",
"module": "commonjs",
"target": "es6",
"lib": [
"es6",
"dom"
],
"jsx": "react",
"types": [
"jest",
],
},
"exclude": [
"./node_modules",
"./src/**/__tests__/*.tsx"
]
}