-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 5.49 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 5.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"scripts": {
"mdlint": "npm run mdlint:check && npm run format-tables-check",
"mdlint-fix": "npm run mdlint:fix:only && npm run format-tables",
"mdlint:check": "markdownlint --config .markdownlint.json --ignore .copilot-tracking --ignore .github/copilot-instructions.md --ignore .github/instructions --ignore .github/prompts --ignore node_modules --ignore venv \"**/*.md\"",
"mdlint:fix:only": "markdownlint --config .markdownlint.json --ignore .copilot-tracking --ignore .github/copilot-instructions.md --ignore .github/instructions --ignore .github/prompts --ignore node_modules --ignore venv --fix \"**/*.md\"",
"mdlint:fix": "markdownlint --config .markdownlint.json --ignore .copilot-tracking --ignore .github/copilot-instructions.md --ignore .github/instructions --ignore .github/prompts --ignore node_modules --ignore venv --fix \"**/*.md\"",
"link-check": "pwsh -File ./scripts/linting/Docs-Link-Check.ps1",
"cspell": "npx cspell \"**/*.md\" --config .cspell.json --exclude .copilot-tracking --exclude .github/copilot-instructions.md --exclude .github/instructions --exclude .github/prompts --exclude .github/agents --exclude node_modules --exclude venv",
"docker-lint": "./scripts/docker-lint.sh",
"yaml": "yamllint -c .yamllint.yml .",
"lint": "npm run mdlint && npm run cspell && npm run yaml && npm run format-json && npm run docker-lint",
"lint-fix": "npm run mdlint-fix && npm run format-json-fix",
"tf-docs": "./scripts/update-all-terraform-docs.sh",
"bicep-docs": "./scripts/update-all-bicep-docs.sh",
"tflint-fix-all": "./scripts/tf-walker-parallel.sh \"terraform fmt -recursive && tflint --disable-rule=terraform_required_providers --fix --recursive\" \"tflint-fix-fast-$(date +%Y%m%d-%H%M%S)\" false",
"tflint-fix": "source ./scripts/az-sub-init.sh; f() { cd \"$1\"; terraform fmt -recursive; tflint --disable-rule=terraform_required_providers --fix --recursive; }; f",
"tf-init-upgrade": "./scripts/tf-walker-parallel.sh \"terraform init -upgrade\" \"tf-init-upgrade-$(date +%Y%m%d-%H%M%S)\" true",
"tf-validate-all": "./scripts/tf-walker-parallel.sh \"terraform init && terraform validate\" \"tf-validate-$(date +%Y%m%d-%H%M%S)\" true",
"tf-validate": "source ./scripts/az-sub-init.sh; f() { cd \"$1\"; terraform init; terraform validate; }; f",
"tf-test": "source ./scripts/az-sub-init.sh; f() { cd \"$1\"; terraform init; terraform test; }; f",
"tf-test-all": "./scripts/tf-walker-parallel.sh \"terraform init && terraform test\" \"test-$(date +%Y%m%d-%H%M%S)\" true",
"tf-plan-test": "source ./scripts/az-sub-init.sh; f() { cd \"$1\"; terraform init; terraform plan -var 'environment=dev' -var \"resource_prefix=a$(openssl rand -hex 4)\" -var 'location=eastus2'; }; f",
"tf-plan-ci": "SCRIPT_PATH=\"$PWD/scripts/tf-plan-smart.sh\"; ./scripts/tf-walker-parallel.sh \"terraform init && bash \\\"$SCRIPT_PATH\\\"\" \"tf-plan-ci-$(date +%Y%m%d-%H%M%S)\" true 4 ci",
"tf-plan-blueprints": "SCRIPT_PATH=\"$PWD/scripts/tf-plan-smart.sh\"; ./scripts/tf-walker-parallel.sh \"terraform init && bash \\\"$SCRIPT_PATH\\\"\" \"tf-plan-blueprints-$(date +%Y%m%d-%H%M%S)\" true 4 blueprints",
"tf-plan-all": "SCRIPT_PATH=\"$PWD/scripts/tf-plan-smart.sh\"; ./scripts/tf-walker-parallel.sh \"terraform init && bash \\\"$SCRIPT_PATH\\\"\" \"tf-plan-all-$(date +%Y%m%d-%H%M%S)\" true 4",
"format-tables": "pwsh -File ./scripts/linting/Format-Markdown-Tables.ps1",
"format-tables-check": "pwsh -File ./scripts/linting/Format-Markdown-Tables.ps1 -Check",
"checkov-changes": "pwsh -Command \"& $PWD/scripts/build/Detect-Folder-Changes.ps1 -OutputJson | & $PWD/scripts/Run-Checkov.ps1 -OutputFolder './checkov-results' -OutputFile 'code-analysis.xml'\"",
"checkov-all": "pwsh -Command \"& $PWD/scripts/build/Detect-Folder-Changes.ps1 -IncludeAllIaC -OutputJson | & $PWD/scripts/Run-Checkov.ps1 -OutputFolder './checkov-results' -OutputFile 'code-analysis.xml'\"",
"link-lang-check": "pwsh -File ./scripts/linting/Link-Lang-Check.ps1",
"link-lang-fix": "pwsh -File ./scripts/linting/Link-Lang-Check.ps1 -Fix",
"generate-sidebar": "pwsh -File ./scripts/Generate-DocsSidebar.ps1 -DocsPath ./docs -SrcPath ./src -SidebarFile _sidebar.md -AllSections -Verbose",
"progress-server": "cd docs/_server && npm install --silent && node app.js",
"docs": "pwsh -File ./scripts/Serve-Docs.ps1",
"test:frontend": "cd docs/assets/js && npm test",
"test:server": "cd docs/_server && npm test",
"unicode:outputonly": "pwsh -File ./scripts/Fix-VisuallySimilarUnicode.ps1 -OutputOnly",
"unicode:outputonly:verbose": "pwsh -File ./scripts/Fix-VisuallySimilarUnicode.ps1 -OutputOnly -Verbose",
"unicode:fix": "pwsh -File ./scripts/Fix-VisuallySimilarUnicode.ps1",
"unicode:fix:quiet": "pwsh -File ./scripts/Fix-VisuallySimilarUnicode.ps1 -Quiet",
"format-json": "npx prettier --check \"**/*.json\"",
"format-json-fix": "npx prettier --write \"**/*.json\""
},
"dependencies": {
"glob": "^13.0.0",
"js-yaml": "^4.1.1",
"markdown-table-formatter": "1.7.0",
"markdownlint": "0.40.0",
"markdownlint-cli": "0.47.0",
"prettier": "^3.5.3",
"cspell": "^8.17.0",
"eslint": "^9.0.0"
},
"devDependencies": {
"docsify-cli": "4.4.4",
"markdown-link-check": "3.14.2",
"marked": "^4.0.10"
},
"resolutions": {
"marked": "^4.0.10",
"got": "^11.8.5"
},
"overrides": {
"marked": "^4.0.10",
"got": "^11.8.5",
"glob": "^13.0.0",
"js-yaml": "^4.1.1",
"xmlbuilder2": "^4.0.0",
"minimatch": "10.2.4"
}
}