Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
{
"name": "nhs-notify",
"version": "1.0.0",
"author": "",
"dependencies": {},
"description": "",
"devDependencies": {},
"engines": {},
"keywords": [],
"license": "ISC",
"name": "nhs-notify",
"private": true,
"engines": {
},

"scripts": {
"debug": "JEKYLL_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec jekyll serve --config _config.yml,_config.dev.yml --limit_posts 100 --trace --livereload"

},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
},
"dependencies": {
}
"version": "1.0.0"
}
10 changes: 8 additions & 2 deletions scripts/config/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ repos:
- id: mixed-line-ending
- id: pretty-format-json
args: ['--autofix']
exclude: '(^|/)package(-lock)?\.json$'
# - id: ...
exclude: |
(?x)^(
.*/?package-lock\.json |
\.vscode/.*\.json |
\.devcontainer/.*\.json |
docs/\.vscode/.*\.json |
docs/adr/assets/ADR-003/.*\.json
)$
- repo: local
hooks:
- id: sort-dictionary
Expand Down
2 changes: 1 addition & 1 deletion scripts/terraform/terraform.lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function terraform-destroy() {
# dir=[path to a directory where the command will be executed, relative to the project's top-level directory, default is '.']
# opts=[options to pass to the Terraform fmt command, default is '-recursive']
function terraform-fmt() {
for d in "${PWD}infrastructure/"*; do
for d in "${PWD}/infrastructure/"*; do
if [ -d "$d" ]; then
terraform fmt --recursive "${d}"
fi
Expand Down
Loading