mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	build: decouple package deps and introduce yarn workspaces (#7415)
* feat: decouple package deps and introduce yarn workspaces * update root directory * fix * fix scripts * fix lint * update path in scripts * remove yarn.lock files from packages * ignore workspace * dummy * dummy * remove comment check * revert workflow changes * ignore ws when installing gh actions * remove log * update path * fix * fix typo
This commit is contained in:
		@@ -1,20 +1,30 @@
 | 
			
		||||
import React from "react";
 | 
			
		||||
import { Card } from "../../src/components/Card";
 | 
			
		||||
import { ToolButton } from "../../src/components/ToolButton";
 | 
			
		||||
import { serializeAsJSON } from "../../src/data/json";
 | 
			
		||||
import { Card } from "../../packages/excalidraw/components/Card";
 | 
			
		||||
import { ToolButton } from "../../packages/excalidraw/components/ToolButton";
 | 
			
		||||
import { serializeAsJSON } from "../../packages/excalidraw/data/json";
 | 
			
		||||
import { loadFirebaseStorage, saveFilesToFirebase } from "../data/firebase";
 | 
			
		||||
import { FileId, NonDeletedExcalidrawElement } from "../../src/element/types";
 | 
			
		||||
import { AppState, BinaryFileData, BinaryFiles } from "../../src/types";
 | 
			
		||||
import {
 | 
			
		||||
  FileId,
 | 
			
		||||
  NonDeletedExcalidrawElement,
 | 
			
		||||
} from "../../packages/excalidraw/element/types";
 | 
			
		||||
import {
 | 
			
		||||
  AppState,
 | 
			
		||||
  BinaryFileData,
 | 
			
		||||
  BinaryFiles,
 | 
			
		||||
} from "../../packages/excalidraw/types";
 | 
			
		||||
import { nanoid } from "nanoid";
 | 
			
		||||
import { useI18n } from "../../src/i18n";
 | 
			
		||||
import { encryptData, generateEncryptionKey } from "../../src/data/encryption";
 | 
			
		||||
import { isInitializedImageElement } from "../../src/element/typeChecks";
 | 
			
		||||
import { useI18n } from "../../packages/excalidraw/i18n";
 | 
			
		||||
import {
 | 
			
		||||
  encryptData,
 | 
			
		||||
  generateEncryptionKey,
 | 
			
		||||
} from "../../packages/excalidraw/data/encryption";
 | 
			
		||||
import { isInitializedImageElement } from "../../packages/excalidraw/element/typeChecks";
 | 
			
		||||
import { FILE_UPLOAD_MAX_BYTES } from "../app_constants";
 | 
			
		||||
import { encodeFilesForUpload } from "../data/FileManager";
 | 
			
		||||
import { MIME_TYPES } from "../../src/constants";
 | 
			
		||||
import { trackEvent } from "../../src/analytics";
 | 
			
		||||
import { getFrame } from "../../src/utils";
 | 
			
		||||
import { ExcalidrawLogo } from "../../src/components/ExcalidrawLogo";
 | 
			
		||||
import { MIME_TYPES } from "../../packages/excalidraw/constants";
 | 
			
		||||
import { trackEvent } from "../../packages/excalidraw/analytics";
 | 
			
		||||
import { getFrame } from "../../packages/excalidraw/utils";
 | 
			
		||||
import { ExcalidrawLogo } from "../../packages/excalidraw/components/ExcalidrawLogo";
 | 
			
		||||
 | 
			
		||||
export const exportToExcalidrawPlus = async (
 | 
			
		||||
  elements: readonly NonDeletedExcalidrawElement[],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user