fix: deps on weba and mobile
This commit is contained in:
@@ -36,8 +36,6 @@
|
||||
"@react-navigation/native": "^6.0.10",
|
||||
"@react-navigation/stack": "^6.2.1",
|
||||
"@standardnotes/components-meta": "workspace:*",
|
||||
"@standardnotes/encryption": "workspace:*",
|
||||
"@standardnotes/features": "workspace:*",
|
||||
"@standardnotes/filepicker": "workspace:*",
|
||||
"@standardnotes/files": "workspace:*",
|
||||
"@standardnotes/icons": "workspace:*",
|
||||
@@ -47,7 +45,6 @@
|
||||
"@standardnotes/sncrypto-common": "workspace:*",
|
||||
"@standardnotes/snjs": "workspace:*",
|
||||
"@standardnotes/stylekit": "5.29.3",
|
||||
"@standardnotes/utils": "workspace:*",
|
||||
"@standardnotes/web": "workspace:*",
|
||||
"@types/styled-components-react-native": "5.1.3",
|
||||
"dompurify": "^2.3.8",
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import { MobileTheme } from '@Root/Style/MobileTheme'
|
||||
import { ComponentChecksumsType } from '@standardnotes/components-meta'
|
||||
import RawComponentChecksumsFile from '@standardnotes/components-meta/dist/zips/checksums.json'
|
||||
import { EncryptionService } from '@standardnotes/encryption'
|
||||
import { FeatureDescription, FeatureIdentifier, GetFeatures } from '@standardnotes/features'
|
||||
import {
|
||||
ComponentMutator,
|
||||
EncryptionService,
|
||||
FeatureDescription,
|
||||
FeatureIdentifier,
|
||||
GetFeatures,
|
||||
isRightVersionGreaterThanLeft,
|
||||
PermissionDialog,
|
||||
SNApplication,
|
||||
|
||||
@@ -4,8 +4,7 @@ import { ModalStackNavigationProp } from '@Root/ModalStack'
|
||||
import { SCREEN_SETTINGS } from '@Root/Screens/screens'
|
||||
import { FilesSection } from '@Screens/Settings/Sections/FilesSection'
|
||||
import { WorkspacesSection } from '@Screens/Settings/Sections/WorkspacesSection'
|
||||
import { FeatureIdentifier } from '@standardnotes/features'
|
||||
import { ApplicationEvent, FeatureStatus } from '@standardnotes/snjs'
|
||||
import { ApplicationEvent, FeatureIdentifier, FeatureStatus } from '@standardnotes/snjs'
|
||||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
import { AuthSection } from './Sections/AuthSection'
|
||||
import { CompanySection } from './Sections/CompanySection'
|
||||
|
||||
@@ -17,8 +17,7 @@ import {
|
||||
import { SideMenuOptionIconDescriptionType } from '@Root/Screens/SideMenu/SideMenuSection'
|
||||
import { SideMenuCell } from '@Screens/SideMenu/SideMenuCell'
|
||||
import { UploadedFileItemActionType } from '@Screens/UploadedFilesList/UploadedFileItemAction'
|
||||
import { FeatureIdentifier } from '@standardnotes/features'
|
||||
import { FeatureStatus, SNNote } from '@standardnotes/snjs'
|
||||
import { FeatureIdentifier, FeatureStatus, SNNote } from '@standardnotes/snjs'
|
||||
import React, { FC } from 'react'
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -6,14 +6,15 @@ import { useSafeApplicationContext } from '@Root/Hooks/useSafeApplicationContext
|
||||
import { SCREEN_COMPOSE, SCREEN_INPUT_MODAL_TAG, SCREEN_NOTE_HISTORY } from '@Root/Screens/screens'
|
||||
import { Files } from '@Root/Screens/SideMenu/Files'
|
||||
import { Listed } from '@Root/Screens/SideMenu/Listed'
|
||||
import { FeatureIdentifier, FindNativeFeature } from '@standardnotes/features'
|
||||
import {
|
||||
ApplicationEvent,
|
||||
ButtonType,
|
||||
ComponentArea,
|
||||
ComponentMutator,
|
||||
ContentType,
|
||||
FeatureIdentifier,
|
||||
FeatureStatus,
|
||||
FindNativeFeature,
|
||||
NoteMutator,
|
||||
NoteViewController,
|
||||
PayloadEmitSource,
|
||||
|
||||
@@ -68,11 +68,9 @@
|
||||
"@reach/listbox": "^0.16.2",
|
||||
"@reach/tooltip": "^0.16.2",
|
||||
"@reach/visually-hidden": "^0.16.0",
|
||||
"@standardnotes/encryption": "workspace:*",
|
||||
"@standardnotes/filepicker": "workspace:*",
|
||||
"@standardnotes/files": "workspace:*",
|
||||
"@standardnotes/icons": "workspace:*",
|
||||
"@standardnotes/services": "workspace:*",
|
||||
"@standardnotes/sncrypto-web": "workspace:*",
|
||||
"@standardnotes/snjs": "workspace:*",
|
||||
"@standardnotes/styles": "workspace:*",
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
STRING_LOCAL_ENC_ENABLED,
|
||||
STRING_ENC_NOT_ENABLED,
|
||||
} from '@/Constants/Strings'
|
||||
import { BackupFile } from '@standardnotes/encryption'
|
||||
import { BackupFile } from '@standardnotes/snjs'
|
||||
import { ChangeEventHandler, MouseEventHandler, useCallback, useEffect, useRef, useState } from 'react'
|
||||
import { WebApplication } from '@/Application/Application'
|
||||
import { ViewControllerManager } from '@/Services/ViewControllerManager'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { ButtonType, sanitizeHtmlString } from '@standardnotes/snjs'
|
||||
import { AlertService } from '@standardnotes/services'
|
||||
import { AlertService, ButtonType, sanitizeHtmlString } from '@standardnotes/snjs'
|
||||
import { SKAlert } from '@standardnotes/styles'
|
||||
|
||||
/** @returns a promise resolving to true if the user confirmed, false if they canceled */
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { WebApplication } from '@/Application/Application'
|
||||
import { parseFileName } from '@standardnotes/filepicker'
|
||||
import {
|
||||
BackupFile,
|
||||
ContentType,
|
||||
BackupFileDecryptedContextualPayload,
|
||||
NoteContent,
|
||||
EncryptedItemInterface,
|
||||
} from '@standardnotes/snjs'
|
||||
import { BackupFile } from '@standardnotes/encryption'
|
||||
|
||||
function sanitizeFileName(name: string): string {
|
||||
return name.trim().replace(/[.\\/:"?*|<>]/g, '_')
|
||||
|
||||
Reference in New Issue
Block a user