Rename source folders
This commit is contained in:
parent
29ddf807f0
commit
a260d611bd
31 changed files with 3 additions and 3 deletions
1
source/global/.devcontainer/Dockerfile
Normal file
1
source/global/.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1 @@
|
|||
FROM local/nodejs/dev:18
|
7
source/global/.devcontainer/devcontainer.json
Normal file
7
source/global/.devcontainer/devcontainer.json
Normal 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",
|
||||
}
|
42
source/global/.devcontainer/docker-compose.yml
Normal file
42
source/global/.devcontainer/docker-compose.yml
Normal 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
|
12
source/global/.editorconfig
Normal file
12
source/global/.editorconfig
Normal 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
1
source/global/.env
Normal file
|
@ -0,0 +1 @@
|
|||
COMPOSE_PROJECT_NAME=$(appName)
|
14
source/global/.tsconfig.json
Normal file
14
source/global/.tsconfig.json
Normal 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
7
source/global/Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
@Library('jenkins-lib')
|
||||
import FrontendBuild
|
||||
|
||||
FrontendBuild({
|
||||
name = '$(appName)'
|
||||
port = '$(appPort):80'
|
||||
})
|
8
source/global/gitignore
Normal file
8
source/global/gitignore
Normal file
|
@ -0,0 +1,8 @@
|
|||
build/
|
||||
dist/
|
||||
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
node_modules/
|
||||
.pnpm-store/
|
3
source/global/npmrc
Normal file
3
source/global/npmrc
Normal 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/
|
17
source/global/package.json
Normal file
17
source/global/package.json
Normal 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": {}
|
||||
}
|
2
source/global/pnpm-workspace.yaml
Normal file
2
source/global/pnpm-workspace.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
packages:
|
||||
- "apps/*"
|
9
source/global/prettierrc
Normal file
9
source/global/prettierrc
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"useTabs": true,
|
||||
"tabWidth": 2,
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"parser": "typescript",
|
||||
"printWidth": 120,
|
||||
"bracketSameLine": true
|
||||
}
|
5
source/global/sonar-project.properties
Normal file
5
source/global/sonar-project.properties
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue