Skip to content

Commit

Permalink
fix(@dpc-sdp/ripple-tide-api): 🐛 fix issue with node dependencies in …
Browse files Browse the repository at this point in the history
…export
  • Loading branch information
dylankelly committed Apr 17, 2024
1 parent 5c9248f commit 0cc1f88
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt-ripple/utils/breadcrumbs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stripSiteId } from '@dpc-sdp/ripple-tide-api'
import { stripSiteId } from '@dpc-sdp/ripple-tide-api/helpers'

// Private helpers
function getActivePath(branch, path) {
Expand Down
1 change: 1 addition & 0 deletions packages/ripple-tide-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"exports": {
".": "./dist/index.js",
"./utils": "./dist/utils.js",
"./helpers": "./dist/helpers.js",
"./types": "./types.d.ts",
"./errors": "./dist/errors/errors.js",
"./components": "./dist/nuxt/components",
Expand Down
6 changes: 6 additions & 0 deletions packages/ripple-tide-api/src/helpers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export * from './utils/mapping-utils.js'
export { stripSiteId } from './utils/stripSiteId.js'
export {
addAnchorLinksToHTML,
getAnchorLinksFromHTML
} from './utils/anchorLinks.js'

0 comments on commit 0cc1f88

Please sign in to comment.