├── .borp.yaml ├── .gitattributes ├── .github ├── dependabot.yml ├── stale.yml └── workflows │ └── ci.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── README.md ├── eslint.config.js ├── index.js ├── lib ├── find-plugins.js └── runtime.js ├── package.json ├── scripts ├── unit-typescript-esbuild.js ├── unit-typescript-esm.js ├── unit-typescript-native-type-stripping.js ├── unit-typescript-swc-node-register.js ├── unit-typescript-tsimp.js ├── unit-typescript-tsm.js └── unit-typescript-tsx.js ├── test ├── commonjs │ ├── autohooks-basic.js │ ├── autohooks-cascade.js │ ├── autohooks-disabled.js │ ├── autohooks-overwrite.js │ ├── autohooks │ │ ├── basic.js │ │ ├── cascade.js │ │ ├── disabled.js │ │ ├── overwrite.js │ │ └── routes │ │ │ ├── .autohooks.js │ │ │ ├── child │ │ │ ├── .autohooks.js │ │ │ ├── grandchild │ │ │ │ ├── .autohooks.js │ │ │ │ └── routes.js │ │ │ └── routes.js │ │ │ ├── routes.js │ │ │ └── sibling │ │ │ └── routes.js │ ├── babel-node.js │ ├── babel-node │ │ └── routes │ │ │ ├── foo │ │ │ └── index.ts │ │ │ └── root.ts │ ├── basic.js │ ├── basic │ │ ├── app.js │ │ ├── defaultPrefix │ │ │ ├── defaultPrefix.js │ │ │ ├── noDefaultPrefix.js │ │ │ ├── overridePrefix.js │ │ │ └── prefixed.js │ │ ├── encapsulate │ │ │ ├── plugin1.js │ │ │ └── plugin2.js │ │ ├── foo │ │ │ ├── a │ │ │ │ └── b │ │ │ │ │ └── c │ │ │ │ │ └── d.js │ │ │ ├── autoroute │ │ │ │ ├── get.js │ │ │ │ └── list.js │ │ │ ├── autowrap │ │ │ │ ├── get.js │ │ │ │ └── list.js │ │ │ ├── bar │ │ │ │ ├── index.js │ │ │ │ └── is-not-loaded.js │ │ │ ├── configPrefix.js │ │ │ ├── configPrefixCallback.js │ │ │ ├── decorator.js │ │ │ ├── exports-default.js │ │ │ ├── ignored.test.js │ │ │ ├── ignored │ │ │ │ └── index.js │ │ │ ├── manualprefix │ │ │ │ ├── get.js │ │ │ │ ├── index.js │ │ │ │ └── list.js │ │ │ ├── options.js │ │ │ ├── prefixed.js │ │ │ ├── skipAutoload.js │ │ │ ├── something.js │ │ │ └── something.sh │ │ ├── index-pattern │ │ │ ├── custom.js │ │ │ └── index.js │ │ ├── index │ │ │ ├── bar │ │ │ │ └── index.js │ │ │ ├── ignored.js │ │ │ └── index.js │ │ ├── one │ │ │ ├── index.js │ │ │ └── two │ │ │ │ └── index.js │ │ ├── rewrite-route-prefix │ │ │ ├── index.js │ │ │ └── two │ │ │ │ ├── index.js │ │ │ │ └── three │ │ │ │ ├── empty │ │ │ │ └── two │ │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ ├── routeParams │ │ │ ├── foo │ │ │ │ ├── _id1 │ │ │ │ │ ├── bar │ │ │ │ │ │ └── _id2 │ │ │ │ │ │ │ └── index.js │ │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ │ └── index.js │ │ └── skip │ │ │ └── noJS │ │ │ └── .gitignore │ ├── cyclic-dependency │ │ ├── app.js │ │ └── lib │ │ │ ├── a.js │ │ │ └── b.js │ ├── cyclic.js │ ├── deep.js │ ├── deep │ │ ├── app.js │ │ └── routes │ │ │ └── level-1 │ │ │ └── level-2 │ │ │ └── routes.js │ ├── dependency.js │ ├── dependency │ │ ├── app.js │ │ └── plugins │ │ │ ├── deep │ │ │ └── plugin-d.js │ │ │ ├── plugin-a.js │ │ │ ├── plugin-b.js │ │ │ ├── plugin-c.js │ │ │ ├── plugin-e.js │ │ │ ├── plugin-f.js │ │ │ └── plugin-g.js │ ├── error.js │ ├── graph-dependency.js │ ├── graph-dependency │ │ ├── app.js │ │ └── lib │ │ │ ├── a.js │ │ │ ├── b.js │ │ │ ├── c.js │ │ │ └── d.js │ ├── index-error │ │ ├── app.js │ │ └── package │ │ │ ├── answer.js │ │ │ └── package.json │ ├── index-package.js │ ├── index-package │ │ ├── app.js │ │ ├── foo │ │ │ └── bar.js │ │ ├── index.js │ │ └── package.json │ ├── module-error │ │ ├── app.js │ │ └── lib │ │ │ └── a.mjs │ ├── non-plugin.js │ ├── non-plugin │ │ ├── app.js │ │ └── lib │ │ │ ├── a-plugin.js │ │ │ └── non-plugin.js │ ├── options.js │ ├── options │ │ ├── app.js │ │ ├── lib-plugin.js │ │ ├── plugins-2 │ │ │ └── plugin-x.js │ │ ├── plugins-3 │ │ │ └── plugin-y.js │ │ └── plugins │ │ │ ├── plugin-a.js │ │ │ ├── plugin-b.js │ │ │ ├── plugin-c.js │ │ │ ├── plugin-d.js │ │ │ └── plugin-e.js │ ├── package.json │ ├── route-parameters-basic.js │ ├── route-parameters-disabled.js │ ├── route-parameters │ │ ├── basic.js │ │ ├── disabled.js │ │ └── routes │ │ │ ├── __country-__language │ │ │ └── actions.js │ │ │ └── users │ │ │ ├── _id │ │ │ └── actions.js │ │ │ └── index.js │ ├── syntax-error │ │ ├── app.js │ │ └── lib │ │ │ └── a.js │ ├── ts-error │ │ ├── app.js │ │ └── lib │ │ │ └── a.ts │ └── ts-node │ │ └── routes │ │ ├── bar │ │ └── index.ts │ │ ├── foo │ │ ├── baz │ │ │ └── index.ts │ │ └── index.ts │ │ └── root.ts ├── issues │ ├── 369 │ │ ├── invalid-autohooks │ │ │ └── .autohooks.js │ │ ├── invalid-index-type │ │ │ └── index.ts │ │ ├── non-SyntaxError │ │ │ └── .autohooks.js │ │ ├── routes │ │ │ ├── .autohooks.js │ │ │ ├── child │ │ │ │ ├── .autohooks.js │ │ │ │ └── routes.js │ │ │ ├── promisified │ │ │ │ ├── .autohooks.js │ │ │ │ └── routes.js │ │ │ └── routes.js │ │ └── test.js │ ├── 374 │ │ ├── routes │ │ │ ├── entity │ │ │ │ ├── .autohooks.js │ │ │ │ ├── _entity │ │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ │ └── index.js │ │ └── test.js │ ├── 376 │ │ ├── routes │ │ │ ├── entity │ │ │ │ ├── .autohooks.js │ │ │ │ └── index.js │ │ │ └── index.js │ │ └── test.js │ ├── 388 │ │ ├── routes │ │ │ └── foo.tsx │ │ └── test.js │ ├── 453 │ │ ├── routes │ │ │ ├── autohooks.mjs │ │ │ ├── first │ │ │ │ ├── autohooks.mjs │ │ │ │ ├── first.route.mjs │ │ │ │ └── fourth │ │ │ │ │ ├── autohooks.mjs │ │ │ │ │ └── fourth.route.mjs │ │ │ ├── global.route.mjs │ │ │ └── second │ │ │ │ ├── autohooks.mjs │ │ │ │ └── second.route.mjs │ │ └── test.js │ └── 462 │ │ ├── routes │ │ ├── api.mjs │ │ ├── empty.cjs │ │ ├── empty.js │ │ ├── empty.mjs │ │ ├── hello.mjs │ │ └── object.mjs │ │ └── test.js ├── module │ ├── autohooks.js │ ├── autohooks │ │ ├── basic.mjs │ │ ├── cascade.mjs │ │ ├── disabled.mjs │ │ ├── overwrite.mjs │ │ └── routes │ │ │ ├── .autohooks.mjs │ │ │ ├── child │ │ │ ├── .autohooks.mjs │ │ │ ├── grandchild │ │ │ │ ├── .autohooks.mjs │ │ │ │ └── routes.mjs │ │ │ └── routes.mjs │ │ │ ├── routes.mjs │ │ │ └── sibling │ │ │ └── routes.mjs │ ├── basic.js │ ├── basic │ │ ├── app.js │ │ ├── defaultPrefix │ │ │ ├── defaultPrefix.js │ │ │ ├── noDefaultPrefix.js │ │ │ ├── overridePrefix.js │ │ │ └── prefixed.js │ │ ├── foo │ │ │ ├── autoroute │ │ │ │ ├── get.js │ │ │ │ └── list.js │ │ │ ├── autowrap │ │ │ │ ├── get.js │ │ │ │ └── list.js │ │ │ ├── bar │ │ │ │ └── index.js │ │ │ ├── commonjs.cjs │ │ │ ├── configPrefix.js │ │ │ ├── configPrefixCallback.js │ │ │ ├── ignored.test.js │ │ │ ├── ignored │ │ │ │ └── index.js │ │ │ ├── manualprefix │ │ │ │ ├── get.js │ │ │ │ ├── index.js │ │ │ │ └── list.js │ │ │ ├── module.mjs │ │ │ ├── options.js │ │ │ ├── prefixed.js │ │ │ ├── skipAutoload.js │ │ │ ├── something.js │ │ │ └── something.sh │ │ ├── nested │ │ │ └── shallow │ │ │ │ ├── deep │ │ │ │ ├── deeper │ │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ ├── one │ │ │ ├── index.js │ │ │ └── two │ │ │ │ └── index.js │ │ ├── skip │ │ │ └── noJS │ │ │ │ └── .gitignore │ │ └── ten │ │ │ ├── index.js │ │ │ └── nine │ │ │ └── index.js │ ├── dependency.js │ ├── dependency │ │ ├── app.js │ │ └── plugins │ │ │ ├── plugin-a.js │ │ │ ├── plugin-b.js │ │ │ ├── plugin-c.js │ │ │ ├── plugin-d.js │ │ │ ├── plugin-e.js │ │ │ ├── plugin-f.js │ │ │ └── plugin-g.js │ ├── esm-import.js │ ├── esm-import │ │ ├── app-default.js │ │ ├── app-named.js │ │ ├── app-star-default.js │ │ ├── app-star-named.js │ │ └── plugins │ │ │ ├── default │ │ │ └── index.js │ │ │ ├── named │ │ │ └── index.js │ │ │ ├── star-default │ │ │ └── index.js │ │ │ └── star-named │ │ │ └── index.js │ ├── index-package.js │ ├── index-package │ │ ├── app.js │ │ ├── foo │ │ │ └── bar.js │ │ ├── index.js │ │ └── package.json │ ├── options.js │ ├── options │ │ ├── app.js │ │ ├── lib-plugin.js │ │ ├── plugins-2 │ │ │ └── plugin-x.js │ │ ├── plugins-3 │ │ │ └── plugin-y.js │ │ └── plugins │ │ │ ├── plugin-a.js │ │ │ ├── plugin-b.js │ │ │ ├── plugin-c.js │ │ │ ├── plugin-d.js │ │ │ └── plugin-e.js │ ├── package.json │ ├── route-parameters.js │ └── route-parameters │ │ ├── basic.mjs │ │ ├── disabled.mjs │ │ └── routes │ │ ├── index.mjs │ │ ├── pages │ │ ├── _id │ │ │ └── actions.mjs │ │ └── routes.mjs │ │ └── users │ │ └── _id │ │ └── actions.mjs ├── typescript-common │ ├── basic │ │ ├── app.ts │ │ └── foo │ │ │ ├── javascript.js │ │ │ ├── shouldBeIgnored.d.ts │ │ │ └── typescript.ts │ └── index.ts ├── typescript-esm │ ├── app │ │ └── index.ts │ ├── forceESM.ts │ └── package.json ├── typescript-jest │ ├── babel-node │ │ └── index.test.ts │ ├── basic │ │ ├── app.ts │ │ ├── basic.test.ts │ │ └── foo │ │ │ └── typescript.ts │ └── integration │ │ ├── instance.ts │ │ └── integration.test.ts ├── typescript │ ├── basic.ts │ └── basic │ │ ├── app.ts │ │ └── foo │ │ ├── javascript.js │ │ ├── shouldBeIgnored.d.ts │ │ └── typescript.ts └── vitest │ ├── basic.test.ts │ └── filter.test.ts ├── tsconfig.tsimp.json ├── types ├── index.d.ts └── index.test-d.ts └── vitest.config.ts /.borp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/.borp.yaml -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-scripts=true 2 | package-lock=false 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/index.js -------------------------------------------------------------------------------- /lib/find-plugins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/lib/find-plugins.js -------------------------------------------------------------------------------- /lib/runtime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/lib/runtime.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/package.json -------------------------------------------------------------------------------- /scripts/unit-typescript-esbuild.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-esbuild.js -------------------------------------------------------------------------------- /scripts/unit-typescript-esm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-esm.js -------------------------------------------------------------------------------- /scripts/unit-typescript-native-type-stripping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-native-type-stripping.js -------------------------------------------------------------------------------- /scripts/unit-typescript-swc-node-register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-swc-node-register.js -------------------------------------------------------------------------------- /scripts/unit-typescript-tsimp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-tsimp.js -------------------------------------------------------------------------------- /scripts/unit-typescript-tsm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-tsm.js -------------------------------------------------------------------------------- /scripts/unit-typescript-tsx.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/scripts/unit-typescript-tsx.js -------------------------------------------------------------------------------- /test/commonjs/autohooks-basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks-basic.js -------------------------------------------------------------------------------- /test/commonjs/autohooks-cascade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks-cascade.js -------------------------------------------------------------------------------- /test/commonjs/autohooks-disabled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks-disabled.js -------------------------------------------------------------------------------- /test/commonjs/autohooks-overwrite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks-overwrite.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/basic.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/cascade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/cascade.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/disabled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/disabled.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/overwrite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/overwrite.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/.autohooks.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/child/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/child/.autohooks.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/child/grandchild/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/child/grandchild/.autohooks.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/child/grandchild/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/child/grandchild/routes.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/child/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/child/routes.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/routes.js -------------------------------------------------------------------------------- /test/commonjs/autohooks/routes/sibling/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/autohooks/routes/sibling/routes.js -------------------------------------------------------------------------------- /test/commonjs/babel-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/babel-node.js -------------------------------------------------------------------------------- /test/commonjs/babel-node/routes/foo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/babel-node/routes/foo/index.ts -------------------------------------------------------------------------------- /test/commonjs/babel-node/routes/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/babel-node/routes/root.ts -------------------------------------------------------------------------------- /test/commonjs/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic.js -------------------------------------------------------------------------------- /test/commonjs/basic/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/app.js -------------------------------------------------------------------------------- /test/commonjs/basic/defaultPrefix/defaultPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/defaultPrefix/defaultPrefix.js -------------------------------------------------------------------------------- /test/commonjs/basic/defaultPrefix/noDefaultPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/defaultPrefix/noDefaultPrefix.js -------------------------------------------------------------------------------- /test/commonjs/basic/defaultPrefix/overridePrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/defaultPrefix/overridePrefix.js -------------------------------------------------------------------------------- /test/commonjs/basic/defaultPrefix/prefixed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/defaultPrefix/prefixed.js -------------------------------------------------------------------------------- /test/commonjs/basic/encapsulate/plugin1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/encapsulate/plugin1.js -------------------------------------------------------------------------------- /test/commonjs/basic/encapsulate/plugin2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/encapsulate/plugin2.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/a/b/c/d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/a/b/c/d.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/autoroute/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/autoroute/get.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/autoroute/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/autoroute/list.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/autowrap/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/autowrap/get.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/autowrap/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/autowrap/list.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/bar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/bar/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/bar/is-not-loaded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/bar/is-not-loaded.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/configPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/configPrefix.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/configPrefixCallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/configPrefixCallback.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/decorator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/decorator.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/exports-default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/exports-default.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/ignored.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | process.exit(1) 4 | -------------------------------------------------------------------------------- /test/commonjs/basic/foo/ignored/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | process.exit(1) 4 | -------------------------------------------------------------------------------- /test/commonjs/basic/foo/manualprefix/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/manualprefix/get.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/manualprefix/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/manualprefix/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/manualprefix/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/manualprefix/list.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/options.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/prefixed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/prefixed.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/skipAutoload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/skipAutoload.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/something.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/foo/something.js -------------------------------------------------------------------------------- /test/commonjs/basic/foo/something.sh: -------------------------------------------------------------------------------- 1 | echo "hello world" 2 | -------------------------------------------------------------------------------- /test/commonjs/basic/index-pattern/custom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/index-pattern/custom.js -------------------------------------------------------------------------------- /test/commonjs/basic/index-pattern/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/index-pattern/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/index/bar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/index/bar/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/index/ignored.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/index/ignored.js -------------------------------------------------------------------------------- /test/commonjs/basic/index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/index/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/one/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/one/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/one/two/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/one/two/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/rewrite-route-prefix/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/rewrite-route-prefix/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/rewrite-route-prefix/two/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/rewrite-route-prefix/two/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/rewrite-route-prefix/two/three/empty/two/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/rewrite-route-prefix/two/three/empty/two/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/rewrite-route-prefix/two/three/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/rewrite-route-prefix/two/three/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/routeParams/foo/_id1/bar/_id2/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/routeParams/foo/_id1/bar/_id2/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/routeParams/foo/_id1/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/routeParams/foo/_id1/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/routeParams/foo/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/routeParams/foo/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/routeParams/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/basic/routeParams/index.js -------------------------------------------------------------------------------- /test/commonjs/basic/skip/noJS/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | *.js 3 | -------------------------------------------------------------------------------- /test/commonjs/cyclic-dependency/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/cyclic-dependency/app.js -------------------------------------------------------------------------------- /test/commonjs/cyclic-dependency/lib/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/cyclic-dependency/lib/a.js -------------------------------------------------------------------------------- /test/commonjs/cyclic-dependency/lib/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/cyclic-dependency/lib/b.js -------------------------------------------------------------------------------- /test/commonjs/cyclic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/cyclic.js -------------------------------------------------------------------------------- /test/commonjs/deep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/deep.js -------------------------------------------------------------------------------- /test/commonjs/deep/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/deep/app.js -------------------------------------------------------------------------------- /test/commonjs/deep/routes/level-1/level-2/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/deep/routes/level-1/level-2/routes.js -------------------------------------------------------------------------------- /test/commonjs/dependency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency.js -------------------------------------------------------------------------------- /test/commonjs/dependency/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/app.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/deep/plugin-d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/deep/plugin-d.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/plugin-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/plugin-a.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/plugin-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/plugin-b.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/plugin-c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/plugin-c.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/plugin-e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/plugin-e.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/plugin-f.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/plugin-f.js -------------------------------------------------------------------------------- /test/commonjs/dependency/plugins/plugin-g.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/dependency/plugins/plugin-g.js -------------------------------------------------------------------------------- /test/commonjs/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/error.js -------------------------------------------------------------------------------- /test/commonjs/graph-dependency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/graph-dependency.js -------------------------------------------------------------------------------- /test/commonjs/graph-dependency/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/graph-dependency/app.js -------------------------------------------------------------------------------- /test/commonjs/graph-dependency/lib/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/graph-dependency/lib/a.js -------------------------------------------------------------------------------- /test/commonjs/graph-dependency/lib/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/graph-dependency/lib/b.js -------------------------------------------------------------------------------- /test/commonjs/graph-dependency/lib/c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/graph-dependency/lib/c.js -------------------------------------------------------------------------------- /test/commonjs/graph-dependency/lib/d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/graph-dependency/lib/d.js -------------------------------------------------------------------------------- /test/commonjs/index-error/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/index-error/app.js -------------------------------------------------------------------------------- /test/commonjs/index-error/package/answer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/index-error/package/answer.js -------------------------------------------------------------------------------- /test/commonjs/index-error/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "answer" 3 | } 4 | -------------------------------------------------------------------------------- /test/commonjs/index-package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/index-package.js -------------------------------------------------------------------------------- /test/commonjs/index-package/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/index-package/app.js -------------------------------------------------------------------------------- /test/commonjs/index-package/foo/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/index-package/foo/bar.js -------------------------------------------------------------------------------- /test/commonjs/index-package/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/index-package/index.js -------------------------------------------------------------------------------- /test/commonjs/index-package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "index-package" 3 | } 4 | -------------------------------------------------------------------------------- /test/commonjs/module-error/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/module-error/app.js -------------------------------------------------------------------------------- /test/commonjs/module-error/lib/a.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/module-error/lib/a.mjs -------------------------------------------------------------------------------- /test/commonjs/non-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/non-plugin.js -------------------------------------------------------------------------------- /test/commonjs/non-plugin/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/non-plugin/app.js -------------------------------------------------------------------------------- /test/commonjs/non-plugin/lib/a-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/non-plugin/lib/a-plugin.js -------------------------------------------------------------------------------- /test/commonjs/non-plugin/lib/non-plugin.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | foo: 'foo' 5 | } 6 | -------------------------------------------------------------------------------- /test/commonjs/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options.js -------------------------------------------------------------------------------- /test/commonjs/options/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/app.js -------------------------------------------------------------------------------- /test/commonjs/options/lib-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/lib-plugin.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins-2/plugin-x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins-2/plugin-x.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins-3/plugin-y.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins-3/plugin-y.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins/plugin-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins/plugin-a.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins/plugin-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins/plugin-b.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins/plugin-c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins/plugin-c.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins/plugin-d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins/plugin-d.js -------------------------------------------------------------------------------- /test/commonjs/options/plugins/plugin-e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/options/plugins/plugin-e.js -------------------------------------------------------------------------------- /test/commonjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } -------------------------------------------------------------------------------- /test/commonjs/route-parameters-basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters-basic.js -------------------------------------------------------------------------------- /test/commonjs/route-parameters-disabled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters-disabled.js -------------------------------------------------------------------------------- /test/commonjs/route-parameters/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters/basic.js -------------------------------------------------------------------------------- /test/commonjs/route-parameters/disabled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters/disabled.js -------------------------------------------------------------------------------- /test/commonjs/route-parameters/routes/__country-__language/actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters/routes/__country-__language/actions.js -------------------------------------------------------------------------------- /test/commonjs/route-parameters/routes/users/_id/actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters/routes/users/_id/actions.js -------------------------------------------------------------------------------- /test/commonjs/route-parameters/routes/users/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/route-parameters/routes/users/index.js -------------------------------------------------------------------------------- /test/commonjs/syntax-error/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/syntax-error/app.js -------------------------------------------------------------------------------- /test/commonjs/syntax-error/lib/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/syntax-error/lib/a.js -------------------------------------------------------------------------------- /test/commonjs/ts-error/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/ts-error/app.js -------------------------------------------------------------------------------- /test/commonjs/ts-error/lib/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/ts-error/lib/a.ts -------------------------------------------------------------------------------- /test/commonjs/ts-node/routes/bar/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/ts-node/routes/bar/index.ts -------------------------------------------------------------------------------- /test/commonjs/ts-node/routes/foo/baz/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/ts-node/routes/foo/baz/index.ts -------------------------------------------------------------------------------- /test/commonjs/ts-node/routes/foo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/ts-node/routes/foo/index.ts -------------------------------------------------------------------------------- /test/commonjs/ts-node/routes/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/commonjs/ts-node/routes/root.ts -------------------------------------------------------------------------------- /test/issues/369/invalid-autohooks/.autohooks.js: -------------------------------------------------------------------------------- 1 | @ 2 | -------------------------------------------------------------------------------- /test/issues/369/invalid-index-type/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issues/369/non-SyntaxError/.autohooks.js: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /test/issues/369/routes/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/routes/.autohooks.js -------------------------------------------------------------------------------- /test/issues/369/routes/child/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/routes/child/.autohooks.js -------------------------------------------------------------------------------- /test/issues/369/routes/child/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/routes/child/routes.js -------------------------------------------------------------------------------- /test/issues/369/routes/promisified/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/routes/promisified/.autohooks.js -------------------------------------------------------------------------------- /test/issues/369/routes/promisified/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/routes/promisified/routes.js -------------------------------------------------------------------------------- /test/issues/369/routes/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/routes/routes.js -------------------------------------------------------------------------------- /test/issues/369/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/369/test.js -------------------------------------------------------------------------------- /test/issues/374/routes/entity/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/374/routes/entity/.autohooks.js -------------------------------------------------------------------------------- /test/issues/374/routes/entity/_entity/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/374/routes/entity/_entity/index.js -------------------------------------------------------------------------------- /test/issues/374/routes/entity/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/374/routes/entity/index.js -------------------------------------------------------------------------------- /test/issues/374/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/374/routes/index.js -------------------------------------------------------------------------------- /test/issues/374/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/374/test.js -------------------------------------------------------------------------------- /test/issues/376/routes/entity/.autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/376/routes/entity/.autohooks.js -------------------------------------------------------------------------------- /test/issues/376/routes/entity/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/376/routes/entity/index.js -------------------------------------------------------------------------------- /test/issues/376/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/376/routes/index.js -------------------------------------------------------------------------------- /test/issues/376/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/376/test.js -------------------------------------------------------------------------------- /test/issues/388/routes/foo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/388/routes/foo.tsx -------------------------------------------------------------------------------- /test/issues/388/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/388/test.js -------------------------------------------------------------------------------- /test/issues/453/routes/autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/autohooks.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/first/autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/first/autohooks.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/first/first.route.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/first/first.route.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/first/fourth/autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/first/fourth/autohooks.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/first/fourth/fourth.route.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/first/fourth/fourth.route.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/global.route.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/global.route.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/second/autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/second/autohooks.mjs -------------------------------------------------------------------------------- /test/issues/453/routes/second/second.route.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/routes/second/second.route.mjs -------------------------------------------------------------------------------- /test/issues/453/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/453/test.js -------------------------------------------------------------------------------- /test/issues/462/routes/api.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/462/routes/api.mjs -------------------------------------------------------------------------------- /test/issues/462/routes/empty.cjs: -------------------------------------------------------------------------------- 1 | // cjs empty file 2 | -------------------------------------------------------------------------------- /test/issues/462/routes/empty.js: -------------------------------------------------------------------------------- 1 | // empty file 2 | -------------------------------------------------------------------------------- /test/issues/462/routes/empty.mjs: -------------------------------------------------------------------------------- 1 | // mjs empty file 2 | -------------------------------------------------------------------------------- /test/issues/462/routes/hello.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/462/routes/hello.mjs -------------------------------------------------------------------------------- /test/issues/462/routes/object.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/462/routes/object.mjs -------------------------------------------------------------------------------- /test/issues/462/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/issues/462/test.js -------------------------------------------------------------------------------- /test/module/autohooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks.js -------------------------------------------------------------------------------- /test/module/autohooks/basic.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/basic.mjs -------------------------------------------------------------------------------- /test/module/autohooks/cascade.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/cascade.mjs -------------------------------------------------------------------------------- /test/module/autohooks/disabled.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/disabled.mjs -------------------------------------------------------------------------------- /test/module/autohooks/overwrite.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/overwrite.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/.autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/.autohooks.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/child/.autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/child/.autohooks.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/child/grandchild/.autohooks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/child/grandchild/.autohooks.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/child/grandchild/routes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/child/grandchild/routes.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/child/routes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/child/routes.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/routes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/routes.mjs -------------------------------------------------------------------------------- /test/module/autohooks/routes/sibling/routes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/autohooks/routes/sibling/routes.mjs -------------------------------------------------------------------------------- /test/module/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic.js -------------------------------------------------------------------------------- /test/module/basic/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/app.js -------------------------------------------------------------------------------- /test/module/basic/defaultPrefix/defaultPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/defaultPrefix/defaultPrefix.js -------------------------------------------------------------------------------- /test/module/basic/defaultPrefix/noDefaultPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/defaultPrefix/noDefaultPrefix.js -------------------------------------------------------------------------------- /test/module/basic/defaultPrefix/overridePrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/defaultPrefix/overridePrefix.js -------------------------------------------------------------------------------- /test/module/basic/defaultPrefix/prefixed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/defaultPrefix/prefixed.js -------------------------------------------------------------------------------- /test/module/basic/foo/autoroute/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/autoroute/get.js -------------------------------------------------------------------------------- /test/module/basic/foo/autoroute/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/autoroute/list.js -------------------------------------------------------------------------------- /test/module/basic/foo/autowrap/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/autowrap/get.js -------------------------------------------------------------------------------- /test/module/basic/foo/autowrap/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/autowrap/list.js -------------------------------------------------------------------------------- /test/module/basic/foo/bar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/bar/index.js -------------------------------------------------------------------------------- /test/module/basic/foo/commonjs.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/commonjs.cjs -------------------------------------------------------------------------------- /test/module/basic/foo/configPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/configPrefix.js -------------------------------------------------------------------------------- /test/module/basic/foo/configPrefixCallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/configPrefixCallback.js -------------------------------------------------------------------------------- /test/module/basic/foo/ignored.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | process.exit(1) 4 | -------------------------------------------------------------------------------- /test/module/basic/foo/ignored/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | process.exit(1) 4 | -------------------------------------------------------------------------------- /test/module/basic/foo/manualprefix/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/manualprefix/get.js -------------------------------------------------------------------------------- /test/module/basic/foo/manualprefix/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/manualprefix/index.js -------------------------------------------------------------------------------- /test/module/basic/foo/manualprefix/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/manualprefix/list.js -------------------------------------------------------------------------------- /test/module/basic/foo/module.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/module.mjs -------------------------------------------------------------------------------- /test/module/basic/foo/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/options.js -------------------------------------------------------------------------------- /test/module/basic/foo/prefixed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/prefixed.js -------------------------------------------------------------------------------- /test/module/basic/foo/skipAutoload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/skipAutoload.js -------------------------------------------------------------------------------- /test/module/basic/foo/something.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/foo/something.js -------------------------------------------------------------------------------- /test/module/basic/foo/something.sh: -------------------------------------------------------------------------------- 1 | echo "hello world" 2 | -------------------------------------------------------------------------------- /test/module/basic/nested/shallow/deep/deeper/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/nested/shallow/deep/deeper/index.js -------------------------------------------------------------------------------- /test/module/basic/nested/shallow/deep/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/nested/shallow/deep/index.js -------------------------------------------------------------------------------- /test/module/basic/nested/shallow/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/nested/shallow/index.js -------------------------------------------------------------------------------- /test/module/basic/one/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/one/index.js -------------------------------------------------------------------------------- /test/module/basic/one/two/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/one/two/index.js -------------------------------------------------------------------------------- /test/module/basic/skip/noJS/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | *.js 3 | -------------------------------------------------------------------------------- /test/module/basic/ten/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/ten/index.js -------------------------------------------------------------------------------- /test/module/basic/ten/nine/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/basic/ten/nine/index.js -------------------------------------------------------------------------------- /test/module/dependency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency.js -------------------------------------------------------------------------------- /test/module/dependency/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/app.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-a.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-b.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-c.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-d.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-e.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-f.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-f.js -------------------------------------------------------------------------------- /test/module/dependency/plugins/plugin-g.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/dependency/plugins/plugin-g.js -------------------------------------------------------------------------------- /test/module/esm-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import.js -------------------------------------------------------------------------------- /test/module/esm-import/app-default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/app-default.js -------------------------------------------------------------------------------- /test/module/esm-import/app-named.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/app-named.js -------------------------------------------------------------------------------- /test/module/esm-import/app-star-default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/app-star-default.js -------------------------------------------------------------------------------- /test/module/esm-import/app-star-named.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/app-star-named.js -------------------------------------------------------------------------------- /test/module/esm-import/plugins/default/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/plugins/default/index.js -------------------------------------------------------------------------------- /test/module/esm-import/plugins/named/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/plugins/named/index.js -------------------------------------------------------------------------------- /test/module/esm-import/plugins/star-default/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/plugins/star-default/index.js -------------------------------------------------------------------------------- /test/module/esm-import/plugins/star-named/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/esm-import/plugins/star-named/index.js -------------------------------------------------------------------------------- /test/module/index-package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/index-package.js -------------------------------------------------------------------------------- /test/module/index-package/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/index-package/app.js -------------------------------------------------------------------------------- /test/module/index-package/foo/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/index-package/foo/bar.js -------------------------------------------------------------------------------- /test/module/index-package/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/index-package/index.js -------------------------------------------------------------------------------- /test/module/index-package/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/index-package/package.json -------------------------------------------------------------------------------- /test/module/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options.js -------------------------------------------------------------------------------- /test/module/options/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/app.js -------------------------------------------------------------------------------- /test/module/options/lib-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/lib-plugin.js -------------------------------------------------------------------------------- /test/module/options/plugins-2/plugin-x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins-2/plugin-x.js -------------------------------------------------------------------------------- /test/module/options/plugins-3/plugin-y.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins-3/plugin-y.js -------------------------------------------------------------------------------- /test/module/options/plugins/plugin-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins/plugin-a.js -------------------------------------------------------------------------------- /test/module/options/plugins/plugin-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins/plugin-b.js -------------------------------------------------------------------------------- /test/module/options/plugins/plugin-c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins/plugin-c.js -------------------------------------------------------------------------------- /test/module/options/plugins/plugin-d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins/plugin-d.js -------------------------------------------------------------------------------- /test/module/options/plugins/plugin-e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/options/plugins/plugin-e.js -------------------------------------------------------------------------------- /test/module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } -------------------------------------------------------------------------------- /test/module/route-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters.js -------------------------------------------------------------------------------- /test/module/route-parameters/basic.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters/basic.mjs -------------------------------------------------------------------------------- /test/module/route-parameters/disabled.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters/disabled.mjs -------------------------------------------------------------------------------- /test/module/route-parameters/routes/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters/routes/index.mjs -------------------------------------------------------------------------------- /test/module/route-parameters/routes/pages/_id/actions.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters/routes/pages/_id/actions.mjs -------------------------------------------------------------------------------- /test/module/route-parameters/routes/pages/routes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters/routes/pages/routes.mjs -------------------------------------------------------------------------------- /test/module/route-parameters/routes/users/_id/actions.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/module/route-parameters/routes/users/_id/actions.mjs -------------------------------------------------------------------------------- /test/typescript-common/basic/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-common/basic/app.ts -------------------------------------------------------------------------------- /test/typescript-common/basic/foo/javascript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-common/basic/foo/javascript.js -------------------------------------------------------------------------------- /test/typescript-common/basic/foo/shouldBeIgnored.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-common/basic/foo/shouldBeIgnored.d.ts -------------------------------------------------------------------------------- /test/typescript-common/basic/foo/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-common/basic/foo/typescript.ts -------------------------------------------------------------------------------- /test/typescript-common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-common/index.ts -------------------------------------------------------------------------------- /test/typescript-esm/app/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-esm/app/index.ts -------------------------------------------------------------------------------- /test/typescript-esm/forceESM.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-esm/forceESM.ts -------------------------------------------------------------------------------- /test/typescript-esm/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } -------------------------------------------------------------------------------- /test/typescript-jest/babel-node/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-jest/babel-node/index.test.ts -------------------------------------------------------------------------------- /test/typescript-jest/basic/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-jest/basic/app.ts -------------------------------------------------------------------------------- /test/typescript-jest/basic/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-jest/basic/basic.test.ts -------------------------------------------------------------------------------- /test/typescript-jest/basic/foo/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-jest/basic/foo/typescript.ts -------------------------------------------------------------------------------- /test/typescript-jest/integration/instance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-jest/integration/instance.ts -------------------------------------------------------------------------------- /test/typescript-jest/integration/integration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript-jest/integration/integration.test.ts -------------------------------------------------------------------------------- /test/typescript/basic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript/basic.ts -------------------------------------------------------------------------------- /test/typescript/basic/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript/basic/app.ts -------------------------------------------------------------------------------- /test/typescript/basic/foo/javascript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript/basic/foo/javascript.js -------------------------------------------------------------------------------- /test/typescript/basic/foo/shouldBeIgnored.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript/basic/foo/shouldBeIgnored.d.ts -------------------------------------------------------------------------------- /test/typescript/basic/foo/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/typescript/basic/foo/typescript.ts -------------------------------------------------------------------------------- /test/vitest/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/vitest/basic.test.ts -------------------------------------------------------------------------------- /test/vitest/filter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/test/vitest/filter.test.ts -------------------------------------------------------------------------------- /tsconfig.tsimp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/tsconfig.tsimp.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/types/index.test-d.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-autoload/HEAD/vitest.config.ts --------------------------------------------------------------------------------