declapract-typescript-ehmpathy 0.31.3 → 0.31.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,7 @@ jobs:
59
59
  prod:
60
60
  uses: ./.github/workflows/.deploy-sls.yml
61
61
  if: |
62
- startsWith(github.ref, 'refs/tags/') || (github.event.inputs.stage == 'prod' && github.ref == 'refs/heads/main') &&
62
+ (startsWith(github.ref, 'refs/tags/') && github.event_name != 'workflow_dispatch') || (github.event.inputs.stage == 'prod') &&
63
63
  always() && (needs.test.result == 'success' || needs.test.result == 'skipped')
64
64
  needs: [test]
65
65
  with:
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@typescript-eslint/eslint-plugin": "5.46.1",
4
- "@typescript-eslint/parser": "5.46.1",
5
- "eslint": "8.30.0",
6
- "eslint-config-airbnb-typescript": "17.0.0",
3
+ "@typescript-eslint/eslint-plugin": "7.8.0",
4
+ "@typescript-eslint/parser": "7.8.0",
5
+ "eslint": "8.56.0",
6
+ "eslint-config-airbnb-typescript": "18.0.0",
7
7
  "eslint-config-prettier": "8.5.0",
8
8
  "eslint-plugin-import": "2.26.0",
9
9
  "eslint-plugin-prettier": "4.2.1",
@@ -48,7 +48,8 @@ provider:
48
48
  # allow reading and writing to s3 buckets namespaced by this service
49
49
  - Effect: Allow
50
50
  Action:
51
- - s3:ListObject
51
+ - s3:ListBucket
52
+ - s3:ListObjects
52
53
  - s3:GetObject
53
54
  - s3:PutObject
54
55
  Resource: arn:aws:s3:::${self:service}-* # note, region and account can not be included in this resource arn, otherwise aws throws error
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "typescript": "@declapract{check.minVersion('4.9.4')}",
3
+ "typescript": "@declapract{check.minVersion('5.4.5')}",
4
4
  "@tsconfig/node-lts-strictest": "@declapract{check.minVersion('18.12.1')}"
5
5
  },
6
6
  "scripts": {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "declapract-typescript-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "declapract best practices declarations for typescript",
5
- "version": "0.31.3",
5
+ "version": "0.31.5",
6
6
  "main": "src/index.js",
7
7
  "repository": "ehmpathy/declapract-typescript-ehmpathy",
8
8
  "homepage": "https://github.com/ehmpathy/declapract-typescript-ehmpathy",