Skip to content

Commit

Permalink
chore: dep update
Browse files Browse the repository at this point in the history
  • Loading branch information
willfarrell committed Jul 2, 2024
1 parent 2395c25 commit 22fb472
Show file tree
Hide file tree
Showing 8 changed files with 4,146 additions and 11,766 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
#- name: Pre-Release
# if: contains(${{GITHUB_REF}}, 'alpha') || contains(${{GITHUB_REF}}, 'beta') || contains(${{GITHUB_REF}}, 'rc')
# run: |
# npm run lerna:publish:next
# npm run publish:next
- name: Release
# if: contains(${{GITHUB_REF}}, 'alpha') == false && contains(${{GITHUB_REF}}, 'beta') == false && contains(${{GITHUB_REF}}, 'rc') == false
run: |
npm run lerna:publish
npm run publish
env:
NPM_CONFIG_PROVENANCE: 'true'
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Runtime data
pids
Expand Down
6 changes: 3 additions & 3 deletions docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This document explains what are the necessary steps to draft a new release and p

## Concepts

Middy is managed as a monorepo (currently using [Lerna](https://github.com/lerna/lerna)). This means that Middy core package and all the official middlewares are developed using the same repository.
Middy is managed as a monorepo. This means that Middy core package and all the official middlewares are developed using the same repository.

By design, new releases keeps all the package versions in sync. For instance, if we are to release v1.2.3, this means that EVERY package needs to be bumped to v1.2.3 and that EVERY package will be published.

Expand Down Expand Up @@ -38,7 +38,7 @@ At a given point in time, if you want to draft a new release, you need to follow
### 2. Version bump

- Update the `version` field of the main [`package.json`](/package.json) with the new version.
- Run the command `npm run lerna:sync` to make sure every package will have the same version.
- Run the command `npm run sync` to make sure every package will have the same version.
- Commit all the changes so far.

### 3. Publish release on GitHub
Expand All @@ -58,5 +58,5 @@ This step will happen automatically from GitHub actions after a new release has

- `package.json`
- Update `engines` versions
- Add ` --dist-tag next` to `lerna:publish` script
- Add ` --dist-tag next` to `publish` script
- Update `build.yml` and `tests.yml` to use current AWS lambda nodejs runtimes
5 changes: 0 additions & 5 deletions lerna.json

This file was deleted.

Loading

0 comments on commit 22fb472

Please sign in to comment.