Skip to content

Commit

Permalink
fix(stark-core): add missing barrel for common folder. Fix stark-core…
Browse files Browse the repository at this point in the history
… translations utils imports.
  • Loading branch information
christophercr committed Jun 11, 2018
1 parent f19eb62 commit febb69b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/stark-core/src/common.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./common/error";
export * from "./common/routes";
export * from "./common/store";
export * from "./common/translations";
2 changes: 2 additions & 0 deletions packages/stark-core/src/common/translations.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./translations/locale.intf";
export * from "./translations/translations";
3 changes: 1 addition & 2 deletions showcase/src/app/translation.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { TranslateService } from "@ngx-translate/core";
import { mergeTranslations } from "../../../packages/stark-core/src/common/translations/translations";
import { StarkLocale } from "../../../packages/stark-core/src/common/translations/locale.intf";
import { mergeTranslations, StarkLocale } from "@nationalbankbelgium/stark-core";

const translationsEn: object = require("../assets/translations/en.json");
const translationsFr: object = require("../assets/translations/fr.json");
Expand Down
3 changes: 1 addition & 2 deletions starter/src/app/translation.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { TranslateService } from "@ngx-translate/core";
import { mergeTranslations } from "../../../packages/stark-core/src/common/translations/translations";
import { StarkLocale } from "../../../packages/stark-core/src/common/translations/locale.intf";
import { mergeTranslations, StarkLocale } from "@nationalbankbelgium/stark-core";

const translationsEn: object = require("../assets/translations/en.json");
const translationsFr: object = require("../assets/translations/fr.json");
Expand Down

0 comments on commit febb69b

Please sign in to comment.