├── .gitignore ├── .npmignore ├── .npmrc ├── .replit ├── CHANGELOG.md ├── README.md ├── dev ├── index.html ├── index.ts ├── massive.ts ├── snippets.ts └── vite.config.ts ├── package.json ├── src ├── Config.ts ├── Gutters.ts ├── LinesState.ts ├── Overlay.ts ├── diagnostics.ts ├── index.ts ├── linebasedstate.ts ├── selections.ts ├── text.ts └── types.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | 4 | .config 5 | .cache 6 | .DS_Store 7 | .npm_cache 8 | .upm 9 | .vscode 10 | .yarn-cache 11 | bun.lockb 12 | 13 | npm-debug.log 14 | yarn-error.log -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /dev 2 | /src 3 | /node_modules 4 | 5 | .cache 6 | .config 7 | .github 8 | .replit 9 | .upm 10 | .vscode 11 | bun.lockb 12 | 13 | replit.nix -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers=true 2 | resolve-peers-from-workspace-root=true -------------------------------------------------------------------------------- /.replit: -------------------------------------------------------------------------------- 1 | run = "bun run dev" 2 | entrypoint = "index.ts" 3 | modules = ["bun-1.0:v1-20230911-f253fb1"] 4 | 5 | hidden = [".config", "bun.lockb"] 6 | 7 | [nix] 8 | channel = "stable-22_11" 9 | 10 | [deployment] 11 | build = ["sh", "-c", "mkdir .build && bun build index.ts > .build/index.js"] 12 | run = ["bun", ".build/index.js"] 13 | deploymentTarget = "cloudrun" 14 | 15 | [[ports]] 16 | localPort = 5173 17 | externalPort = 80 18 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 0.5.1 (2023-10-25) 2 | 3 | ### Bug fixes 4 | 5 | Remove circular imports to fix build 6 | 7 | ## 0.5.0 (2023-10-25) 8 | 9 | ### Breaking changes 10 | 11 | The `minimap` function to register the main extension was removed from the library and replaced with the `showMinimap` facet. 12 | 13 | The `MinimapGutterDecoration` facet to register gutters in the minimap was removed from the library and replaced with an option within the `showMinimap` facet. 14 | 15 | ### Bug fixes 16 | 17 | Bump postcss (dependency of Vite) patch version to 8.4.31 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Minimap for Codemirror 6 2 | 3 |
11 |