super-productivity/packages/plugin-dev/doc-mode/package.json
Johannes Millan 3443bcacd0 refactor(plugins): rename document-mode to doc-mode
Renames the bundled plugin's id (`document-mode` → `doc-mode`), display
name (`Document Mode (Alpha)` → `Doc Mode (Alpha)`), package name,
directory, and asset path. No migration: the plugin has never been
published, so there is no on-disk user data to preserve.

Touched everywhere the id was hardcoded:
- Plugin manifest, package.json, build/deploy/test scripts, log prefixes
- Host BUNDLED_PLUGIN_PATHS entry (src/app/plugins/plugin.service.ts)
- Host comments and test fixtures (plugin-hooks, plugin-persistence-key,
  plugin-persistence.model, conflict-resolution.service.spec)
- E2E spec filenames + PLUGIN_ID constant + label assertions
- build-all.js plugin orchestrator
- build/release-notes.md user-facing entry

Test pass: 88/88 plugin specs, 8/8 plugin-hooks, 132/132
conflict-resolution, 15/15 plugin-persistence-key.util.
Bundle redeployed to src/assets/bundled-plugins/doc-mode (gitignored).

The old `src/assets/bundled-plugins/document-mode/` dir is gitignored and
left on disk after this commit; the host loader no longer references it,
so it's inert. Remove with `rm -rf src/assets/bundled-plugins/document-mode`.
2026-05-27 16:48:59 +02:00

26 lines
775 B
JSON

{
"name": "doc-mode",
"version": "0.1.0",
"description": "Document-style editor for projects and Today using TipTap",
"private": true,
"scripts": {
"build": "node scripts/build.js",
"deploy": "npm run build && node scripts/deploy.js",
"lint": "tsc --noEmit",
"test": "node scripts/test.js"
},
"devDependencies": {
"@types/node": "^22.15.33",
"esbuild": "^0.25.11",
"typescript": "^5.8.3"
},
"dependencies": {
"@super-productivity/plugin-api": "file:../../plugin-api",
"@tiptap/core": "^2.10.0",
"@tiptap/extension-bubble-menu": "^2.27.2",
"@tiptap/extension-floating-menu": "^2.27.2",
"@tiptap/extension-placeholder": "^2.10.0",
"@tiptap/starter-kit": "^2.10.0",
"@tiptap/suggestion": "^2.10.0"
}
}