Skip to content

Commit

Permalink
[TM-1270] Rename UserService -> user-service
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Sep 11, 2024
1 parent ddbd039 commit c0b94b1
Show file tree
Hide file tree
Showing 24 changed files with 15 additions and 15 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable */
export default {
displayName: 'UserService-e2e',
displayName: 'user-service-e2e',
preset: '../../jest.preset.js',
globalSetup: '<rootDir>/src/support/global-setup.ts',
globalTeardown: '<rootDir>/src/support/global-teardown.ts',
Expand All @@ -15,5 +15,5 @@ export default {
],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/UserService-e2e',
coverageDirectory: '../../coverage/user-service-e2e',
};
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "UserService-e2e",
"name": "user-service-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"implicitDependencies": ["UserService"],
"implicitDependencies": ["user-service"],
"targets": {
"e2e": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{e2eProjectRoot}"],
"options": {
"jestConfig": "apps/UserService-e2e/jest.config.ts",
"jestConfig": "apps/user-service-e2e/jest.config.ts",
"passWithNoTests": true
},
"dependsOn": ["UserService:build"]
"dependsOn": ["user-service:build"]
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable */
export default {
displayName: 'UserService',
displayName: 'user-service',
preset: '../../jest.preset.js',
testEnvironment: 'node',
transform: {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/apps/UserService',
coverageDirectory: '../../coverage/apps/user-service',
};
10 changes: 5 additions & 5 deletions apps/UserService/project.json → apps/user-service/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "UserService",
"name": "user-service",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/UserService/src",
"sourceRoot": "apps/user-service/src",
"projectType": "application",
"tags": [],
"targets": {
Expand All @@ -10,15 +10,15 @@
"defaultConfiguration": "development",
"dependsOn": ["build"],
"options": {
"buildTarget": "UserService:build",
"buildTarget": "user-service:build",
"runBuildTargetDependencies": false
},
"configurations": {
"development": {
"buildTarget": "UserService:build:development"
"buildTarget": "user-service:build:development"
},
"production": {
"buildTarget": "UserService:build:production"
"buildTarget": "user-service:build:production"
}
}
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { join } = require('path');

module.exports = {
output: {
path: join(__dirname, '../../dist/apps/UserService'),
path: join(__dirname, '../../dist/apps/user-service'),
},
plugins: [
new NxAppWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"options": {
"targetName": "test"
},
"exclude": ["apps/UserService-e2e/**/*"]
"exclude": ["apps/UserService-e2e/**/*", "apps/user-service-e2e/**/*"]
}
]
}

0 comments on commit c0b94b1

Please sign in to comment.