Skip to content

Commit 409d3fa

Browse files
committed
fix(auth-services): change project type from application to library and update main entry point to index.ts
1 parent 2b8277b commit 409d3fa

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

packages/auth-services/project.json

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,17 @@
22
"name": "auth-services",
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/auth-services/src",
5-
"projectType": "application",
5+
"projectType": "library",
66
"targets": {
77
"build": {
88
"executor": "@nx/js:tsc",
99
"outputs": ["{options.outputPath}"],
1010
"options": {
1111
"outputPath": "dist/packages/auth-services",
12-
"main": "packages/auth-services/src/auth-server/server.ts",
12+
"main": "packages/auth-services/src/index.ts",
1313
"tsConfig": "packages/auth-services/tsconfig.lib.json",
1414
"assets": ["packages/auth-services/*.md"],
1515
"updateBuildableProjectDepsInPackageJson": true
16-
},
17-
"dependsOn": ["^build"]
18-
},
19-
"serve:auth": {
20-
"executor": "nx:run-commands",
21-
"options": {
22-
"command": "tsx watch packages/auth-services/src/auth-server/src/index.ts"
23-
}
24-
},
25-
"serve:login": {
26-
"executor": "nx:run-commands",
27-
"options": {
28-
"command": "tsx watch packages/auth-services/src/login-server/index.ts"
2916
}
3017
},
3118
"publish": {

0 commit comments

Comments
 (0)