Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"./vite": "./vite/index.ts"
},
"dependencies": {
"fs-extra": "^11.3.4",
"fs-extra": "^11.3.5",
"vite": "7",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-external": "^6.2.2"
Expand Down
1 change: 1 addition & 0 deletions common/shared/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.css';
2 changes: 1 addition & 1 deletion examples-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"minimist": "^1.2.8",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"esbuild-style-plugin": "^1.6.3",
"http-proxy": "^1.18.1",
"minimist": "^1.2.8",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "univer-presets",
"version": "0.21.1",
"private": true,
"packageManager": "pnpm@10.27.0",
"packageManager": "pnpm@10.33.3",
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
"license": "Apache-2.0",
"engines": {
Expand Down Expand Up @@ -30,12 +30,12 @@
"cross-env": "^10.1.0",
"eslint": "^9.39.2",
"eslint-plugin-format": "^1.2.0",
"fs-extra": "^11.3.4",
"lint-staged": "^16.4.0",
"fs-extra": "^11.3.5",
"lint-staged": "^17.0.2",
"release-it": "19.2.4",
"simple-git-hooks": "^2.13.1",
"tsx": "^4.21.0",
"turbo": "^2.8.17"
"turbo": "^2.9.9"
},
"overrides": {
"vite": "7"
Expand Down
38 changes: 38 additions & 0 deletions packages/preset-docs-advanced/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @univerjs/preset-docs-advanced

[![npm version](https://img.shields.io/npm/v/@univerjs/preset-docs-advanced?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-advanced)
[![license](https://img.shields.io/npm/l/@univerjs/preset-docs-advanced?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-advanced)
[![downloads](https://img.shields.io/npm/dm/@univerjs/preset-docs-advanced?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-advanced)

`@univerjs/preset-docs-advanced` provides a preset for advanced Univer Docs with print and exchange capabilities.

## Package Overview

| Package | UMD global | CSS | Locales | Facade entry |
| -------------------------------- | -------------------------- | :-: | :-----: | :----------: |
| `@univerjs/preset-docs-advanced` | `UniverDocsAdvancedPreset` | Yes | Yes | Yes |

## Installation

```sh
pnpm add @univerjs/preset-docs-advanced
# or
npm install @univerjs/preset-docs-advanced
```

Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.

## Usage

```ts
import { UniverDocsAdvancedPreset } from '@univerjs/preset-docs-advanced';

// Use with createUniver:
// createUniver({ presets: [UniverDocsAdvancedPreset()] });
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/preset-docs-advanced)
- [GitHub repository](https://github.com/dream-num/univer)
9 changes: 6 additions & 3 deletions packages/preset-docs-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@univerjs/preset-docs-advanced",
"version": "0.21.1",
"private": false,
"description": "",
"description": "Preset for advanced Univer Docs with print and exchange capabilities.",
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
"license": "Apache-2.0",
"funding": {
Expand All @@ -19,7 +19,10 @@
},
"keywords": [
"univer",
"univer-preset"
"univer-preset",
"docs",
"advanced",
"print"
],
"sideEffects": [
"*.css"
Expand Down Expand Up @@ -83,6 +86,6 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "7.8.2",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/preset-docs-advanced/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
"include": ["src"]
"include": ["src", "../../common/shared/types/global.d.ts"]
}
38 changes: 38 additions & 0 deletions packages/preset-docs-collaboration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @univerjs/preset-docs-collaboration

[![npm version](https://img.shields.io/npm/v/@univerjs/preset-docs-collaboration?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-collaboration)
[![license](https://img.shields.io/npm/l/@univerjs/preset-docs-collaboration?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-collaboration)
[![downloads](https://img.shields.io/npm/dm/@univerjs/preset-docs-collaboration?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-collaboration)

`@univerjs/preset-docs-collaboration` provides a preset for real-time collaboration in Univer Docs.

## Package Overview

| Package | UMD global | CSS | Locales | Facade entry |
| ------------------------------------- | ------------------------------- | :-: | :-----: | :----------: |
| `@univerjs/preset-docs-collaboration` | `UniverDocsCollaborationPreset` | Yes | Yes | Yes |

## Installation

```sh
pnpm add @univerjs/preset-docs-collaboration
# or
npm install @univerjs/preset-docs-collaboration
```

Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.

## Usage

```ts
import { UniverDocsCollaborationPreset } from '@univerjs/preset-docs-collaboration';

// Use with createUniver:
// createUniver({ presets: [UniverDocsCollaborationPreset()] });
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/preset-docs-collaboration)
- [GitHub repository](https://github.com/dream-num/univer)
8 changes: 5 additions & 3 deletions packages/preset-docs-collaboration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@univerjs/preset-docs-collaboration",
"version": "0.21.1",
"private": false,
"description": "",
"description": "Preset for real-time collaboration in Univer Docs.",
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
"license": "Apache-2.0",
"funding": {
Expand All @@ -19,7 +19,9 @@
},
"keywords": [
"univer",
"univer-preset"
"univer-preset",
"docs",
"collaboration"
],
"sideEffects": [
"*.css"
Expand Down Expand Up @@ -80,6 +82,6 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "7.8.2",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/preset-docs-collaboration/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
"include": ["src"]
"include": ["src", "../../common/shared/types/global.d.ts"]
}
38 changes: 38 additions & 0 deletions packages/preset-docs-core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @univerjs/preset-docs-core

[![npm version](https://img.shields.io/npm/v/@univerjs/preset-docs-core?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-core)
[![license](https://img.shields.io/npm/l/@univerjs/preset-docs-core?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-core)
[![downloads](https://img.shields.io/npm/dm/@univerjs/preset-docs-core?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-core)

`@univerjs/preset-docs-core` provides a preset for core Univer Docs editing and UI features.

## Package Overview

| Package | UMD global | CSS | Locales | Facade entry |
| ---------------------------- | ---------------------- | :-: | :-----: | :----------: |
| `@univerjs/preset-docs-core` | `UniverDocsCorePreset` | Yes | Yes | Yes |

## Installation

```sh
pnpm add @univerjs/preset-docs-core
# or
npm install @univerjs/preset-docs-core
```

Keep all `@univerjs/*` packages on the same version.

## Usage

```ts
import { UniverDocsCorePreset } from '@univerjs/preset-docs-core';

// Use with createUniver:
// createUniver({ presets: [UniverDocsCorePreset()] });
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/preset-docs-core)
- [GitHub repository](https://github.com/dream-num/univer)
8 changes: 5 additions & 3 deletions packages/preset-docs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@univerjs/preset-docs-core",
"version": "0.21.1",
"private": false,
"description": "",
"description": "Preset for core Univer Docs editing and UI features.",
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
"license": "Apache-2.0",
"funding": {
Expand All @@ -19,7 +19,9 @@
},
"keywords": [
"univer",
"univer-preset"
"univer-preset",
"docs",
"core"
],
"sideEffects": [
"*.css"
Expand Down Expand Up @@ -84,6 +86,6 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "7.8.2",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/preset-docs-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
"include": ["src"]
"include": ["src", "../../common/shared/types/global.d.ts"]
}
38 changes: 38 additions & 0 deletions packages/preset-docs-drawing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @univerjs/preset-docs-drawing

[![npm version](https://img.shields.io/npm/v/@univerjs/preset-docs-drawing?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-drawing)
[![license](https://img.shields.io/npm/l/@univerjs/preset-docs-drawing?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-drawing)
[![downloads](https://img.shields.io/npm/dm/@univerjs/preset-docs-drawing?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-drawing)

`@univerjs/preset-docs-drawing` provides a preset for drawing capabilities in Univer Docs.

## Package Overview

| Package | UMD global | CSS | Locales | Facade entry |
| ------------------------------- | ------------------------- | :-: | :-----: | :----------: |
| `@univerjs/preset-docs-drawing` | `UniverDocsDrawingPreset` | Yes | Yes | No |

## Installation

```sh
pnpm add @univerjs/preset-docs-drawing
# or
npm install @univerjs/preset-docs-drawing
```

Keep all `@univerjs/*` packages on the same version.

## Usage

```ts
import { UniverDocsDrawingPreset } from '@univerjs/preset-docs-drawing';

// Use with createUniver:
// createUniver({ presets: [UniverDocsDrawingPreset()] });
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/preset-docs-drawing)
- [GitHub repository](https://github.com/dream-num/univer)
8 changes: 5 additions & 3 deletions packages/preset-docs-drawing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@univerjs/preset-docs-drawing",
"version": "0.21.1",
"private": false,
"description": "",
"description": "Preset for drawing capabilities in Univer Docs.",
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
"license": "Apache-2.0",
"funding": {
Expand All @@ -19,7 +19,9 @@
},
"keywords": [
"univer",
"univer-preset"
"univer-preset",
"docs",
"drawing"
],
"sideEffects": [
"*.css"
Expand Down Expand Up @@ -81,6 +83,6 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "7.8.2",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/preset-docs-drawing/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
"include": ["src"]
"include": ["src", "../../common/shared/types/global.d.ts"]
}
38 changes: 38 additions & 0 deletions packages/preset-docs-hyper-link/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @univerjs/preset-docs-hyper-link

[![npm version](https://img.shields.io/npm/v/@univerjs/preset-docs-hyper-link?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-hyper-link)
[![license](https://img.shields.io/npm/l/@univerjs/preset-docs-hyper-link?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-hyper-link)
[![downloads](https://img.shields.io/npm/dm/@univerjs/preset-docs-hyper-link?style=flat-square)](https://npmjs.com/package/@univerjs/preset-docs-hyper-link)

`@univerjs/preset-docs-hyper-link` provides a preset for hyperlink support in Univer Docs.

## Package Overview

| Package | UMD global | CSS | Locales | Facade entry |
| ---------------------------------- | --------------------------- | :-: | :-----: | :----------: |
| `@univerjs/preset-docs-hyper-link` | `UniverDocsHyperLinkPreset` | Yes | Yes | No |

## Installation

```sh
pnpm add @univerjs/preset-docs-hyper-link
# or
npm install @univerjs/preset-docs-hyper-link
```

Keep all `@univerjs/*` packages on the same version.

## Usage

```ts
import { UniverDocsHyperLinkPreset } from '@univerjs/preset-docs-hyper-link';

// Use with createUniver:
// createUniver({ presets: [UniverDocsHyperLinkPreset()] });
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/preset-docs-hyper-link)
- [GitHub repository](https://github.com/dream-num/univer)
Loading
Loading