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.
- package/dist/practices/cicd-service/best-practice/.github/workflows/deploy.yml +1 -1
- package/dist/practices/linting/best-practice/package.json +4 -4
- package/dist/practices/serverless/best-practice/serverless.yml +2 -1
- package/dist/practices/typescript/best-practice/package.json +1 -1
- package/package.json +1 -1
|
@@ -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'
|
|
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": "
|
|
4
|
-
"@typescript-eslint/parser": "
|
|
5
|
-
"eslint": "8.
|
|
6
|
-
"eslint-config-airbnb-typescript": "
|
|
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:
|
|
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
|
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.
|
|
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",
|