Skip to content

Commit

Permalink
docs(blog): added note about bug related to missing package files
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Dec 26, 2023
1 parent 5b7d184 commit 1d75d91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

- name: Build
run: npm run build
if: ${{ steps.release.outputs.release_created }}

- name: Get Coverage Info
if: ${{ steps.release.outputs.release_created }}
Expand Down
6 changes: 5 additions & 1 deletion www/blog/2023-12-25-dual-package-publish.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ image: https://images.unsplash.com/photo-1429743305873-d4065c15f93e





import BrowserWindow from '@site/src/components/BrowserWindow';

![Two paths inside a forest!](https://images.unsplash.com/photo-1429743305873-d4065c15f93e)
Expand All @@ -27,9 +29,11 @@ my packages as `@h4ad/serverless-adapter/adapters/aws`.
You can use it by installing the new version:

```bash
npm i @h4ad/[email protected].0
npm i @h4ad/[email protected].1
```

> The version 4.0.0 was released with a bug that didn't include the package files, so I released the version 4.0.1 to fix this issue.
In the previous version, since I only export to `commonjs`, you need to import the files as `/lib/adapters/aws`, which is not bad, but not exactly good.
This was necessary because I can't export all files in the default `export` as this will lead you to install all frameworks supported by this library.

Expand Down

0 comments on commit 1d75d91

Please sign in to comment.