Skip to content

Commit 730db20

Browse files
authored
Initialize a cli-tool to maintain Architectural Decision Records and create initial ADR (lensapp#5712)
Co-authored-by: Janne Savolainen <[email protected]> Signed-off-by: Iku-turso <[email protected]> Signed-off-by: Janne Savolainen <[email protected]>
1 parent 09f2919 commit 730db20

File tree

4 files changed

+551
-21
lines changed

4 files changed

+551
-21
lines changed

.adr.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"language": "en",
3+
"path": "docs/architecture/decisions/",
4+
"prefix": "",
5+
"digits": 4
6+
}

docs/architecture/decisions/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Architecture Decision Records
2+

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"email": "[email protected]"
1313
},
1414
"scripts": {
15+
"adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"",
16+
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",
17+
"adr:update-readme": "adr update",
18+
"adr:list": "adr list",
1519
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
1620
"dev-build": "concurrently yarn:compile:*",
1721
"debug-build": "concurrently yarn:compile:main yarn:compile:extension-types",
@@ -354,6 +358,7 @@
354358
"@types/webpack-node-externals": "^2.5.3",
355359
"@typescript-eslint/eslint-plugin": "^5.32.0",
356360
"@typescript-eslint/parser": "^5.31.0",
361+
"adr": "^1.4.1",
357362
"ansi_up": "^5.1.0",
358363
"chart.js": "^2.9.4",
359364
"circular-dependency-plugin": "^5.2.2",

0 commit comments

Comments
 (0)