[WEB-6654] chore: update monorepo dependency versions across packages and apps (#6341)
* [WEB-6654] chore: update monorepo dependency versions across packages and apps * fix: add @plane/typescript-config as devDependency to plane-runner-host tsdown 0.21.x uses rolldown which now resolves the full tsconfig extends chain. Without @plane/typescript-config in the dependency graph, turbo prune excludes it from the Docker build, causing rolldown to fail with "Failed to resolve tsconfig option". * fix: replace __dirname with import.meta.dirname in vite configs for oxfmt 0.42 compatibility oxfmt 0.42 now evaluates vite.config.ts as ESM, causing __dirname to fail. Also add ^build dependency to check:format turbo task so @plane/utils is built before oxfmt runs. Amp-Thread-ID: https://ampcode.com/threads/T-019d3d74-2e2d-77c8-b26f-fde88caf9dea Co-authored-by: Amp <amp@ampcode.com> * chore: bump dependencies to latest versions turbo 2.8.20→2.8.21, @sentry/* 10.45.0→10.46.0, tsdown 0.21.4→0.21.7, oxlint 1.56.0→1.57.0, @tailwindcss/vite+tailwindcss 4.2.1→4.2.2, electron 40.6.0→41.1.0, eslint-plugin-turbo 2.8.13→2.8.21, posthog-js 1.353.0→1.364.1, sanitize-html 2.17.1→2.17.2, react-hook-form 7.71.2→7.72.0, @fontsource/material-symbols-rounded 5.2.36→5.2.39. Also update TURBO_VERSION in all 19 Dockerfiles. Amp-Thread-ID: https://ampcode.com/threads/T-019d3d74-2e2d-77c8-b26f-fde88caf9dea Co-authored-by: Amp <amp@ampcode.com> * fix: revert react-hook-form to 7.71.2 (7.72.0 has breaking Control<T> type changes) Amp-Thread-ID: https://ampcode.com/threads/T-019d3d74-2e2d-77c8-b26f-fde88caf9dea Co-authored-by: Amp <amp@ampcode.com> --------- Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com> Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
co-authored by
sriramveeraghanta
Amp
parent
344d88079b
commit
0ebc4140e8
@@ -13,7 +13,7 @@ RUN corepack enable pnpm
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN pnpm add -g turbo@${TURBO_VERSION}
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -5,7 +5,8 @@ WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN corepack enable pnpm && pnpm add -g turbo
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
RUN pnpm install
|
||||
|
||||
ENV VITE_ADMIN_BASE_PATH="/god-mode/"
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN corepack enable pnpm
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN pnpm add -g turbo@${TURBO_VERSION}
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -6,7 +6,7 @@ import { defineConfig } from "vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { joinUrlPath } from "@plane/utils";
|
||||
|
||||
dotenv.config({ path: path.resolve(__dirname, ".env") });
|
||||
dotenv.config({ path: path.resolve(import.meta.dirname, ".env") });
|
||||
|
||||
// Expose only vars starting with VITE_
|
||||
const viteEnv = Object.keys(process.env)
|
||||
@@ -26,12 +26,16 @@ export default defineConfig(() => ({
|
||||
build: {
|
||||
assetsInlineLimit: 0,
|
||||
},
|
||||
plugins: [tailwindcss(), reactRouter(), tsconfigPaths({ projects: [path.resolve(__dirname, "tsconfig.json")] })],
|
||||
plugins: [
|
||||
tailwindcss(),
|
||||
reactRouter(),
|
||||
tsconfigPaths({ projects: [path.resolve(import.meta.dirname, "tsconfig.json")] }),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
// Next.js compatibility shims used within admin
|
||||
"next/link": path.resolve(__dirname, "app/compat/next/link.tsx"),
|
||||
"next/navigation": path.resolve(__dirname, "app/compat/next/navigation.ts"),
|
||||
"next/link": path.resolve(import.meta.dirname, "app/compat/next/link.tsx"),
|
||||
"next/navigation": path.resolve(import.meta.dirname, "app/compat/next/navigation.ts"),
|
||||
},
|
||||
dedupe: ["react", "react-dom"],
|
||||
},
|
||||
|
||||
@@ -6,15 +6,18 @@ export default defineConfig([
|
||||
outDir: "dist",
|
||||
format: "cjs",
|
||||
platform: "neutral",
|
||||
external: ["electron", "@todesktop/runtime", "electron-store"],
|
||||
clean: true,
|
||||
deps: {
|
||||
neverBundle: ["electron", "@todesktop/runtime", "electron-store"],
|
||||
},
|
||||
},
|
||||
{
|
||||
entry: ["src/preload.ts"],
|
||||
outDir: "dist",
|
||||
format: "cjs",
|
||||
platform: "neutral",
|
||||
external: ["electron"],
|
||||
deps: {
|
||||
neverBundle: ["electron"],
|
||||
},
|
||||
copy: ["src/setup.html"],
|
||||
},
|
||||
{
|
||||
@@ -22,16 +25,20 @@ export default defineConfig([
|
||||
outDir: "dist",
|
||||
format: "cjs",
|
||||
platform: "neutral",
|
||||
external: ["electron"],
|
||||
deps: {
|
||||
neverBundle: ["electron"],
|
||||
},
|
||||
},
|
||||
{
|
||||
entry: ["src/tab-bar.tsx"],
|
||||
outDir: "dist",
|
||||
format: "iife",
|
||||
platform: "browser",
|
||||
external: [],
|
||||
noExternal: ["react", "react-dom", "react-dom/client", "react/jsx-runtime"],
|
||||
inlineOnly: ["react", "react-dom", "scheduler"],
|
||||
deps: {
|
||||
neverBundle: [],
|
||||
alwaysBundle: ["react", "react-dom", "react-dom/client", "react/jsx-runtime"],
|
||||
onlyBundle: ["react", "react-dom", "scheduler"],
|
||||
},
|
||||
name: "PlaneTabBar",
|
||||
globalName: "PlaneTabBar",
|
||||
output: {
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.7
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=flux --docker
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=flux --docker
|
||||
|
||||
@@ -5,7 +5,6 @@ export default defineConfig({
|
||||
outDir: "dist",
|
||||
format: ["esm"],
|
||||
dts: false,
|
||||
clean: true,
|
||||
sourcemap: false,
|
||||
exports: { legacy: true },
|
||||
});
|
||||
|
||||
@@ -4,7 +4,8 @@ RUN apk add --no-cache libc6-compat
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN corepack enable pnpm && pnpm add -g turbo
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
RUN pnpm install
|
||||
EXPOSE 3003
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ RUN npm install -g pnpm@9
|
||||
FROM base AS builder
|
||||
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
|
||||
RUN pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=live --docker
|
||||
|
||||
@@ -5,7 +5,6 @@ export default defineConfig({
|
||||
outDir: "dist",
|
||||
format: ["esm"],
|
||||
dts: false,
|
||||
clean: true,
|
||||
sourcemap: false,
|
||||
exports: { legacy: true },
|
||||
platform: "node",
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.5.6
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=plane-runner-host --docker
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=plane-runner-host --docker
|
||||
|
||||
@@ -12,7 +12,7 @@ FROM base AS builder
|
||||
RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.5.6
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=plane-runner-host --docker
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "plane-runner-host",
|
||||
"version": "2.3.0",
|
||||
"description": "Plane Runner Host for executing isolated JS/TS scripts",
|
||||
"type": "module",
|
||||
"main": "dist/index.mjs",
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
@@ -25,6 +26,7 @@
|
||||
"zod": "^3.25.76"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@plane/typescript-config": "workspace:*",
|
||||
"@types/express": "catalog:",
|
||||
"@types/node": "catalog:",
|
||||
"tsdown": "catalog:",
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
/* oxlint-disable @typescript-eslint/no-misused-promises */
|
||||
|
||||
import * as walk from "acorn-walk";
|
||||
import express, { Request, Response } from "express";
|
||||
import express from "express";
|
||||
import type { Request, Response } from "express";
|
||||
import { tsParser } from "./ts-parser";
|
||||
import type { ASTNode } from "./ts-parser";
|
||||
import { existsSync, mkdtempSync, rmSync, writeFileSync } from "fs";
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"noEmit": false
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
@@ -1,12 +1,17 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/base.json",
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"module": "commonjs",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true
|
||||
"composite": false,
|
||||
"declaration": false,
|
||||
"declarationMap": false,
|
||||
"incremental": false,
|
||||
"noEmit": true,
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noImplicitReturns": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src/**/*", "tests/**/*"],
|
||||
"exclude": ["node_modules"]
|
||||
|
||||
@@ -16,7 +16,6 @@ import { defineConfig } from "tsdown";
|
||||
export default defineConfig({
|
||||
entry: ["src/index.ts", "src/code-validator.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
platform: "node",
|
||||
});
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=silo --docker
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
RUN turbo prune --scope=silo --docker
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
"type": "module",
|
||||
"main": "./dist/start.mjs",
|
||||
"module": "./dist/start.mjs",
|
||||
"types": "./dist/start.d.mts",
|
||||
"exports": {
|
||||
".": "./dist/start.mjs",
|
||||
"./package.json": "./package.json"
|
||||
@@ -87,5 +86,8 @@
|
||||
"typescript": "catalog:",
|
||||
"vite-tsconfig-paths": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
"inlinedDependencies": {
|
||||
"bluebird": "3.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,11 +3,12 @@ import { defineConfig } from "tsdown";
|
||||
export default defineConfig({
|
||||
entry: ["src/start.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
clean: true,
|
||||
dts: false,
|
||||
sourcemap: true,
|
||||
exports: { legacy: true },
|
||||
noExternal: [/^bluebird$/],
|
||||
inlineOnly: false,
|
||||
deps: {
|
||||
alwaysBundle: [/^bluebird$/],
|
||||
onlyBundle: false,
|
||||
},
|
||||
platform: "node",
|
||||
});
|
||||
|
||||
@@ -7,7 +7,8 @@ WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN corepack enable pnpm && pnpm add -g turbo
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
RUN pnpm install
|
||||
|
||||
EXPOSE 3002
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN corepack enable pnpm
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN pnpm add -g turbo@${TURBO_VERSION}
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN corepack enable pnpm
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN pnpm add -g turbo@${TURBO_VERSION}
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -9,7 +9,7 @@ import { joinUrlPath } from "@plane/utils";
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
dotenv.config({ path: path.resolve(__dirname, ".env") });
|
||||
dotenv.config({ path: path.resolve(import.meta.dirname, ".env") });
|
||||
|
||||
// Expose only vars starting with VITE_
|
||||
const viteEnv = Object.keys(process.env)
|
||||
@@ -29,7 +29,11 @@ export default defineConfig(() => ({
|
||||
build: {
|
||||
assetsInlineLimit: 0,
|
||||
},
|
||||
plugins: [tailwindcss(), reactRouter(), tsconfigPaths({ projects: [path.resolve(__dirname, "tsconfig.json")] })],
|
||||
plugins: [
|
||||
tailwindcss(),
|
||||
reactRouter(),
|
||||
tsconfigPaths({ projects: [path.resolve(import.meta.dirname, "tsconfig.json")] }),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@atlaskit/pragmatic-drag-and-drop/combine":
|
||||
@@ -41,8 +45,8 @@ export default defineConfig(() => ({
|
||||
"@atlaskit/pragmatic-drag-and-drop/private/get-element-from-point-without-honey-pot":
|
||||
require.resolve("@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/private/get-element-from-point-without-honey-pot.js"),
|
||||
// Next.js compatibility shims used within space
|
||||
"next/link": path.resolve(__dirname, "app/compat/next/link.tsx"),
|
||||
"next/navigation": path.resolve(__dirname, "app/compat/next/navigation.ts"),
|
||||
"next/link": path.resolve(import.meta.dirname, "app/compat/next/link.tsx"),
|
||||
"next/navigation": path.resolve(import.meta.dirname, "app/compat/next/navigation.ts"),
|
||||
},
|
||||
dedupe: ["react", "react-dom"],
|
||||
},
|
||||
|
||||
@@ -5,7 +5,8 @@ RUN apk add --no-cache libc6-compat
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN corepack enable pnpm && pnpm add -g turbo
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
RUN pnpm install
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
@@ -14,7 +14,7 @@ RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ RUN apk add --no-cache libc6-compat
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
ARG TURBO_VERSION=2.8.13
|
||||
ARG TURBO_VERSION=2.8.21
|
||||
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
||||
COPY . .
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/react-router.json",
|
||||
"compilerOptions": {
|
||||
"composite": false,
|
||||
"rootDirs": [".", "./.react-router/types"],
|
||||
@@ -23,6 +24,5 @@
|
||||
"noImplicitOverride": false,
|
||||
"types": ["vite/client"]
|
||||
},
|
||||
"extends": "@plane/typescript-config/react-router.json",
|
||||
"include": ["**/*", "**/.server/**/*", "**/.client/**/*", ".react-router/types/**/*"]
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import { defineConfig, type PluginOption } from "vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { sentryVitePlugin } from "@sentry/vite-plugin";
|
||||
|
||||
dotenv.config({ path: path.resolve(__dirname, ".env") });
|
||||
dotenv.config({ path: path.resolve(import.meta.dirname, ".env") });
|
||||
|
||||
// Expose only vars starting with VITE_
|
||||
const viteEnv = Object.keys(process.env)
|
||||
@@ -22,7 +22,7 @@ viteEnv.VITE_APP_VERSION ||= process.env.VERCEL_GIT_COMMIT_SHA ?? "";
|
||||
const plugins: PluginOption[] = [
|
||||
tailwindcss(),
|
||||
reactRouter(),
|
||||
tsconfigPaths({ projects: [path.resolve(__dirname, "tsconfig.json")] }),
|
||||
tsconfigPaths({ projects: [path.resolve(import.meta.dirname, "tsconfig.json")] }),
|
||||
];
|
||||
|
||||
if (process.env.SENTRY_AUTH_TOKEN) {
|
||||
@@ -54,8 +54,8 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
// Next.js compatibility shims used within web
|
||||
"next/link": path.resolve(__dirname, "app/compat/next/link.tsx"),
|
||||
"next/navigation": path.resolve(__dirname, "app/compat/next/navigation.ts"),
|
||||
"next/link": path.resolve(import.meta.dirname, "app/compat/next/link.tsx"),
|
||||
"next/navigation": path.resolve(import.meta.dirname, "app/compat/next/navigation.ts"),
|
||||
},
|
||||
dedupe: ["react", "react-dom", "@headlessui/react"],
|
||||
},
|
||||
|
||||
+23
-2
@@ -48,7 +48,7 @@
|
||||
"engines": {
|
||||
"node": ">=22.18.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017",
|
||||
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"react": "18.3.1",
|
||||
@@ -64,6 +64,27 @@
|
||||
"got": ">=11.8.5",
|
||||
"flatted": ">=3.4.2",
|
||||
"socket.io-parser": ">=4.2.6"
|
||||
}
|
||||
},
|
||||
"onlyBuiltDependencies": [
|
||||
"@datadog/native-appsec",
|
||||
"@datadog/native-iast-taint-tracking",
|
||||
"@datadog/native-metrics",
|
||||
"@datadog/pprof",
|
||||
"@firebase/util",
|
||||
"@parcel/watcher",
|
||||
"@sentry-internal/node-cpu-profiler",
|
||||
"@sentry/cli",
|
||||
"core-js",
|
||||
"dd-trace",
|
||||
"dtrace-provider",
|
||||
"electron",
|
||||
"esbuild",
|
||||
"msgpackr-extract",
|
||||
"protobufjs",
|
||||
"sharp",
|
||||
"tldjs",
|
||||
"turbo",
|
||||
"unrs-resolver"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,13 +4,10 @@
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noImplicitReturns": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"include": ["src", ".storybook/preview.ts"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts", "src/**/*.stories.tsx"],
|
||||
"references": [
|
||||
{ "path": "../types" },
|
||||
{ "path": "../constants" },
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/node-library.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"]
|
||||
}
|
||||
|
||||
@@ -4,11 +4,19 @@
|
||||
"private": true,
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/node-library.json",
|
||||
"compilerOptions": {
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUncheckedIndexedAccess": false
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -5,11 +5,19 @@
|
||||
"description": "Controller and route decorators for Express.js applications",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
|
||||
@@ -3,12 +3,9 @@
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"]
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -12,15 +12,28 @@
|
||||
],
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js",
|
||||
"style": "./dist/styles/index.css"
|
||||
"style": "./dist/styles/index.css",
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./lib": {
|
||||
"development": "./src/lib.ts",
|
||||
"default": "./dist/lib.js"
|
||||
},
|
||||
"./lib": "./dist/lib.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": {
|
||||
"style": "./dist/styles/index.css",
|
||||
"import": "./dist/index.js"
|
||||
},
|
||||
"./lib": "./dist/lib.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
@@ -107,7 +120,7 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"nanoid": "catalog:",
|
||||
"react": "catalog:",
|
||||
"react-dom": "catalog:"
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,16 +6,13 @@
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"src/*": ["./src/*"],
|
||||
"@/*": ["./src/core/*"],
|
||||
"@/ce/*": ["./src/ce/*"],
|
||||
"@/plane-editor/*": ["./src/ee/*"],
|
||||
"@/styles/*": ["./src/styles/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
},
|
||||
"include": ["src", "index.d.ts"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,16 +4,19 @@ export default defineConfig({
|
||||
entry: ["src/index.ts", "src/lib.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
clean: true,
|
||||
copy: ["src/styles"],
|
||||
exports: {
|
||||
customExports: (exports) => ({
|
||||
...exports,
|
||||
".": {
|
||||
...(typeof exports["."] === "string" ? { import: exports["."] } : ((exports["."] as object) ?? {})),
|
||||
style: "./dist/styles/index.css",
|
||||
},
|
||||
}),
|
||||
devExports: "development",
|
||||
customExports: (exports) => {
|
||||
const dotExport = typeof exports["."] === "string" ? { import: exports["."] } : ((exports["."] as object) ?? {});
|
||||
return {
|
||||
...exports,
|
||||
".": {
|
||||
style: "./dist/styles/index.css",
|
||||
...dotExport,
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
+71
-13
@@ -10,21 +10,78 @@
|
||||
],
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./asana": "./dist/asana/index.js",
|
||||
"./bitbucket": "./dist/bitbucket/index.js",
|
||||
"./clickup": "./dist/clickup/index.js",
|
||||
"./confluence": "./dist/confluence/index.js",
|
||||
"./core": "./dist/core/index.js",
|
||||
"./flatfile": "./dist/flatfile/index.js",
|
||||
"./github": "./dist/github/index.js",
|
||||
"./gitlab": "./dist/gitlab/index.js",
|
||||
"./jira": "./dist/jira/index.js",
|
||||
"./jira-server": "./dist/jira-server/index.js",
|
||||
"./linear": "./dist/linear/index.js",
|
||||
"./sentry": "./dist/sentry/index.js",
|
||||
"./slack": "./dist/slack/index.js",
|
||||
"./asana": {
|
||||
"development": "./src/asana/index.ts",
|
||||
"default": "./dist/asana/index.js"
|
||||
},
|
||||
"./bitbucket": {
|
||||
"development": "./src/bitbucket/index.ts",
|
||||
"default": "./dist/bitbucket/index.js"
|
||||
},
|
||||
"./clickup": {
|
||||
"development": "./src/clickup/index.ts",
|
||||
"default": "./dist/clickup/index.js"
|
||||
},
|
||||
"./confluence": {
|
||||
"development": "./src/confluence/index.ts",
|
||||
"default": "./dist/confluence/index.js"
|
||||
},
|
||||
"./core": {
|
||||
"development": "./src/core/index.ts",
|
||||
"default": "./dist/core/index.js"
|
||||
},
|
||||
"./flatfile": {
|
||||
"development": "./src/flatfile/index.ts",
|
||||
"default": "./dist/flatfile/index.js"
|
||||
},
|
||||
"./github": {
|
||||
"development": "./src/github/index.ts",
|
||||
"default": "./dist/github/index.js"
|
||||
},
|
||||
"./gitlab": {
|
||||
"development": "./src/gitlab/index.ts",
|
||||
"default": "./dist/gitlab/index.js"
|
||||
},
|
||||
"./jira": {
|
||||
"development": "./src/jira/index.ts",
|
||||
"default": "./dist/jira/index.js"
|
||||
},
|
||||
"./jira-server": {
|
||||
"development": "./src/jira-server/index.ts",
|
||||
"default": "./dist/jira-server/index.js"
|
||||
},
|
||||
"./linear": {
|
||||
"development": "./src/linear/index.ts",
|
||||
"default": "./dist/linear/index.js"
|
||||
},
|
||||
"./sentry": {
|
||||
"development": "./src/sentry/index.ts",
|
||||
"default": "./dist/sentry/index.js"
|
||||
},
|
||||
"./slack": {
|
||||
"development": "./src/slack/index.ts",
|
||||
"default": "./dist/slack/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
"./asana": "./dist/asana/index.js",
|
||||
"./bitbucket": "./dist/bitbucket/index.js",
|
||||
"./clickup": "./dist/clickup/index.js",
|
||||
"./confluence": "./dist/confluence/index.js",
|
||||
"./core": "./dist/core/index.js",
|
||||
"./flatfile": "./dist/flatfile/index.js",
|
||||
"./github": "./dist/github/index.js",
|
||||
"./gitlab": "./dist/gitlab/index.js",
|
||||
"./jira": "./dist/jira/index.js",
|
||||
"./jira-server": "./dist/jira-server/index.js",
|
||||
"./linear": "./dist/linear/index.js",
|
||||
"./sentry": "./dist/sentry/index.js",
|
||||
"./slack": "./dist/slack/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
@@ -63,6 +120,7 @@
|
||||
"@types/papaparse": "catalog:",
|
||||
"tsdown": "catalog:",
|
||||
"typescript": "catalog:",
|
||||
"vite-tsconfig-paths": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -7,12 +7,9 @@
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -3,6 +3,7 @@ import { defineConfig } from "tsdown";
|
||||
export default defineConfig({
|
||||
entry: [
|
||||
"src/asana/index.ts",
|
||||
"src/bitbucket/index.ts",
|
||||
"src/confluence/index.ts",
|
||||
"src/core/index.ts",
|
||||
"src/github/index.ts",
|
||||
@@ -14,10 +15,11 @@ export default defineConfig({
|
||||
"src/flatfile/index.ts",
|
||||
"src/sentry/index.ts",
|
||||
"src/clickup/index.ts",
|
||||
"src/bitbucket/index.ts",
|
||||
],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
environment: "node",
|
||||
},
|
||||
plugins: [tsconfigPaths({ root: "../.." })],
|
||||
});
|
||||
|
||||
@@ -5,11 +5,19 @@
|
||||
"description": "React hooks that are shared across multiple apps internally",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/react-library.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
},
|
||||
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"]
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -5,11 +5,19 @@
|
||||
"description": "I18n shared across multiple apps internally",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/react-library.json",
|
||||
"compilerOptions": {
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUncheckedIndexedAccess": false
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -5,11 +5,19 @@
|
||||
"description": "Logger shared across multiple apps internally",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
|
||||
@@ -2,12 +2,9 @@
|
||||
"extends": "@plane/typescript-config/node-library.json",
|
||||
"compilerOptions": {
|
||||
"experimentalDecorators": true,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"]
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -1,26 +1,15 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/react-library.json",
|
||||
"extends": "@plane/typescript-config/react-router.json",
|
||||
"compilerOptions": {
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noImplicitReturns": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
|
||||
"verbatimModuleSyntax": false
|
||||
}
|
||||
},
|
||||
"include": ["src", "types"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
"references": [
|
||||
{ "path": "../types" },
|
||||
{ "path": "../constants" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../propel" },
|
||||
{ "path": "../ui" },
|
||||
{ "path": "../editor" }
|
||||
]
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"]
|
||||
}
|
||||
|
||||
+238
-47
@@ -4,7 +4,6 @@
|
||||
"private": true,
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"imports": {
|
||||
"#*": [
|
||||
"./*",
|
||||
@@ -15,57 +14,249 @@
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
"./accordion": "./dist/accordion/index.js",
|
||||
"./animated-counter": "./dist/animated-counter/index.js",
|
||||
"./avatar": "./dist/avatar/index.js",
|
||||
"./badge": "./dist/badge/index.js",
|
||||
"./banner": "./dist/banner/index.js",
|
||||
"./button": "./dist/button/index.js",
|
||||
"./calendar": "./dist/calendar/index.js",
|
||||
"./card": "./dist/card/index.js",
|
||||
"./charts/area-chart": "./dist/charts/area-chart/index.js",
|
||||
"./charts/bar-chart": "./dist/charts/bar-chart/index.js",
|
||||
"./charts/line-chart": "./dist/charts/line-chart/index.js",
|
||||
"./charts/pie-chart": "./dist/charts/pie-chart/index.js",
|
||||
"./charts/radar-chart": "./dist/charts/radar-chart/index.js",
|
||||
"./charts/scatter-chart": "./dist/charts/scatter-chart/index.js",
|
||||
"./charts/tree-map": "./dist/charts/tree-map/index.js",
|
||||
"./code-editor": "./dist/code-editor/index.js",
|
||||
"./collapsible": "./dist/collapsible/index.js",
|
||||
"./combobox": "./dist/combobox/index.js",
|
||||
"./command": "./dist/command/index.js",
|
||||
"./context-menu": "./dist/context-menu/index.js",
|
||||
"./dialog": "./dist/dialog/index.js",
|
||||
"./domain/intake-form": "./dist/domain/intake-form/index.js",
|
||||
"./emoji-icon-picker": "./dist/emoji-icon-picker/index.js",
|
||||
"./emoji-reaction": "./dist/emoji-reaction/index.js",
|
||||
"./empty-state": "./dist/empty-state/index.js",
|
||||
"./icon-button": "./dist/icon-button/index.js",
|
||||
"./icons": "./dist/icons/index.js",
|
||||
"./input": "./dist/input/index.js",
|
||||
"./menu": "./dist/menu/index.js",
|
||||
"./pill": "./dist/pill/index.js",
|
||||
"./popover": "./dist/popover/index.js",
|
||||
"./portal": "./dist/portal/index.js",
|
||||
"./progress/circular-progress-indicator": "./dist/progress/circular-progress-indicator.js",
|
||||
"./scrollarea": "./dist/scrollarea/index.js",
|
||||
"./separator": "./dist/separator/index.js",
|
||||
"./skeleton": "./dist/skeleton/index.js",
|
||||
"./switch": "./dist/switch/index.js",
|
||||
"./tab-navigation": "./dist/tab-navigation/index.js",
|
||||
"./table": "./dist/table/index.js",
|
||||
"./tabs": "./dist/tabs/index.js",
|
||||
"./toast": "./dist/toast/index.js",
|
||||
"./toolbar": "./dist/toolbar/index.js",
|
||||
"./tooltip": "./dist/tooltip/index.js",
|
||||
"./tour": "./dist/tour/index.js",
|
||||
"./utils": "./dist/utils/index.js",
|
||||
"./video-player": "./dist/video-player/index.js",
|
||||
"./accordion": {
|
||||
"development": "./src/accordion/index.ts",
|
||||
"default": "./dist/accordion/index.js"
|
||||
},
|
||||
"./animated-counter": {
|
||||
"development": "./src/animated-counter/index.ts",
|
||||
"default": "./dist/animated-counter/index.js"
|
||||
},
|
||||
"./avatar": {
|
||||
"development": "./src/avatar/index.ts",
|
||||
"default": "./dist/avatar/index.js"
|
||||
},
|
||||
"./badge": {
|
||||
"development": "./src/badge/index.ts",
|
||||
"default": "./dist/badge/index.js"
|
||||
},
|
||||
"./banner": {
|
||||
"development": "./src/banner/index.ts",
|
||||
"default": "./dist/banner/index.js"
|
||||
},
|
||||
"./button": {
|
||||
"development": "./src/button/index.ts",
|
||||
"default": "./dist/button/index.js"
|
||||
},
|
||||
"./calendar": {
|
||||
"development": "./src/calendar/index.ts",
|
||||
"default": "./dist/calendar/index.js"
|
||||
},
|
||||
"./card": {
|
||||
"development": "./src/card/index.ts",
|
||||
"default": "./dist/card/index.js"
|
||||
},
|
||||
"./charts/area-chart": {
|
||||
"development": "./src/charts/area-chart/index.ts",
|
||||
"default": "./dist/charts/area-chart/index.js"
|
||||
},
|
||||
"./charts/bar-chart": {
|
||||
"development": "./src/charts/bar-chart/index.ts",
|
||||
"default": "./dist/charts/bar-chart/index.js"
|
||||
},
|
||||
"./charts/line-chart": {
|
||||
"development": "./src/charts/line-chart/index.ts",
|
||||
"default": "./dist/charts/line-chart/index.js"
|
||||
},
|
||||
"./charts/pie-chart": {
|
||||
"development": "./src/charts/pie-chart/index.ts",
|
||||
"default": "./dist/charts/pie-chart/index.js"
|
||||
},
|
||||
"./charts/radar-chart": {
|
||||
"development": "./src/charts/radar-chart/index.ts",
|
||||
"default": "./dist/charts/radar-chart/index.js"
|
||||
},
|
||||
"./charts/scatter-chart": {
|
||||
"development": "./src/charts/scatter-chart/index.ts",
|
||||
"default": "./dist/charts/scatter-chart/index.js"
|
||||
},
|
||||
"./charts/tree-map": {
|
||||
"development": "./src/charts/tree-map/index.ts",
|
||||
"default": "./dist/charts/tree-map/index.js"
|
||||
},
|
||||
"./code-editor": {
|
||||
"development": "./src/code-editor/index.ts",
|
||||
"default": "./dist/code-editor/index.js"
|
||||
},
|
||||
"./collapsible": {
|
||||
"development": "./src/collapsible/index.ts",
|
||||
"default": "./dist/collapsible/index.js"
|
||||
},
|
||||
"./combobox": {
|
||||
"development": "./src/combobox/index.ts",
|
||||
"default": "./dist/combobox/index.js"
|
||||
},
|
||||
"./command": {
|
||||
"development": "./src/command/index.ts",
|
||||
"default": "./dist/command/index.js"
|
||||
},
|
||||
"./context-menu": {
|
||||
"development": "./src/context-menu/index.ts",
|
||||
"default": "./dist/context-menu/index.js"
|
||||
},
|
||||
"./dialog": {
|
||||
"development": "./src/dialog/index.ts",
|
||||
"default": "./dist/dialog/index.js"
|
||||
},
|
||||
"./domain/intake-form": {
|
||||
"development": "./src/domain/intake-form/index.ts",
|
||||
"default": "./dist/domain/intake-form/index.js"
|
||||
},
|
||||
"./emoji-icon-picker": {
|
||||
"development": "./src/emoji-icon-picker/index.ts",
|
||||
"default": "./dist/emoji-icon-picker/index.js"
|
||||
},
|
||||
"./emoji-reaction": {
|
||||
"development": "./src/emoji-reaction/index.ts",
|
||||
"default": "./dist/emoji-reaction/index.js"
|
||||
},
|
||||
"./empty-state": {
|
||||
"development": "./src/empty-state/index.ts",
|
||||
"default": "./dist/empty-state/index.js"
|
||||
},
|
||||
"./icon-button": {
|
||||
"development": "./src/icon-button/index.ts",
|
||||
"default": "./dist/icon-button/index.js"
|
||||
},
|
||||
"./icons": {
|
||||
"development": "./src/icons/index.ts",
|
||||
"default": "./dist/icons/index.js"
|
||||
},
|
||||
"./input": {
|
||||
"development": "./src/input/index.ts",
|
||||
"default": "./dist/input/index.js"
|
||||
},
|
||||
"./menu": {
|
||||
"development": "./src/menu/index.ts",
|
||||
"default": "./dist/menu/index.js"
|
||||
},
|
||||
"./pill": {
|
||||
"development": "./src/pill/index.ts",
|
||||
"default": "./dist/pill/index.js"
|
||||
},
|
||||
"./popover": {
|
||||
"development": "./src/popover/index.ts",
|
||||
"default": "./dist/popover/index.js"
|
||||
},
|
||||
"./portal": {
|
||||
"development": "./src/portal/index.ts",
|
||||
"default": "./dist/portal/index.js"
|
||||
},
|
||||
"./progress/circular-progress-indicator": {
|
||||
"development": "./src/progress/circular-progress-indicator.tsx",
|
||||
"default": "./dist/progress/circular-progress-indicator.js"
|
||||
},
|
||||
"./scrollarea": {
|
||||
"development": "./src/scrollarea/index.ts",
|
||||
"default": "./dist/scrollarea/index.js"
|
||||
},
|
||||
"./separator": {
|
||||
"development": "./src/separator/index.ts",
|
||||
"default": "./dist/separator/index.js"
|
||||
},
|
||||
"./skeleton": {
|
||||
"development": "./src/skeleton/index.ts",
|
||||
"default": "./dist/skeleton/index.js"
|
||||
},
|
||||
"./switch": {
|
||||
"development": "./src/switch/index.ts",
|
||||
"default": "./dist/switch/index.js"
|
||||
},
|
||||
"./tab-navigation": {
|
||||
"development": "./src/tab-navigation/index.ts",
|
||||
"default": "./dist/tab-navigation/index.js"
|
||||
},
|
||||
"./table": {
|
||||
"development": "./src/table/index.ts",
|
||||
"default": "./dist/table/index.js"
|
||||
},
|
||||
"./tabs": {
|
||||
"development": "./src/tabs/index.ts",
|
||||
"default": "./dist/tabs/index.js"
|
||||
},
|
||||
"./toast": {
|
||||
"development": "./src/toast/index.ts",
|
||||
"default": "./dist/toast/index.js"
|
||||
},
|
||||
"./toolbar": {
|
||||
"development": "./src/toolbar/index.ts",
|
||||
"default": "./dist/toolbar/index.js"
|
||||
},
|
||||
"./tooltip": {
|
||||
"development": "./src/tooltip/index.ts",
|
||||
"default": "./dist/tooltip/index.js"
|
||||
},
|
||||
"./tour": {
|
||||
"development": "./src/tour/index.ts",
|
||||
"default": "./dist/tour/index.js"
|
||||
},
|
||||
"./utils": {
|
||||
"development": "./src/utils/index.ts",
|
||||
"default": "./dist/utils/index.js"
|
||||
},
|
||||
"./video-player": {
|
||||
"development": "./src/video-player/index.ts",
|
||||
"default": "./dist/video-player/index.js"
|
||||
},
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"style": "./dist/styles/index.css"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
"./accordion": "./dist/accordion/index.js",
|
||||
"./animated-counter": "./dist/animated-counter/index.js",
|
||||
"./avatar": "./dist/avatar/index.js",
|
||||
"./badge": "./dist/badge/index.js",
|
||||
"./banner": "./dist/banner/index.js",
|
||||
"./button": "./dist/button/index.js",
|
||||
"./calendar": "./dist/calendar/index.js",
|
||||
"./card": "./dist/card/index.js",
|
||||
"./charts/area-chart": "./dist/charts/area-chart/index.js",
|
||||
"./charts/bar-chart": "./dist/charts/bar-chart/index.js",
|
||||
"./charts/line-chart": "./dist/charts/line-chart/index.js",
|
||||
"./charts/pie-chart": "./dist/charts/pie-chart/index.js",
|
||||
"./charts/radar-chart": "./dist/charts/radar-chart/index.js",
|
||||
"./charts/scatter-chart": "./dist/charts/scatter-chart/index.js",
|
||||
"./charts/tree-map": "./dist/charts/tree-map/index.js",
|
||||
"./code-editor": "./dist/code-editor/index.js",
|
||||
"./collapsible": "./dist/collapsible/index.js",
|
||||
"./combobox": "./dist/combobox/index.js",
|
||||
"./command": "./dist/command/index.js",
|
||||
"./context-menu": "./dist/context-menu/index.js",
|
||||
"./dialog": "./dist/dialog/index.js",
|
||||
"./domain/intake-form": "./dist/domain/intake-form/index.js",
|
||||
"./emoji-icon-picker": "./dist/emoji-icon-picker/index.js",
|
||||
"./emoji-reaction": "./dist/emoji-reaction/index.js",
|
||||
"./empty-state": "./dist/empty-state/index.js",
|
||||
"./icon-button": "./dist/icon-button/index.js",
|
||||
"./icons": "./dist/icons/index.js",
|
||||
"./input": "./dist/input/index.js",
|
||||
"./menu": "./dist/menu/index.js",
|
||||
"./pill": "./dist/pill/index.js",
|
||||
"./popover": "./dist/popover/index.js",
|
||||
"./portal": "./dist/portal/index.js",
|
||||
"./progress/circular-progress-indicator": "./dist/progress/circular-progress-indicator.js",
|
||||
"./scrollarea": "./dist/scrollarea/index.js",
|
||||
"./separator": "./dist/separator/index.js",
|
||||
"./skeleton": "./dist/skeleton/index.js",
|
||||
"./switch": "./dist/switch/index.js",
|
||||
"./tab-navigation": "./dist/tab-navigation/index.js",
|
||||
"./table": "./dist/table/index.js",
|
||||
"./tabs": "./dist/tabs/index.js",
|
||||
"./toast": "./dist/toast/index.js",
|
||||
"./toolbar": "./dist/toolbar/index.js",
|
||||
"./tooltip": "./dist/tooltip/index.js",
|
||||
"./tour": "./dist/tour/index.js",
|
||||
"./utils": "./dist/utils/index.js",
|
||||
"./video-player": "./dist/video-player/index.js",
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"style": "./dist/styles/index.css"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
|
||||
@@ -225,9 +225,6 @@ export const NavigationTour: React.FC<NavigationTourProps> = (props) => {
|
||||
|
||||
const targetElement = document.querySelector(targetSelector);
|
||||
if (!targetElement) {
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
console.warn(`[NavigationTour] Target element not found: ${targetSelector}`);
|
||||
}
|
||||
setPositions(null);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -4,12 +4,9 @@
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noImplicitReturns": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"include": ["src", ".storybook/preview.ts"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts", "src/**/*.stories.tsx"],
|
||||
"references": [{ "path": "../types" }, { "path": "../constants" }, { "path": "../hooks" }, { "path": "../utils" }]
|
||||
}
|
||||
|
||||
@@ -50,13 +50,17 @@ export default defineConfig({
|
||||
dts: true,
|
||||
copy: ["src/styles"],
|
||||
exports: {
|
||||
customExports: (exports) => ({
|
||||
...exports,
|
||||
".": {
|
||||
...(typeof exports["."] === "string" ? { import: exports["."] } : ((exports["."] as object) ?? {})),
|
||||
style: "./dist/styles/index.css",
|
||||
},
|
||||
}),
|
||||
devExports: "development",
|
||||
customExports: (exports) => {
|
||||
const dotExport = typeof exports["."] === "string" ? { import: exports["."] } : ((exports["."] as object) ?? {});
|
||||
return {
|
||||
...exports,
|
||||
".": {
|
||||
style: "./dist/styles/index.css",
|
||||
...dotExport,
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -6,11 +6,19 @@
|
||||
"dist/**"
|
||||
],
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
|
||||
@@ -3,12 +3,9 @@
|
||||
"compilerOptions": {
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -4,11 +4,19 @@
|
||||
"private": true,
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
|
||||
@@ -15,15 +15,10 @@ import { API_BASE_URL } from "@plane/constants";
|
||||
import type { TBaseIssue, TCustomerRequestCreateResponse, TCustomerRequest } from "@plane/types";
|
||||
// services
|
||||
import { APIService } from "../api.service";
|
||||
import { FileUploadService } from "../file/file-upload.service";
|
||||
|
||||
export class CustomerRequestsService extends APIService {
|
||||
private fileUploadService: FileUploadService;
|
||||
|
||||
constructor() {
|
||||
super(API_BASE_URL);
|
||||
// upload service
|
||||
this.fileUploadService = new FileUploadService();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,7 +19,6 @@ import type {
|
||||
TDashboard,
|
||||
TDashboardWidgetsLayoutPayload,
|
||||
TDashboardWidgetData,
|
||||
TExternalDashboardWidgetFilterExpression,
|
||||
TWorkItemFilterExpression,
|
||||
} from "@plane/types";
|
||||
import { APIService } from "../api.service";
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
"extends": "@plane/typescript-config/react-library.json",
|
||||
"compilerOptions": {
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noUnusedLocals": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -5,11 +5,19 @@
|
||||
"description": "Shared state shared across multiple apps internally",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
|
||||
@@ -3,12 +3,9 @@
|
||||
"compilerOptions": {
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -4,11 +4,19 @@
|
||||
"private": true,
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
@@ -28,7 +36,7 @@
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "catalog:",
|
||||
"react-dom": "catalog:"
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
{
|
||||
"extends": "@plane/typescript-config/node-library.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
},
|
||||
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"]
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
"extends": "./base.json",
|
||||
"compilerOptions": {
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "${configDir}/dist",
|
||||
"rootDir": "${configDir}/src",
|
||||
"tsBuildInfoFile": "${configDir}/dist/tsconfig.tsbuildinfo",
|
||||
"types": ["node"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
"compilerOptions": {
|
||||
"emitDeclarationOnly": true,
|
||||
"jsx": "react-jsx",
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"]
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"outDir": "${configDir}/dist",
|
||||
"rootDir": "${configDir}/src",
|
||||
"tsBuildInfoFile": "${configDir}/dist/tsconfig.tsbuildinfo"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,11 +6,19 @@
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
@@ -61,7 +69,7 @@
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "catalog:",
|
||||
"react-dom": "catalog:"
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,6 +76,7 @@ export function ContextMenuItem(props: ContextMenuItemProps) {
|
||||
if (contextMenuContext && hasNestedItems) {
|
||||
return contextMenuContext.registerSubmenu(closeNestedMenu);
|
||||
}
|
||||
return undefined;
|
||||
}, [contextMenuContext, hasNestedItems, closeNestedMenu]);
|
||||
|
||||
const handleItemClick = (e: React.MouseEvent) => {
|
||||
@@ -155,6 +156,7 @@ export function ContextMenuItem(props: ContextMenuItemProps) {
|
||||
menuElement.removeEventListener("keydown", handleKeyDown);
|
||||
};
|
||||
}
|
||||
return undefined;
|
||||
}, [isNestedOpen, activeNestedIndex, renderedNestedItems, hasNestedItems, closeNestedMenu]);
|
||||
|
||||
if (item.shouldRender === false) return null;
|
||||
|
||||
@@ -206,6 +206,7 @@ function ContextMenuWithoutPortal(props: ContextMenuProps) {
|
||||
document.removeEventListener("mousedown", handleDocumentClick, true);
|
||||
};
|
||||
}
|
||||
return undefined;
|
||||
}, [isOpen, handleClose]);
|
||||
|
||||
return (
|
||||
|
||||
@@ -194,6 +194,7 @@ function CustomMenu(props: ICustomMenuDropdownProps) {
|
||||
document.removeEventListener("mousedown", handleDocumentClick, useCaptureForOutsideClick);
|
||||
};
|
||||
}
|
||||
return undefined;
|
||||
}, [isOpen, closeDropdown, useCaptureForOutsideClick]);
|
||||
|
||||
let menuItems = (
|
||||
@@ -366,6 +367,7 @@ function SubMenu(props: ICustomSubMenuProps) {
|
||||
if (menuContext) {
|
||||
return menuContext.registerSubmenu(closeSubmenu);
|
||||
}
|
||||
return undefined;
|
||||
}, [menuContext, closeSubmenu]);
|
||||
|
||||
const toggleSubmenu = () => {
|
||||
|
||||
@@ -5,10 +5,7 @@
|
||||
"noImplicitReturns": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUnusedParameters": false
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
@@ -5,11 +5,19 @@
|
||||
"description": "Helper functions shared across multiple apps internally",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
".": {
|
||||
"development": "./src/index.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
|
||||
@@ -23,6 +23,8 @@ export const getUserRole = (role: EUserPermissions | EUserWorkspaceRoles | EUser
|
||||
return "MEMBER";
|
||||
case EUserPermissions.ADMIN:
|
||||
return "ADMIN";
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -60,4 +60,6 @@ export const getCurrentStateSequence = (
|
||||
}
|
||||
return (currentStateSequence + nextStateSequence) / 2;
|
||||
}
|
||||
|
||||
return defaultSequence;
|
||||
};
|
||||
|
||||
@@ -5,10 +5,7 @@
|
||||
"noImplicitReturns": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"noUnusedParameters": false
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules", "*.config.ts"],
|
||||
|
||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
exports: true,
|
||||
exports: {
|
||||
devExports: "development",
|
||||
},
|
||||
platform: "neutral",
|
||||
});
|
||||
|
||||
Generated
+2918
-2959
File diff suppressed because it is too large
Load Diff
+26
-25
@@ -30,7 +30,7 @@ catalog:
|
||||
'@fontsource-variable/inter': 5.2.8
|
||||
'@fontsource/ibm-plex-mono': 5.2.7
|
||||
'@fontsource/inter': 5.2.8
|
||||
'@fontsource/material-symbols-rounded': 5.2.34
|
||||
'@fontsource/material-symbols-rounded': 5.2.39
|
||||
'@headlessui/react': ^1.7.19
|
||||
'@hocuspocus/extension-database': 2.15.2
|
||||
'@hocuspocus/extension-logger': 2.15.2
|
||||
@@ -60,12 +60,12 @@ catalog:
|
||||
'@react-router/dev': 7.13.1
|
||||
'@react-router/node': 7.13.1
|
||||
'@react-router/serve': 7.13.1
|
||||
'@sentry/cli': 3.2.0
|
||||
'@sentry/core': 10.38.0
|
||||
'@sentry/node': 10.38.0
|
||||
'@sentry/opentelemetry': 10.38.0
|
||||
'@sentry/profiling-node': 10.38.0
|
||||
'@sentry/react-router': 10.38.0
|
||||
'@sentry/cli': 3.2.2
|
||||
'@sentry/core': 10.46.0
|
||||
'@sentry/node': 10.46.0
|
||||
'@sentry/opentelemetry': 10.46.0
|
||||
'@sentry/profiling-node': 10.46.0
|
||||
'@sentry/react-router': 10.46.0
|
||||
'@sentry/vite-plugin': 4.9.1
|
||||
'@shikijs/core': ^3.22.0
|
||||
'@shikijs/engine-javascript': ^3.22.0
|
||||
@@ -75,16 +75,16 @@ catalog:
|
||||
'@slack/types': ^2.20.0
|
||||
'@socket.io/redis-adapter': 8.3.0
|
||||
'@socket.io/redis-emitter': 5.1.0
|
||||
'@storybook/addon-a11y': 10.2.8
|
||||
'@storybook/addon-a11y': 10.3.3
|
||||
'@storybook/addon-designs': 11.1.2
|
||||
'@storybook/addon-docs': 10.2.8
|
||||
'@storybook/addon-themes': 10.2.10
|
||||
'@storybook/addon-vitest': 10.2.8
|
||||
'@storybook/react-vite': 10.2.8
|
||||
'@storybook/addon-docs': 10.3.3
|
||||
'@storybook/addon-themes': 10.3.3
|
||||
'@storybook/addon-vitest': 10.3.3
|
||||
'@storybook/react-vite': 10.3.3
|
||||
'@sveltejs/acorn-typescript': ^1.0.9
|
||||
'@t3-oss/env-core': ^0.11.1
|
||||
'@tailwindcss/typography': 0.5.19
|
||||
'@tailwindcss/vite': 4.1.18
|
||||
'@tailwindcss/vite': 4.2.2
|
||||
'@tanstack/react-table': ^8.21.3
|
||||
'@tanstack/react-virtual': ^3.13.19
|
||||
'@tanstack/virtual-core': ^3.13.19
|
||||
@@ -164,14 +164,14 @@ catalog:
|
||||
date-fns: ^4.1.0
|
||||
dd-trace: ^5.87.0
|
||||
dotenv: ^16.6.1
|
||||
effect: 3.20.0
|
||||
electron: 40.0.0
|
||||
effect: 3.21.0
|
||||
electron: 41.1.0
|
||||
electron-store: ^11.0.2
|
||||
emoji-picker-react: ^4.18.0
|
||||
emoji-regex: ^10.6.0
|
||||
eslint-plugin-jsx-a11y: 6.10.2
|
||||
eslint-plugin-react-hooks: 7.0.1
|
||||
eslint-plugin-turbo: 2.8.13
|
||||
eslint-plugin-turbo: 2.8.21
|
||||
export-to-csv: ^1.4.0
|
||||
express: 4.22.0
|
||||
express-winston: ^4.2.0
|
||||
@@ -208,7 +208,7 @@ catalog:
|
||||
nanoid: 3.3.8
|
||||
next-themes: 0.4.6
|
||||
node-html-parser: ^6.1.13
|
||||
oxlint: 1.50.0
|
||||
oxlint: 1.57.0
|
||||
oxlint-tsgolint: 0.16.0
|
||||
pako: ^2.1.0
|
||||
papaparse: ^5.5.3
|
||||
@@ -216,7 +216,7 @@ catalog:
|
||||
pg: ^8.18.0
|
||||
playwright: ^1.58.2
|
||||
postgres: ^3.4.8
|
||||
posthog-js: 1.347.0
|
||||
posthog-js: 1.364.1
|
||||
prosemirror-highlight: ^0.13.1
|
||||
prosemirror-safari-ime-span: ^1.0.2
|
||||
prosemirror-utils: ^1.2.2
|
||||
@@ -229,7 +229,7 @@ catalog:
|
||||
react-dropzone: ^14.4.1
|
||||
react-fast-compare: ^3.2.2
|
||||
react-grid-layout: ^1.5.3
|
||||
react-hook-form: 7.71.1
|
||||
react-hook-form: 7.71.2
|
||||
react-is: ^18.3.1
|
||||
react-markdown: ^9.1.0
|
||||
react-masonry-component: ^6.3.0
|
||||
@@ -244,23 +244,23 @@ catalog:
|
||||
rehype-remark: ^10.0.1
|
||||
remark-gfm: ^4.0.1
|
||||
remark-stringify: ^11.0.0
|
||||
sanitize-html: 2.17.0
|
||||
sanitize-html: 2.17.2
|
||||
serve: 14.2.5
|
||||
sharp: ^0.34.5
|
||||
smooth-scroll-into-view-if-needed: ^2.0.2
|
||||
socket.io: 4.8.3
|
||||
socket.io-client: ^4.8.3
|
||||
source-map-support: ^0.5.21
|
||||
storybook: 10.2.10
|
||||
storybook: 10.3.3
|
||||
streamdown: ^2.3.0
|
||||
swr: 2.4.0
|
||||
tailwind-merge: 3.4.0
|
||||
tailwindcss: 4.1.18
|
||||
tailwind-merge: 3.5.0
|
||||
tailwindcss: 4.2.2
|
||||
tippy.js: ^6.3.7
|
||||
tiptap-markdown: ^0.8.10
|
||||
tldjs: ^2.3.2
|
||||
tsdown: 0.20.3
|
||||
turbo: 2.8.13
|
||||
tsdown: 0.21.7
|
||||
turbo: 2.8.21
|
||||
turndown: ^7.2.2
|
||||
type-fest: ^4.41.0
|
||||
typescript: 5.9.3
|
||||
@@ -285,6 +285,7 @@ cleanupUnusedCatalogs: true
|
||||
onlyBuiltDependencies:
|
||||
- '@firebase/util'
|
||||
- '@sentry/cli'
|
||||
- dd-trace
|
||||
- esbuild
|
||||
- electron
|
||||
- protobufjs
|
||||
|
||||
+5
-7
@@ -1,23 +1,21 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx"
|
||||
},
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./packages/blocks" },
|
||||
{ "path": "./packages/codemods" },
|
||||
{ "path": "./packages/constants" },
|
||||
{ "path": "./packages/decorators" },
|
||||
{ "path": "./packages/editor" },
|
||||
{ "path": "./packages/etl" },
|
||||
{ "path": "./packages/hooks" },
|
||||
{ "path": "./packages/i18n" },
|
||||
{ "path": "./packages/logger" },
|
||||
{ "path": "./packages/mobile-editor" },
|
||||
{ "path": "./packages/propel" },
|
||||
{ "path": "./packages/sdk" },
|
||||
{ "path": "./packages/services" },
|
||||
{ "path": "./packages/shared-state" },
|
||||
{ "path": "./packages/types" },
|
||||
{ "path": "./packages/ui" },
|
||||
{ "path": "./packages/utils" },
|
||||
{ "path": "./packages/constants" },
|
||||
{ "path": "./packages/types" }
|
||||
{ "path": "./packages/utils" }
|
||||
]
|
||||
}
|
||||
|
||||
+4
-6
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://turborepo.com/schema.json",
|
||||
"globalDependencies": [".npmrc", ".oxfmtrc.json", ".oxlintrc.json"],
|
||||
"globalDependencies": [".npmrc", ".oxfmtrc.json", "eslint.config.mjs"],
|
||||
"globalEnv": [
|
||||
"API_BASE_URL",
|
||||
"APP_BASE_URL",
|
||||
@@ -63,7 +63,7 @@
|
||||
"AWS_SECRET_CACHE_TTL"
|
||||
],
|
||||
"remoteCache": {
|
||||
"apiUrl": "https://turbo-remote-cache.plane.town",
|
||||
"apiUrl": "https://turborepo-remote-cache.vamsi-906.workers.dev",
|
||||
"enabled": true,
|
||||
"signature": true,
|
||||
"teamSlug": "plane"
|
||||
@@ -82,13 +82,14 @@
|
||||
"dependsOn": ["check:format", "check:lint", "check:types"]
|
||||
},
|
||||
"check:format": {
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["$TURBO_DEFAULT$"],
|
||||
"outputs": []
|
||||
},
|
||||
"check:lint": {
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["$TURBO_DEFAULT$", "!**/*.md"],
|
||||
"outputs": []
|
||||
"outputs": ["node_modules/.cache/eslint/**"]
|
||||
},
|
||||
"check:types": {
|
||||
"dependsOn": ["^build"],
|
||||
@@ -103,9 +104,6 @@
|
||||
"dependsOn": ["^build"],
|
||||
"persistent": true
|
||||
},
|
||||
"diagnose": {
|
||||
"cache": false
|
||||
},
|
||||
"fix": {
|
||||
"cache": false,
|
||||
"dependsOn": ["fix:format", "fix:lint"]
|
||||
|
||||
Reference in New Issue
Block a user