├── .changeset ├── README.md └── config.json ├── .devcontainer ├── Dockerfile ├── base.Dockerfile └── devcontainer.json ├── .github └── workflows │ ├── ci.yaml │ ├── codeql.yml │ ├── coveralls.yaml │ ├── debug-windows.yaml │ ├── mutation-testing.yaml │ └── release.yaml ├── .gitignore ├── .husky └── post-commit ├── .mise.toml ├── .putout.json ├── .swcrc ├── .vscode └── settings.json ├── CHANGELOG.md ├── CNAME ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── License.md ├── README.md ├── _config.yaml ├── _includes └── head-custom-google-analytics.html ├── bin ├── counterfact.js └── taglines.txt ├── counterfact.svg ├── docs ├── context-change.md ├── faq-generated-code.md ├── quick-start.md ├── usage-without-openapi.md └── usage.md ├── eslint.config.cjs ├── jest.config.js ├── openapi-example.yaml ├── package.json ├── patches ├── http-proxy+1.18.1.patch └── tsutils+3.21.0.patch ├── petstore.yaml ├── renovate.json ├── src ├── app.ts ├── client │ ├── index.html.hbs │ └── rapi-doc.html.hbs ├── migrate │ └── paths-to-routes.js ├── repl │ └── repl.ts ├── server │ ├── config.ts │ ├── constants.ts │ ├── context-registry.ts │ ├── convert-js-extensions-to-cjs.ts │ ├── create-koa-app.ts │ ├── determine-module-kind.ts │ ├── dispatcher.ts │ ├── is-proxy-enabled-for-path.ts │ ├── json-to-xml.ts │ ├── koa-middleware.ts │ ├── module-dependency-graph.ts │ ├── module-loader.ts │ ├── module-tree.ts │ ├── openapi-middleware.ts │ ├── page-middleware.ts │ ├── precinct.d.ts │ ├── registry.ts │ ├── response-builder.ts │ ├── tools.ts │ ├── transpiler.ts │ ├── types.ts │ ├── uncached-import.ts │ └── uncached-require.cjs ├── typescript-generator │ ├── README.md │ ├── code-generator.ts │ ├── coder.js │ ├── context-file-token.js │ ├── generate.js │ ├── operation-coder.js │ ├── operation-type-coder.js │ ├── parameters-type-coder.js │ ├── printers.js │ ├── read-only-comments.js │ ├── repository.js │ ├── requirement.js │ ├── response-type-coder.js │ ├── responses-type-coder.js │ ├── schema-coder.js │ ├── schema-type-coder.js │ ├── script.js │ ├── specification.js │ └── type-coder.js └── util │ ├── ensure-directory-exists.js │ ├── read-file.ts │ ├── wait-for-event.ts │ └── windows-escape.js ├── stryker.config.json ├── templates └── response-builder-factory.ts ├── test ├── __snapshots__ │ └── black-box.test.js.snap ├── app.test.ts ├── black-box.test.js ├── lib │ └── with-temporary-files.ts ├── repl │ └── repl.test.ts ├── server │ ├── code-generator.test.ts │ ├── config.test.ts │ ├── context-registry.test.ts │ ├── convert-js-extension-to-cjs.test.ts │ ├── deterimine-module-kind.test.ts │ ├── dispatcher.proxy.test.ts │ ├── dispatcher.test.ts │ ├── is-proxy-enabled-for-path.test.ts │ ├── json-to-xml.test.ts │ ├── koa-middleware.test.ts │ ├── module-dependency-graph.test.ts │ ├── module-loader.test.ts │ ├── module-tree.test.ts │ ├── registry.test.ts │ ├── response-builder.test.ts │ ├── tools.test.js │ ├── transpiler-sketchy.test.ts │ ├── transpiler.test.ts │ └── types.test-d.ts └── typescript-generator │ ├── __snapshots__ │ ├── generate.test.ts.snap │ ├── operation-coder.test.js.snap │ ├── operation-type-coder.test.js.snap │ └── parameters-type-coder.test.js.snap │ ├── coder.test.js │ ├── generate.test.ts │ ├── integration.test.js │ ├── operation-coder.test.js │ ├── operation-type-coder.test.js │ ├── parameters-type-coder.test.js │ ├── petstore.yaml │ ├── repository.test.js │ ├── requirement.test.js │ ├── response-type-coder.test.js │ ├── responses-type-coder.test.js │ ├── schema-coder.test.js │ ├── schema-type-coder.test.js │ ├── script.test.js │ └── specification.test.js ├── tsconfig.eslint.json ├── tsconfig.json ├── typescript-badge.png └── yarn.lock /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/base.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.devcontainer/base.Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/coveralls.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.github/workflows/coveralls.yaml -------------------------------------------------------------------------------- /.github/workflows/debug-windows.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.github/workflows/debug-windows.yaml -------------------------------------------------------------------------------- /.github/workflows/mutation-testing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.github/workflows/mutation-testing.yaml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/post-commit: -------------------------------------------------------------------------------- 1 | npm run lint 2 | -------------------------------------------------------------------------------- /.mise.toml: -------------------------------------------------------------------------------- 1 | [tools] 2 | node = "22" 3 | -------------------------------------------------------------------------------- /.putout.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.putout.json -------------------------------------------------------------------------------- /.swcrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.swcrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | counterfact.dev -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /License.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/License.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/README.md -------------------------------------------------------------------------------- /_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/_config.yaml -------------------------------------------------------------------------------- /_includes/head-custom-google-analytics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/_includes/head-custom-google-analytics.html -------------------------------------------------------------------------------- /bin/counterfact.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/bin/counterfact.js -------------------------------------------------------------------------------- /bin/taglines.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/bin/taglines.txt -------------------------------------------------------------------------------- /counterfact.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/counterfact.svg -------------------------------------------------------------------------------- /docs/context-change.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/docs/context-change.md -------------------------------------------------------------------------------- /docs/faq-generated-code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/docs/faq-generated-code.md -------------------------------------------------------------------------------- /docs/quick-start.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/docs/quick-start.md -------------------------------------------------------------------------------- /docs/usage-without-openapi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/docs/usage-without-openapi.md -------------------------------------------------------------------------------- /docs/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/docs/usage.md -------------------------------------------------------------------------------- /eslint.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/eslint.config.cjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/jest.config.js -------------------------------------------------------------------------------- /openapi-example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/openapi-example.yaml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/package.json -------------------------------------------------------------------------------- /patches/http-proxy+1.18.1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/patches/http-proxy+1.18.1.patch -------------------------------------------------------------------------------- /patches/tsutils+3.21.0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/patches/tsutils+3.21.0.patch -------------------------------------------------------------------------------- /petstore.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/petstore.yaml -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/renovate.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/client/index.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/client/index.html.hbs -------------------------------------------------------------------------------- /src/client/rapi-doc.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/client/rapi-doc.html.hbs -------------------------------------------------------------------------------- /src/migrate/paths-to-routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/migrate/paths-to-routes.js -------------------------------------------------------------------------------- /src/repl/repl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/repl/repl.ts -------------------------------------------------------------------------------- /src/server/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/config.ts -------------------------------------------------------------------------------- /src/server/constants.ts: -------------------------------------------------------------------------------- 1 | export const CHOKIDAR_OPTIONS = { 2 | ignoreInitial: true, 3 | usePolling: process.platform === "win32", 4 | }; 5 | -------------------------------------------------------------------------------- /src/server/context-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/context-registry.ts -------------------------------------------------------------------------------- /src/server/convert-js-extensions-to-cjs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/convert-js-extensions-to-cjs.ts -------------------------------------------------------------------------------- /src/server/create-koa-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/create-koa-app.ts -------------------------------------------------------------------------------- /src/server/determine-module-kind.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/determine-module-kind.ts -------------------------------------------------------------------------------- /src/server/dispatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/dispatcher.ts -------------------------------------------------------------------------------- /src/server/is-proxy-enabled-for-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/is-proxy-enabled-for-path.ts -------------------------------------------------------------------------------- /src/server/json-to-xml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/json-to-xml.ts -------------------------------------------------------------------------------- /src/server/koa-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/koa-middleware.ts -------------------------------------------------------------------------------- /src/server/module-dependency-graph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/module-dependency-graph.ts -------------------------------------------------------------------------------- /src/server/module-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/module-loader.ts -------------------------------------------------------------------------------- /src/server/module-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/module-tree.ts -------------------------------------------------------------------------------- /src/server/openapi-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/openapi-middleware.ts -------------------------------------------------------------------------------- /src/server/page-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/page-middleware.ts -------------------------------------------------------------------------------- /src/server/precinct.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/precinct.d.ts -------------------------------------------------------------------------------- /src/server/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/registry.ts -------------------------------------------------------------------------------- /src/server/response-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/response-builder.ts -------------------------------------------------------------------------------- /src/server/tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/tools.ts -------------------------------------------------------------------------------- /src/server/transpiler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/transpiler.ts -------------------------------------------------------------------------------- /src/server/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/types.ts -------------------------------------------------------------------------------- /src/server/uncached-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/uncached-import.ts -------------------------------------------------------------------------------- /src/server/uncached-require.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/server/uncached-require.cjs -------------------------------------------------------------------------------- /src/typescript-generator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/README.md -------------------------------------------------------------------------------- /src/typescript-generator/code-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/code-generator.ts -------------------------------------------------------------------------------- /src/typescript-generator/coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/coder.js -------------------------------------------------------------------------------- /src/typescript-generator/context-file-token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/context-file-token.js -------------------------------------------------------------------------------- /src/typescript-generator/generate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/generate.js -------------------------------------------------------------------------------- /src/typescript-generator/operation-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/operation-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/operation-type-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/operation-type-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/parameters-type-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/parameters-type-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/printers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/printers.js -------------------------------------------------------------------------------- /src/typescript-generator/read-only-comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/read-only-comments.js -------------------------------------------------------------------------------- /src/typescript-generator/repository.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/repository.js -------------------------------------------------------------------------------- /src/typescript-generator/requirement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/requirement.js -------------------------------------------------------------------------------- /src/typescript-generator/response-type-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/response-type-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/responses-type-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/responses-type-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/schema-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/schema-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/schema-type-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/schema-type-coder.js -------------------------------------------------------------------------------- /src/typescript-generator/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/script.js -------------------------------------------------------------------------------- /src/typescript-generator/specification.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/specification.js -------------------------------------------------------------------------------- /src/typescript-generator/type-coder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/typescript-generator/type-coder.js -------------------------------------------------------------------------------- /src/util/ensure-directory-exists.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/util/ensure-directory-exists.js -------------------------------------------------------------------------------- /src/util/read-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/util/read-file.ts -------------------------------------------------------------------------------- /src/util/wait-for-event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/util/wait-for-event.ts -------------------------------------------------------------------------------- /src/util/windows-escape.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/src/util/windows-escape.js -------------------------------------------------------------------------------- /stryker.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/stryker.config.json -------------------------------------------------------------------------------- /templates/response-builder-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/templates/response-builder-factory.ts -------------------------------------------------------------------------------- /test/__snapshots__/black-box.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/__snapshots__/black-box.test.js.snap -------------------------------------------------------------------------------- /test/app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/app.test.ts -------------------------------------------------------------------------------- /test/black-box.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/black-box.test.js -------------------------------------------------------------------------------- /test/lib/with-temporary-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/lib/with-temporary-files.ts -------------------------------------------------------------------------------- /test/repl/repl.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/repl/repl.test.ts -------------------------------------------------------------------------------- /test/server/code-generator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/code-generator.test.ts -------------------------------------------------------------------------------- /test/server/config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/config.test.ts -------------------------------------------------------------------------------- /test/server/context-registry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/context-registry.test.ts -------------------------------------------------------------------------------- /test/server/convert-js-extension-to-cjs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/convert-js-extension-to-cjs.test.ts -------------------------------------------------------------------------------- /test/server/deterimine-module-kind.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/deterimine-module-kind.test.ts -------------------------------------------------------------------------------- /test/server/dispatcher.proxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/dispatcher.proxy.test.ts -------------------------------------------------------------------------------- /test/server/dispatcher.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/dispatcher.test.ts -------------------------------------------------------------------------------- /test/server/is-proxy-enabled-for-path.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/is-proxy-enabled-for-path.test.ts -------------------------------------------------------------------------------- /test/server/json-to-xml.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/json-to-xml.test.ts -------------------------------------------------------------------------------- /test/server/koa-middleware.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/koa-middleware.test.ts -------------------------------------------------------------------------------- /test/server/module-dependency-graph.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/module-dependency-graph.test.ts -------------------------------------------------------------------------------- /test/server/module-loader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/module-loader.test.ts -------------------------------------------------------------------------------- /test/server/module-tree.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/module-tree.test.ts -------------------------------------------------------------------------------- /test/server/registry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/registry.test.ts -------------------------------------------------------------------------------- /test/server/response-builder.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/response-builder.test.ts -------------------------------------------------------------------------------- /test/server/tools.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/tools.test.js -------------------------------------------------------------------------------- /test/server/transpiler-sketchy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/transpiler-sketchy.test.ts -------------------------------------------------------------------------------- /test/server/transpiler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/transpiler.test.ts -------------------------------------------------------------------------------- /test/server/types.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/server/types.test-d.ts -------------------------------------------------------------------------------- /test/typescript-generator/__snapshots__/generate.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/__snapshots__/generate.test.ts.snap -------------------------------------------------------------------------------- /test/typescript-generator/__snapshots__/operation-coder.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/__snapshots__/operation-coder.test.js.snap -------------------------------------------------------------------------------- /test/typescript-generator/__snapshots__/operation-type-coder.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/__snapshots__/operation-type-coder.test.js.snap -------------------------------------------------------------------------------- /test/typescript-generator/__snapshots__/parameters-type-coder.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/__snapshots__/parameters-type-coder.test.js.snap -------------------------------------------------------------------------------- /test/typescript-generator/coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/generate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/generate.test.ts -------------------------------------------------------------------------------- /test/typescript-generator/integration.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/integration.test.js -------------------------------------------------------------------------------- /test/typescript-generator/operation-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/operation-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/operation-type-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/operation-type-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/parameters-type-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/parameters-type-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/petstore.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/petstore.yaml -------------------------------------------------------------------------------- /test/typescript-generator/repository.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/repository.test.js -------------------------------------------------------------------------------- /test/typescript-generator/requirement.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/requirement.test.js -------------------------------------------------------------------------------- /test/typescript-generator/response-type-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/response-type-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/responses-type-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/responses-type-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/schema-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/schema-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/schema-type-coder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/schema-type-coder.test.js -------------------------------------------------------------------------------- /test/typescript-generator/script.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/script.test.js -------------------------------------------------------------------------------- /test/typescript-generator/specification.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/test/typescript-generator/specification.test.js -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typescript-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/typescript-badge.png -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmcelhaney/counterfact/HEAD/yarn.lock --------------------------------------------------------------------------------