Skip to content

Commit

Permalink
Merge pull request #8717 from ever-co/fix/tsconfig-paths
Browse files Browse the repository at this point in the history
[Fix] Added Packages to Root To Avoid Paths
  • Loading branch information
rahul-rocket authored Jan 8, 2025
2 parents befc8cb + 3bba011 commit bc4deb0
Show file tree
Hide file tree
Showing 17 changed files with 67 additions and 56 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@
"@angular/router": "18.2.12",
"@angular/service-worker": "18.2.12",
"@fortawesome/angular-fontawesome": "^0.15.0",
"@fullcalendar/angular": "^6.1.15",
"@nebular/auth": "^14.0.2",
"@nebular/bootstrap": "^9.1.0-rc.6",
"@nebular/eva-icons": "^14.0.2",
Expand All @@ -402,6 +403,8 @@
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/platform-express": "^10.4.15",
"@ng-select/ng-select": "^13.9.0",
"@ngx-translate/core": "^16.0.3",
"@ngx-translate/http-loader": "^16.0.0",
"angular2-smart-table": "^3.4.0",
"autoprefixer": "^10.4.20",
"bcrypt": "^5.1.1",
Expand All @@ -412,6 +415,10 @@
"lodash-es": "^4.17.21",
"minizlib": "^2.1.2",
"mobx": "~4.14.1",
"ng2-file-upload": "^7.0.1",
"ngx-infinite-scroll": "^18.0.0",
"ngx-draggable-dom": "^3.4.1",
"ngx-permissions": "^17.1.0",
"parse5": "^7.1.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/desktop-ui-lib/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": false,
"paths": {
"@gauzy/ui-core/*": ["./../../dist/packages/ui-core/*/index.d.ts"]
"@gauzy/ui-core/*": [
"./../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
6 changes: 0 additions & 6 deletions packages/plugins/integration-ai-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
"paths": {
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
],
"@ngx-translate/*": [
"./node_modules/@ngx-translate/*"
],
"ngx-permissions": [
"./node_modules/ngx-permissions"
]
}
},
Expand Down
10 changes: 6 additions & 4 deletions packages/plugins/integration-github-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"],
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@gauzy/ui-config": ["./../../../dist/packages/ui-config"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
],
"@gauzy/ui-config": [
"./../../../dist/packages/ui-config"
]
}
},
"files": [],
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/integration-hubstaff-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/integration-upwork-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/job-employee-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/job-matching-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
7 changes: 3 additions & 4 deletions packages/plugins/job-proposal-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"],
"ngx-infinite-scroll": ["./node_modules/ngx-infinite-scroll"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
10 changes: 6 additions & 4 deletions packages/plugins/job-search-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"],
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@gauzy/ui-config": ["./../../../dist/packages/ui-config"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
],
"@gauzy/ui-config": [
"./../../../dist/packages/ui-config"
]
}
},
"files": [],
Expand Down
4 changes: 3 additions & 1 deletion packages/plugins/job-search/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/plugin-integration-ai": ["./../../../dist/packages/plugins/integration-ai/*/index.d.ts"],
"@gauzy/plugin-integration-ai": [
"./../../../dist/packages/plugins/integration-ai/*/index.d.ts"
]
}
},
"files": [],
Expand Down
5 changes: 3 additions & 2 deletions packages/plugins/legal-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
9 changes: 6 additions & 3 deletions packages/plugins/maintenance-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@gauzy/ui-config": ["./../../../dist/packages/ui-config"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
],
"@gauzy/ui-config": [
"./../../../dist/packages/ui-config"
]
}
},
"files": [],
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/onboarding-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
8 changes: 3 additions & 5 deletions packages/plugins/public-layout-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"],
"ng2-file-upload": ["./node_modules/ng2-file-upload"],
"@fullcalendar/*": ["./node_modules/@fullcalendar/*"]
"@gauzy/ui-core/*": [
"./../../../dist/packages/ui-core/*/index.d.ts"
]
}
},
"files": [],
Expand Down
10 changes: 6 additions & 4 deletions packages/ui-auth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"noFallthroughCasesInSwitch": false,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core/*": ["./../../dist/packages/ui-core/*/index.d.ts"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-permissions": ["./node_modules/ngx-permissions"],
"@gauzy/ui-config": ["./../../dist/packages/ui-config"]
"@gauzy/ui-core/*": [
"./../../dist/packages/ui-core/*/index.d.ts"
],
"@gauzy/ui-config": [
"./../../dist/packages/ui-config"
]
}
},
"files": [],
Expand Down
13 changes: 6 additions & 7 deletions packages/ui-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@fullcalendar/*": ["./node_modules/@fullcalendar/*"],
"@ngx-translate/*": ["./node_modules/@ngx-translate/*"],
"ngx-draggable-dom": ["./node_modules/ngx-draggable-dom"],
"ngx-permissions": ["./node_modules/ngx-permissions"],
"ngx-infinite-scroll": ["./node_modules/ngx-infinite-scroll"],
"@gauzy/ui-core/*": ["./*/src/index.ts"],
"@gauzy/ui-config": ["./../../dist/packages/ui-config"]
"@gauzy/ui-core/*": [
"./*/src/index.ts"
],
"@gauzy/ui-config": [
"./../../dist/packages/ui-config"
]
}
},
"files": [],
Expand Down

0 comments on commit bc4deb0

Please sign in to comment.