Coder Social home page Coder Social logo

adr-tools's Introduction

πŸ’« About Me:

πŸ”­ I’m currently working on Remix projects and on tools to make the lives of game server owners (mostly mine) simpler
🀝 I’m looking for help with anything really. Please feel free to submit a PR to any of the public repos, I appreciate all help
🌱 I’m currently honing my management skills and forever playing catch-up with front-end technologies
πŸ’¬ Ask me about building and managing sustainable teams
⚑ Fun fact: 100% code coverage is just the bare minimum

🎧Listening To

Listening to

🌐 Socials:

Twitter

πŸ’» Tech Stack:

CSS3 HTML5 Java JavaScript Markdown TypeScript AWS Apollo-GraphQL NodeJS Webpack AmazonDynamoDB Neo4J Docker Terraform React

πŸ“Š GitHub Stats:



πŸ† GitHub Trophies


πŸ’° You can help me by Donating

BuyMeACoffee

adr-tools's People

Contributors

dependabot[bot] avatar meza avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

catchpowle den-dp

adr-tools's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency typescript to v5
  • chore(deps): update dependency uuid to v9 (uuid, @types/uuid)
  • chore(deps): update eslint dependencies (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint)
  • chore(deps): update local developer dependencies (major) (@commitlint/cli, @commitlint/config-conventional, @commitlint/prompt-cli, rimraf)
  • chore(deps): update semantic-release monorepo (major) (@semantic-release/commit-analyzer, @semantic-release/github, @semantic-release/npm, @semantic-release/release-notes-generator, semantic-release)
  • chore(deps): update vitest dependencies (major) (@vitest/ui, c8, vitest)
  • chore(deps): pin dependencies (@faker-js/faker, @meza/adr-tools, @meza/tsconfig-base, @ryansonshine/commitizen, @ryansonshine/cz-conventional-changelog, @semantic-release/changelog, @semantic-release/commit-analyzer, @semantic-release/git, @semantic-release/github, @semantic-release/npm, @semantic-release/release-notes-generator, @types/inquirer, @types/marked, @types/node, @types/uuid, chalk, commander, copyfiles, core-js, husky, inquirer, install-deps-postmerge, is-ci, marked, mock-cwd, semantic-release, typescript, uuid, yarn)
  • chore(deps): pin dependencies (@commitlint/cli, @commitlint/config-conventional, @commitlint/prompt-cli, npm-run-all, rimraf, ts-node)
  • chore(deps): pin dependencies (@typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, eslint-config-tailored-tunes, eslint-plugin-json, eslint-plugin-security)
  • chore(deps): pin dependencies (@vitest/ui, c8, vitest)
  • chore(deps): update dependency yarn to ^1.22.19
  • chore(deps): update dependency @semantic-release/github to ^8.1.0
  • chore(deps): update dependency typescript to ^4.7.4
  • fix(deps): update dependency @types/inquirer to v9
  • fix(deps): update dependency @types/marked to v6
  • fix(deps): update dependency @types/node to v20
  • fix(deps): update dependency commander to v12
  • fix(deps): update dependency marked to v12
  • fix(deps): update dependency chalk to ^5.3.0
  • fix(deps): update dependency core-js to ^3.36.1
  • fix(deps): update dependency marked to ^4.3.0 (marked, @types/marked)
  • πŸ” Create all rate-limited PRs at once πŸ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @types/inquirer ^8.2.1
  • @types/marked ^4.0.3
  • @types/node ^18.0.0
  • chalk ^5.0.1
  • commander ^9.3.0
  • core-js ^3.19.1
  • inquirer ^9.0.0
  • marked ^4.0.17
  • @commitlint/cli ^17.0.2
  • @commitlint/config-conventional ^17.0.2
  • @commitlint/prompt-cli ^17.0.0
  • @faker-js/faker ^7.3.0
  • @meza/adr-tools ^1.0.10
  • @meza/tsconfig-base ^1.1.0
  • @ryansonshine/commitizen ^4.2.8
  • @ryansonshine/cz-conventional-changelog ^3.3.4
  • @semantic-release/changelog ^6.0.1
  • @semantic-release/commit-analyzer ^9.0.2
  • @semantic-release/git ^10.0.1
  • @semantic-release/github ^8.0.4
  • @semantic-release/npm ^9.0.1
  • @semantic-release/release-notes-generator ^10.0.3
  • @types/uuid ^8.3.4
  • @typescript-eslint/eslint-plugin ^5.29.0
  • @typescript-eslint/parser ^5.3.0
  • @vitest/ui ^0.16.0
  • c8 ^7.11.3
  • copyfiles ^2.4.1
  • eslint ^8.1.0
  • eslint-config-tailored-tunes ^5.0.2
  • eslint-plugin-json ^3.1.0
  • eslint-plugin-security ^1.5.0
  • husky ^8.0.1
  • install-deps-postmerge ^2.0.1
  • is-ci ^3.0.1
  • mock-cwd ^1.0.0
  • npm-run-all ^4.1.5
  • rimraf ^3.0.2
  • semantic-release ^19.0.3
  • ts-node ^10.8.1
  • typescript ^4.4.4
  • uuid ^8.3.2
  • vitest ^0.15.2
  • yarn ^1.22.17

  • Check this box to trigger a request for Renovate to run again on this repository

TOC Prefix support

adr generate toc -p foo/doc/adr/

expected

adr new First Decision
doc/adr/0001-first-decision.md
adr new Second Decision
doc/adr/0002-second-decision.md
adr new Third Decision
doc/adr/0003-third-decision.md
adr generate toc -p foo/doc/adr/
# Architecture Decision Records

* [1. First Decision](foo/doc/adr/0001-first-decision.md)
* [2. Second Decision](foo/doc/adr/0002-second-decision.md)
* [3. Third Decision](foo/doc/adr/0003-third-decision.md)

Graph support

adr init
doc/adr/0001-record-architecture-decisions.md
adr new An idea that seems good at the time
doc/adr/0002-an-idea-that-seems-good-at-the-time.md
adr new -s 2 A better idea
doc/adr/0003-a-better-idea.md
adr new This will work
doc/adr/0004-this-will-work.md
adr new -s 3 The end
doc/adr/0005-the-end.md
# with default root and extension in links
adr generate graph
digraph {
  node [shape=plaintext];
  subgraph {
    _1 [label="1. Record architecture decisions"; URL="0001-record-architecture-decisions.html"];
    _2 [label="2. An idea that seems good at the time"; URL="0002-an-idea-that-seems-good-at-the-time.html"];
    _1 -> _2 [style="dotted", weight=1];
    _3 [label="3. A better idea"; URL="0003-a-better-idea.html"];
    _2 -> _3 [style="dotted", weight=1];
    _4 [label="4. This will work"; URL="0004-this-will-work.html"];
    _3 -> _4 [style="dotted", weight=1];
    _5 [label="5. The end"; URL="0005-the-end.html"];
    _4 -> _5 [style="dotted", weight=1];
  }
  _3 -> _2 [label="Supercedes", weight=0]
  _5 -> _3 [label="Supercedes", weight=0]
}
# with specified root and extension in links
adr generate graph -p http://example.com/ -e .xxx
digraph {
  node [shape=plaintext];
  subgraph {
    _1 [label="1. Record architecture decisions"; URL="http://example.com/0001-record-architecture-decisions.xxx"];
    _2 [label="2. An idea that seems good at the time"; URL="http://example.com/0002-an-idea-that-seems-good-at-the-time.xxx"];
    _1 -> _2 [style="dotted", weight=1];
    _3 [label="3. A better idea"; URL="http://example.com/0003-a-better-idea.xxx"];
    _2 -> _3 [style="dotted", weight=1];
    _4 [label="4. This will work"; URL="http://example.com/0004-this-will-work.xxx"];
    _3 -> _4 [style="dotted", weight=1];
    _5 [label="5. The end"; URL="http://example.com/0005-the-end.xxx"];
    _4 -> _5 [style="dotted", weight=1];
  }
  _3 -> _2 [label="Supercedes", weight=0]
  _5 -> _3 [label="Supercedes", weight=0]
}

Funny Characters

adr new Something About Node.JS
adr new Slash/Slash/Slash/
adr new -- "-Bar-"
ls doc/adr

adr new Something About Node.JS
doc/adr/0001-something-about-node-js.md
adr new Slash/Slash/Slash/
doc/adr/0002-slash-slash-slash.md
adr new -- "-Bar-"
doc/adr/0003-bar.md
ls doc/adr
0001-something-about-node-js.md
0002-slash-slash-slash.md
0003-bar.md

work from multiple directories

adr new First Record
doc/adr/0001-first-record.md
mkdir subdir
cd subdir
adr new Second Record
../doc/adr/0002-second-record.md
adr list
../doc/adr/0001-first-record.md
../doc/adr/0002-second-record.md
cd ..
adr list
doc/adr/0001-first-record.md
doc/adr/0002-second-record.md

also for alt dir

adr init architecture-log
architecture-log/0001-record-architecture-decisions.md
adr new First Record
architecture-log/0002-first-record.md
mkdir subdir
cd subdir
adr new Second Record
../architecture-log/0003-second-record.md
adr list
../architecture-log/0001-record-architecture-decisions.md
../architecture-log/0002-first-record.md
../architecture-log/0003-second-record.md
cd ..
adr list
architecture-log/0001-record-architecture-decisions.md
architecture-log/0002-first-record.md
architecture-log/0003-second-record.md

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency typescript to v5
  • chore(deps): update dependency uuid to v9 (uuid, @types/uuid)
  • chore(deps): update eslint dependencies to v6 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • chore(deps): update local developer dependencies (major) (@commitlint/cli, @commitlint/config-conventional, @commitlint/prompt-cli, rimraf)
  • chore(deps): update semantic-release monorepo (major) (@semantic-release/commit-analyzer, @semantic-release/github, @semantic-release/npm, @semantic-release/release-notes-generator, semantic-release)
  • chore(deps): update vitest dependencies (major) (@vitest/ui, c8, vitest)
  • chore(deps): pin dependencies (@faker-js/faker, @meza/adr-tools, @meza/tsconfig-base, @ryansonshine/commitizen, @ryansonshine/cz-conventional-changelog, @semantic-release/changelog, @semantic-release/commit-analyzer, @semantic-release/git, @semantic-release/github, @semantic-release/npm, @semantic-release/release-notes-generator, @types/inquirer, @types/marked, @types/node, @types/uuid, chalk, commander, copyfiles, core-js, husky, inquirer, install-deps-postmerge, is-ci, marked, mock-cwd, semantic-release, typescript, uuid, yarn)
  • chore(deps): pin dependencies (@commitlint/cli, @commitlint/config-conventional, @commitlint/prompt-cli, npm-run-all, rimraf, ts-node)
  • chore(deps): pin dependencies (@typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, eslint-config-tailored-tunes, eslint-plugin-json, eslint-plugin-security)
  • chore(deps): pin dependencies (@vitest/ui, c8, vitest)
  • chore(deps): update dependency yarn to ^1.22.19
  • chore(deps): update dependency @semantic-release/github to ^8.1.0
  • chore(deps): update dependency typescript to ^4.7.4
  • fix(deps): update dependency @types/inquirer to v9
  • fix(deps): update dependency @types/marked to v5
  • fix(deps): update dependency @types/node to v20
  • fix(deps): update dependency commander to v11
  • fix(deps): update dependency marked to v11
  • fix(deps): update dependency chalk to ^5.3.0
  • fix(deps): update dependency core-js to ^3.35.0
  • fix(deps): update dependency marked to ^4.3.0 (marked, @types/marked)
  • πŸ” Create all rate-limited PRs at once πŸ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

  • chore(deps): update dependency @faker-js/faker to v8

Detected dependencies

npm
package.json
  • @types/inquirer ^8.2.1
  • @types/marked ^4.0.3
  • @types/node ^18.0.0
  • chalk ^5.0.1
  • commander ^9.3.0
  • core-js ^3.19.1
  • inquirer ^9.0.0
  • marked ^4.0.17
  • @commitlint/cli ^17.0.2
  • @commitlint/config-conventional ^17.0.2
  • @commitlint/prompt-cli ^17.0.0
  • @faker-js/faker ^7.3.0
  • @meza/adr-tools ^1.0.10
  • @meza/tsconfig-base ^1.1.0
  • @ryansonshine/commitizen ^4.2.8
  • @ryansonshine/cz-conventional-changelog ^3.3.4
  • @semantic-release/changelog ^6.0.1
  • @semantic-release/commit-analyzer ^9.0.2
  • @semantic-release/git ^10.0.1
  • @semantic-release/github ^8.0.4
  • @semantic-release/npm ^9.0.1
  • @semantic-release/release-notes-generator ^10.0.3
  • @types/uuid ^8.3.4
  • @typescript-eslint/eslint-plugin ^5.29.0
  • @typescript-eslint/parser ^5.3.0
  • @vitest/ui ^0.16.0
  • c8 ^7.11.3
  • copyfiles ^2.4.1
  • eslint ^8.1.0
  • eslint-config-tailored-tunes ^5.0.2
  • eslint-plugin-json ^3.1.0
  • eslint-plugin-security ^1.5.0
  • husky ^8.0.1
  • install-deps-postmerge ^2.0.1
  • is-ci ^3.0.1
  • mock-cwd ^1.0.0
  • npm-run-all ^4.1.5
  • rimraf ^3.0.2
  • semantic-release ^19.0.3
  • ts-node ^10.8.1
  • typescript ^4.4.4
  • uuid ^8.3.2
  • vitest ^0.15.2
  • yarn ^1.22.17

Superseding of issues

-s SUPERCEDED A reference (number or partial filename) of a previous decision that the new decision supercedes. A Markdown link to the superceded ADR is inserted into the Status section. The status of the superceded ADR is changed to record that it has been superceded by the new ADR.

adr new First Record
doc/adr/0001-first-record.md
adr new -s 1 Second Record
doc/adr/0002-second-record.md
head -10 doc/adr/0001-first-record.md
# 1. First Record

Date: 1992-01-12

## Status

Superceded by [2. Second Record](0002-second-record.md)

## Context

head -12 doc/adr/0002-second-record.md
# 2. Second Record

Date: 1992-01-12

## Status

Accepted

Supercedes [1. First Record](0001-first-record.md)

## Context

Linking issues when creating an adr

-l TARGET:LINK:REVERSE-LINK Links the new ADR to a previous ADR. TARGET is a reference (number or partial filename) of a previous decision. LINK is the description of the link created in the new ADR. REVERSE-LINK is the description of the link created in the existing ADR that will refer to the new ADR.

test

adr new First Record
doc/adr/0001-first-record.md
adr new Second Record
doc/adr/0002-second-record.md
adr new -l "1:Amends:Amended by" -l "2:Clarifies:Clarified by" Third Record
doc/adr/0003-third-record.md
head -12 doc/adr/0001-first-record.md
# 1. First Record

Date: 1992-01-12

## Status

Accepted

Amended by [3. Third Record](0003-third-record.md)

## Context

head -12 doc/adr/0002-second-record.md
# 2. Second Record

Date: 1992-01-12

## Status

Accepted

Clarified by [3. Third Record](0003-third-record.md)

## Context

head -14 doc/adr/0003-third-record.md
# 3. Third Record

Date: 1992-01-12

## Status

Accepted

Amends [1. First Record](0001-first-record.md)

Clarifies [2. Second Record](0002-second-record.md)

## Context

Allow template override

If the ADR directory contains a file templates/template.md, this is used as the template for the new ADR. Otherwise a default template is used

adr init adrs
adrs/0001-record-architecture-decisions.md
mkdir -p adrs/templates
cat > adrs/templates/template.md <<EOF
# TITLE

Project specific template!

# Status

STATUS

# Info

ADR Number: NUMBER

Date: DATE

EOF
adr new Aaa Bbb
adrs/0002-aaa-bbb.md
adr new Ccc Ddd
adrs/0003-ccc-ddd.md
cat adrs/0002-aaa-bbb.md
# Aaa Bbb

Project specific template!

# Status

Accepted

# Info

ADR Number: 2

Date: 1992-01-12

cat adrs/0003-ccc-ddd.md
# Ccc Ddd

Project specific template!

# Status

Accepted

# Info

ADR Number: 3

Date: 1992-01-12

List records

adr list
The doc/adr directory does not exist
adr new first
doc/adr/0001-first.md
adr list
doc/adr/0001-first.md
adr new second
doc/adr/0002-second.md
adr list
doc/adr/0001-first.md
doc/adr/0002-second.md
adr new third
doc/adr/0003-third.md
adr list
doc/adr/0001-first.md
doc/adr/0002-second.md
doc/adr/0003-third.md

Multiple links and supersedes

## Multiple -s and -l options can be given, so that the new ADR can supercede 
## or link to multiple existing ADRs.
##
## E.g. to create a new ADR with the title "Use MySQL Database":
##
##     adr new Use MySQL Database
##
## E.g. to create a new ADR that supercedes ADR 12:
##
##     adr new -s 12 Use PostgreSQL Database
##
## E.g. to create a new ADR that supercedes ADRs 3 and 4, and amends ADR 5:
##
##     adr new -s 3 -s 4 -l "5:Amends:Amended by" Use Riak CRDTs to cope with scale
##

tests

supersede

adr new First Record
doc/adr/0001-first-record.md
adr new Second Record
doc/adr/0002-second-record.md
adr new -s 1 -s 2 Third Record
doc/adr/0003-third-record.md
head -8 doc/adr/0001-first-record.md
# 1. First Record

Date: 1992-01-12

## Status

Superceded by [3. Third Record](0003-third-record.md)

head -8 doc/adr/0002-second-record.md
# 2. Second Record

Date: 1992-01-12

## Status

Superceded by [3. Third Record](0003-third-record.md)

head -12 doc/adr/0003-third-record.md
# 3. Third Record

Date: 1992-01-12

## Status

Accepted

Supercedes [1. First Record](0001-first-record.md)

Supercedes [2. Second Record](0002-second-record.md)

Linking issues from adr link

## usage: adr link SOURCE LINK TARGET REVERSE-LINK
##
## Creates a link between two ADRs, from SOURCE to TARGET new.
## SOURCE and TARGET are both a reference (number or partial filename) to an ADR
## LINK is the description of the link created in the SOURCE.
## REVERSE-LINK is the description of the link created in the TARGET
##
## E.g. to create link ADR 12 to ADR 10
##
##     adr link 12 Amends 10 "Amended by"
##

Editor Support for newly created adrs

The ADR is opened for editing in the editor specified by the VISUAL or EDITOR environment variable (VISUAL is preferred; EDITOR is used if VISUAL is not set). After editing, the file name of the ADR is output to stdout, so the command can be used in scripts.

The automated release is failing 🚨

🚨 The automated release from the main branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


The release 1.0.10 on branch main cannot be published as it is out of range.

Based on the releases published on other branches, only versions within the range >=1.0.9 <1.0.10 can be published from branch main.

The following commits are responsible for the invalid release:

  • fix(ci): fixed the cach key (6149a19)
  • fix: added missing dependencies (b07d0a6)

Those commits should be moved to a valid branch with git merge or git cherry-pick and removed from branch main with git revert or git reset.

A valid branch could be next.

See the workflow configuration documentation for more details.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.