Skip to content

Commit

Permalink
Merge pull request #163 from H4ad/fix/missing-lib-folder
Browse files Browse the repository at this point in the history
fix: missing lib folder
  • Loading branch information
H4ad authored Dec 26, 2023
2 parents 7ea6f4c + 1d75d91 commit 7926aa8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: npm ci

- name: Build
run: npm run build --if-present
run: npm run build

- name: Run tests
run: npm test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
run: npm ci
if: ${{ steps.release.outputs.release_created }}

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

- name: Get Coverage Info
if: ${{ steps.release.outputs.release_created }}
run: npm run coverage
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 7926aa8

Please sign in to comment.