mirror of
https://github.com/makeplane/plane.git
synced 2026-09-03 04:29:57 +02:00
* refactor: migrate package icons to @makeplane/propel Replace confirmed icon symbols in packages/editor, packages/propel, packages/ui and packages/utils with their audited @makeplane/propel/icons targets, including the relative legacy icon imports inside packages/propel/src. Add the dependency to all four workspaces. Widen the icon component types that were pinned to LucideIcon so both Lucide and Propel icons satisfy them: the editor menu items, editor constants, custom image utils, alignment selector, the ui alert modal variants, and the link icon matchers in utils. Each only renders the icon as a component, and the matcher list still mixes both sources. Two files are deliberately left alone. The emoji-icon-picker directory is out of scope, and icons/priority-icon.tsx dispatches one shared size prop across four still-unresolved Lucide icons, so migrating only its urgent glyph would break that prop and mix fill with stroke. * fix: address icon migration review on packages Restore the 49 user-facing strings the identifier rename overwrote. The migration replaced every occurrence of a source symbol name, including ones inside string literals and JSX text, so editor toolbar labels, slash-command titles, image download tooltips and aria-labels, and the Storybook example labels all displayed icon component names. Drop strokeWidth from Propel icons; the generated glyphs paint with fill="currentColor" so the prop never changed weight. Pick StarFilled for the selected FavoriteStar. Lucide's Star with a fill utility was a solid star, and StarOutline is a ring path, so filling it does not reproduce that shape. Also correct six toolbar story tooltips that already read "Bullet ListLayoutIcon" on preview, from an earlier migration with the same over-broad rename. * fix: restore context-menu story labels after icon rename The mechanical icon rename also replaced JSX text children that matched old lucide identifiers (Edit, Download, Share, Archive). Restore the 13 user-facing labels in the context-menu stories. * chore: align lockfile @makeplane/propel importers to 0.3.0 The preview merge left editor, propel, ui, and utils resolved to 0.2.0 while catalog is 0.3.0. Re-resolve those importers so the lockfile matches.
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"name": "@plane/utils",
|
|
"version": "1.4.2",
|
|
"private": true,
|
|
"description": "Helper functions shared across multiple apps internally",
|
|
"license": "AGPL-3.0",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch --no-clean",
|
|
"check:lint": "oxlint --max-warnings=38 .",
|
|
"check:types": "tsc --noEmit",
|
|
"check:format": "oxfmt --check .",
|
|
"fix:lint": "oxlint --fix .",
|
|
"fix:format": "oxfmt .",
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"@makeplane/propel": "catalog:",
|
|
"@plane/constants": "workspace:*",
|
|
"@plane/types": "workspace:*",
|
|
"chroma-js": "catalog:",
|
|
"clsx": "catalog:",
|
|
"date-fns": "catalog:",
|
|
"hast": "catalog:",
|
|
"hast-util-to-mdast": "catalog:",
|
|
"lodash-es": "catalog:",
|
|
"lucide-react": "catalog:",
|
|
"mdast": "catalog:",
|
|
"react": "catalog:",
|
|
"rehype-parse": "catalog:",
|
|
"rehype-remark": "catalog:",
|
|
"remark-gfm": "catalog:",
|
|
"remark-stringify": "catalog:",
|
|
"sanitize-html": "catalog:",
|
|
"tailwind-merge": "catalog:",
|
|
"unified": "catalog:",
|
|
"uuid": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@plane/typescript-config": "workspace:*",
|
|
"@types/chroma-js": "catalog:",
|
|
"@types/hast": "catalog:",
|
|
"@types/lodash-es": "catalog:",
|
|
"@types/mdast": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/sanitize-html": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|