Skip to content

Commit 50fbc5b

Browse files
committed
Add DPDM dependency check
1 parent 0e568a7 commit 50fbc5b

File tree

5 files changed

+555
-1
lines changed

5 files changed

+555
-1
lines changed

.github/workflows/check.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,16 @@ jobs:
147147
node_auth_token: ${{ secrets.GH_TOKEN }}
148148
- name: Typecheck
149149
run: npm run typecheck
150+
dependencies:
151+
name: Dependencies
152+
runs-on: ubuntu-latest
153+
timeout-minutes: 30
154+
steps:
155+
- name: Checkout
156+
uses: actions/checkout@v3
157+
- name: Setup
158+
uses: ./.github/actions/setup
159+
with:
160+
node_auth_token: ${{ secrets.GH_TOKEN }}
161+
- name: Analyze dependencies
162+
run: npm run dependencies

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Bootstrap a new TypeScript module in five minutes or less.
2020
- [Prettier] code.
2121
- Futuristic debuggable unit testing with [AVA].
2222
- Code coverage reporting with [Istanbul] and [c8].
23+
- Robust static dependency analysis with [DPDM].
2324
- Fully automated version management and package publishing with [semantic-release].
2425
- Continuous testing and package publishing with [GitHub Actions].
2526
- Consistent coding with [EditorConfig].
@@ -29,6 +30,7 @@ Bootstrap a new TypeScript module in five minutes or less.
2930

3031
[AVA]: https://github.com/avajs/ava
3132
[code owners]: https://github.blog/2017-07-06-introducing-code-owners/
33+
[DPDM]: https://github.com/acrazing/dpdm
3234
[ECMAScript module]: https://nodejs.org/api/esm.html
3335
[ESLint]: https://eslint.org/
3436
[EditorConfig]: https://editorconfig.org/

makenew.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ makenew () {
5555
read -p '> Short package description (Foos and bars.): ' mk_description
5656
read -p '> GitHub repository name (my-repo): ' mk_repo
5757

58-
sed_delete README.md '9,99d'
58+
sed_delete README.md '9,101d'
5959
sed_insert README.md '9i' 'TODO'
6060

6161
find_replace "s/^ \"version\": \".*\"/ \"version\": \"0.0.0\"/g"

0 commit comments

Comments
 (0)