Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: update contributing (#79)

Wenzhao Hue8c92bb5a3bc
diff --git a/.github/contributing.md b/.github/contributing.md
index e3cf5dc555..f4512678f3 100644
--- a/.github/contributing.md
+++ b/.github/contributing.md
@@ -1,29 +1,23 @@
# Univer Contributing Guide
-## Tool
-
-- vite
-- Typescript/tsx
-- Typescript references
-- pnpm workspace
-
-## Project Introduction
-
-For multi-package projects managed by lerna, there are plugins and cores in the packages directory, and examples are in the examples directory
-
## Develop
### Install dependencies
-Node.js >= 14.19
+Univer requires Node.js >= 16.20.0. We recommend using nvm or fnm to switch between different versions of Node.js.
```shell
git clone http://github.com/dream-num/univer
cd univer
-npm i -g pnpm # MacOS : sudo npm i -g pnpm
-npx playwright install
+
+# install package manager pnpm
+npm i -g pnpm
+
+# install dependencies
pnmp install
-npm run dev
+
+# start Univer sheet
+npm run start:sheet
```
### Command
@@ -49,41 +43,14 @@ If you encounter any npm installation problems, please try one-click reinstallat
npm run clean
```
-### Plug-in development
+### Plugin development
-1. Quickly generate plug-in template directory
+You can quickly generate plugin template directory using the following command:
```shell
npm run cli
```
-2. For example, select the `plugin-temp` template and enter the plugin name `filter` to generate the `packages/sheets-plugin-filter` plugin.
-
-3. Execute the following command to start the plug-in development mode
-
-```shell
-pnpm run --filter @univerjs/sheets-plugin-filter dev
-```
+## Codestyle
-4. There will be an additional `filter` plugin button in the toolbar on the interface
-
-## Code comment
-
-English is preferred, if the comment is longer, you can add bilingual
-
-```js
-/*
- en: get result
-
- zh: 得出结果
-*/
-function(){
-
-}
-```
-
-## Update a dependency package
-
-```shell
-pnpm update
-```
+Please refer to our wiki [Codestyle Guideline](https://github.com/dream-num/univer/wiki/Codestyle-Guideline).
\ No newline at end of file