Skip to content

Commit e73fbe1

Browse files
committed
feat: update package versions and adjust import paths for local development
1 parent 66a2c7f commit e73fbe1

File tree

4 files changed

+32
-22
lines changed

4 files changed

+32
-22
lines changed

package-lock.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

showcases/angular-showcase/src/app/components/breadcrumb/breadcrumb.component.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2-
// TODO: Uncomment after build-outputs: import { DBBreadcrumb } from '../../../../../../output/angular/src';
3-
import { DBIcon, DBTooltip } from '@db-ux/ngx-core-components/src';
2+
import { DBIcon, DBTooltip } from '../../../../../../output/angular/src';
3+
// TODO: Uncomment after proper breadcrumb component integration
4+
// import {
5+
// DBBreadcrumb,
6+
// DBBreadcrumbItem
7+
// } from '../../../../../../output/angular/src';
48
import defaultComponentVariants from '../../../../../shared/breadcrumb.json';
59
import { DefaultComponent } from '../default.component';
610

showcases/angular-showcase/src/app/components/default.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
type TemplateRef
99
} from '@angular/core';
1010
import { ActivatedRoute } from '@angular/router';
11+
// Import from output/angular for local development - this path is mapped in tsconfig.json
1112
import {
1213
COLOR,
1314
COLOR_CONST,
@@ -16,7 +17,7 @@ import {
1617
DBLink,
1718
DENSITY,
1819
DENSITY_CONST
19-
} from '@db-ux/ngx-core-components/src';
20+
} from '../../../../../output/angular/src';
2021
import type {
2122
DefaultComponentProps,
2223
DefaultComponentVariants

showcases/angular-showcase/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
"target": "ES2022",
2121
"module": "ES2022",
2222
"useDefineForClassFields": false,
23-
"lib": ["ES2022", "dom"]
23+
"lib": ["ES2022", "dom"],
24+
// Path mappings for local development - maps @db-ux/ngx-core-components to the output/angular directory
25+
"paths": {
26+
"@db-ux/ngx-core-components": ["../../output/angular/src/index.ts"],
27+
"@db-ux/ngx-core-components/*": ["../../output/angular/src/*"]
28+
}
2429
},
2530
"angularCompilerOptions": {
2631
"enableI18nLegacyMessageIdFormat": false,

0 commit comments

Comments
 (0)