├── .changeset ├── README.md └── config.json ├── .editorconfig ├── .eslintignore ├── .eslintrc.cjs ├── .github └── workflows │ ├── build.yml │ └── release.yml ├── .gitignore ├── .npmrc ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── commitlint.config.cjs ├── dev ├── index.html ├── index.tsx ├── tsconfig.json └── vite.config.ts ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── rollup.config.js ├── setupVitest.ts ├── src ├── core │ ├── createCodeMirror.ts │ ├── createCompartmentExtension.ts │ └── createLazyCompartmentExtension.ts ├── extensions │ ├── controlledValue.ts │ ├── focused.ts │ └── readonly.ts └── index.tsx ├── test └── setupTests.ts ├── tsconfig.json └── vite.config.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers=true 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /dev/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/dev/index.html -------------------------------------------------------------------------------- /dev/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/dev/index.tsx -------------------------------------------------------------------------------- /dev/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/dev/tsconfig.json -------------------------------------------------------------------------------- /dev/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/dev/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - './' 3 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/rollup.config.js -------------------------------------------------------------------------------- /setupVitest.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | -------------------------------------------------------------------------------- /src/core/createCodeMirror.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/core/createCodeMirror.ts -------------------------------------------------------------------------------- /src/core/createCompartmentExtension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/core/createCompartmentExtension.ts -------------------------------------------------------------------------------- /src/core/createLazyCompartmentExtension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/core/createLazyCompartmentExtension.ts -------------------------------------------------------------------------------- /src/extensions/controlledValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/extensions/controlledValue.ts -------------------------------------------------------------------------------- /src/extensions/focused.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/extensions/focused.ts -------------------------------------------------------------------------------- /src/extensions/readonly.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/extensions/readonly.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/src/index.tsx -------------------------------------------------------------------------------- /test/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/test/setupTests.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riccardoperra/solid-codemirror/HEAD/vite.config.ts --------------------------------------------------------------------------------