declapract-typescript-ehmpathy 0.43.10 → 0.43.12
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-common/best-practice/.github/workflows/.declastruct.yml +6 -2
- package/dist/practices/cicd-service/best-practice/package.json +3 -3
- package/dist/practices/git/best-practice/.gitignore.declapract.ts +1 -0
- package/dist/practices/husky/best-practice/package.json +1 -1
- package/dist/practices/provision-github/best-practice/package.json +2 -2
- package/package.json +1 -1
|
@@ -45,7 +45,9 @@ jobs:
|
|
|
45
45
|
|
|
46
46
|
- name: declastruct plan
|
|
47
47
|
id: plan
|
|
48
|
-
run:
|
|
48
|
+
run: |
|
|
49
|
+
set -o pipefail
|
|
50
|
+
npx declastruct plan --wish ${{ inputs.wish-path }} --into ${{ inputs.wish-path }}.plan.json | tee ./plan.log
|
|
49
51
|
env:
|
|
50
52
|
GITHUB_TOKEN: ${{ secrets.github-token }} # allow specifying a github token to pass to the terraform command
|
|
51
53
|
|
|
@@ -104,6 +106,8 @@ jobs:
|
|
|
104
106
|
path: ${{ steps.extract-dir.outputs.wish-dir }}
|
|
105
107
|
|
|
106
108
|
- name: declastruct apply
|
|
107
|
-
run:
|
|
109
|
+
run: |
|
|
110
|
+
set -o pipefail
|
|
111
|
+
npx declastruct apply --plan ${{ inputs.wish-path }}.plan.json | tee ./apply.log
|
|
108
112
|
env:
|
|
109
113
|
GITHUB_TOKEN: ${{ secrets.github-token }} # allow specifying a github token to pass to the terraform command
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devDependencies": {
|
|
3
|
-
"declastruct": "@declapract{check.minVersion('1.
|
|
4
|
-
"declastruct-aws": "@declapract{check.minVersion('1.0
|
|
5
|
-
"declastruct-unix-network": "@declapract{check.minVersion('1.0.
|
|
3
|
+
"declastruct": "@declapract{check.minVersion('1.5.1')}",
|
|
4
|
+
"declastruct-aws": "@declapract{check.minVersion('1.3.0')}",
|
|
5
|
+
"declastruct-unix-network": "@declapract{check.minVersion('1.0.3')}"
|
|
6
6
|
}
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"scripts": {
|
|
3
3
|
"prepare:husky": "npx husky install && chmod ug+x .husky/*",
|
|
4
|
-
"prepare": "[ -
|
|
4
|
+
"prepare": "[ -e .git ] && npm run prepare:husky || exit 0"
|
|
5
5
|
},
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"husky": "@declapract{check.minVersion('8.0.3')}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devDependencies": {
|
|
3
|
-
"declastruct": "@declapract{check.minVersion('1.
|
|
4
|
-
"declastruct-github": "@declapract{check.minVersion('1.0.
|
|
3
|
+
"declastruct": "@declapract{check.minVersion('1.5.1')}",
|
|
4
|
+
"declastruct-github": "@declapract{check.minVersion('1.0.7')}"
|
|
5
5
|
}
|
|
6
6
|
}
|
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.43.
|
|
5
|
+
"version": "0.43.12",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|