mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-02 14:18:45 +02:00
Full rush update attempt (#10157)
* Bump packages (#10162) Signed-off-by: Andrey Sobolev <haiodo@gmail.com> * Fix formatting Signed-off-by: Andrey Sobolev <haiodo@gmail.com> * use fixed version of plur Signed-off-by: Andrey Sobolev <haiodo@gmail.com> --------- Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Generated
+13405
-12473
File diff suppressed because it is too large
Load Diff
@@ -43,7 +43,7 @@
|
||||
"@hcengineering/platform": "^0.7.17",
|
||||
"@hcengineering/presentation": "^0.7.0",
|
||||
"hls.js": "^1.5.20",
|
||||
"plyr": "^3.7.8",
|
||||
"plyr": "3.7.8",
|
||||
"svelte": "^4.2.20"
|
||||
},
|
||||
"repository": "https://github.com/hcengineering/platform",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/eslint.config.json'],
|
||||
extends: ['./node_modules/@hcengineering/platform-rig/profiles/node/eslint.config.json'],
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: './tsconfig.json'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
|
||||
"rigPackageName": "@hcengineering/platform-rig"
|
||||
"rigPackageName": "@hcengineering/platform-rig",
|
||||
"rigProfile": "node"
|
||||
}
|
||||
|
||||
@@ -4,20 +4,16 @@
|
||||
"main": "lib/index.js",
|
||||
"svelte": "src/index.ts",
|
||||
"types": "types/index.d.ts",
|
||||
"files": [
|
||||
"lib/**/*",
|
||||
"types/**/*",
|
||||
"tsconfig.json"
|
||||
],
|
||||
"author": "Anticrm Platform Contributors",
|
||||
"template": "@hcengineering/node-package",
|
||||
"license": "EPL-2.0",
|
||||
"scripts": {
|
||||
"build": "compile",
|
||||
"build:watch": "compile",
|
||||
"test": "jest --passWithNoTests --silent",
|
||||
"test": "jest --passWithNoTests --silent --forceExit",
|
||||
"format": "format src",
|
||||
"_phase:build": "compile transpile src",
|
||||
"_phase:test": "jest --passWithNoTests --silent",
|
||||
"_phase:test": "jest --passWithNoTests --silent --forceExit",
|
||||
"_phase:format": "format src",
|
||||
"_phase:validate": "compile validate"
|
||||
},
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { MarkupNode, htmlToJSON } from '@hcengineering/text'
|
||||
import { htmlToJSON, type MarkupNode } from '@hcengineering/text'
|
||||
import { markupToMarkdown } from '@hcengineering/text-markdown'
|
||||
import { mkdir, readdir, readFile, writeFile } from 'fs/promises'
|
||||
import * as yaml from 'js-yaml'
|
||||
import { basename, dirname, extname, join, relative } from 'path'
|
||||
import { HulyControlledDocumentHeader, HulyDocumentTemplateHeader } from '../huly/huly'
|
||||
import { type HulyControlledDocumentHeader, type HulyDocumentTemplateHeader } from '../huly/huly'
|
||||
|
||||
export interface DocumentConverterOptions {
|
||||
outputPath: string
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { AttrValue, MarkupNode, MarkupNodeType } from '@hcengineering/text'
|
||||
import { dirname, join, relative } from 'path'
|
||||
import { DocumentPreprocessorSpec, DocumentState } from './docx'
|
||||
import documents from '@hcengineering/controlled-documents'
|
||||
import { type AttrValue, type MarkupNode, MarkupNodeType } from '@hcengineering/text'
|
||||
import { dirname, join, relative } from 'path'
|
||||
import { type DocumentPreprocessorSpec, type DocumentState } from './docx'
|
||||
|
||||
const _addStubHeader: DocumentPreprocessorSpec<DocumentState['header']> = (converter, inputOptions) => {
|
||||
return (document) => {
|
||||
|
||||
@@ -13,36 +13,36 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { Attachment } from '@hcengineering/attachment'
|
||||
import card, { Card, CardSpace, MasterTag, Tag } from '@hcengineering/card'
|
||||
import { type Attachment } from '@hcengineering/attachment'
|
||||
import card, { type Card, type CardSpace, type MasterTag, type Tag } from '@hcengineering/card'
|
||||
import core, {
|
||||
Association,
|
||||
Attribute,
|
||||
BlobType,
|
||||
Class,
|
||||
Doc,
|
||||
Enum,
|
||||
type Association,
|
||||
type Attribute,
|
||||
type BlobType,
|
||||
type Class,
|
||||
type Doc,
|
||||
type Enum,
|
||||
generateId,
|
||||
Ref,
|
||||
Relation,
|
||||
Space
|
||||
type Ref,
|
||||
type Relation,
|
||||
type Space
|
||||
} from '@hcengineering/core'
|
||||
import * as fs from 'fs'
|
||||
import * as yaml from 'js-yaml'
|
||||
import { contentType } from 'mime-types'
|
||||
import * as path from 'path'
|
||||
import { IntlString } from '@hcengineering/platform'
|
||||
import { Logger } from '../importer/logger'
|
||||
import { Props, UnifiedDoc, UnifiedFile, UnifiedMixin, UnifiedUpdate } from '../types'
|
||||
import { UnifiedFormatParser } from './parser'
|
||||
import { AssociationMetadata, MetadataRegistry } from './registry'
|
||||
import { type IntlString } from '@hcengineering/platform'
|
||||
import { type Logger } from '../importer/logger'
|
||||
import { type Props, type UnifiedDoc, type UnifiedFile, type UnifiedMixin, type UnifiedUpdate } from '../types'
|
||||
import { type UnifiedFormatParser } from './parser'
|
||||
import { type AssociationMetadata, type MetadataRegistry } from './registry'
|
||||
import {
|
||||
AssociationSchema,
|
||||
BaseFieldType,
|
||||
type BaseFieldType,
|
||||
BooleanFieldType,
|
||||
EnumSchema,
|
||||
FieldType,
|
||||
FormatSchema,
|
||||
type FieldType,
|
||||
type FormatSchema,
|
||||
MasterTagSchema,
|
||||
NumberFieldType,
|
||||
OneOfFieldType,
|
||||
|
||||
@@ -15,17 +15,24 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { type Attachment } from '@hcengineering/attachment'
|
||||
import card from '@hcengineering/card'
|
||||
import contact, { Employee, type Person } from '@hcengineering/contact'
|
||||
import contact, { type Employee, type Person } from '@hcengineering/contact'
|
||||
import documents, {
|
||||
ControlledDocument,
|
||||
DocumentCategory,
|
||||
DocumentMeta,
|
||||
type ControlledDocument,
|
||||
type DocumentCategory,
|
||||
type DocumentMeta,
|
||||
DocumentState
|
||||
} from '@hcengineering/controlled-documents'
|
||||
import { AccountUuid, generateId, PersonId, type Ref, SocialIdType, type TxOperations } from '@hcengineering/core'
|
||||
import {
|
||||
type AccountUuid,
|
||||
generateId,
|
||||
type PersonId,
|
||||
type Ref,
|
||||
SocialIdType,
|
||||
type TxOperations
|
||||
} from '@hcengineering/core'
|
||||
import document, { type Document } from '@hcengineering/document'
|
||||
import core from '@hcengineering/model-core'
|
||||
import tracker, { type Issue, Project } from '@hcengineering/tracker'
|
||||
import tracker, { type Issue, type Project } from '@hcengineering/tracker'
|
||||
import * as fs from 'fs'
|
||||
import sizeOf from 'image-size'
|
||||
import * as yaml from 'js-yaml'
|
||||
@@ -35,12 +42,12 @@ import { ImportWorkspaceBuilder } from '../importer/builder'
|
||||
import {
|
||||
type ImportAttachment,
|
||||
type ImportComment,
|
||||
ImportControlledDocument,
|
||||
ImportControlledDocumentTemplate,
|
||||
type ImportControlledDocument,
|
||||
type ImportControlledDocumentTemplate,
|
||||
type ImportDocument,
|
||||
ImportDrawing,
|
||||
type ImportDrawing,
|
||||
type ImportIssue,
|
||||
ImportOrgSpace,
|
||||
type ImportOrgSpace,
|
||||
type ImportProject,
|
||||
type ImportProjectType,
|
||||
type ImportTeamspace,
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import { Attachment } from '@hcengineering/attachment'
|
||||
import { type Attachment } from '@hcengineering/attachment'
|
||||
import { type Person } from '@hcengineering/contact'
|
||||
import { type Class, type Doc, type Ref, type Space } from '@hcengineering/core'
|
||||
import { MarkupMarkType, type MarkupNode, MarkupNodeType, traverseNode, traverseNodeMarks } from '@hcengineering/text'
|
||||
@@ -21,7 +21,7 @@ import { contentType } from 'mime-types'
|
||||
import * as path from 'path'
|
||||
import { type Logger } from '../importer/logger'
|
||||
import { BaseMarkdownPreprocessor } from '../importer/preprocessor'
|
||||
import { MentionMetadata, MetadataRegistry } from './registry'
|
||||
import { type MentionMetadata, type MetadataRegistry } from './registry'
|
||||
|
||||
export interface AttachmentMetadata {
|
||||
id: Ref<Attachment>
|
||||
|
||||
@@ -13,9 +13,16 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { Tag } from '@hcengineering/card'
|
||||
import { Association, Attribute, Blob as PlatformBlob, Doc, generateId, Ref } from '@hcengineering/core'
|
||||
import { UnifiedDoc } from '../types'
|
||||
import { type Tag } from '@hcengineering/card'
|
||||
import {
|
||||
type Association,
|
||||
type Attribute,
|
||||
type Blob as PlatformBlob,
|
||||
type Doc,
|
||||
generateId,
|
||||
type Ref
|
||||
} from '@hcengineering/core'
|
||||
import { type UnifiedDoc } from '../types'
|
||||
import { v4 as uuid } from 'uuid'
|
||||
|
||||
export interface AssociationMetadata {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FormatSchema, BaseFieldType, FieldType } from './schema'
|
||||
import { type FormatSchema, type BaseFieldType, type FieldType } from './schema'
|
||||
|
||||
type Field = Record<string, any>
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
import documents, { ControlledDocument, DocumentState } from '@hcengineering/controlled-documents'
|
||||
import documents, { type ControlledDocument, DocumentState } from '@hcengineering/controlled-documents'
|
||||
import { type DocumentQuery, type Ref, type Status, type TxOperations } from '@hcengineering/core'
|
||||
import document from '@hcengineering/document'
|
||||
import tracker, { IssuePriority, type IssueStatus } from '@hcengineering/tracker'
|
||||
import {
|
||||
ImportControlledDocument,
|
||||
ImportControlledDocumentTemplate,
|
||||
ImportOrgSpace,
|
||||
type ImportControlledDocument,
|
||||
type ImportControlledDocumentTemplate,
|
||||
type ImportOrgSpace,
|
||||
type ImportControlledDocOrTemplate,
|
||||
type ImportDocument,
|
||||
type ImportIssue,
|
||||
|
||||
@@ -16,11 +16,11 @@ import {
|
||||
type CollaborativeDoc,
|
||||
concatLink,
|
||||
makeCollabJsonId,
|
||||
Markup,
|
||||
type Markup,
|
||||
type Blob as PlatformBlob,
|
||||
type Ref
|
||||
} from '@hcengineering/core'
|
||||
import { FileUploader, UploadResult } from './uploader'
|
||||
import { type FileUploader, type UploadResult } from './uploader'
|
||||
|
||||
interface FileUploadError {
|
||||
key: string
|
||||
|
||||
@@ -12,26 +12,26 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
import attachment, { type Attachment, Drawing } from '@hcengineering/attachment'
|
||||
import attachment, { type Attachment, type Drawing } from '@hcengineering/attachment'
|
||||
import chunter, { type ChatMessage } from '@hcengineering/chunter'
|
||||
import { Employee, type Person } from '@hcengineering/contact'
|
||||
import { type Employee, type Person } from '@hcengineering/contact'
|
||||
import documents, {
|
||||
ChangeControl,
|
||||
type ChangeControl,
|
||||
type ControlledDocument,
|
||||
createControlledDocMetadata,
|
||||
createDocumentTemplateMetadata,
|
||||
DocumentCategory,
|
||||
DocumentMeta,
|
||||
type DocumentCategory,
|
||||
type DocumentMeta,
|
||||
type DocumentSpace,
|
||||
DocumentState,
|
||||
DocumentTemplate,
|
||||
OrgSpace,
|
||||
ProjectDocument,
|
||||
type DocumentState,
|
||||
type DocumentTemplate,
|
||||
type OrgSpace,
|
||||
type ProjectDocument,
|
||||
useDocumentTemplate
|
||||
} from '@hcengineering/controlled-documents'
|
||||
import core, {
|
||||
type AttachedData,
|
||||
AttachedDoc,
|
||||
type AttachedDoc,
|
||||
type Class,
|
||||
type CollaborativeDoc,
|
||||
type Data,
|
||||
@@ -42,7 +42,7 @@ import core, {
|
||||
type Mixin,
|
||||
type Blob as PlatformBlob,
|
||||
type Ref,
|
||||
RolesAssignment,
|
||||
type RolesAssignment,
|
||||
SortingOrder,
|
||||
type Space,
|
||||
type Status,
|
||||
@@ -70,8 +70,8 @@ import tracker, {
|
||||
TimeReportDayType
|
||||
} from '@hcengineering/tracker'
|
||||
import view from '@hcengineering/view'
|
||||
import { Props, UnifiedUpdate, UnifiedDoc, UnifiedFile, UnifiedMixin } from '../types'
|
||||
import { Logger } from './logger'
|
||||
import { type Props, type UnifiedUpdate, type UnifiedDoc, type UnifiedFile, type UnifiedMixin } from '../types'
|
||||
import { type Logger } from './logger'
|
||||
import { type MarkdownPreprocessor, NoopMarkdownPreprocessor } from './preprocessor'
|
||||
import { type FileUploader } from './uploader'
|
||||
export interface ImportWorkspace {
|
||||
|
||||
@@ -13,9 +13,16 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
import { saveCollabJson } from '@hcengineering/collaboration'
|
||||
import { CollaborativeDoc, Markup, MeasureContext, Blob as PlatformBlob, Ref, WorkspaceIds } from '@hcengineering/core'
|
||||
import {
|
||||
type CollaborativeDoc,
|
||||
type Markup,
|
||||
type MeasureContext,
|
||||
type Blob as PlatformBlob,
|
||||
type Ref,
|
||||
type WorkspaceIds
|
||||
} from '@hcengineering/core'
|
||||
import type { StorageAdapter } from '@hcengineering/server-core'
|
||||
import { FileUploader, UploadResult } from './uploader'
|
||||
import { type FileUploader, type UploadResult } from './uploader'
|
||||
|
||||
export class StorageFileUploader implements FileUploader {
|
||||
constructor (
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
import { Class, Data, Doc, Mixin, Ref, Space, Blob as PlatformBlob, DocumentUpdate } from '@hcengineering/core'
|
||||
import {
|
||||
type Class,
|
||||
type Data,
|
||||
type Doc,
|
||||
type Mixin,
|
||||
type Ref,
|
||||
type Space,
|
||||
type Blob as PlatformBlob,
|
||||
type DocumentUpdate
|
||||
} from '@hcengineering/core'
|
||||
export type Props<T extends Doc> = Data<T> & Partial<Doc> & { space: Ref<Space> }
|
||||
|
||||
export interface UnifiedDoc<T extends Doc> {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
|
||||
"extends": "./node_modules/@hcengineering/platform-rig/profiles/node/tsconfig.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
"emojibase-regex": "^16.0.0",
|
||||
"fast-equals": "^5.2.2",
|
||||
"svelte": "^4.2.20",
|
||||
"plyr": "^3.7.8",
|
||||
"plyr": "3.7.8",
|
||||
"blurhash": "^2.0.5"
|
||||
},
|
||||
"repository": "https://github.com/hcengineering/platform",
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
{
|
||||
"name": "@hcengineering/global-profile-assets",
|
||||
"version": "0.7.0",
|
||||
"main": "src/index.ts",
|
||||
"main": "./lib/index.js",
|
||||
"types": "./types/index.d.ts",
|
||||
"files": [
|
||||
"lib",
|
||||
"types",
|
||||
"src",
|
||||
"assets",
|
||||
"lang"
|
||||
],
|
||||
"author": "Anticrm Platform Contributors",
|
||||
"template": "@hcengineering/assets-package",
|
||||
"license": "EPL-2.0",
|
||||
@@ -35,5 +43,27 @@
|
||||
"dependencies": {
|
||||
"@hcengineering/platform": "^0.7.17",
|
||||
"@hcengineering/global-profile": "^0.7.0"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./types/index.d.ts",
|
||||
"default": "./lib/index.js"
|
||||
},
|
||||
"./lang/*.json": {
|
||||
"require": "./lang/*.json",
|
||||
"import": "./lang/*.json"
|
||||
},
|
||||
"./lang": {
|
||||
"require": "./lang",
|
||||
"import": "./lang"
|
||||
},
|
||||
"./assets": {
|
||||
"require": "./assets",
|
||||
"import": "./assets"
|
||||
},
|
||||
"./assets/*.svg": {
|
||||
"require": "./assets/*.svg",
|
||||
"import": "./assets/*.svg"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
{
|
||||
"name": "@hcengineering/inbox-assets",
|
||||
"version": "0.7.0",
|
||||
"main": "src/index.ts",
|
||||
"main": "./lib/index.js",
|
||||
"types": "./types/index.d.ts",
|
||||
"files": [
|
||||
"lib",
|
||||
"types",
|
||||
"src",
|
||||
"assets",
|
||||
"lang"
|
||||
],
|
||||
"author": "Hardcore Engineering Inc",
|
||||
"template": "@hcengineering/assets-package",
|
||||
"license": "EPL-2.0",
|
||||
@@ -39,5 +47,27 @@
|
||||
"repository": "https://github.com/hcenginneing/anticrm",
|
||||
"publishConfig": {
|
||||
"registry": "https://npm.pkg.github.com"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./types/index.d.ts",
|
||||
"default": "./lib/index.js"
|
||||
},
|
||||
"./lang/*.json": {
|
||||
"require": "./lang/*.json",
|
||||
"import": "./lang/*.json"
|
||||
},
|
||||
"./lang": {
|
||||
"require": "./lang",
|
||||
"import": "./lang"
|
||||
},
|
||||
"./assets": {
|
||||
"require": "./assets",
|
||||
"import": "./assets"
|
||||
},
|
||||
"./assets/*.svg": {
|
||||
"require": "./assets/*.svg",
|
||||
"import": "./assets/*.svg"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,8 @@ export async function print (ctx: MeasureContext, url: string, options?: PrintOp
|
||||
const page = await browser.newPage()
|
||||
|
||||
page
|
||||
.on('pageerror', ({ message }) => {
|
||||
.on('pageerror', (err: unknown) => {
|
||||
const message = err instanceof Error ? err.message : String(err)
|
||||
ctx.warn('pageerror', { message })
|
||||
})
|
||||
.on('requestfailed', (request) => {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "@hcengineering/pod-rating",
|
||||
"version": "0.7.0",
|
||||
"main": "lib/index.js",
|
||||
"svelte": "src/index.ts",
|
||||
"types": "types/index.d.ts",
|
||||
"author": "Anticrm Platform Contributors",
|
||||
"template": "@hcengineering/node-package",
|
||||
|
||||
Reference in New Issue
Block a user