├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── dev ├── geojson.json ├── index.html ├── index.ts ├── package.schema.json ├── public │ └── example.png └── sample-text.ts ├── docs ├── .nojekyll ├── README.md ├── classes │ ├── JSONCompletion.md │ ├── JSONHover.md │ └── JSONValidation.md └── interfaces │ ├── JSONCompletionOptions.md │ └── JSONValidationOptions.md ├── lefthook.yml ├── netlify.toml ├── package.json ├── pnpm-lock.yaml ├── scripts └── replace-env.sh ├── src ├── constants.ts ├── features │ ├── __tests__ │ │ ├── __fixtures__ │ │ │ └── schemas.ts │ │ ├── __helpers__ │ │ │ ├── completion.ts │ │ │ └── index.ts │ │ ├── json-completion.spec.ts │ │ ├── json-hover.spec.ts │ │ └── json-validation.spec.ts │ ├── completion.ts │ ├── hover.ts │ ├── state.ts │ └── validation.ts ├── index.ts ├── json │ └── bundled.ts ├── json5 │ ├── bundled.ts │ ├── completion.ts │ ├── hover.ts │ ├── index.ts │ └── validation.ts ├── parsers │ ├── __tests__ │ │ ├── json-parser.spec.ts │ │ └── yaml-parser.spec.ts │ ├── index.ts │ ├── json-parser.ts │ ├── json5-parser.ts │ └── yaml-parser.ts ├── types.ts ├── utils │ ├── __tests__ │ │ ├── json-pointers.spec.ts │ │ └── node.spec.ts │ ├── debug.ts │ ├── dom.ts │ ├── formatting.ts │ ├── json-pointers.ts │ ├── markdown.ts │ ├── node.ts │ └── recordUtil.ts └── yaml │ ├── bundled.ts │ ├── completion.ts │ ├── hover.ts │ ├── index.ts │ └── validation.ts ├── tsconfig.json ├── typedoc.json └── vite.config.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["esbenp.prettier-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/README.md -------------------------------------------------------------------------------- /dev/geojson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/dev/geojson.json -------------------------------------------------------------------------------- /dev/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/dev/index.html -------------------------------------------------------------------------------- /dev/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/dev/index.ts -------------------------------------------------------------------------------- /dev/package.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/dev/package.schema.json -------------------------------------------------------------------------------- /dev/public/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/dev/public/example.png -------------------------------------------------------------------------------- /dev/sample-text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/dev/sample-text.ts -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/.nojekyll -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/classes/JSONCompletion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/classes/JSONCompletion.md -------------------------------------------------------------------------------- /docs/classes/JSONHover.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/classes/JSONHover.md -------------------------------------------------------------------------------- /docs/classes/JSONValidation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/classes/JSONValidation.md -------------------------------------------------------------------------------- /docs/interfaces/JSONCompletionOptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/interfaces/JSONCompletionOptions.md -------------------------------------------------------------------------------- /docs/interfaces/JSONValidationOptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/docs/interfaces/JSONValidationOptions.md -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/lefthook.yml -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/replace-env.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sed -i -e 's/process\.env\.NODE_ENV/\"production\"/g' dist/**/*.js 3 | -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/features/__tests__/__fixtures__/schemas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/__tests__/__fixtures__/schemas.ts -------------------------------------------------------------------------------- /src/features/__tests__/__helpers__/completion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/__tests__/__helpers__/completion.ts -------------------------------------------------------------------------------- /src/features/__tests__/__helpers__/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/__tests__/__helpers__/index.ts -------------------------------------------------------------------------------- /src/features/__tests__/json-completion.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/__tests__/json-completion.spec.ts -------------------------------------------------------------------------------- /src/features/__tests__/json-hover.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/__tests__/json-hover.spec.ts -------------------------------------------------------------------------------- /src/features/__tests__/json-validation.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/__tests__/json-validation.spec.ts -------------------------------------------------------------------------------- /src/features/completion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/completion.ts -------------------------------------------------------------------------------- /src/features/hover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/hover.ts -------------------------------------------------------------------------------- /src/features/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/state.ts -------------------------------------------------------------------------------- /src/features/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/features/validation.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/json/bundled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/json/bundled.ts -------------------------------------------------------------------------------- /src/json5/bundled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/json5/bundled.ts -------------------------------------------------------------------------------- /src/json5/completion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/json5/completion.ts -------------------------------------------------------------------------------- /src/json5/hover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/json5/hover.ts -------------------------------------------------------------------------------- /src/json5/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/json5/index.ts -------------------------------------------------------------------------------- /src/json5/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/json5/validation.ts -------------------------------------------------------------------------------- /src/parsers/__tests__/json-parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/parsers/__tests__/json-parser.spec.ts -------------------------------------------------------------------------------- /src/parsers/__tests__/yaml-parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/parsers/__tests__/yaml-parser.spec.ts -------------------------------------------------------------------------------- /src/parsers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/parsers/index.ts -------------------------------------------------------------------------------- /src/parsers/json-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/parsers/json-parser.ts -------------------------------------------------------------------------------- /src/parsers/json5-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/parsers/json5-parser.ts -------------------------------------------------------------------------------- /src/parsers/yaml-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/parsers/yaml-parser.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/__tests__/json-pointers.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/__tests__/json-pointers.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/node.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/__tests__/node.spec.ts -------------------------------------------------------------------------------- /src/utils/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/debug.ts -------------------------------------------------------------------------------- /src/utils/dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/dom.ts -------------------------------------------------------------------------------- /src/utils/formatting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/formatting.ts -------------------------------------------------------------------------------- /src/utils/json-pointers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/json-pointers.ts -------------------------------------------------------------------------------- /src/utils/markdown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/markdown.ts -------------------------------------------------------------------------------- /src/utils/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/node.ts -------------------------------------------------------------------------------- /src/utils/recordUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/utils/recordUtil.ts -------------------------------------------------------------------------------- /src/yaml/bundled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/yaml/bundled.ts -------------------------------------------------------------------------------- /src/yaml/completion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/yaml/completion.ts -------------------------------------------------------------------------------- /src/yaml/hover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/yaml/hover.ts -------------------------------------------------------------------------------- /src/yaml/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/yaml/index.ts -------------------------------------------------------------------------------- /src/yaml/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/src/yaml/validation.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/typedoc.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonnext/codemirror-json-schema/HEAD/vite.config.ts --------------------------------------------------------------------------------