Skip to content

Commit

Permalink
chore: mod tsconfig to use relative path import (#569)
Browse files Browse the repository at this point in the history
* chore: mod tsconfig to use relative path import

* Create polite-guests-dance.md
  • Loading branch information
yangxiaolang authored Jun 26, 2024
1 parent ca0c824 commit 6f6c12b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-guests-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alauda/ui": patch
---

chore: mod tsconfig to use relative path import
4 changes: 1 addition & 3 deletions src/date-picker/trigger/trigger.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ import {
} from '@angular/core';
import { Dayjs } from 'dayjs';

import { I18nPipe } from '../../i18n/i18n.pipe';
import { I18nPipe, I18nService } from '../../i18n';
import { IconComponent } from '../../icon/icon.component';
import { InputComponent } from '../../input/input.component';
import { ComponentSize } from '../../internal/types';
import { buildBem } from '../../internal/utils';

import { I18nService } from 'src/i18n';

const bem = buildBem('aui-date-picker-trigger');

@Component({
Expand Down
2 changes: 1 addition & 1 deletion stories/input/number-input.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';

import { ComponentSize } from 'src';
import { ComponentSize } from '@alauda/ui';

@Component({
template: `
Expand Down
2 changes: 1 addition & 1 deletion stories/input/search-input.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';

import { ComponentSize } from 'src';
import { ComponentSize } from '@alauda/ui';

@Component({
template: `
Expand Down
2 changes: 1 addition & 1 deletion stories/select/basic.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NgFor } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { FormsModule } from '@angular/forms';

import { SelectModule } from 'src';
import { SelectModule } from '@alauda/ui';

@Component({
standalone: true,
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
],
"exclude": ["dist", "release"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@alauda/ui": ["src"]
"@alauda/ui": ["./src"]
},
"strictNullChecks": false
},
Expand Down

0 comments on commit 6f6c12b

Please sign in to comment.