groove-dev 0.15.1 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/FILE-EDITOR-PLAN.md +253 -0
- package/node_modules/@codemirror/autocomplete/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/autocomplete/CHANGELOG.md +639 -0
- package/node_modules/@codemirror/autocomplete/LICENSE +21 -0
- package/node_modules/@codemirror/autocomplete/README.md +43 -0
- package/node_modules/@codemirror/autocomplete/dist/index.cjs +2151 -0
- package/node_modules/@codemirror/autocomplete/dist/index.d.cts +648 -0
- package/node_modules/@codemirror/autocomplete/dist/index.d.ts +648 -0
- package/node_modules/@codemirror/autocomplete/dist/index.js +2120 -0
- package/node_modules/@codemirror/autocomplete/package.json +41 -0
- package/node_modules/@codemirror/commands/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/commands/CHANGELOG.md +386 -0
- package/node_modules/@codemirror/commands/LICENSE +21 -0
- package/node_modules/@codemirror/commands/README.md +35 -0
- package/node_modules/@codemirror/commands/dist/index.cjs +1909 -0
- package/node_modules/@codemirror/commands/dist/index.d.cts +650 -0
- package/node_modules/@codemirror/commands/dist/index.d.ts +650 -0
- package/node_modules/@codemirror/commands/dist/index.js +1795 -0
- package/node_modules/@codemirror/commands/package.json +42 -0
- package/node_modules/@codemirror/lang-css/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-css/CHANGELOG.md +106 -0
- package/node_modules/@codemirror/lang-css/LICENSE +21 -0
- package/node_modules/@codemirror/lang-css/README.md +50 -0
- package/node_modules/@codemirror/lang-css/dist/index.cjs +269 -0
- package/node_modules/@codemirror/lang-css/dist/index.d.cts +28 -0
- package/node_modules/@codemirror/lang-css/dist/index.d.ts +28 -0
- package/node_modules/@codemirror/lang-css/dist/index.js +264 -0
- package/node_modules/@codemirror/lang-css/package.json +42 -0
- package/node_modules/@codemirror/lang-html/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-html/CHANGELOG.md +210 -0
- package/node_modules/@codemirror/lang-html/LICENSE +21 -0
- package/node_modules/@codemirror/lang-html/README.md +147 -0
- package/node_modules/@codemirror/lang-html/dist/index.cjs +667 -0
- package/node_modules/@codemirror/lang-html/dist/index.d.cts +115 -0
- package/node_modules/@codemirror/lang-html/dist/index.d.ts +115 -0
- package/node_modules/@codemirror/lang-html/dist/index.js +661 -0
- package/node_modules/@codemirror/lang-html/package.json +46 -0
- package/node_modules/@codemirror/lang-javascript/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-javascript/CHANGELOG.md +206 -0
- package/node_modules/@codemirror/lang-javascript/LICENSE +21 -0
- package/node_modules/@codemirror/lang-javascript/README.md +125 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.cjs +526 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.d.cts +93 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.d.ts +93 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.js +513 -0
- package/node_modules/@codemirror/lang-javascript/package.json +45 -0
- package/node_modules/@codemirror/lang-json/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-json/CHANGELOG.md +59 -0
- package/node_modules/@codemirror/lang-json/LICENSE +21 -0
- package/node_modules/@codemirror/lang-json/README.md +56 -0
- package/node_modules/@codemirror/lang-json/dist/index.cjs +68 -0
- package/node_modules/@codemirror/lang-json/dist/index.d.cts +22 -0
- package/node_modules/@codemirror/lang-json/dist/index.d.ts +22 -0
- package/node_modules/@codemirror/lang-json/dist/index.js +64 -0
- package/node_modules/@codemirror/lang-json/package.json +39 -0
- package/node_modules/@codemirror/lang-markdown/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-markdown/CHANGELOG.md +246 -0
- package/node_modules/@codemirror/lang-markdown/LICENSE +21 -0
- package/node_modules/@codemirror/lang-markdown/README.md +162 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.cjs +501 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.d.cts +124 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.d.ts +124 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.js +492 -0
- package/node_modules/@codemirror/lang-markdown/package.json +44 -0
- package/node_modules/@codemirror/lang-python/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-python/CHANGELOG.md +174 -0
- package/node_modules/@codemirror/lang-python/LICENSE +21 -0
- package/node_modules/@codemirror/lang-python/README.md +61 -0
- package/node_modules/@codemirror/lang-python/dist/index.cjs +313 -0
- package/node_modules/@codemirror/lang-python/dist/index.d.cts +26 -0
- package/node_modules/@codemirror/lang-python/dist/index.d.ts +26 -0
- package/node_modules/@codemirror/lang-python/dist/index.js +308 -0
- package/node_modules/@codemirror/lang-python/package.json +42 -0
- package/node_modules/@codemirror/language/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/language/CHANGELOG.md +412 -0
- package/node_modules/@codemirror/language/LICENSE +21 -0
- package/node_modules/@codemirror/language/README.md +66 -0
- package/node_modules/@codemirror/language/dist/index.cjs +2742 -0
- package/node_modules/@codemirror/language/dist/index.d.cts +1220 -0
- package/node_modules/@codemirror/language/dist/index.d.ts +1220 -0
- package/node_modules/@codemirror/language/dist/index.js +2687 -0
- package/node_modules/@codemirror/language/package.json +44 -0
- package/node_modules/@codemirror/lint/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lint/CHANGELOG.md +318 -0
- package/node_modules/@codemirror/lint/LICENSE +21 -0
- package/node_modules/@codemirror/lint/README.md +18 -0
- package/node_modules/@codemirror/lint/dist/index.cjs +958 -0
- package/node_modules/@codemirror/lint/dist/index.d.cts +195 -0
- package/node_modules/@codemirror/lint/dist/index.d.ts +195 -0
- package/node_modules/@codemirror/lint/dist/index.js +945 -0
- package/node_modules/@codemirror/lint/package.json +40 -0
- package/node_modules/@codemirror/search/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/search/CHANGELOG.md +324 -0
- package/node_modules/@codemirror/search/LICENSE +21 -0
- package/node_modules/@codemirror/search/README.md +18 -0
- package/node_modules/@codemirror/search/dist/index.cjs +1237 -0
- package/node_modules/@codemirror/search/dist/index.d.cts +385 -0
- package/node_modules/@codemirror/search/dist/index.d.ts +385 -0
- package/node_modules/@codemirror/search/dist/index.js +1217 -0
- package/node_modules/@codemirror/search/package.json +40 -0
- package/node_modules/@codemirror/state/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/state/CHANGELOG.md +308 -0
- package/node_modules/@codemirror/state/LICENSE +21 -0
- package/node_modules/@codemirror/state/README.md +18 -0
- package/node_modules/@codemirror/state/dist/index.cjs +3922 -0
- package/node_modules/@codemirror/state/dist/index.d.cts +1713 -0
- package/node_modules/@codemirror/state/dist/index.d.ts +1713 -0
- package/node_modules/@codemirror/state/dist/index.js +3892 -0
- package/node_modules/@codemirror/state/package.json +38 -0
- package/node_modules/@codemirror/theme-one-dark/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/theme-one-dark/CHANGELOG.md +97 -0
- package/node_modules/@codemirror/theme-one-dark/LICENSE +21 -0
- package/node_modules/@codemirror/theme-one-dark/README.md +46 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.cjs +139 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.d.cts +39 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.d.ts +39 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.js +134 -0
- package/node_modules/@codemirror/theme-one-dark/package.json +41 -0
- package/node_modules/@codemirror/view/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/view/CHANGELOG.md +2284 -0
- package/node_modules/@codemirror/view/LICENSE +21 -0
- package/node_modules/@codemirror/view/README.md +37 -0
- package/node_modules/@codemirror/view/dist/index.cjs +11796 -0
- package/node_modules/@codemirror/view/dist/index.d.cts +2389 -0
- package/node_modules/@codemirror/view/dist/index.d.ts +2389 -0
- package/node_modules/@codemirror/view/dist/index.js +11745 -0
- package/node_modules/@codemirror/view/package.json +41 -0
- package/node_modules/@groove-dev/daemon/src/api.js +268 -2
- package/node_modules/@groove-dev/daemon/src/filewatcher.js +59 -0
- package/node_modules/@groove-dev/daemon/src/index.js +28 -1
- package/node_modules/@groove-dev/daemon/src/mimetypes.js +43 -0
- package/node_modules/@groove-dev/gui/dist/assets/index-BQSznoq0.js +103 -0
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/package.json +15 -2
- package/node_modules/@groove-dev/gui/src/App.jsx +3 -0
- package/node_modules/@groove-dev/gui/src/components/CodeEditor.jsx +143 -0
- package/node_modules/@groove-dev/gui/src/components/EditorTabs.jsx +83 -0
- package/node_modules/@groove-dev/gui/src/components/FileTree.jsx +492 -0
- package/node_modules/@groove-dev/gui/src/components/MediaViewer.jsx +104 -0
- package/node_modules/@groove-dev/gui/src/stores/groove.js +287 -1
- package/node_modules/@groove-dev/gui/src/views/FileEditor.jsx +149 -0
- package/node_modules/@lezer/common/LICENSE +21 -0
- package/node_modules/@lezer/common/README.md +14 -0
- package/node_modules/@lezer/common/dist/index.cjs +2209 -0
- package/node_modules/@lezer/common/dist/index.d.cts +1174 -0
- package/node_modules/@lezer/common/dist/index.d.ts +1174 -0
- package/node_modules/@lezer/common/dist/index.js +2196 -0
- package/node_modules/@lezer/common/package.json +32 -0
- package/node_modules/@lezer/css/CHANGELOG.md +307 -0
- package/node_modules/@lezer/css/LICENSE +21 -0
- package/node_modules/@lezer/css/README.md +6 -0
- package/node_modules/@lezer/css/dist/index.cjs +151 -0
- package/node_modules/@lezer/css/dist/index.d.cts +3 -0
- package/node_modules/@lezer/css/dist/index.d.ts +3 -0
- package/node_modules/@lezer/css/dist/index.js +147 -0
- package/node_modules/@lezer/css/package.json +36 -0
- package/node_modules/@lezer/css/rollup.config.js +16 -0
- package/node_modules/@lezer/css/src/css.grammar +290 -0
- package/node_modules/@lezer/css/src/highlight.js +36 -0
- package/node_modules/@lezer/css/src/parser.js +31 -0
- package/node_modules/@lezer/css/src/parser.terms.js +63 -0
- package/node_modules/@lezer/css/src/tokens.js +75 -0
- package/node_modules/@lezer/css/test/declarations.txt +241 -0
- package/node_modules/@lezer/css/test/selector.txt +178 -0
- package/node_modules/@lezer/css/test/statements.txt +227 -0
- package/node_modules/@lezer/css/test/test-css.js +16 -0
- package/node_modules/@lezer/highlight/LICENSE +21 -0
- package/node_modules/@lezer/highlight/README.md +14 -0
- package/node_modules/@lezer/highlight/dist/index.cjs +936 -0
- package/node_modules/@lezer/highlight/dist/index.d.cts +623 -0
- package/node_modules/@lezer/highlight/dist/index.d.ts +623 -0
- package/node_modules/@lezer/highlight/dist/index.js +927 -0
- package/node_modules/@lezer/highlight/package.json +31 -0
- package/node_modules/@lezer/html/CHANGELOG.md +303 -0
- package/node_modules/@lezer/html/LICENSE +21 -0
- package/node_modules/@lezer/html/README.md +37 -0
- package/node_modules/@lezer/html/dist/index.cjs +354 -0
- package/node_modules/@lezer/html/dist/index.d.cts +14 -0
- package/node_modules/@lezer/html/dist/index.d.ts +14 -0
- package/node_modules/@lezer/html/dist/index.js +349 -0
- package/node_modules/@lezer/html/package.json +37 -0
- package/node_modules/@lezer/html/rollup.config.js +16 -0
- package/node_modules/@lezer/html/src/.tern-port +1 -0
- package/node_modules/@lezer/html/src/content.js +87 -0
- package/node_modules/@lezer/html/src/highlight.js +15 -0
- package/node_modules/@lezer/html/src/html.grammar +181 -0
- package/node_modules/@lezer/html/src/index.js +2 -0
- package/node_modules/@lezer/html/src/parser.js +27 -0
- package/node_modules/@lezer/html/src/parser.terms.js +53 -0
- package/node_modules/@lezer/html/src/tokens.js +199 -0
- package/node_modules/@lezer/html/test/mixed.txt +69 -0
- package/node_modules/@lezer/html/test/tags.txt +370 -0
- package/node_modules/@lezer/html/test/test-html.js +29 -0
- package/node_modules/@lezer/html/test/test-incremental.js +97 -0
- package/node_modules/@lezer/html/test/vue.txt +56 -0
- package/node_modules/@lezer/javascript/CHANGELOG.md +485 -0
- package/node_modules/@lezer/javascript/LICENSE +21 -0
- package/node_modules/@lezer/javascript/README.md +14 -0
- package/node_modules/@lezer/javascript/dist/index.cjs +196 -0
- package/node_modules/@lezer/javascript/dist/index.d.cts +3 -0
- package/node_modules/@lezer/javascript/dist/index.d.ts +3 -0
- package/node_modules/@lezer/javascript/dist/index.js +192 -0
- package/node_modules/@lezer/javascript/package.json +36 -0
- package/node_modules/@lezer/javascript/rollup.config.js +16 -0
- package/node_modules/@lezer/javascript/src/highlight.js +62 -0
- package/node_modules/@lezer/javascript/src/javascript.grammar +735 -0
- package/node_modules/@lezer/javascript/src/parser.js +33 -0
- package/node_modules/@lezer/javascript/src/parser.terms.js +177 -0
- package/node_modules/@lezer/javascript/src/tokens.js +87 -0
- package/node_modules/@lezer/javascript/test/decorator.txt +64 -0
- package/node_modules/@lezer/javascript/test/expression.txt +686 -0
- package/node_modules/@lezer/javascript/test/jsx.txt +79 -0
- package/node_modules/@lezer/javascript/test/semicolon.txt +77 -0
- package/node_modules/@lezer/javascript/test/statement.txt +404 -0
- package/node_modules/@lezer/javascript/test/test-javascript.js +17 -0
- package/node_modules/@lezer/javascript/test/typescript.txt +401 -0
- package/node_modules/@lezer/json/CHANGELOG.md +79 -0
- package/node_modules/@lezer/json/LICENSE +21 -0
- package/node_modules/@lezer/json/README.md +7 -0
- package/node_modules/@lezer/json/dist/index.cjs +41 -0
- package/node_modules/@lezer/json/dist/index.d.cts +3 -0
- package/node_modules/@lezer/json/dist/index.d.ts +3 -0
- package/node_modules/@lezer/json/dist/index.js +37 -0
- package/node_modules/@lezer/json/package.json +36 -0
- package/node_modules/@lezer/json/rollup.config.js +15 -0
- package/node_modules/@lezer/json/src/highlight.js +12 -0
- package/node_modules/@lezer/json/src/json.grammar +38 -0
- package/node_modules/@lezer/json/src/parser.js +23 -0
- package/node_modules/@lezer/json/src/parser.terms.js +12 -0
- package/node_modules/@lezer/json/test/arrays.txt +34 -0
- package/node_modules/@lezer/json/test/literals.txt +23 -0
- package/node_modules/@lezer/json/test/numbers.txt +87 -0
- package/node_modules/@lezer/json/test/objects.txt +34 -0
- package/node_modules/@lezer/json/test/strings.txt +50 -0
- package/node_modules/@lezer/json/test/test-json.js +17 -0
- package/node_modules/@lezer/lr/LICENSE +21 -0
- package/node_modules/@lezer/lr/README.md +25 -0
- package/node_modules/@lezer/lr/dist/constants.d.ts +45 -0
- package/node_modules/@lezer/lr/dist/constants.js +5 -0
- package/node_modules/@lezer/lr/dist/index.cjs +1891 -0
- package/node_modules/@lezer/lr/dist/index.d.cts +303 -0
- package/node_modules/@lezer/lr/dist/index.d.ts +303 -0
- package/node_modules/@lezer/lr/dist/index.js +1884 -0
- package/node_modules/@lezer/lr/package.json +32 -0
- package/node_modules/@lezer/markdown/CHANGELOG.md +279 -0
- package/node_modules/@lezer/markdown/LICENSE +21 -0
- package/node_modules/@lezer/markdown/README.md +725 -0
- package/node_modules/@lezer/markdown/bin/build-readme.cjs +39 -0
- package/node_modules/@lezer/markdown/build.js +16 -0
- package/node_modules/@lezer/markdown/dist/index.cjs +2352 -0
- package/node_modules/@lezer/markdown/dist/index.d.cts +600 -0
- package/node_modules/@lezer/markdown/dist/index.d.ts +600 -0
- package/node_modules/@lezer/markdown/dist/index.js +2335 -0
- package/node_modules/@lezer/markdown/package.json +37 -0
- package/node_modules/@lezer/markdown/src/README.md +83 -0
- package/node_modules/@lezer/markdown/src/extension.ts +301 -0
- package/node_modules/@lezer/markdown/src/index.ts +5 -0
- package/node_modules/@lezer/markdown/src/markdown.ts +1961 -0
- package/node_modules/@lezer/markdown/src/nest.ts +46 -0
- package/node_modules/@lezer/markdown/test/compare-tree.ts +14 -0
- package/node_modules/@lezer/markdown/test/spec.ts +79 -0
- package/node_modules/@lezer/markdown/test/test-extension.ts +269 -0
- package/node_modules/@lezer/markdown/test/test-incremental.ts +265 -0
- package/node_modules/@lezer/markdown/test/test-markdown.ts +3574 -0
- package/node_modules/@lezer/markdown/test/test-nesting.ts +86 -0
- package/node_modules/@lezer/markdown/test/tsconfig.json +12 -0
- package/node_modules/@lezer/markdown/tsconfig.json +14 -0
- package/node_modules/@lezer/python/CHANGELOG.md +243 -0
- package/node_modules/@lezer/python/LICENSE +21 -0
- package/node_modules/@lezer/python/README.md +6 -0
- package/node_modules/@lezer/python/dist/index.cjs +330 -0
- package/node_modules/@lezer/python/dist/index.d.cts +3 -0
- package/node_modules/@lezer/python/dist/index.d.ts +3 -0
- package/node_modules/@lezer/python/dist/index.js +326 -0
- package/node_modules/@lezer/python/package.json +36 -0
- package/node_modules/@lezer/python/rollup.config.js +16 -0
- package/node_modules/@lezer/python/src/highlight.js +35 -0
- package/node_modules/@lezer/python/src/python.grammar +381 -0
- package/node_modules/@lezer/python/src/tokens.js +224 -0
- package/node_modules/@lezer/python/test/expression.txt +231 -0
- package/node_modules/@lezer/python/test/statement.txt +442 -0
- package/node_modules/@lezer/python/test/test-incremental.js +33 -0
- package/node_modules/@lezer/python/test/test-python.js +17 -0
- package/node_modules/@marijn/find-cluster-break/LICENSE +21 -0
- package/node_modules/@marijn/find-cluster-break/README.md +28 -0
- package/node_modules/@marijn/find-cluster-break/dist/index.cjs +85 -0
- package/node_modules/@marijn/find-cluster-break/dist/index.d.cts +15 -0
- package/node_modules/@marijn/find-cluster-break/package.json +35 -0
- package/node_modules/@marijn/find-cluster-break/rollup.config.js +7 -0
- package/node_modules/@marijn/find-cluster-break/src/index.d.ts +15 -0
- package/node_modules/@marijn/find-cluster-break/src/index.js +87 -0
- package/node_modules/@marijn/find-cluster-break/test/test-cluster.js +30 -0
- package/node_modules/crelt/LICENSE +19 -0
- package/node_modules/crelt/README.md +23 -0
- package/node_modules/crelt/dist/index.cjs +31 -0
- package/node_modules/crelt/dist/index.d.cts +4 -0
- package/node_modules/crelt/index.d.ts +4 -0
- package/node_modules/crelt/index.js +28 -0
- package/node_modules/crelt/package.json +35 -0
- package/node_modules/crelt/rollup.config.js +13 -0
- package/node_modules/style-mod/LICENSE +19 -0
- package/node_modules/style-mod/README.md +98 -0
- package/node_modules/style-mod/dist/style-mod.cjs +165 -0
- package/node_modules/style-mod/dist/style-mod.d.cts +16 -0
- package/node_modules/style-mod/package.json +39 -0
- package/node_modules/style-mod/src/README.md +34 -0
- package/node_modules/style-mod/src/style-mod.d.ts +16 -0
- package/node_modules/style-mod/src/style-mod.js +172 -0
- package/node_modules/style-mod/test/test-style-mod.js +104 -0
- package/node_modules/w3c-keyname/.tern-port +1 -0
- package/node_modules/w3c-keyname/LICENSE +19 -0
- package/node_modules/w3c-keyname/README.md +18 -0
- package/node_modules/w3c-keyname/index.cjs +127 -0
- package/node_modules/w3c-keyname/index.d.cts +5 -0
- package/node_modules/w3c-keyname/index.d.ts +5 -0
- package/node_modules/w3c-keyname/index.js +119 -0
- package/node_modules/w3c-keyname/package.json +37 -0
- package/package.json +1 -1
- package/packages/daemon/src/api.js +268 -2
- package/packages/daemon/src/filewatcher.js +59 -0
- package/packages/daemon/src/index.js +28 -1
- package/packages/daemon/src/mimetypes.js +43 -0
- package/packages/gui/dist/assets/index-BQSznoq0.js +103 -0
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/package.json +15 -2
- package/packages/gui/src/App.jsx +3 -0
- package/packages/gui/src/components/CodeEditor.jsx +143 -0
- package/packages/gui/src/components/EditorTabs.jsx +83 -0
- package/packages/gui/src/components/FileTree.jsx +492 -0
- package/packages/gui/src/components/MediaViewer.jsx +104 -0
- package/packages/gui/src/stores/groove.js +287 -1
- package/packages/gui/src/views/FileEditor.jsx +149 -0
- package/node_modules/@groove-dev/gui/dist/assets/index-8Kqi_LVo.js +0 -74
- package/packages/gui/dist/assets/index-8Kqi_LVo.js +0 -74
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@codemirror/lint",
|
|
3
|
+
"version": "6.9.5",
|
|
4
|
+
"description": "Linting support for the CodeMirror code editor",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "cm-runtests",
|
|
7
|
+
"prepare": "cm-buildhelper src/lint.ts"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"editor",
|
|
11
|
+
"code"
|
|
12
|
+
],
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Marijn Haverbeke",
|
|
15
|
+
"email": "marijn@haverbeke.berlin",
|
|
16
|
+
"url": "http://marijnhaverbeke.nl"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "dist/index.cjs",
|
|
20
|
+
"exports": {
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
|
+
},
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
25
|
+
"module": "dist/index.js",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@codemirror/state": "^6.0.0",
|
|
30
|
+
"@codemirror/view": "^6.35.0",
|
|
31
|
+
"crelt": "^1.0.5"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@codemirror/buildhelper": "^1.0.0"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/codemirror/lint.git"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Trigger CI
|
|
2
|
+
on: push
|
|
3
|
+
|
|
4
|
+
jobs:
|
|
5
|
+
build:
|
|
6
|
+
name: Dispatch to main repo
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Emit repository_dispatch
|
|
10
|
+
uses: mvasigh/dispatch-action@main
|
|
11
|
+
with:
|
|
12
|
+
# You should create a personal access token and store it in your repository
|
|
13
|
+
token: ${{ secrets.DISPATCH_AUTH }}
|
|
14
|
+
repo: dev
|
|
15
|
+
owner: codemirror
|
|
16
|
+
event_type: push
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
## 6.6.0 (2026-01-13)
|
|
2
|
+
|
|
3
|
+
### New features
|
|
4
|
+
|
|
5
|
+
Search queries now support a generic `test` field that can be used to implement custom tests on matches.
|
|
6
|
+
|
|
7
|
+
## 6.5.11 (2025-05-14)
|
|
8
|
+
|
|
9
|
+
### Bug fixes
|
|
10
|
+
|
|
11
|
+
Fix an issue in `replaceNext` that could cause it to create an invalid selection when replacing past the end of the document.
|
|
12
|
+
|
|
13
|
+
## 6.5.10 (2025-02-26)
|
|
14
|
+
|
|
15
|
+
### Bug fixes
|
|
16
|
+
|
|
17
|
+
Add a close button to the `gotoLine` panel.
|
|
18
|
+
|
|
19
|
+
## 6.5.9 (2025-02-12)
|
|
20
|
+
|
|
21
|
+
### Bug fixes
|
|
22
|
+
|
|
23
|
+
When replacing a regexp match, don't expand multi-digit replacement markers to numbers beyond the captured group count in the query.
|
|
24
|
+
|
|
25
|
+
## 6.5.8 (2024-11-22)
|
|
26
|
+
|
|
27
|
+
### Bug fixes
|
|
28
|
+
|
|
29
|
+
Fix a bug that put the selection in the wrong place after running `replaceNext` with a regexp query that could match strings of different length.
|
|
30
|
+
|
|
31
|
+
## 6.5.7 (2024-11-01)
|
|
32
|
+
|
|
33
|
+
### Bug fixes
|
|
34
|
+
|
|
35
|
+
Fix an issue where `findNext` and `findPrevious` would do nothing when the only match in the document was partially selected.
|
|
36
|
+
|
|
37
|
+
Fix an infinite loop in `SearchCursor` when the normalizer function deletes characters.
|
|
38
|
+
|
|
39
|
+
## 6.5.6 (2024-02-07)
|
|
40
|
+
|
|
41
|
+
### Bug fixes
|
|
42
|
+
|
|
43
|
+
Make `highlightSelectionMatches` include whitespace in the selection in its matches.
|
|
44
|
+
|
|
45
|
+
Fix a bug that caused `SearchCursor` to return invalid ranges when matching astral chars that the the normalizer normalized to single-code-unit chars.
|
|
46
|
+
|
|
47
|
+
## 6.5.5 (2023-11-27)
|
|
48
|
+
|
|
49
|
+
### Bug fixes
|
|
50
|
+
|
|
51
|
+
Fix a bug that caused codes like `\n` to be unescaped in strings inserted via replace placeholders like `$&`.
|
|
52
|
+
|
|
53
|
+
Use the keybinding Mod-Alt-g for `gotoLine` to the search keymap, to make it usable for people whose keyboard layout uses Alt/Option-g to type some character.
|
|
54
|
+
|
|
55
|
+
## 6.5.4 (2023-09-20)
|
|
56
|
+
|
|
57
|
+
### Bug fixes
|
|
58
|
+
|
|
59
|
+
Fix a bug that caused whole-word search to incorrectly check for word boundaries in some circumstances.
|
|
60
|
+
|
|
61
|
+
## 6.5.3 (2023-09-14)
|
|
62
|
+
|
|
63
|
+
### Bug fixes
|
|
64
|
+
|
|
65
|
+
The `gotoLine` dialog is now populated with the current line number when you open it.
|
|
66
|
+
|
|
67
|
+
## 6.5.2 (2023-08-26)
|
|
68
|
+
|
|
69
|
+
### Bug fixes
|
|
70
|
+
|
|
71
|
+
Don't use the very lowest precedence for match highlighting decorations.
|
|
72
|
+
|
|
73
|
+
## 6.5.1 (2023-08-04)
|
|
74
|
+
|
|
75
|
+
### Bug fixes
|
|
76
|
+
|
|
77
|
+
Make `gotoLine` prefer to scroll the target line to the middle of the view.
|
|
78
|
+
|
|
79
|
+
Fix an issue in `SearchCursor` where character normalization could produce nonsensical matches.
|
|
80
|
+
|
|
81
|
+
## 6.5.0 (2023-06-05)
|
|
82
|
+
|
|
83
|
+
### New features
|
|
84
|
+
|
|
85
|
+
The new `regexp` option to `search` can be used to control whether queries have the regexp flag on by default.
|
|
86
|
+
|
|
87
|
+
## 6.4.0 (2023-04-25)
|
|
88
|
+
|
|
89
|
+
### Bug fixes
|
|
90
|
+
|
|
91
|
+
The `findNext` and `findPrevious` commands now select the search field text if that field is focused.
|
|
92
|
+
|
|
93
|
+
### New features
|
|
94
|
+
|
|
95
|
+
The `scrollToMatch` callback option now receives the editor view as a second parameter.
|
|
96
|
+
|
|
97
|
+
## 6.3.0 (2023-03-20)
|
|
98
|
+
|
|
99
|
+
### New features
|
|
100
|
+
|
|
101
|
+
The new `scrollToMatch` search option allows you to adjust the way the editor scrolls search matches into view.
|
|
102
|
+
|
|
103
|
+
## 6.2.3 (2022-11-14)
|
|
104
|
+
|
|
105
|
+
### Bug fixes
|
|
106
|
+
|
|
107
|
+
Fix a bug that hid the search dialog's close button when the editor was read-only.
|
|
108
|
+
|
|
109
|
+
## 6.2.2 (2022-10-18)
|
|
110
|
+
|
|
111
|
+
### Bug fixes
|
|
112
|
+
|
|
113
|
+
When `literal` is off, \n, \r, and \t escapes are now also supported in replacement text.
|
|
114
|
+
|
|
115
|
+
Make sure search dialog inputs don't get treated as form fields when the editor is created inside a form.
|
|
116
|
+
|
|
117
|
+
Fix a bug in `RegExpCursor` that would cause it to stop matching in the middle of a line when its current match position was equal to the length of the line.
|
|
118
|
+
|
|
119
|
+
## 6.2.1 (2022-09-26)
|
|
120
|
+
|
|
121
|
+
### Bug fixes
|
|
122
|
+
|
|
123
|
+
By-word search queries will now skip any result that had word characters both before and after a match boundary.
|
|
124
|
+
|
|
125
|
+
## 6.2.0 (2022-08-25)
|
|
126
|
+
|
|
127
|
+
### New features
|
|
128
|
+
|
|
129
|
+
A new `wholeWord` search query flag can be used to limit matches to whole words.
|
|
130
|
+
|
|
131
|
+
`SearchCursor` and `RegExpCursor` now support a `test` parameter that can be used to ignore certain matches.
|
|
132
|
+
|
|
133
|
+
## 6.1.0 (2022-08-16)
|
|
134
|
+
|
|
135
|
+
### Bug fixes
|
|
136
|
+
|
|
137
|
+
Fix an infinite loop when the match position of a `RegExpCursor` ended up in the middle of an UTF16 surrogate pair.
|
|
138
|
+
|
|
139
|
+
### New features
|
|
140
|
+
|
|
141
|
+
The `literal` search option can now be set to make literal queries the default.
|
|
142
|
+
|
|
143
|
+
The new `searchPanelOpen` function can be used to find out whether the search panel is open for a given state.
|
|
144
|
+
|
|
145
|
+
## 6.0.1 (2022-07-22)
|
|
146
|
+
|
|
147
|
+
### Bug fixes
|
|
148
|
+
|
|
149
|
+
`findNext` and `findPrevious` will now return to the current result (and scroll it into view) if no other matches are found.
|
|
150
|
+
|
|
151
|
+
## 6.0.0 (2022-06-08)
|
|
152
|
+
|
|
153
|
+
### Bug fixes
|
|
154
|
+
|
|
155
|
+
Don't crash when a custom search panel doesn't have a field named 'search'.
|
|
156
|
+
|
|
157
|
+
Make sure replacements are announced to screen readers.
|
|
158
|
+
|
|
159
|
+
## 0.20.1 (2022-04-22)
|
|
160
|
+
|
|
161
|
+
### New features
|
|
162
|
+
|
|
163
|
+
It is now possible to disable backslash escapes in search queries with the `literal` option.
|
|
164
|
+
|
|
165
|
+
## 0.20.0 (2022-04-20)
|
|
166
|
+
|
|
167
|
+
### Bug fixes
|
|
168
|
+
|
|
169
|
+
Make the `wholeWords` option to `highlightSelectionMatches` default to false, as intended.
|
|
170
|
+
|
|
171
|
+
## 0.19.10 (2022-04-04)
|
|
172
|
+
|
|
173
|
+
### Bug fixes
|
|
174
|
+
|
|
175
|
+
Make sure search matches are highlighted when scrolling new content into view.
|
|
176
|
+
|
|
177
|
+
## 0.19.9 (2022-03-03)
|
|
178
|
+
|
|
179
|
+
### New features
|
|
180
|
+
|
|
181
|
+
The selection-matching extension now accepts a `wholeWords` option that makes it only highlight matches that span a whole word. Add SearchQuery.getCursor
|
|
182
|
+
|
|
183
|
+
The `SearchQuery` class now has a `getCursor` method that allows external code to create a cursor for the query.
|
|
184
|
+
|
|
185
|
+
## 0.19.8 (2022-02-14)
|
|
186
|
+
|
|
187
|
+
### Bug fixes
|
|
188
|
+
|
|
189
|
+
Fix a bug that caused the search panel to start open when configuring a state with the `search()` extension.
|
|
190
|
+
|
|
191
|
+
## 0.19.7 (2022-02-14)
|
|
192
|
+
|
|
193
|
+
### Breaking changes
|
|
194
|
+
|
|
195
|
+
`searchConfig` is deprecated in favor of `search` (but will exist until next major release).
|
|
196
|
+
|
|
197
|
+
### New features
|
|
198
|
+
|
|
199
|
+
The new `search` function is now used to enable and configure the search extension.
|
|
200
|
+
|
|
201
|
+
## 0.19.6 (2022-01-27)
|
|
202
|
+
|
|
203
|
+
### Bug fixes
|
|
204
|
+
|
|
205
|
+
Make `selectNextOccurrence` scroll the newly selected range into view.
|
|
206
|
+
|
|
207
|
+
## 0.19.5 (2021-12-16)
|
|
208
|
+
|
|
209
|
+
### Breaking changes
|
|
210
|
+
|
|
211
|
+
The search option `matchCase` was renamed to `caseSensitive` (the old name will continue to work until the next breaking release).
|
|
212
|
+
|
|
213
|
+
### Bug fixes
|
|
214
|
+
|
|
215
|
+
`openSearchPanel` will now update the search query to the current selection even if the panel was already open.
|
|
216
|
+
|
|
217
|
+
### New features
|
|
218
|
+
|
|
219
|
+
Client code can now pass a custom search panel creation function in the search configuration.
|
|
220
|
+
|
|
221
|
+
The `getSearchQuery` function and `setSearchQuery` effect can now be used to inspect or change the current search query.
|
|
222
|
+
|
|
223
|
+
## 0.19.4 (2021-12-02)
|
|
224
|
+
|
|
225
|
+
### Bug fixes
|
|
226
|
+
|
|
227
|
+
The search panel will no longer show the replace interface when the editor is read-only.
|
|
228
|
+
|
|
229
|
+
## 0.19.3 (2021-11-22)
|
|
230
|
+
|
|
231
|
+
### Bug fixes
|
|
232
|
+
|
|
233
|
+
Add `userEvent` annotations to search and replace transactions.
|
|
234
|
+
|
|
235
|
+
Make sure the editor handles keys bound to `findNext`/`findPrevious` even when there are no matches, to avoid the browser's search interrupting users.
|
|
236
|
+
|
|
237
|
+
### New features
|
|
238
|
+
|
|
239
|
+
Add a `Symbol.iterator` property to the cursor types, so that they can be used with `for`/`of`.
|
|
240
|
+
|
|
241
|
+
## 0.19.2 (2021-09-16)
|
|
242
|
+
|
|
243
|
+
### Bug fixes
|
|
244
|
+
|
|
245
|
+
`selectNextOccurrence` will now only select partial words if the current main selection hold a partial word.
|
|
246
|
+
|
|
247
|
+
Explicitly set the button's type to prevent the browser from submitting forms wrapped around the editor.
|
|
248
|
+
|
|
249
|
+
## 0.19.1 (2021-09-06)
|
|
250
|
+
|
|
251
|
+
### Bug fixes
|
|
252
|
+
|
|
253
|
+
Make `highlightSelectionMatches` not produce overlapping decorations, since those tend to just get unreadable.
|
|
254
|
+
|
|
255
|
+
Make sure any existing search text is selected when opening the search panel. Add search config option to not match case when search panel is opened (#4)
|
|
256
|
+
|
|
257
|
+
### New features
|
|
258
|
+
|
|
259
|
+
The `searchConfig` function now takes a `matchCase` option that controls whether the search panel starts in case-sensitive mode.
|
|
260
|
+
|
|
261
|
+
## 0.19.0 (2021-08-11)
|
|
262
|
+
|
|
263
|
+
### Bug fixes
|
|
264
|
+
|
|
265
|
+
Make sure to prevent the native Mod-d behavior so that the editor doesn't lose focus after selecting past the last occurrence.
|
|
266
|
+
|
|
267
|
+
## 0.18.4 (2021-05-27)
|
|
268
|
+
|
|
269
|
+
### New features
|
|
270
|
+
|
|
271
|
+
Initialize the search query to the current selection, when there is one, when opening the search dialog.
|
|
272
|
+
|
|
273
|
+
Add a `searchConfig` function, supporting an option to put the search panel at the top of the editor.
|
|
274
|
+
|
|
275
|
+
## 0.18.3 (2021-05-18)
|
|
276
|
+
|
|
277
|
+
### Bug fixes
|
|
278
|
+
|
|
279
|
+
Fix a bug where the first search command in a new editor wouldn't properly open the panel.
|
|
280
|
+
|
|
281
|
+
### New features
|
|
282
|
+
|
|
283
|
+
New command `selectNextOccurrence` that selects the next occurrence of the selected word (bound to Mod-d in the search keymap).
|
|
284
|
+
|
|
285
|
+
## 0.18.2 (2021-03-19)
|
|
286
|
+
|
|
287
|
+
### Bug fixes
|
|
288
|
+
|
|
289
|
+
The search interface and cursor will no longer include overlapping matches (aligning with what all other editors are doing).
|
|
290
|
+
|
|
291
|
+
### New features
|
|
292
|
+
|
|
293
|
+
The package now exports a `RegExpCursor` which is a search cursor that matches regular expression patterns.
|
|
294
|
+
|
|
295
|
+
The search/replace interface now allows the user to use regular expressions.
|
|
296
|
+
|
|
297
|
+
The `SearchCursor` class now has a `nextOverlapping` method that includes matches that start inside the previous match.
|
|
298
|
+
|
|
299
|
+
Basic backslash escapes (\n, \r, \t, and \\) are now accepted in string search patterns in the UI.
|
|
300
|
+
|
|
301
|
+
## 0.18.1 (2021-03-15)
|
|
302
|
+
|
|
303
|
+
### Bug fixes
|
|
304
|
+
|
|
305
|
+
Fix an issue where entering an invalid input in the goto-line dialog would submit a form and reload the page.
|
|
306
|
+
|
|
307
|
+
## 0.18.0 (2021-03-03)
|
|
308
|
+
|
|
309
|
+
### Breaking changes
|
|
310
|
+
|
|
311
|
+
Update dependencies to 0.18.
|
|
312
|
+
|
|
313
|
+
## 0.17.1 (2021-01-06)
|
|
314
|
+
|
|
315
|
+
### New features
|
|
316
|
+
|
|
317
|
+
The package now also exports a CommonJS module.
|
|
318
|
+
|
|
319
|
+
## 0.17.0 (2020-12-29)
|
|
320
|
+
|
|
321
|
+
### Breaking changes
|
|
322
|
+
|
|
323
|
+
First numbered release.
|
|
324
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @codemirror/search [](https://www.npmjs.org/package/@codemirror/search)
|
|
2
|
+
|
|
3
|
+
[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#search) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/search/blob/main/CHANGELOG.md) ]
|
|
4
|
+
|
|
5
|
+
This package implements search functionality for the
|
|
6
|
+
[CodeMirror](https://codemirror.net/) code editor.
|
|
7
|
+
|
|
8
|
+
The [project page](https://codemirror.net/) has more information, a
|
|
9
|
+
number of [examples](https://codemirror.net/examples/) and the
|
|
10
|
+
[documentation](https://codemirror.net/docs/).
|
|
11
|
+
|
|
12
|
+
This code is released under an
|
|
13
|
+
[MIT license](https://github.com/codemirror/search/tree/main/LICENSE).
|
|
14
|
+
|
|
15
|
+
We aim to be an inclusive, welcoming community. To make that explicit,
|
|
16
|
+
we have a [code of
|
|
17
|
+
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
|
|
18
|
+
to communication around the project.
|