Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

sync: canary cahnges to preview

sriramveeraghanta4f5272c8af9f
diff --cc apps/web/core/components/settings/sidebar/nav-item.tsx
index 6dcc36fa3a,14bac592bd..af1d139d6d
--- a/apps/web/core/components/settings/sidebar/nav-item.tsx
+++ b/apps/web/core/components/settings/sidebar/nav-item.tsx
@@@ -4,9 -4,9 +4,9 @@@ import Link from "next/link"
import { useParams } from "next/navigation";
import { Disclosure } from "@headlessui/react";
// plane imports
-import { EUserWorkspaceRoles } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { EUserWorkspaceRoles } from "@plane/types";
- import { cn } from "@plane/utils";
+ import { cn, joinUrlPath } from "@plane/utils";
// hooks
import { useUserSettings } from "@/hooks/store";
diff --cc packages/constants/package.json
index f0de91401c,c8e0784a55..f3e176772d
--- a/packages/constants/package.json
+++ b/packages/constants/package.json
@@@ -1,38 -1,7 +1,38 @@@
{
"name": "@plane/constants",
- "version": "0.27.0",
+ "version": "0.27.1",
"private": true,
- "main": "./src/index.ts",
- "license": "AGPL-3.0"
+ "license": "AGPL-3.0",
+ "type": "module",
+ "main": "./dist/index.js",
+ "module": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "files": [
+ "dist/**/*"
+ ],
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "require": "./dist/index.js",
+ "import": "./dist/index.js"
+ }
+ },
+ "scripts": {
+ "dev": "tsup --watch",
+ "build": "tsc --noEmit && tsup",
+ "check:lint": "eslint . --max-warnings 0",
+ "check:types": "tsc --noEmit",
+ "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
+ "fix:lint": "eslint . --fix",
+ "fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
+ },
+ "dependencies": {
+ "@plane/types": "*"
+ },
+ "devDependencies": {
+ "@plane/eslint-config": "*",
+ "@plane/typescript-config": "*",
+ "tsup": "8.4.0"
+ }
}
diff --cc packages/types/package.json
index f4ae508318,2a5f550629..5fc4316921
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@@ -1,34 -1,8 +1,34 @@@
{
"name": "@plane/types",
- "version": "0.27.0",
+ "version": "0.27.1",
"license": "AGPL-3.0",
"private": true,
- "types": "./src/index.d.ts",
- "main": "./src/index.d.ts"
+ "type": "module",
+ "types": "./dist/index.d.ts",
+ "main": "./dist/index.js",
+ "module": "./dist/index.js",
+ "files": [
+ "dist/**/*"
+ ],
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "require": "./dist/index.js",
+ "import": "./dist/index.js"
+ }
+ },
+ "scripts": {
+ "dev": "tsup --watch",
+ "build": "tsc --noEmit && tsup",
+ "check:types": "tsc --noEmit",
+ "check:lint": "eslint src --ext .ts,.tsx",
+ "check:format": "prettier --check \"**/*.{ts,tsx,md}\"",
+ "fix:lint": "eslint src --ext .ts,.tsx --fix",
+ "fix:format": "prettier --write \"**/*.{ts,tsx,md}\""
+ },
+ "devDependencies": {
+ "@plane/eslint-config": "*",
+ "@plane/typescript-config": "*",
+ "tsup": "8.4.0"
+ }
}