Skip to content

Commit

Permalink
Merge pull request #8090 from ever-co/fix/tsconfig-paths
Browse files Browse the repository at this point in the history
[Fix] Packages name as ts-config paths
  • Loading branch information
rahul-rocket authored Aug 17, 2024
2 parents 2fae966 + 7c3de37 commit 255ee42
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/gauzy/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const appRoutes: Routes = [
},
{
path: 'legal',
loadChildren: () => import('@gauzy/plugins/legal-ui').then((m) => m.LegalModule)
loadChildren: () => import('@gauzy/plugin-legal-ui').then((m) => m.LegalModule)
},
{
path: 'sign-in',
Expand Down
8 changes: 4 additions & 4 deletions apps/gauzy/src/app/pages/jobs/plugins.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { JobEmployeeModule } from '@gauzy/plugins/job-employee-ui';
import { JobMatchingModule } from '@gauzy/plugins/job-matching-ui';
import { JobSearchModule } from '@gauzy/plugins/job-search-ui';
import { JobProposalTemplateModule } from '@gauzy/plugins/job-proposal-ui';
import { JobEmployeeModule } from '@gauzy/plugin-job-employee-ui';
import { JobMatchingModule } from '@gauzy/plugin-job-matching-ui';
import { JobSearchModule } from '@gauzy/plugin-job-search-ui';
import { JobProposalTemplateModule } from '@gauzy/plugin-job-proposal-ui';

/**
* An array of plugins to be included or used in the codebase.
Expand Down
2 changes: 1 addition & 1 deletion apps/gauzy/src/app/pages/pages-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ const routes: Routes = [
},
{
path: 'legal',
loadChildren: () => import('@gauzy/plugins/legal-ui').then((m) => m.PageLegalModule)
loadChildren: () => import('@gauzy/plugin-legal-ui').then((m) => m.PageLegalModule)
},
{
path: '**',
Expand Down
1 change: 0 additions & 1 deletion packages/ui-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@gauzy/ui-core": ["./src/index.ts"],
"@gauzy/ui-core/common": ["./common/src/index.ts"],
"@gauzy/ui-core/core": ["./core/src/index.ts"],
"@gauzy/ui-core/i18n": ["./i18n/src/index.ts"],
Expand Down
10 changes: 5 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"@gauzy/desktop-timer": ["packages/desktop-timer/src/index.ts"],
"@gauzy/desktop-ui-lib": ["packages/desktop-ui-lib/src/index.ts"],
"@gauzy/desktop-window": ["packages/desktop-window/src/index.ts"],
"@gauzy/plugins/job-employee-ui": ["packages/plugins/job-employee-ui/src/index.ts"],
"@gauzy/plugins/job-matching-ui": ["packages/plugins/job-matching-ui/src/index.ts"],
"@gauzy/plugins/job-search-ui": ["packages/plugins/job-search-ui/src/index.ts"],
"@gauzy/plugins/job-proposal-ui": ["packages/plugins/job-proposal-ui/src/index.ts"],
"@gauzy/plugins/legal-ui": ["packages/plugins/legal-ui/src/index.ts"],
"@gauzy/plugin-job-employee-ui": ["packages/plugins/job-employee-ui/src/index.ts"],
"@gauzy/plugin-job-matching-ui": ["packages/plugins/job-matching-ui/src/index.ts"],
"@gauzy/plugin-job-search-ui": ["packages/plugins/job-search-ui/src/index.ts"],
"@gauzy/plugin-job-proposal-ui": ["packages/plugins/job-proposal-ui/src/index.ts"],
"@gauzy/plugin-legal-ui": ["packages/plugins/legal-ui/src/index.ts"],
"@gauzy/ui-auth": ["packages/ui-auth/src/index.ts"],
"@gauzy/ui-config": ["packages/ui-config/src/index.ts"],
"@gauzy/ui-core": ["packages/ui-core/src/index.ts"],
Expand Down

0 comments on commit 255ee42

Please sign in to comment.