Rename api
This commit is contained in:
parent
215f2ef9ec
commit
c2c786b1f4
25
.vscode/launch.json
vendored
Normal file
25
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug: blakus-api",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"runtimeExecutable": "nx",
|
||||
"runtimeArgs": [
|
||||
"serve",
|
||||
"blakus-api",
|
||||
"--inspect"
|
||||
],
|
||||
"skipFiles": [
|
||||
"<node_internals>/**",
|
||||
"${workspaceFolder}/node_modules/*"
|
||||
],
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
]
|
||||
}
|
||||
// repeat for each debuggable app
|
||||
]
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
export default {
|
||||
displayName: 'fastify-api-e2e',
|
||||
displayName: 'blakus-api-e2e',
|
||||
preset: '../../jest.preset.js',
|
||||
globalSetup: '<rootDir>/src/support/global-setup.ts',
|
||||
globalTeardown: '<rootDir>/src/support/global-teardown.ts',
|
||||
@ -14,5 +14,5 @@ export default {
|
||||
],
|
||||
},
|
||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||
coverageDirectory: '../../coverage/fastify-api-e2e',
|
||||
coverageDirectory: '../../coverage/blakus-api-e2e',
|
||||
};
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "fastify-api-e2e",
|
||||
"name": "blakus-api-e2e",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"implicitDependencies": ["fastify-api"],
|
||||
"implicitDependencies": ["blakus-api"],
|
||||
"targets": {
|
||||
"e2e": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{e2eProjectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/fastify-api-e2e/jest.config.ts",
|
||||
"jestConfig": "apps/blakus-api-e2e/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"dependsOn": ["fastify-api:build"]
|
||||
"dependsOn": ["blakus-api:build"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
export default {
|
||||
displayName: 'fastify-api',
|
||||
displayName: 'blakus-api',
|
||||
preset: '../../jest.preset.js',
|
||||
testEnvironment: 'node',
|
||||
transform: {
|
||||
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
|
||||
},
|
||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||
coverageDirectory: '../../coverage/apps/fastify-api',
|
||||
coverageDirectory: '../../coverage/apps/blakus-api',
|
||||
};
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fastify-api",
|
||||
"name": "blakus-api",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "apps/fastify-api/src",
|
||||
"sourceRoot": "apps/blakus-api/src",
|
||||
"projectType": "application",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
@ -11,12 +11,12 @@
|
||||
"defaultConfiguration": "production",
|
||||
"options": {
|
||||
"platform": "node",
|
||||
"outputPath": "dist/apps/fastify-api",
|
||||
"outputPath": "dist/apps/blakus-api",
|
||||
"format": ["cjs"],
|
||||
"bundle": false,
|
||||
"main": "apps/fastify-api/src/main.ts",
|
||||
"tsConfig": "apps/fastify-api/tsconfig.app.json",
|
||||
"assets": ["apps/fastify-api/src/assets"],
|
||||
"main": "apps/blakus-api/src/main.ts",
|
||||
"tsConfig": "apps/blakus-api/tsconfig.app.json",
|
||||
"assets": ["apps/blakus-api/src/assets"],
|
||||
"generatePackageJson": true,
|
||||
"esbuildOptions": {
|
||||
"sourcemap": true,
|
||||
@ -42,15 +42,15 @@
|
||||
"defaultConfiguration": "development",
|
||||
"dependsOn": ["build"],
|
||||
"options": {
|
||||
"buildTarget": "fastify-api:build",
|
||||
"buildTarget": "blakus-api:build",
|
||||
"runBuildTargetDependencies": false
|
||||
},
|
||||
"configurations": {
|
||||
"development": {
|
||||
"buildTarget": "fastify-api:build:development"
|
||||
"buildTarget": "blakus-api:build:development"
|
||||
},
|
||||
"production": {
|
||||
"buildTarget": "fastify-api:build:production"
|
||||
"buildTarget": "blakus-api:build:production"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user