Replace UI module with Next.js
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š 2023-12-28 21:58:08 +00:00
parent 8aeff18162
commit 616205fe73
91 changed files with 3570 additions and 722 deletions

View file

@ -1,9 +1,16 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"noImplicitAny": true,
"strictFunctionTypes": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"allowJs": true,
"outDir": "./dist",
"baseUrl": "./"
"lib": [
"es6",
"dom"
],
"baseUrl": "."
}
}

View file

@ -1,15 +1,15 @@
/** @type {import('jest').Config} */
const config = {
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: 'src',
testRegex: '.*\\.spec\\.ts$',
transform: {
'^.+\\.(t|j)s$': 'ts-jest',
},
collectCoverageFrom: ['**/*.(t|j)s'],
coverageDirectory: '../coverage',
testEnvironment: 'node',
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: 'src',
testRegex: '.\\.test\\.ts$',
transform: {
'^.+\\.(t|j)s$': 'ts-jest',
},
collectCoverageFrom: ['**/*.(t|j)s'],
coverageDirectory: '../coverage',
testEnvironment: 'node',
};
module.exports = config;

View file

@ -7,7 +7,7 @@
"scripts": {
"nest": "nest",
"build": "nest build",
"dev": "nest start --watch",
"dev": "nest start --watch --preserveWatchOutput",
"dev:debug": "nest start --debug --watch",
"start": "node dist/main",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
@ -16,7 +16,7 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
"test:e2e": "jest --config ./test/jest.config.js"
},
"dependencies": {
"@nestjs/axios": "3.0.1",

View file

@ -4,7 +4,7 @@ const config = {
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: '.',
testEnvironment: 'node',
testRegex: '.e2e-spec.ts$',
testRegex: '.spec.ts$',
transform: {
'^.+\\.(t|j)s$': 'ts-jest',
},