Rename source folders
All checks were successful
forgejo/Procyon/seedling/pipeline/pr-master This commit looks good
forgejo/Procyon/seedling/pipeline/head This commit looks good

This commit is contained in:
Roman Jaroš 2024-01-10 21:08:53 +00:00 committed by Roman Jaroš
parent 29ddf807f0
commit a260d611bd
31 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1 @@
FROM local/nodejs/dev:18

View file

@ -0,0 +1,7 @@
{
"name": "$(appName)",
"workspaceFolder": "/home/project/$(appName)",
"dockerComposeFile": "docker-compose.yml",
"service": "$(appName)",
"postCreateCommand": "sudo chown iamuser:iamuser -R /home/project",
}

View file

@ -0,0 +1,42 @@
version: "3"
volumes:
node_modules:
pnpm-store:
networks:
net:
name: $(appName)_net
driver: bridge
ipam:
config:
- subnet: 10.2.0.0/24
gateway: 10.2.0.1
services:
seedling:
build:
context: .
container_name: $(appName)
volumes:
- ../:/home/project/$(appName)
- node_modules:/home/project/seedling/node_modules
- pnpm-store:/home/project/seedling/.pnpm-store
command: sleep infinity
networks:
net:
ipv4_address: 10.2.0.2
selenium:
image: seleniarm/standalone-chromium:114.0
container_name: $(appName)-selenium
shm_size: 2gb
environment:
- SE_VNC_NO_PASSWORD=1
ports:
- 7900:7900
- 5900:5900
- 4444:4444
networks:
net:
ipv4_address: 10.2.0.4

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/global/.env Normal file
View file

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=$(appName)

View file

@ -0,0 +1,14 @@
{
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"sourceMap": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"module": "commonjs",
"target": "es6"
},
"exclude": [
"./node_modules"
]
}

7
source/global/Jenkinsfile vendored Normal file
View file

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

8
source/global/gitignore Normal file
View file

@ -0,0 +1,8 @@
build/
dist/
.vscode/
.idea/
node_modules/
.pnpm-store/

3
source/global/npmrc Normal file
View file

@ -0,0 +1,3 @@
always-auth=true
@procyon:registry=https://forgejo.romanjaros.dev/api/packages/procyon/npm/
@toolkit:registry=https://forgejo.romanjaros.dev/api/packages/procyon/npm/

View file

@ -0,0 +1,17 @@
{
"name": "$(appName)",
"version": "0.1.0",
"author": "Roman Jaroš",
"license": "ISC",
"scripts": {
"dev": "pnpm -r --parallel --stream dev",
"test": "pnpm -r test",
"test:e2e": "pnpm -r test:e2e",
"selenium:smoke": "pnpm -r selenium:smoke"
},
"dependencies": {},
"devDependencies": {
"@types/node": "18.18.9"
},
"peerDependencies": {}
}

View file

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

9
source/global/prettierrc Normal file
View file

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

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