snapshot of https://github.com/dream-num/univer.git (dev, 2026-09-16; blobs > 131072B omitted)
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled

This commit is contained in:
upstream-mirror
2026-09-16 05:09:45 +05:00
commit bcf6ef63ad
7118 changed files with 1236854 additions and 0 deletions

14
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"gruntfuggly.todo-tree",
"intellsmi.comment-translate",
"kingwl.vscode-vitest-runner",
"streetsidesoftware.code-spell-checker",
"tldraw-org.tldraw-vscode",
"usernamehw.errorlens",
"vitest.explorer",
"davidanson.vscode-markdownlint"
]
}

88
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,88 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Sheet (Chrome)",
"request": "launch",
"type": "chrome",
"url": "http://localhost:5173/#sheets",
"webRoot": "${workspaceFolder}/examples",
"presentation": {
"group": "0_example",
"order": 2
}
},
{
"name": "Launch Sheet (Edge)",
"request": "launch",
"type": "msedge",
"url": "http://localhost:5173/#sheets",
"webRoot": "${workspaceFolder}/examples",
"presentation": {
"group": "0_example",
"order": 1
}
},
{
"name": "Launch Doc (Chrome)",
"request": "launch",
"type": "chrome",
"url": "http://localhost:5173/#docs",
"webRoot": "${workspaceFolder}/examples",
"presentation": {
"group": "0_example",
"order": 4
}
},
{
"name": "Launch Doc (Edge)",
"request": "launch",
"type": "msedge",
"url": "http://localhost:5173/#docs",
"webRoot": "${workspaceFolder}/examples",
"presentation": {
"group": "0_example",
"order": 3
}
},
{
"name": "Launch Slide (Chrome)",
"request": "launch",
"type": "chrome",
"url": "http://localhost:5173/#slides",
"webRoot": "${workspaceFolder}/examples",
"presentation": {
"group": "0_example",
"order": 6
}
},
{
"name": "Launch Slide (Edge)",
"request": "launch",
"type": "msedge",
"url": "http://localhost:5173/#slides",
"webRoot": "${workspaceFolder}/examples",
"presentation": {
"group": "0_example",
"order": 5
}
},
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"args": ["--runInBand", "--watchAll=false"],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"program": "${workspaceFolder}/node_modules/.bin/jest",
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
}
]
}

30
.vscode/redi.code-snippets vendored Normal file
View File

@@ -0,0 +1,30 @@
{
// Place your univer workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Redi Injection Identifier": {
"prefix": ["@I"],
"body": ["@I${1:identifier} private readonly _${2:name}: I${1:identifier},"],
"description": "Inject an identifier with Redi.",
"scope": "typescript,typescriptreact"
},
"Redi Injection": {
"prefix": ["@In"],
"body": ["@Inject(${1:identifier}) private readonly _${2:name}: ${1:identifier},"],
"description": "Inject a class item with Redi.",
"scope": "typescript,typescriptreact"
}
}

63
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,63 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.rulers": [120],
"javascript.preferences.importModuleSpecifier": "relative",
"typescript.preferences.importModuleSpecifier": "relative",
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off", "fixable": true },
{ "rule": "format/*", "severity": "off", "fixable": true },
{ "rule": "*-indent", "severity": "off", "fixable": true },
{ "rule": "*-spacing", "severity": "off", "fixable": true },
{ "rule": "*-spaces", "severity": "off", "fixable": true },
{ "rule": "*-order", "severity": "off", "fixable": true },
{ "rule": "*-dangle", "severity": "off", "fixable": true },
{ "rule": "*-newline", "severity": "off", "fixable": true },
{ "rule": "*quotes", "severity": "off", "fixable": true },
{ "rule": "*semi", "severity": "off", "fixable": true }
],
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"svelte",
"css",
"less",
"scss",
"pcss",
"postcss"
],
"editor.quickSuggestions": {
"strings": "on"
},
"vitest.maximumConfigs": 80
}