A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
chore: add changes required by pluton biz edition
towfiqi16172e1d8520
diff --git a/backend/package.json b/backend/package.jsonindex facedb3..299f49f 100644--- a/backend/package.json+++ b/backend/package.json@@ -4,6 +4,7 @@"version": "0.2.0","author": "plutonhq","license": "Apache-2.0",+ "repository": "https://github.com/plutonhq/pluton","publishConfig": {"access": "public"},diff --git a/backend/src/utils/selfBackup/payload.ts b/backend/src/utils/selfBackup/payload.tsindex 6c36fad..f483b69 100644--- a/backend/src/utils/selfBackup/payload.ts+++ b/backend/src/utils/selfBackup/payload.ts@@ -10,7 +10,7 @@ import { extract, pack } from 'tar-stream';import { appPaths } from '../AppPaths';import { getDrizzleJournalTag } from '../migrations';-export type PlutonEdition = 'core' | 'pro';+export type PlutonEdition = 'core' | 'pro' | 'biz';export interface PayloadManifest {edition: PlutonEdition;diff --git a/frontend/package.json b/frontend/package.jsonindex ebbdf97..b0cc8ec 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -4,6 +4,7 @@"version": "0.2.0","author": "Plutonhq","license": "Apache-2.0",+ "repository": "https://github.com/plutonhq/pluton","publishConfig": {"access": "public"},diff --git a/frontend/src/context/ComponentOverrideContext.tsx b/frontend/src/context/ComponentOverrideContext.tsxindex 98e9a09..2f8384f 100644--- a/frontend/src/context/ComponentOverrideContext.tsx+++ b/frontend/src/context/ComponentOverrideContext.tsx@@ -1,7 +1,7 @@import React, { createContext, ReactNode, useContext } from 'react';// Define a type for the component map-interface ComponentOverrides {+export interface ComponentOverrides {[key: string]: React.ComponentType<any>;}diff --git a/package.json b/package.jsonindex 9beb5c5..c497a46 100644--- a/package.json+++ b/package.json@@ -11,6 +11,9 @@"build:executables:local": "node ./scripts/build-executables.js --platform win-x64,linux-x64","build:appimage:local": "wsl -e bash -c \"cd /mnt/f/JS/apps/pluton/codebase/pluton-app/pluton/installers/linux && ./build-appimage.sh all pluton\"","build:exe:local": "node ./installers/windows/build-installer.js",+ "publish:backend": "pnpm --filter @plutonhq/core-backend publish --access public && pnpm --filter @plutonhq/core-backend publish --registry https://npm.pkg.github.com --no-git-checks",+ "publish:frontend": "pnpm --filter @plutonhq/core-frontend publish --access public && pnpm --filter @plutonhq/core-frontend publish --registry https://npm.pkg.github.com --no-git-checks",+ "publish:packages": "pnpm run publish:backend && pnpm run publish:frontend","dev:backend": "pnpm --filter @plutonhq/core-backend dev","dev:frontend": "pnpm --filter @plutonhq/core-frontend dev","dev": "concurrently \"pnpm dev:backend\" \"pnpm dev:frontend\" "