This commit is contained in:
wojo
2026-03-10 20:04:45 +00:00
commit ee77c41fe4
287 changed files with 66307 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
dist
node_modules
coverage
*.js
.env
uploads
+48
View File
@@ -0,0 +1,48 @@
# Dependencies
node_modules
/.pnp
.pnp.js
# Testing
/coverage
*.log
# Production
/dist
/build
# Environment files
.env
.env.local
.env.*.local
# IDE
.vscode
.idea
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Uploads
uploads/*
!uploads/.gitkeep
# Prisma
prisma/*.db
prisma/*.db-journal
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Misc
.eslintcache
.nyc_output
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

+1410
View File
File diff suppressed because it is too large Load Diff
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
set -e
# Create all required directories
mkdir -p /app/uploads/screens
mkdir -p /app/uploads/firmware
mkdir -p /app/uploads/widgets
mkdir -p /app/uploads/captures
mkdir -p /app/uploads/drawings
mkdir -p /app/logs
# Run database migrations (ignore errors on fresh install)
bunx prisma db push --skip-generate 2>&1 || echo "Warning: prisma db push failed (may need manual migration)"
# Execute the main command
exec "$@"
+44
View File
@@ -0,0 +1,44 @@
const js = require('@eslint/js');
const tsPlugin = require('@typescript-eslint/eslint-plugin');
const tsParser = require('@typescript-eslint/parser');
const globals = require('globals');
module.exports = [
js.configs.recommended,
{
files: ['**/*.ts'],
languageOptions: {
parser: tsParser,
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
},
globals: {
...globals.node,
...globals.jest,
},
},
plugins: {
'@typescript-eslint': tsPlugin,
},
rules: {
...tsPlugin.configs.recommended.rules,
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'no-unused-vars': 'off',
},
},
{
ignores: ['dist/**', 'node_modules/**', 'coverage/**', '*.js'],
},
];
+9
View File
@@ -0,0 +1,9 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true,
"webpack": true
}
}
+11518
View File
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More