├── .eslintignore ├── .eslintrc.cjs ├── .git-hooks └── pre-commit ├── .github └── workflows │ ├── buildAndTest.yaml │ ├── format.yaml │ ├── lint.yaml │ └── publish.yaml ├── .gitignore ├── .nvmrc ├── .prettierignore ├── .vimspector.json ├── .yarn └── releases │ └── yarn-3.5.1.cjs ├── .yarnrc.yml ├── LICENSE ├── README.md ├── babel.config.cjs ├── changelog.md ├── examples ├── basic │ ├── README.md │ ├── generated-typebox.ts │ └── schema.json ├── extendedTypes │ ├── README.md │ └── extendedOneOf.ts ├── programmatic-usage │ ├── .gitignore │ ├── README.md │ ├── generated-typebox.ts │ ├── index.ts │ ├── package.json │ ├── schema.json │ └── yarn.lock ├── ref-to-relative-files │ ├── README.md │ ├── generated-typebox.ts │ ├── person.json │ ├── schema.json │ └── status.json └── ref-to-remote-files │ ├── README.md │ ├── cat.json │ ├── dog.json │ ├── generated-typebox.ts │ └── schema.json ├── issue_template.md ├── jest.config.cjs ├── meta-schema-draft-07.json ├── package.json ├── pull_request_template.md ├── src ├── bin.ts ├── cli.ts ├── index.ts ├── programmatic-usage.ts ├── schema-matchers.ts └── schema-to-typebox.ts ├── test ├── cli.spec.ts ├── fixture │ ├── dayOfWeek.json │ └── dayOfWeek.ts ├── parser.spec.ts ├── programmatic-usage.spec.ts ├── schema.spec.ts └── util │ └── index.ts ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.git-hooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.git-hooks/pre-commit -------------------------------------------------------------------------------- /.github/workflows/buildAndTest.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.github/workflows/buildAndTest.yaml -------------------------------------------------------------------------------- /.github/workflows/format.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.github/workflows/format.yaml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.16.1 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.prettierignore -------------------------------------------------------------------------------- /.vimspector.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.vimspector.json -------------------------------------------------------------------------------- /.yarn/releases/yarn-3.5.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.yarn/releases/yarn-3.5.1.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/babel.config.cjs -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/changelog.md -------------------------------------------------------------------------------- /examples/basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/basic/README.md -------------------------------------------------------------------------------- /examples/basic/generated-typebox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/basic/generated-typebox.ts -------------------------------------------------------------------------------- /examples/basic/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/basic/schema.json -------------------------------------------------------------------------------- /examples/extendedTypes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/extendedTypes/README.md -------------------------------------------------------------------------------- /examples/extendedTypes/extendedOneOf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/extendedTypes/extendedOneOf.ts -------------------------------------------------------------------------------- /examples/programmatic-usage/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .yarn 3 | -------------------------------------------------------------------------------- /examples/programmatic-usage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/programmatic-usage/README.md -------------------------------------------------------------------------------- /examples/programmatic-usage/generated-typebox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/programmatic-usage/generated-typebox.ts -------------------------------------------------------------------------------- /examples/programmatic-usage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/programmatic-usage/index.ts -------------------------------------------------------------------------------- /examples/programmatic-usage/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/programmatic-usage/package.json -------------------------------------------------------------------------------- /examples/programmatic-usage/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/programmatic-usage/schema.json -------------------------------------------------------------------------------- /examples/programmatic-usage/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/programmatic-usage/yarn.lock -------------------------------------------------------------------------------- /examples/ref-to-relative-files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-relative-files/README.md -------------------------------------------------------------------------------- /examples/ref-to-relative-files/generated-typebox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-relative-files/generated-typebox.ts -------------------------------------------------------------------------------- /examples/ref-to-relative-files/person.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-relative-files/person.json -------------------------------------------------------------------------------- /examples/ref-to-relative-files/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-relative-files/schema.json -------------------------------------------------------------------------------- /examples/ref-to-relative-files/status.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-relative-files/status.json -------------------------------------------------------------------------------- /examples/ref-to-remote-files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-remote-files/README.md -------------------------------------------------------------------------------- /examples/ref-to-remote-files/cat.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-remote-files/cat.json -------------------------------------------------------------------------------- /examples/ref-to-remote-files/dog.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-remote-files/dog.json -------------------------------------------------------------------------------- /examples/ref-to-remote-files/generated-typebox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-remote-files/generated-typebox.ts -------------------------------------------------------------------------------- /examples/ref-to-remote-files/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/examples/ref-to-remote-files/schema.json -------------------------------------------------------------------------------- /issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/issue_template.md -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /meta-schema-draft-07.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/meta-schema-draft-07.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/package.json -------------------------------------------------------------------------------- /pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/pull_request_template.md -------------------------------------------------------------------------------- /src/bin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/src/bin.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/programmatic-usage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/src/programmatic-usage.ts -------------------------------------------------------------------------------- /src/schema-matchers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/src/schema-matchers.ts -------------------------------------------------------------------------------- /src/schema-to-typebox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/src/schema-to-typebox.ts -------------------------------------------------------------------------------- /test/cli.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/cli.spec.ts -------------------------------------------------------------------------------- /test/fixture/dayOfWeek.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/fixture/dayOfWeek.json -------------------------------------------------------------------------------- /test/fixture/dayOfWeek.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/fixture/dayOfWeek.ts -------------------------------------------------------------------------------- /test/parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/parser.spec.ts -------------------------------------------------------------------------------- /test/programmatic-usage.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/programmatic-usage.spec.ts -------------------------------------------------------------------------------- /test/schema.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/schema.spec.ts -------------------------------------------------------------------------------- /test/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/test/util/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xddq/schema2typebox/HEAD/yarn.lock --------------------------------------------------------------------------------