Skip to content

Commit 7e5f2f7

Browse files
authored
Merge pull request #86 from amplify-education/feature/AT-10944
Release 3.2.0
2 parents 7ce8869 + 2386bcf commit 7e5f2f7

27 files changed

+5040
-2534
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
dist
21
coverage
2+
dist
33
node_modules

.eslintrc

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,41 @@
11
{
2-
"root": true,
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"commonjs": true,
6+
"node": true,
7+
"mocha": true
8+
},
9+
"extends": [
10+
"standard",
11+
"eslint:recommended",
12+
"plugin:@typescript-eslint/eslint-recommended"
13+
],
314
"parser": "@typescript-eslint/parser",
415
"parserOptions": {
5-
"project": "./tsconfig.eslint.json"
16+
"ecmaVersion": 2020,
17+
"sourceType": "module"
618
},
719
"plugins": [
820
"@typescript-eslint"
921
],
10-
"extends": [
11-
"airbnb",
12-
"airbnb-typescript",
13-
"eslint:recommended",
14-
"plugin:@typescript-eslint/eslint-recommended",
15-
"plugin:@typescript-eslint/recommended"
16-
],
1722
"rules": {
18-
"no-console": "off"
23+
"quotes": [
24+
"error",
25+
"double"
26+
],
27+
"semi": [
28+
"error",
29+
"always"
30+
],
31+
"arrow-parens": [
32+
"error",
33+
"always"
34+
],
35+
"complexity": [
36+
"error",
37+
15
38+
],
39+
"guard-for-in": "error"
1940
}
2041
}

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: Test, Lint, Release and Publish
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
jobs:
77
main:
88
name: Release and publish Node package
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repository
12-
uses: actions/checkout@master
12+
uses: actions/checkout@v4
1313

1414
- name: Install and test
15-
uses: actions/setup-node@v2
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 16.x
17+
node-version: 18.x
1818
registry-url: 'https://registry.npmjs.org'
1919
- run: npm install
2020
- run: npm run build

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [ 14.x, 16.x, 18.x ]
13+
node-version: [ 14.x, 16.x, 18.x, 20.x ]
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@master
16+
uses: actions/checkout@v4
1717

1818
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222
cache: 'npm'

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [3.2.0] - 2024-01-08
9+
10+
### Fixed
11+
12+
- Added plugin schema to fix serverless warning. Thank you @crunchie84 ([74](https://github.com/amplify-education/serverless-log-forwarding/pull/74))
13+
- Refactored integration tests
14+
- Updated linting
15+
- Updated packages
16+
817
## [3.1.0] - 2023-02-17
918

1019
### Added

0 commit comments

Comments
 (0)