├── .githooks └── pre-commit ├── .github ├── release.yml └── workflows │ └── test.yml ├── .gitignore ├── .mocharc.json ├── LICENSE ├── README.md ├── bin └── cmd.mjs ├── package.json ├── src ├── cli.ts └── index.ts ├── test ├── index.test.ts └── snapshots │ ├── app.use-function │ ├── app.ts │ ├── output.json │ └── output.md │ ├── app │ ├── output.json │ ├── output.md │ ├── package.json │ └── src │ │ ├── game.ts │ │ ├── index.ts │ │ └── user.ts │ ├── req.get-but-it-is-not-router │ ├── app.ts │ ├── output.json │ └── output.md │ ├── res.set-get-but-it-is-not-router │ ├── app.ts │ ├── output.json │ └── output.md │ └── skip-wrong-path │ ├── output.json │ ├── output.md │ ├── package.json │ └── src │ ├── game.ts │ └── index.ts ├── tsconfig.json └── yarn.lock /.githooks/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | npx --no-install lint-staged 3 | -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/.mocharc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/README.md -------------------------------------------------------------------------------- /bin/cmd.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/bin/cmd.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/index.test.ts -------------------------------------------------------------------------------- /test/snapshots/app.use-function/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app.use-function/app.ts -------------------------------------------------------------------------------- /test/snapshots/app.use-function/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app.use-function/output.json -------------------------------------------------------------------------------- /test/snapshots/app.use-function/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app.use-function/output.md -------------------------------------------------------------------------------- /test/snapshots/app/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app/output.json -------------------------------------------------------------------------------- /test/snapshots/app/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app/output.md -------------------------------------------------------------------------------- /test/snapshots/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app/package.json -------------------------------------------------------------------------------- /test/snapshots/app/src/game.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app/src/game.ts -------------------------------------------------------------------------------- /test/snapshots/app/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app/src/index.ts -------------------------------------------------------------------------------- /test/snapshots/app/src/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/app/src/user.ts -------------------------------------------------------------------------------- /test/snapshots/req.get-but-it-is-not-router/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/req.get-but-it-is-not-router/app.ts -------------------------------------------------------------------------------- /test/snapshots/req.get-but-it-is-not-router/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/req.get-but-it-is-not-router/output.json -------------------------------------------------------------------------------- /test/snapshots/req.get-but-it-is-not-router/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/req.get-but-it-is-not-router/output.md -------------------------------------------------------------------------------- /test/snapshots/res.set-get-but-it-is-not-router/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/res.set-get-but-it-is-not-router/app.ts -------------------------------------------------------------------------------- /test/snapshots/res.set-get-but-it-is-not-router/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/res.set-get-but-it-is-not-router/output.json -------------------------------------------------------------------------------- /test/snapshots/res.set-get-but-it-is-not-router/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/res.set-get-but-it-is-not-router/output.md -------------------------------------------------------------------------------- /test/snapshots/skip-wrong-path/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/skip-wrong-path/output.json -------------------------------------------------------------------------------- /test/snapshots/skip-wrong-path/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/skip-wrong-path/output.md -------------------------------------------------------------------------------- /test/snapshots/skip-wrong-path/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/skip-wrong-path/package.json -------------------------------------------------------------------------------- /test/snapshots/skip-wrong-path/src/game.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/skip-wrong-path/src/game.ts -------------------------------------------------------------------------------- /test/snapshots/skip-wrong-path/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/test/snapshots/skip-wrong-path/src/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/express-router-dependency-graph/HEAD/yarn.lock --------------------------------------------------------------------------------