Skip to content

Commit

Permalink
Merge branch 'develop' into sidv/fix/1066
Browse files Browse the repository at this point in the history
* develop:
  ci(e2e): skip caching in actions/setup-node
  chore: add default entry to exports
  Fix: add require entry in package.json
  • Loading branch information
sidharthv96 committed Mar 7, 2023
2 parents 1913aad + 7bea44e commit 993a19e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/e2e.yml
Expand Up @@ -21,11 +21,7 @@ jobs:

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
# Need to skip setup if Cypress run is skipped, otherwise an error
# is thrown since the pnpm cache step fails
if: ${{ ( env.CYPRESS_RECORD_KEY != '' ) || ( matrix.containers == 1 ) }}
with:
cache: pnpm
node-version: ${{ matrix.node-version }}

# Install NPM dependencies, cache them correctly
Expand Down
3 changes: 2 additions & 1 deletion packages/mermaid/package.json
Expand Up @@ -8,7 +8,8 @@
"exports": {
".": {
"types": "./dist/mermaid.d.ts",
"import": "./dist/mermaid.core.mjs"
"import": "./dist/mermaid.core.mjs",
"default": "./dist/mermaid.core.mjs"
},
"./*": "./*"
},
Expand Down

0 comments on commit 993a19e

Please sign in to comment.