Skip to content

Commit

Permalink
adjust reference path to package
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Mar 13, 2024
1 parent 2cc8637 commit 0a11ba5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-actors-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/ds-core': patch
---

**core**: adjust interface reference paths
14 changes: 2 additions & 12 deletions libs/nx/src/executors/build-core/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,8 @@ async function adjustInterfacesReference(options: BuildCoreExecutorSchema) {
const files = join(options.projectRoot, 'dist/types/**/*interfaces.d.ts')
replace.sync({
files: files,
from: `/// <reference path="../../../../../src/interfaces.d.ts" />`,
to: `/// <reference path="../../../../interfaces.d.ts" />`,
})
replace.sync({
files: files,
from: `/// <reference path="../../../../src/interfaces.d.ts" />`,
to: `/// <reference path="../../../interfaces.d.ts" />`,
})
replace.sync({
files: files,
from: `/// <reference path="../../../src/interfaces.d.ts" />`,
to: `/// <reference path="../../interfaces.d.ts" />`,
from: `/// <reference types="packages/core/src/interfaces" />`,
to: `/// <reference types="@baloise/ds-core" />`,
})
}

Expand Down

0 comments on commit 0a11ba5

Please sign in to comment.