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(examples): merge examples into one (#763)

白熱4066ce9b87ac
diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml
index e7387297e0..24b13d4c4b 100644
--- a/.github/workflows/preview-deploy.yml
+++ b/.github/workflows/preview-deploy.yml
@@ -119,9 +119,7 @@ jobs:
- name: Copy demo to workspace
run: |
mkdir .workspace
- cp -r ./examples/docs/local .workspace/docs
- cp -r ./examples/sheets/local .workspace/sheets
- cp -r ./examples/slides/local .workspace/slides
+ cp -r ./examples/local .workspace
- name: 🚀 Deploy to Vercel (demo)
uses: amondnet/vercel-action@v25
@@ -200,9 +198,7 @@ jobs:
🏆 CI Pipeline: Success
**[View Deployment]**
- - [📑 Doc](${{ needs.build-demo.outputs.preview-url }}/docs/)
- - [📊 Sheet](${{ needs.build-demo.outputs.preview-url }}/sheets/)
- - [📽️ Slide](${{ needs.build-demo.outputs.preview-url }}/slides/)
+ - [📑 Examples](${{ needs.build-demo.outputs.preview-url }}/)
**[View Storybook]**
- [📚 Storybook](${{ needs.build-storybook.outputs.preview-url }}/)
@@ -250,12 +246,7 @@ jobs:
issue-number: ${{ needs.setup.outputs.id }}
body: |
## View Deployment
- | 📝 Doc | 📊 Sheet | 📽️ Slide |
+ | 📑 Examples | 📚 Storybook |
| --- | --- | --- |
- | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/docs/) | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/sheets/) | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/slides/) |
-
- ## View Storybook
- | 📚 Storybook |
- | --- |
- | [🔗 Preview link](${{ needs.build-storybook.outputs.preview-url }}/) |
+ | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/) | [🔗 Preview link](${{ needs.build-storybook.outputs.preview-url }}/) |
edit-mode: replace
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml
index 673052f18e..d7b152afc5 100644
--- a/.github/workflows/release-nightly.yml
+++ b/.github/workflows/release-nightly.yml
@@ -161,9 +161,7 @@ jobs:
- name: Copy demo to workspace
run: |
mkdir .workspace
- cp -r ./examples/docs/local .workspace/docs
- cp -r ./examples/sheets/local .workspace/sheets
- cp -r ./examples/slides/local .workspace/slides
+ cp -r ./examples/local .workspace
- name: 🚀 Deploy to Vercel (demo)
uses: amondnet/vercel-action@v25
@@ -298,9 +296,7 @@ jobs:
Release version: ${{ needs.release-nightly.outputs.version }}
**[View Deployment]**
- - [📑 Doc](${{ needs.build-demo.outputs.preview-url }}/docs/)
- - [📊 Sheet](${{ needs.build-demo.outputs.preview-url }}/sheets/)
- - [📽️ Slide](${{ needs.build-demo.outputs.preview-url }}/slides/)
+ - [📑 Examples](${{ needs.build-demo.outputs.preview-url }}/)
**[View Docs]**
- [📚 Storybook](${{ needs.build-storybook.outputs.preview-url }}/)
diff --git a/.github/workflows/release-unstable.yml b/.github/workflows/release-unstable.yml
index aaa4bf8f40..7bbacd124f 100644
--- a/.github/workflows/release-unstable.yml
+++ b/.github/workflows/release-unstable.yml
@@ -112,9 +112,7 @@ jobs:
- name: Copy demo to workspace
run: |
mkdir .workspace
- cp -r ./examples/docs/local .workspace/docs
- cp -r ./examples/sheets/local .workspace/sheets
- cp -r ./examples/slides/local .workspace/slides
+ cp -r ./examples/local .workspace
- name: 🚀 Deploy to Vercel (demo)
uses: amondnet/vercel-action@v25
@@ -194,9 +192,7 @@ jobs:
Release version: ${{ github.ref_name }}
**[View Deployment]**
- - [📑 Doc](${{ needs.build-demo.outputs.preview-url }}/docs/)
- - [📊 Sheet](${{ needs.build-demo.outputs.preview-url }}/sheets/)
- - [📽️ Slide](${{ needs.build-demo.outputs.preview-url }}/slides/)
+ - [📑 Examples](${{ needs.build-demo.outputs.preview-url }}/)
**[View Docs]**
- [📚 Storybook](${{ needs.build-storybook.outputs.preview-url }}/)
diff --git a/examples/data/README.md b/examples/data/README.md
deleted file mode 100644
index 96417a7ca2..0000000000
--- a/examples/data/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# @univerjs/core
-
-Put the core case, DEMO, template data
diff --git a/examples/data/package.json b/examples/data/package.json
deleted file mode 100644
index dd0246107c..0000000000
--- a/examples/data/package.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "data",
- "description": "",
- "author": "DreamNum <[email protected]>",
- "license": "Apache-2.0",
- "private": true,
- "main": "./src/index.ts",
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "dependencies": {
- "@univerjs/core": "workspace:*"
- }
-}
diff --git a/examples/data/tsconfig.json b/examples/data/tsconfig.json
deleted file mode 100644
index 32d857ca72..0000000000
--- a/examples/data/tsconfig.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./src",
- "outDir": "lib",
- "esModuleInterop": true,
- "strictPropertyInitialization": false
- },
- "include": ["src/**/*"]
-}
diff --git a/examples/docs/.gitignore b/examples/docs/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/examples/docs/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/examples/docs/esbuild.config.mjs b/examples/docs/esbuild.config.mjs
deleted file mode 100644
index 69f2f9d56f..0000000000
--- a/examples/docs/esbuild.config.mjs
+++ /dev/null
@@ -1,68 +0,0 @@
-import path from 'node:path';
-
-import esbuild from 'esbuild';
-import cleanPlugin from 'esbuild-plugin-clean';
-import copyPlugin from 'esbuild-plugin-copy';
-import stylePlugin from 'esbuild-style-plugin';
-import minimist from 'minimist';
-import { execSync } from 'node:child_process';
-
-const nodeModules = path.resolve(process.cwd(), './node_modules');
-
-const args = minimist(process.argv.slice(2));
-
-// Get git commit hash and ref name
-const gitCommitHash = execSync('git rev-parse --short HEAD').toString().trim();
-const gitRefName = execSync('git symbolic-ref -q --short HEAD || git describe --tags --exact-match').toString().trim();
-
-const ctx = await esbuild[args.watch ? 'context' : 'build']({
- bundle: true,
- color: true,
- loader: { '.svg': 'file' },
- sourcemap: args.watch,
- minify: !args.watch,
- plugins: [
- cleanPlugin({
- patterns: ['./local'],
- }),
- copyPlugin({
- assets: {
- from: ['./public/*'],
- to: ['./'],
- },
- }),
- stylePlugin({
- cssModulesOptions: {
- localsConvention: 'camelCaseOnly',
- generateScopedName: 'univer-[local]',
- },
- renderOptions: {
- lessOptions: {
- rewriteUrls: 'all',
- paths: [nodeModules],
- },
- },
- }),
- ],
- entryPoints: ['./src/main.ts'],
- outdir: './local',
-
- define: {
- 'process.env.NODE_ENV': args.watch ? '"development"' : '"production"',
- 'process.env.GIT_COMMIT_HASH': `"${gitCommitHash}"`,
- 'process.env.GIT_REF_NAME': `"${gitRefName}"`,
- 'process.env.BUILD_TIME': `"${new Date().toISOString()}"`,
- },
-});
-
-if (args.watch) {
- await ctx.watch();
-
- const { host, port } = await ctx.serve({
- servedir: './local',
- port: 3003,
- });
-
- const url = `http://localhost:${port}`;
- console.log(`Local server: ${url}`);
-}
diff --git a/examples/docs/package.json b/examples/docs/package.json
deleted file mode 100644
index ccac9a2fa8..0000000000
--- a/examples/docs/package.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "name": "docs",
- "description": "Univer vanilla ts demo project",
- "author": "DreamNum <[email protected]>",
- "license": "Apache-2.0",
- "private": true,
- "scripts": {
- "esbuild:demo": "node ./esbuild.config.mjs",
- "dev:demo": "node ./esbuild.config.mjs --watch"
- },
- "dependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "data": "workspace:*",
- "univer-plugin-debugger": "workspace:*"
- },
- "devDependencies": {
- "esbuild": "^0.19.8",
- "esbuild-plugin-clean": "^1.0.1",
- "esbuild-plugin-copy": "^2.1.1",
- "esbuild-style-plugin": "^1.6.3",
- "less": "^4.2.0",
- "minimist": "^1.2.8",
- "typescript": "^5.3.3"
- }
-}
diff --git a/examples/sheets/esbuild.config.mjs b/examples/esbuild.config.mjs
similarity index 91%
rename from examples/sheets/esbuild.config.mjs
rename to examples/esbuild.config.mjs
index b06229ddf9..d82fb7a3fb 100644
--- a/examples/sheets/esbuild.config.mjs
+++ b/examples/esbuild.config.mjs
@@ -42,7 +42,7 @@ const ctx = await esbuild[args.watch ? 'context' : 'build']({
plugins: [
copyPlugin({
assets: {
- from: ['./public/*'],
+ from: ['./public/**/*'],
to: ['./'],
},
}),
@@ -59,7 +59,16 @@ const ctx = await esbuild[args.watch ? 'context' : 'build']({
},
}),
],
- entryPoints: ['./src/main.ts', './src/worker.ts'],
+ entryPoints: [
+ './src/main.tsx',
+
+ './src/sheets/main.ts',
+ './src/sheets/worker.ts',
+
+ './src/docs/main.ts',
+
+ './src/slides/main.ts',
+ ],
outdir: './local',
define: {
diff --git a/examples/sheets/package.json b/examples/package.json
similarity index 77%
rename from examples/sheets/package.json
rename to examples/package.json
index 2825aec0e7..76832c5d62 100644
--- a/examples/sheets/package.json
+++ b/examples/package.json
@@ -1,11 +1,11 @@
{
- "name": "sheets",
+ "name": "univer-examples",
"description": "Univer vanilla ts demo project",
"author": "DreamNum <[email protected]>",
"license": "Apache-2.0",
"private": true,
"scripts": {
- "esbuild:demo": "node ./esbuild.config.mjs",
+ "build:demo": "node ./esbuild.config.mjs",
"dev:demo": "node ./esbuild.config.mjs --watch"
},
"dependencies": {
@@ -21,15 +21,20 @@
"@univerjs/sheets-formula": "workspace:*",
"@univerjs/sheets-numfmt": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
+ "@univerjs/slides": "workspace:*",
+ "@univerjs/slides-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
"@univerjs/uniscript": "workspace:*",
"@wendellhu/redi": "^0.12.12",
- "data": "workspace:*",
"monaco-editor": "0.45.0",
- "univer-plugin-debugger": "workspace:*"
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "rxjs": "^7.8.1"
},
"devDependencies": {
- "esbuild": "^0.19.8",
+ "@types/react": "^18.2.45",
+ "@types/react-dom": "^18.2.17",
+ "esbuild": "^0.19.9",
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-style-plugin": "^1.6.3",
diff --git a/examples/public/docs/index.html b/examples/public/docs/index.html
new file mode 100644
index 0000000000..9f55bbcfe0
--- /dev/null
+++ b/examples/public/docs/index.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8" />
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
+ <title>Univer Docs</title>
+
+ <link rel="icon" type="image/x-icon" href="../favicon.svg">
+ <link rel="stylesheet" href="./main.css" />
+ <style>
+ html,
+ body {
+ height: 100%;
+ margin: 0;
+ }
+ </style>
+
+ <script>
+ new EventSource('/esbuild').addEventListener('change', () => {
+ console.info('reload--');
+ location.reload();
+ });
+ </script>
+</head>
+
+<body>
+ <div id="app" style="height: 100%;"></div>
+
+ <script src="./main.js"></script>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/examples/docs/public/favicon.svg b/examples/public/favicon.svg
similarity index 100%
rename from examples/docs/public/favicon.svg
rename to examples/public/favicon.svg
diff --git a/examples/sheets/public/index.html b/examples/public/index.html
similarity index 91%
rename from examples/sheets/public/index.html
rename to examples/public/index.html
index cd264383af..b77e565821 100644
--- a/examples/sheets/public/index.html
+++ b/examples/public/index.html
@@ -5,7 +5,7 @@
<meta content="width=device-width, initial-scale=1" name="viewport" />
<title>Univer Sheet</title>
- <link rel="icon" type="image/x-icon" href="/favicon.svg">
+ <link rel="icon" type="image/x-icon" href="../favicon.svg">
<link rel="stylesheet" href="./main.css" />
<style>
html,
diff --git a/examples/docs/public/index.html b/examples/public/sheets/index.html
similarity index 68%
rename from examples/docs/public/index.html
rename to examples/public/sheets/index.html
index c3e04ca6e4..b61a17815b 100644
--- a/examples/docs/public/index.html
+++ b/examples/public/sheets/index.html
@@ -3,9 +3,9 @@
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
- <title>UniverDoc</title>
+ <title>Univer Sheet</title>
- <link rel="icon" type="image/x-icon" href="/favicon.svg">
+ <link rel="icon" type="image/x-icon" href="../favicon.svg">
<link rel="stylesheet" href="./main.css" />
<style>
html,
@@ -17,14 +17,14 @@
<script>
new EventSource('/esbuild').addEventListener('change', () => {
+ console.info('reload--');
location.reload();
});
</script>
</head>
- <body>
- <div id="app" style="z-index: 1; position: fixed; font-size: 20px; color: green"></div>
- <div id="univer-container" style="height: 100%"></div>
+ <body style="overflow: hidden">
+ <div id="app" style="height: 100%;"></div>
<script src="./main.js"></script>
</body>
diff --git a/examples/public/slides/index.html b/examples/public/slides/index.html
new file mode 100644
index 0000000000..0d5141777a
--- /dev/null
+++ b/examples/public/slides/index.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8" />
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
+ <title>UniverSlides</title>
+
+ <link rel="icon" type="image/x-icon" href="../favicon.svg">
+ <link rel="stylesheet" href="./main.css" />
+ <style>
+ html,
+ body {
+ height: 100%;
+ margin: 0;
+ }
+ </style>
+
+ <script>
+ new EventSource('/esbuild').addEventListener('change', () => {
+ location.reload()
+ })
+ </script>
+</head>
+
+<body>
+ <div id="app" style="z-index: 1; position: fixed; font-size: 20px; color: green;"></div>
+ <div id="univer-container" style="height: 100%;"></div>
+
+ <script src="./main.js"></script>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/examples/sheets/.gitignore b/examples/sheets/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/examples/sheets/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/examples/sheets/README.md b/examples/sheets/README.md
deleted file mode 100644
index 6bfd5dddae..0000000000
--- a/examples/sheets/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# Univer Sheet Demo
\ No newline at end of file
diff --git a/examples/sheets/public/favicon.svg b/examples/sheets/public/favicon.svg
deleted file mode 100644
index 37084e0ff3..0000000000
--- a/examples/sheets/public/favicon.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M0.720703 2.21973C0.720703 1.11516 1.61613 0.219727 2.7207 0.219727H14.7207C15.8253 0.219727 16.7207 1.11516 16.7207 2.21973V14.2197C16.7207 15.3243 15.8253 16.2197 14.7207 16.2197H2.7207C1.61613 16.2197 0.720703 15.3243 0.720703 14.2197V2.21973Z" fill="white"/>
-<path d="M3.05945 11.7462C3.02958 11.7293 3.00188 11.7073 2.97813 11.68C2.34633 10.9647 2.24522 9.93316 2.72627 9.11354L6.11665 3.33661C6.20481 3.18657 6.39982 3.13512 6.55237 3.22184C6.70493 3.30855 6.7571 3.50032 6.6693 3.65072L3.27892 9.42764C2.93388 10.0156 3.00656 10.7553 3.4599 11.2684C3.5754 11.3993 3.56137 11.5976 3.42824 11.7113C3.32282 11.8016 3.17386 11.8113 3.05945 11.7462ZM2.37151 8.67062L5.84753 2.74762C5.96914 2.54038 6.12997 2.36444 6.32534 2.22483C6.42032 2.15683 6.44155 2.02622 6.37247 1.93268C6.30339 1.83913 6.17026 1.81862 6.07528 1.88626C5.83133 2.06041 5.63057 2.27988 5.47909 2.53822L2.00308 8.46122C1.94443 8.56125 1.97933 8.68933 2.08079 8.7469C2.18226 8.80447 2.3125 8.77029 2.37151 8.67026V8.67062ZM7.54218 11.2741L8.79823 9.13368C8.94503 8.88362 8.85796 8.5634 8.60358 8.41912C8.3492 8.27449 8.02395 8.36048 7.87715 8.61054L6.62109 10.751C6.38614 11.1511 5.86408 11.2889 5.4575 11.0579C5.05057 10.8269 4.91061 10.3131 5.14556 9.91301L7.91061 5.20181C8.05741 4.95175 7.97034 4.63153 7.71596 4.48725C7.46158 4.34261 7.13632 4.4286 6.98953 4.67866L4.22447 9.38986C3.69629 10.2897 4.01075 11.4443 4.92572 11.9639C5.84033 12.4834 7.01435 12.174 7.54218 11.2741ZM14.0132 4.72831C13.88 4.84201 13.866 5.04026 13.9815 5.17122C14.4348 5.6843 14.5075 6.42404 14.1625 7.01195L10.7721 12.7889C10.6839 12.9389 10.7361 13.131 10.889 13.2178C11.0416 13.3045 11.2366 13.253 11.3247 13.103L14.7151 7.32606C15.1962 6.50608 15.0951 5.47489 14.4633 4.75961C14.4395 4.73263 14.4118 4.71068 14.3819 4.69341C14.2672 4.62829 14.1186 4.63836 14.0132 4.72831ZM15.0699 7.76897L11.5939 13.692C11.4723 13.8992 11.3114 14.0752 11.1161 14.2148C11.0211 14.2828 10.9998 14.4134 11.0689 14.5069C11.138 14.6005 11.2711 14.621 11.3661 14.5533C11.6101 14.3792 11.8108 14.1597 11.9623 13.9014L15.4383 7.97837C15.497 7.87835 15.4621 7.75026 15.3606 7.69269C15.2588 7.63476 15.1289 7.6693 15.0699 7.76933V7.76897ZM9.89922 5.16547L8.64316 7.30591C8.49636 7.55597 8.58343 7.87619 8.83781 8.02047C9.09219 8.16511 9.41745 8.07912 9.56424 7.82906L10.8203 5.68861C11.0552 5.28852 11.5773 5.15072 11.9839 5.38171C12.3908 5.6127 12.5308 6.12649 12.2958 6.52658L9.53078 11.2378C9.38398 11.4878 9.47106 11.8081 9.72543 11.9523C9.97981 12.097 10.3051 12.011 10.4519 11.7609L13.2169 7.04973C13.7451 6.14988 13.4306 4.99528 12.5157 4.47573C11.6011 3.95618 10.427 4.26561 9.89922 5.16547Z" fill="url(#paint0_linear_167_3)"/>
-<defs>
-<linearGradient id="paint0_linear_167_3" x1="3.94409" y1="5.15948" x2="13.6248" y2="11.3617" gradientUnits="userSpaceOnUse">
-<stop stop-color="#0B00D0"/>
-<stop offset="0.49" stop-color="#0492ED"/>
-<stop offset="0.65" stop-color="#029DCE"/>
-<stop offset="0.88" stop-color="#00ABA6"/>
-<stop offset="1" stop-color="#00B197"/>
-</linearGradient>
-</defs>
-</svg>
diff --git a/examples/sheets/tsconfig.json b/examples/sheets/tsconfig.json
deleted file mode 100644
index 5bcaa28608..0000000000
--- a/examples/sheets/tsconfig.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./src",
- "outDir": "local",
- "downlevelIteration": true,
- "esModuleInterop": true,
- "emitDecoratorMetadata": true,
- "strictPropertyInitialization": false
- },
- "include": ["src/**/*"],
- "exclude": ["node_modules", "local"]
-}
diff --git a/examples/slides/.gitignore b/examples/slides/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/examples/slides/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/examples/slides/esbuild.config.mjs b/examples/slides/esbuild.config.mjs
deleted file mode 100644
index 3fa0a0f270..0000000000
--- a/examples/slides/esbuild.config.mjs
+++ /dev/null
@@ -1,68 +0,0 @@
-import path from 'node:path';
-
-import esbuild from 'esbuild';
-import cleanPlugin from 'esbuild-plugin-clean';
-import copyPlugin from 'esbuild-plugin-copy';
-import stylePlugin from 'esbuild-style-plugin';
-import minimist from 'minimist';
-import { execSync } from 'node:child_process';
-
-const nodeModules = path.resolve(process.cwd(), './node_modules');
-
-const args = minimist(process.argv.slice(2));
-
-// Get git commit hash and ref name
-const gitCommitHash = execSync('git rev-parse --short HEAD').toString().trim();
-const gitRefName = execSync('git symbolic-ref -q --short HEAD || git describe --tags --exact-match').toString().trim();
-
-const ctx = await esbuild[args.watch ? 'context' : 'build']({
- bundle: true,
- color: true,
- loader: { '.svg': 'file' },
- sourcemap: args.watch,
- minify: !args.watch,
- plugins: [
- cleanPlugin({
- patterns: ['./local'],
- }),
- copyPlugin({
- assets: {
- from: ['./public/*'],
- to: ['./'],
- },
- }),
- stylePlugin({
- cssModulesOptions: {
- localsConvention: 'camelCaseOnly',
- generateScopedName: 'univer-[local]',
- },
- renderOptions: {
- lessOptions: {
- rewriteUrls: 'all',
- paths: [nodeModules],
- },
- },
- }),
- ],
- entryPoints: ['./src/main.ts'],
- outdir: './local',
-
- define: {
- 'process.env.NODE_ENV': args.watch ? '"development"' : '"production"',
- 'process.env.GIT_COMMIT_HASH': `"${gitCommitHash}"`,
- 'process.env.GIT_REF_NAME': `"${gitRefName}"`,
- 'process.env.BUILD_TIME': `"${new Date().toISOString()}"`,
- },
-});
-
-if (args.watch) {
- await ctx.watch();
-
- const { host, port } = await ctx.serve({
- servedir: './local',
- port: 3004,
- });
-
- const url = `http://localhost:${port}`;
- console.log(`Local server: ${url}`);
-}
diff --git a/examples/slides/package.json b/examples/slides/package.json
deleted file mode 100644
index ed616d561a..0000000000
--- a/examples/slides/package.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "name": "slides",
- "description": "Univer vanilla ts demo project",
- "author": "DreamNum <[email protected]>",
- "license": "Apache-2.0",
- "private": true,
- "scripts": {
- "esbuild:demo": "node ./esbuild.config.mjs",
- "dev:demo": "node ./esbuild.config.mjs --watch"
- },
- "dependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/slides": "workspace:*",
- "@univerjs/slides-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "data": "workspace:*"
- },
- "devDependencies": {
- "esbuild": "^0.19.8",
- "esbuild-plugin-clean": "^1.0.1",
- "esbuild-plugin-copy": "^2.1.1",
- "esbuild-style-plugin": "^1.6.3",
- "less": "^4.2.0",
- "minimist": "^1.2.8",
- "typescript": "^5.3.3"
- }
-}
\ No newline at end of file
diff --git a/examples/slides/public/index.html b/examples/slides/public/index.html
deleted file mode 100644
index 8558b36367..0000000000
--- a/examples/slides/public/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8" />
- <meta content="width=device-width, initial-scale=1" name="viewport" />
- <title>UniverSlide</title>
-
- <link rel="stylesheet" href="./main.css" />
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- </style>
-
-
- <script>
- new EventSource('/esbuild').addEventListener('change', () => {
- location.reload()
- })
- </script>
-</head>
-
-<body>
- <div id="app" style="z-index: 1; position: fixed; font-size: 20px; color: green;"></div>
- <div id="univer-container" style="height: 100%;"></div>
-
- <script src="./main.js"></script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/examples/slides/tsconfig.json b/examples/slides/tsconfig.json
deleted file mode 100644
index 11200e88f4..0000000000
--- a/examples/slides/tsconfig.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./src",
- "outDir": "local",
- "downlevelIteration": true,
- "esModuleInterop": true,
- "emitDecoratorMetadata": true,
- "strictPropertyInitialization": false,
- },
- "include": ["src/**/*"],
- "exclude": ["node_modules", "local"]
-}
diff --git a/examples/data/src/docs/default-document-data-cn.ts b/examples/src/data/docs/default-document-data-cn.ts
similarity index 100%
rename from examples/data/src/docs/default-document-data-cn.ts
rename to examples/src/data/docs/default-document-data-cn.ts
diff --git a/examples/data/src/docs/default-document-data-en.ts b/examples/src/data/docs/default-document-data-en.ts
similarity index 100%
rename from examples/data/src/docs/default-document-data-en.ts
rename to examples/src/data/docs/default-document-data-en.ts
diff --git a/examples/data/src/docs/default-document-data.ts b/examples/src/data/docs/default-document-data.ts
similarity index 100%
rename from examples/data/src/docs/default-document-data.ts
rename to examples/src/data/docs/default-document-data.ts
diff --git a/examples/data/src/docs/default-list.ts b/examples/src/data/docs/default-list.ts
similarity index 100%
rename from examples/data/src/docs/default-list.ts
rename to examples/src/data/docs/default-list.ts
diff --git a/examples/data/src/docs/index.ts b/examples/src/data/docs/index.ts
similarity index 100%
rename from examples/data/src/docs/index.ts
rename to examples/src/data/docs/index.ts
diff --git a/examples/data/src/index.ts b/examples/src/data/index.ts
similarity index 100%
rename from examples/data/src/index.ts
rename to examples/src/data/index.ts
diff --git a/examples/data/src/sheets/default-workbook-data.ts b/examples/src/data/sheets/default-workbook-data.ts
similarity index 100%
rename from examples/data/src/sheets/default-workbook-data.ts
rename to examples/src/data/sheets/default-workbook-data.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo.ts b/examples/src/data/sheets/demo/default-workbook-data-demo.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo1.ts b/examples/src/data/sheets/demo/default-workbook-data-demo1.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo1.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo1.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo2.ts b/examples/src/data/sheets/demo/default-workbook-data-demo2.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo2.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo2.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo3.ts b/examples/src/data/sheets/demo/default-workbook-data-demo3.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo3.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo3.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo4.ts b/examples/src/data/sheets/demo/default-workbook-data-demo4.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo4.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo4.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo5.ts b/examples/src/data/sheets/demo/default-workbook-data-demo5.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo5.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo5.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo6.ts b/examples/src/data/sheets/demo/default-workbook-data-demo6.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo6.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo6.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo7.ts b/examples/src/data/sheets/demo/default-workbook-data-demo7.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo7.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo7.ts
diff --git a/examples/data/src/sheets/demo/default-workbook-data-demo8.ts b/examples/src/data/sheets/demo/default-workbook-data-demo8.ts
similarity index 100%
rename from examples/data/src/sheets/demo/default-workbook-data-demo8.ts
rename to examples/src/data/sheets/demo/default-workbook-data-demo8.ts
diff --git a/examples/data/src/sheets/demo/index.ts b/examples/src/data/sheets/demo/index.ts
similarity index 100%
rename from examples/data/src/sheets/demo/index.ts
rename to examples/src/data/sheets/demo/index.ts
diff --git a/examples/data/src/sheets/index.ts b/examples/src/data/sheets/index.ts
similarity index 100%
rename from examples/data/src/sheets/index.ts
rename to examples/src/data/sheets/index.ts
diff --git a/examples/data/src/sheets/slide-workbook-data.ts b/examples/src/data/sheets/slide-workbook-data.ts
similarity index 100%
rename from examples/data/src/sheets/slide-workbook-data.ts
rename to examples/src/data/sheets/slide-workbook-data.ts
diff --git a/examples/data/src/slides/default-pages/page1.ts b/examples/src/data/slides/default-pages/page1.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page1.ts
rename to examples/src/data/slides/default-pages/page1.ts
diff --git a/examples/data/src/slides/default-pages/page2.ts b/examples/src/data/slides/default-pages/page2.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page2.ts
rename to examples/src/data/slides/default-pages/page2.ts
diff --git a/examples/data/src/slides/default-pages/page3.ts b/examples/src/data/slides/default-pages/page3.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page3.ts
rename to examples/src/data/slides/default-pages/page3.ts
diff --git a/examples/data/src/slides/default-pages/page4.ts b/examples/src/data/slides/default-pages/page4.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page4.ts
rename to examples/src/data/slides/default-pages/page4.ts
diff --git a/examples/data/src/slides/default-pages/page5.ts b/examples/src/data/slides/default-pages/page5.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page5.ts
rename to examples/src/data/slides/default-pages/page5.ts
diff --git a/examples/data/src/slides/default-pages/page6.ts b/examples/src/data/slides/default-pages/page6.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page6.ts
rename to examples/src/data/slides/default-pages/page6.ts
diff --git a/examples/data/src/slides/default-pages/page7.ts b/examples/src/data/slides/default-pages/page7.ts
similarity index 100%
rename from examples/data/src/slides/default-pages/page7.ts
rename to examples/src/data/slides/default-pages/page7.ts
diff --git a/examples/data/src/slides/default-slide-data.ts b/examples/src/data/slides/default-slide-data.ts
similarity index 100%
rename from examples/data/src/slides/default-slide-data.ts
rename to examples/src/data/slides/default-slide-data.ts
diff --git a/examples/data/src/slides/index.ts b/examples/src/data/slides/index.ts
similarity index 100%
rename from examples/data/src/slides/index.ts
rename to examples/src/data/slides/index.ts
diff --git a/examples/data/src/slides/rich-text/page3-richtext1.ts b/examples/src/data/slides/rich-text/page3-richtext1.ts
similarity index 100%
rename from examples/data/src/slides/rich-text/page3-richtext1.ts
rename to examples/src/data/slides/rich-text/page3-richtext1.ts
diff --git a/examples/data/src/slides/rich-text/page3-richtext2.ts b/examples/src/data/slides/rich-text/page3-richtext2.ts
similarity index 100%
rename from examples/data/src/slides/rich-text/page3-richtext2.ts
rename to examples/src/data/slides/rich-text/page3-richtext2.ts
diff --git a/examples/data/src/slides/rich-text/page3-richtext3.ts b/examples/src/data/slides/rich-text/page3-richtext3.ts
similarity index 100%
rename from examples/data/src/slides/rich-text/page3-richtext3.ts
rename to examples/src/data/slides/rich-text/page3-richtext3.ts
diff --git a/examples/data/src/slides/rich-text/page5-richtext1.ts b/examples/src/data/slides/rich-text/page5-richtext1.ts
similarity index 100%
rename from examples/data/src/slides/rich-text/page5-richtext1.ts
rename to examples/src/data/slides/rich-text/page5-richtext1.ts
diff --git a/examples/data/src/slides/unlimited-slide-data.ts b/examples/src/data/slides/unlimited-slide-data.ts
similarity index 100%
rename from examples/data/src/slides/unlimited-slide-data.ts
rename to examples/src/data/slides/unlimited-slide-data.ts
diff --git a/examples/docs/src/locales.ts b/examples/src/docs/locales.ts
similarity index 100%
rename from examples/docs/src/locales.ts
rename to examples/src/docs/locales.ts
diff --git a/examples/docs/src/main.ts b/examples/src/docs/main.ts
similarity index 93%
rename from examples/docs/src/main.ts
rename to examples/src/docs/main.ts
index be16ab03f6..6e96be7998 100644
--- a/examples/docs/src/main.ts
+++ b/examples/src/docs/main.ts
@@ -20,9 +20,9 @@ import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverRenderEnginePlugin } from '@univerjs/engine-render';
import { UniverUIPlugin } from '@univerjs/ui';
-import { DEFAULT_DOCUMENT_DATA_CN } from 'data';
-import { DebuggerPlugin } from 'univer-plugin-debugger';
+import { DEFAULT_DOCUMENT_DATA_CN } from '../data';
+import { DebuggerPlugin } from '../plugins/debugger';
import { locales } from './locales';
// package info
@@ -44,7 +44,7 @@ const univer = new Univer({
univer.registerPlugin(UniverRenderEnginePlugin);
univer.registerPlugin(DebuggerPlugin);
univer.registerPlugin(UniverUIPlugin, {
- container: 'univer-container',
+ container: 'app',
header: true,
toolbar: true,
});
diff --git a/examples/src/main.tsx b/examples/src/main.tsx
new file mode 100644
index 0000000000..b9aa31b52c
--- /dev/null
+++ b/examples/src/main.tsx
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2023-present DreamNum Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import React from 'react';
+import { createRoot } from 'react-dom/client';
+
+import styles from './styles.module.less';
+
+function Examples() {
+ return (
+ <section className={styles.examples}>
+ <a className={styles.btn} href="./sheets">
+ <span> Univer Sheets</span>
+ <div className={styles.btnBg}>→</div>{' '}
+ </a>
+ <a className={styles.btn} href="./docs">
+ <span> Univer Docs</span>
+ <div className={styles.btnBg}>→</div>{' '}
+ </a>
+ <a className={styles.btn} href="./slides">
+ <span> Univer Slides</span>
+ <div className={styles.btnBg}>→</div>{' '}
+ </a>
+ </section>
+ );
+}
+
+createRoot(document.getElementById('app')!).render(<Examples />);
diff --git a/examples/univer-plugin-debugger/src/commands/operations/confirm.operation.ts b/examples/src/plugins/debugger/commands/operations/confirm.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/confirm.operation.ts
rename to examples/src/plugins/debugger/commands/operations/confirm.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/dialog.operation.ts b/examples/src/plugins/debugger/commands/operations/dialog.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/dialog.operation.ts
rename to examples/src/plugins/debugger/commands/operations/dialog.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/locale.operation.ts b/examples/src/plugins/debugger/commands/operations/locale.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/locale.operation.ts
rename to examples/src/plugins/debugger/commands/operations/locale.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/message.operation.ts b/examples/src/plugins/debugger/commands/operations/message.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/message.operation.ts
rename to examples/src/plugins/debugger/commands/operations/message.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/notification.operation.ts b/examples/src/plugins/debugger/commands/operations/notification.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/notification.operation.ts
rename to examples/src/plugins/debugger/commands/operations/notification.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/numfmt.operations.ts b/examples/src/plugins/debugger/commands/operations/numfmt.operations.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/numfmt.operations.ts
rename to examples/src/plugins/debugger/commands/operations/numfmt.operations.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/save-snapshot.operations.ts b/examples/src/plugins/debugger/commands/operations/save-snapshot.operations.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/save-snapshot.operations.ts
rename to examples/src/plugins/debugger/commands/operations/save-snapshot.operations.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/set.editable.operation.ts b/examples/src/plugins/debugger/commands/operations/set.editable.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/set.editable.operation.ts
rename to examples/src/plugins/debugger/commands/operations/set.editable.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/sidebar.operation.ts b/examples/src/plugins/debugger/commands/operations/sidebar.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/sidebar.operation.ts
rename to examples/src/plugins/debugger/commands/operations/sidebar.operation.ts
diff --git a/examples/univer-plugin-debugger/src/commands/operations/theme.operation.ts b/examples/src/plugins/debugger/commands/operations/theme.operation.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/commands/operations/theme.operation.ts
rename to examples/src/plugins/debugger/commands/operations/theme.operation.ts
diff --git a/examples/univer-plugin-debugger/src/controllers/debugger.controller.ts b/examples/src/plugins/debugger/controllers/debugger.controller.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/controllers/debugger.controller.ts
rename to examples/src/plugins/debugger/controllers/debugger.controller.ts
diff --git a/examples/univer-plugin-debugger/src/controllers/menu.ts b/examples/src/plugins/debugger/controllers/menu.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/controllers/menu.ts
rename to examples/src/plugins/debugger/controllers/menu.ts
diff --git a/examples/univer-plugin-debugger/src/controllers/performance-monitor.controller.ts b/examples/src/plugins/debugger/controllers/performance-monitor.controller.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/controllers/performance-monitor.controller.ts
rename to examples/src/plugins/debugger/controllers/performance-monitor.controller.ts
diff --git a/examples/univer-plugin-debugger/src/debugger-plugin.ts b/examples/src/plugins/debugger/debugger-plugin.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/debugger-plugin.ts
rename to examples/src/plugins/debugger/debugger-plugin.ts
diff --git a/examples/univer-plugin-debugger/src/index.ts b/examples/src/plugins/debugger/index.ts
similarity index 100%
rename from examples/univer-plugin-debugger/src/index.ts
rename to examples/src/plugins/debugger/index.ts
diff --git a/examples/sheets/src/locales.ts b/examples/src/sheets/locales.ts
similarity index 100%
rename from examples/sheets/src/locales.ts
rename to examples/src/sheets/locales.ts
diff --git a/examples/sheets/src/main.ts b/examples/src/sheets/main.ts
similarity index 96%
rename from examples/sheets/src/main.ts
rename to examples/src/sheets/main.ts
index 4c51322282..9f20aa6188 100644
--- a/examples/sheets/src/main.ts
+++ b/examples/src/sheets/main.ts
@@ -28,9 +28,9 @@ import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverUIPlugin } from '@univerjs/ui';
import type { IUniscriptConfig } from '@univerjs/uniscript';
import { UniverUniscriptPlugin } from '@univerjs/uniscript';
-import { DEFAULT_WORKBOOK_DATA_DEMO } from 'data';
-import { DebuggerPlugin } from 'univer-plugin-debugger';
+import { DEFAULT_WORKBOOK_DATA_DEMO } from '../data';
+import { DebuggerPlugin } from '../plugins/debugger';
import { locales } from './locales';
// package info
diff --git a/examples/sheets/src/worker.ts b/examples/src/sheets/worker.ts
similarity index 100%
rename from examples/sheets/src/worker.ts
rename to examples/src/sheets/worker.ts
diff --git a/examples/slides/src/main.ts b/examples/src/slides/main.ts
similarity index 97%
rename from examples/slides/src/main.ts
rename to examples/src/slides/main.ts
index fa5c9c903a..7b150b9a7d 100644
--- a/examples/slides/src/main.ts
+++ b/examples/src/slides/main.ts
@@ -20,7 +20,8 @@ import { UniverRenderEnginePlugin } from '@univerjs/engine-render';
import { UniverSlidesPlugin } from '@univerjs/slides';
import { UniverSlidesUIPlugin } from '@univerjs/slides-ui';
import { UniverUIPlugin } from '@univerjs/ui';
-import { DEFAULT_SLIDE_DATA } from 'data';
+
+import { DEFAULT_SLIDE_DATA } from '../data';
// package info
console.table({
diff --git a/examples/src/styles.module.less b/examples/src/styles.module.less
new file mode 100644
index 0000000000..18af04285e
--- /dev/null
+++ b/examples/src/styles.module.less
@@ -0,0 +1,65 @@
+@height: 40px;
+
+.examples {
+ display: flex;
+ gap: 36px;
+ align-items: center;
+ justify-content: center;
+
+ height: 100%;
+}
+
+.btn {
+ position: relative;
+
+ overflow: hidden;
+ gap: 8px;
+
+ height: @height;
+ padding-right: 8px;
+ padding-left: @height + 6px;
+
+ font-size: 20px;
+ line-height: @height;
+ text-decoration: none;
+
+ border-radius: @height;
+
+ -webkit-font-smoothing: antialiased;
+
+ > span {
+ position: relative;
+ z-index: 1;
+ color: #313131;
+ }
+
+ &:hover {
+ > span {
+ color: #fff;
+ }
+
+ .btn-bg {
+ width: 100%;
+ }
+ }
+
+ &-bg {
+ position: absolute;
+ top: 0;
+ left: 0;
+
+ box-sizing: border-box;
+ width: 40px;
+ height: 40px;
+ padding-left: 10px;
+
+ line-height: @height;
+ color: #fff;
+ text-align: left;
+
+ background-color: #313131;
+ border-radius: 40px;
+
+ transition: width 0.15s ease-in-out;
+ }
+}
diff --git a/examples/docs/tsconfig.json b/examples/tsconfig.json
similarity index 80%
rename from examples/docs/tsconfig.json
rename to examples/tsconfig.json
index 11200e88f4..672750de43 100644
--- a/examples/docs/tsconfig.json
+++ b/examples/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.json",
+ "extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "local",
@@ -7,6 +7,7 @@
"esModuleInterop": true,
"emitDecoratorMetadata": true,
"strictPropertyInitialization": false,
+ "types": ["esbuild-style-plugin"]
},
"include": ["src/**/*"],
"exclude": ["node_modules", "local"]
diff --git a/examples/univer-plugin-debugger/README.md b/examples/univer-plugin-debugger/README.md
deleted file mode 100644
index fbe5b0ac30..0000000000
--- a/examples/univer-plugin-debugger/README.md
+++ /dev/null
@@ -1 +0,0 @@
-## Debugger.Debug("Hello World")
\ No newline at end of file
diff --git a/examples/univer-plugin-debugger/package.json b/examples/univer-plugin-debugger/package.json
deleted file mode 100644
index c81d873481..0000000000
--- a/examples/univer-plugin-debugger/package.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "name": "univer-plugin-debugger",
- "description": "Used for debugger",
- "author": "DreamNum <[email protected]>",
- "license": "Apache-2.0",
- "private": true,
- "main": "./src/index.ts",
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "dependencies": {
- "@univerjs/core": "workspace:*",
- "@univerjs/design": "workspace:*",
- "@univerjs/docs": "workspace:*",
- "@univerjs/docs-ui": "workspace:*",
- "@univerjs/engine-formula": "workspace:*",
- "@univerjs/engine-render": "workspace:*",
- "@univerjs/local-save": "workspace:*",
- "@univerjs/rpc": "workspace:*",
- "@univerjs/sheets": "workspace:*",
- "@univerjs/sheets-formula": "workspace:*",
- "@univerjs/sheets-numfmt": "workspace:*",
- "@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "@univerjs/uniscript": "workspace:*",
- "@wendellhu/redi": "^0.12.12",
- "monaco-editor": "0.45.0",
- "rxjs": "^7.8.1"
- }
-}
diff --git a/examples/univer-plugin-debugger/tsconfig.json b/examples/univer-plugin-debugger/tsconfig.json
deleted file mode 100644
index d0ab2f2912..0000000000
--- a/examples/univer-plugin-debugger/tsconfig.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./src",
- "outDir": "lib",
- "esModuleInterop": true,
- "strictPropertyInitialization": false
- },
- "include": ["src/**/*"],
- "exclude": ["node_modules", "local"]
-}
diff --git a/package.json b/package.json
index 749a39f22e..2dcde2ac6c 100644
--- a/package.json
+++ b/package.json
@@ -1,83 +1,83 @@
{
- "name": "univer",
- "version": "0.1.0-alpha.2",
- "private": true,
- "scripts": {
- "prepare": "husky install",
- "pre-commit": "lint-staged",
- "dev": "turbo dev:demo --filter ./examples/sheets --filter ./examples/docs --filter ./examples/slides",
- "dev:sheet": "turbo dev:demo --filter ./examples/sheets",
- "dev:doc": "turbo dev:demo --filter ./examples/docs",
- "dev:slide": "turbo dev:demo --filter ./examples/slides",
- "dev:storybook": "storybook dev -p 6006 --no-open",
- "dev:site": "turbo dev:docusaurus",
- "lint": "eslint --cache **/src/**/*.{tsx,ts}",
- "lint:fix": "eslint --cache **/src/**/*.{tsx,ts} --fix",
- "lint:style": "stylelint **/*.less",
- "lint:types": "tsc --noEmit -p tsconfig.eslint.json",
- "test": "turbo test -- --passWithNoTests",
- "coverage": "turbo coverage -- --passWithNoTests",
- "build": "turbo build",
- "build:demo": "turbo esbuild:demo",
- "build:storybook": "storybook build",
- "build:site": "turbo build:docusaurus"
- },
- "engines": {
- "node": "^18.17.0",
- "pnpm": "^8.6.2"
- },
- "author": "DreamNum Inc. <[email protected]>",
- "license": "Apache-2.0",
- "devDependencies": {
- "@changesets/cli": "^2.27.1",
- "@commitlint/cli": "^18.4.3",
- "@commitlint/config-conventional": "^18.4.3",
- "@playwright/test": "^1.40.1",
- "@storybook/addon-docs": "^7.6.4",
- "@storybook/addon-essentials": "^7.6.4",
- "@storybook/addon-interactions": "^7.6.4",
- "@storybook/addon-links": "^7.6.4",
- "@storybook/blocks": "^7.6.4",
- "@storybook/react": "^7.6.4",
- "@storybook/react-vite": "^7.6.4",
- "@storybook/testing-library": "^0.2.2",
- "@types/node": "^20.10.4",
- "@types/react": "^18.2.45",
- "@typescript-eslint/eslint-plugin": "^6.14.0",
- "@typescript-eslint/parser": "^6.14.0",
- "@univerjs/design": "workspace:*",
- "@vitejs/plugin-react": "^4.2.1",
- "eslint": "^8.55.0",
- "eslint-config-airbnb-base": "^15.0.0",
- "eslint-config-airbnb-typescript": "^17.1.0",
- "eslint-config-prettier": "^9.1.0",
- "eslint-import-resolver-typescript": "^3.6.1",
- "eslint-plugin-header": "~3.1.1",
- "eslint-plugin-import-newlines": "^1.3.4",
- "eslint-plugin-prettier": "^5.0.1",
- "eslint-plugin-react": "^7.33.2",
- "eslint-plugin-simple-import-sort": "^10.0.0",
- "eslint-plugin-unused-imports": "^3.0.0",
- "husky": "^8.0.3",
- "lint-staged": "^15.2.0",
- "prettier": "^3.1.1",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "storybook": "^7.6.4",
- "stylelint-config-clean-order": "^5.2.0",
- "stylelint-config-prettier": "^9.0.5",
- "stylelint-config-standard-less": "^2.0.0",
- "stylelint-config-standard": "^34.0.0",
- "stylelint": "^15.11.0",
- "turbo": "^1.11.2",
- "typescript": "^5.3.3"
- },
- "lint-staged": {
- "**/src/**/*.{tsx,ts}": [
- "eslint --fix"
- ],
- "**/*.less": [
- "stylelint --fix"
- ]
- }
+ "name": "univer",
+ "version": "0.1.0-alpha.2",
+ "private": true,
+ "scripts": {
+ "prepare": "husky install",
+ "pre-commit": "lint-staged",
+ "dev": "turbo dev:demo --filter ./examples/sheets --filter ./examples/docs --filter ./examples/slides",
+ "dev:sheet": "turbo dev:demo --filter ./examples/sheets",
+ "dev:doc": "turbo dev:demo --filter ./examples/docs",
+ "dev:slide": "turbo dev:demo --filter ./examples/slides",
+ "dev:storybook": "storybook dev -p 6006 --no-open",
+ "dev:site": "turbo dev:docusaurus",
+ "lint": "eslint --cache **/src/**/*.{tsx,ts}",
+ "lint:fix": "eslint --cache **/src/**/*.{tsx,ts} --fix",
+ "lint:style": "stylelint **/*.less",
+ "lint:types": "tsc --noEmit -p tsconfig.eslint.json",
+ "test": "turbo test -- --passWithNoTests",
+ "coverage": "turbo coverage -- --passWithNoTests",
+ "build": "turbo build",
+ "build:demo": "turbo build:demo",
+ "build:storybook": "storybook build",
+ "build:site": "turbo build:docusaurus"
+ },
+ "engines": {
+ "node": "^18.17.0",
+ "pnpm": "^8.6.2"
+ },
+ "author": "DreamNum Inc. <[email protected]>",
+ "license": "Apache-2.0",
+ "devDependencies": {
+ "@changesets/cli": "^2.27.1",
+ "@commitlint/cli": "^18.4.3",
+ "@commitlint/config-conventional": "^18.4.3",
+ "@playwright/test": "^1.40.1",
+ "@storybook/addon-docs": "^7.6.4",
+ "@storybook/addon-essentials": "^7.6.4",
+ "@storybook/addon-interactions": "^7.6.4",
+ "@storybook/addon-links": "^7.6.4",
+ "@storybook/blocks": "^7.6.4",
+ "@storybook/react": "^7.6.4",
+ "@storybook/react-vite": "^7.6.4",
+ "@storybook/testing-library": "^0.2.2",
+ "@types/node": "^20.10.4",
+ "@types/react": "^18.2.45",
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
+ "@typescript-eslint/parser": "^6.14.0",
+ "@univerjs/design": "workspace:*",
+ "@vitejs/plugin-react": "^4.2.1",
+ "eslint": "^8.55.0",
+ "eslint-config-airbnb-base": "^15.0.0",
+ "eslint-config-airbnb-typescript": "^17.1.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-import-resolver-typescript": "^3.6.1",
+ "eslint-plugin-header": "~3.1.1",
+ "eslint-plugin-import-newlines": "^1.3.4",
+ "eslint-plugin-prettier": "^5.0.1",
+ "eslint-plugin-react": "^7.33.2",
+ "eslint-plugin-simple-import-sort": "^10.0.0",
+ "eslint-plugin-unused-imports": "^3.0.0",
+ "husky": "^8.0.3",
+ "lint-staged": "^15.2.0",
+ "prettier": "^3.1.1",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "storybook": "^7.6.4",
+ "stylelint-config-clean-order": "^5.2.0",
+ "stylelint-config-prettier": "^9.0.5",
+ "stylelint-config-standard-less": "^2.0.0",
+ "stylelint-config-standard": "^34.0.0",
+ "stylelint": "^15.11.0",
+ "turbo": "^1.11.2",
+ "typescript": "^5.3.3"
+ },
+ "lint-staged": {
+ "**/src/**/*.{tsx,ts}": [
+ "eslint --fix"
+ ],
+ "**/*.less": [
+ "stylelint --fix"
+ ]
+ }
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 280a216fb2..4965680de2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -193,173 +193,87 @@ importers:
specifier: ^5.3.3
version: 5.3.3
- examples/data:
+ examples:
dependencies:
'@univerjs/core':
specifier: workspace:*
- version: link:../../packages/core
-
- examples/docs:
- dependencies:
- '@univerjs/core':
- specifier: workspace:*
- version: link:../../packages/core
+ version: link:../packages/core
'@univerjs/design':
specifier: workspace:*
- version: link:../../packages/design
+ version: link:../packages/design
'@univerjs/docs':
specifier: workspace:*
- version: link:../../packages/docs
+ version: link:../packages/docs
'@univerjs/docs-ui':
specifier: workspace:*
- version: link:../../packages/docs-ui
- '@univerjs/engine-render':
- specifier: workspace:*
- version: link:../../packages/engine-render
- '@univerjs/ui':
- specifier: workspace:*
- version: link:../../packages/ui
- data:
- specifier: workspace:*
- version: link:../data
- univer-plugin-debugger:
- specifier: workspace:*
- version: link:../univer-plugin-debugger
- devDependencies:
- esbuild:
- specifier: ^0.19.8
- version: 0.19.8
- esbuild-plugin-clean:
- specifier: ^1.0.1
- version: 1.0.1([email protected])
- esbuild-plugin-copy:
- specifier: ^2.1.1
- version: 2.1.1([email protected])
- esbuild-style-plugin:
- specifier: ^1.6.3
- version: 1.6.3
- less:
- specifier: ^4.2.0
- version: 4.2.0
- minimist:
- specifier: ^1.2.8
- version: 1.2.8
- typescript:
- specifier: ^5.3.3
- version: 5.3.3
-
- examples/sheets:
- dependencies:
- '@univerjs/core':
- specifier: workspace:*
- version: link:../../packages/core
- '@univerjs/design':
- specifier: workspace:*
- version: link:../../packages/design
- '@univerjs/docs':
- specifier: workspace:*
- version: link:../../packages/docs
- '@univerjs/docs-ui':
- specifier: workspace:*
- version: link:../../packages/docs-ui
+ version: link:../packages/docs-ui
'@univerjs/engine-formula':
specifier: workspace:*
- version: link:../../packages/engine-formula
+ version: link:../packages/engine-formula
'@univerjs/engine-render':
specifier: workspace:*
- version: link:../../packages/engine-render
+ version: link:../packages/engine-render
'@univerjs/local-save':
specifier: workspace:*
- version: link:../../packages/local-save
+ version: link:../packages/local-save
'@univerjs/rpc':
specifier: workspace:*
- version: link:../../packages/rpc
+ version: link:../packages/rpc
'@univerjs/sheets':
specifier: workspace:*
- version: link:../../packages/sheets
+ version: link:../packages/sheets
'@univerjs/sheets-formula':
specifier: workspace:*
- version: link:../../packages/sheets-formula
+ version: link:../packages/sheets-formula
'@univerjs/sheets-numfmt':
specifier: workspace:*
- version: link:../../packages/sheets-numfmt
+ version: link:../packages/sheets-numfmt
'@univerjs/sheets-ui':
specifier: workspace:*
- version: link:../../packages/sheets-ui
+ version: link:../packages/sheets-ui
+ '@univerjs/slides':
+ specifier: workspace:*
+ version: link:../packages/slides
+ '@univerjs/slides-ui':
+ specifier: workspace:*
+ version: link:../packages/slides-ui
'@univerjs/ui':
specifier: workspace:*
- version: link:../../packages/ui
+ version: link:../packages/ui
'@univerjs/uniscript':
specifier: workspace:*
- version: link:../../packages/uniscript
+ version: link:../packages/uniscript
'@wendellhu/redi':
specifier: ^0.12.12
version: 0.12.12
- data:
- specifier: workspace:*
- version: link:../data
monaco-editor:
specifier: 0.45.0
version: 0.45.0
- univer-plugin-debugger:
- specifier: workspace:*
- version: link:../univer-plugin-debugger
- devDependencies:
- esbuild:
- specifier: ^0.19.8
- version: 0.19.8
- esbuild-plugin-clean:
- specifier: ^1.0.1
- version: 1.0.1([email protected])
- esbuild-plugin-copy:
- specifier: ^2.1.1
- version: 2.1.1([email protected])
- esbuild-style-plugin:
- specifier: ^1.6.3
- version: 1.6.3
- less:
- specifier: ^4.2.0
- version: 4.2.0
- minimist:
- specifier: ^1.2.8
- version: 1.2.8
- typescript:
- specifier: ^5.3.3
- version: 5.3.3
-
- examples/slides:
- dependencies:
- '@univerjs/core':
- specifier: workspace:*
- version: link:../../packages/core
- '@univerjs/design':
- specifier: workspace:*
- version: link:../../packages/design
- '@univerjs/engine-render':
- specifier: workspace:*
- version: link:../../packages/engine-render
- '@univerjs/slides':
- specifier: workspace:*
- version: link:../../packages/slides
- '@univerjs/slides-ui':
- specifier: workspace:*
- version: link:../../packages/slides-ui
- '@univerjs/ui':
- specifier: workspace:*
- version: link:../../packages/ui
- data:
- specifier: workspace:*
- version: link:../data
+ react:
+ specifier: ^18.2.0
+ version: 18.2.0
+ react-dom:
+ specifier: ^18.2.0
+ version: 18.2.0([email protected])
+ rxjs:
+ specifier: ^7.8.1
+ version: 7.8.1
devDependencies:
+ '@types/react':
+ specifier: ^18.2.45
+ version: 18.2.45
+ '@types/react-dom':
+ specifier: ^18.2.17
+ version: 18.2.17
esbuild:
- specifier: ^0.19.8
- version: 0.19.8
+ specifier: ^0.19.9
+ version: 0.19.9
esbuild-plugin-clean:
specifier: ^1.0.1
- version: 1.0.1([email protected])
+ version: 1.0.1([email protected])
esbuild-plugin-copy:
specifier: ^2.1.1
- version: 2.1.1([email protected])
+ version: 2.1.1([email protected])
esbuild-style-plugin:
specifier: ^1.6.3
version: 1.6.3
@@ -373,60 +287,6 @@ importers:
specifier: ^5.3.3
version: 5.3.3
- examples/univer-plugin-debugger:
- dependencies:
- '@univerjs/core':
- specifier: workspace:*
- version: link:../../packages/core
- '@univerjs/design':
- specifier: workspace:*
- version: link:../../packages/design
- '@univerjs/docs':
- specifier: workspace:*
- version: link:../../packages/docs
- '@univerjs/docs-ui':
- specifier: workspace:*
- version: link:../../packages/docs-ui
- '@univerjs/engine-formula':
- specifier: workspace:*
- version: link:../../packages/engine-formula
- '@univerjs/engine-render':
- specifier: workspace:*
- version: link:../../packages/engine-render
- '@univerjs/local-save':
- specifier: workspace:*
- version: link:../../packages/local-save
- '@univerjs/rpc':
- specifier: workspace:*
- version: link:../../packages/rpc
- '@univerjs/sheets':
- specifier: workspace:*
- version: link:../../packages/sheets
- '@univerjs/sheets-formula':
- specifier: workspace:*
- version: link:../../packages/sheets-formula
- '@univerjs/sheets-numfmt':
- specifier: workspace:*
- version: link:../../packages/sheets-numfmt
- '@univerjs/sheets-ui':
- specifier: workspace:*
- version: link:../../packages/sheets-ui
- '@univerjs/ui':
- specifier: workspace:*
- version: link:../../packages/ui
- '@univerjs/uniscript':
- specifier: workspace:*
- version: link:../../packages/uniscript
- '@wendellhu/redi':
- specifier: ^0.12.12
- version: 0.12.12
- monaco-editor:
- specifier: 0.45.0
- version: 0.45.0
- rxjs:
- specifier: ^7.8.1
- version: 7.8.1
-
packages/core:
dependencies:
dayjs:
@@ -4514,7 +4374,7 @@ packages:
'@docusaurus/react-loadable': 5.5.2([email protected])
'@types/history': 4.7.11
- '@types/react': 18.2.42
+ '@types/react': 18.2.45
'@types/react-router-config': 5.0.10
'@types/react-router-dom': 5.3.3
react: 18.2.0
@@ -5019,7 +4879,7 @@ packages:
react-dom: ^18.0.0
dependencies:
'@types/history': 4.7.11
- '@types/react': 18.2.42
+ '@types/react': 18.2.45
commander: 5.1.0
joi: 17.11.0
react: 18.2.0
@@ -5113,8 +4973,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-q4cR+6ZD0938R19MyEW3jEsMzbb/1rulLXiNAJQADD/XYp7pT+rOS5JGxvpRW8dFDEfjW4wLgC/3FXIw4zYglQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
@@ -5130,8 +4990,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-jkYjjq7SdsWuNI6b5quymW0oC83NN5FdRPuCbs9HZ02mfVdAP8B8eeqLSYU3gb6OJEaY5CQabtTFbqBf26H3GA==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
@@ -5147,8 +5007,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-KOqoPntWAH6ZxDwx1D6mRntIgZh9KodzgNOy5Ebt9ghzffOk9X2c1sPwtM9P+0eXbefnDhqYfkh5PLP5ULtWFA==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
@@ -5164,8 +5024,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-KBJ9S0AFyLVx2E5D8W0vExqRW01WqRtczUZ8NRu+Pi+87opZn5tL4Y0xT0mA4FtHctd0ZgwNoN639fUUGlNIWw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
@@ -5181,8 +5041,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-vE0VotmNTQaTdX0Q9dOHmMTao6ObjyPm58CHZr1UK7qpNleQyxlFlNCaHsHx6Uqv86VgPmR4o2wdNq3dP1qyDQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
@@ -5198,8 +5058,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-uFQyd/o1IjiEk3rUHSwUKkqZwqdvuD8GevWF065eqgYfexcVkxh+IJgwTaGZVu59XczZGcN/YMh9uF1fWD8j1g==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
@@ -5215,8 +5075,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-WMLgWAtkdTbTu1AWacY7uoj/YtHthgqrqhf1OaEWnZb7PQgpt8eaA/F3LkV0E6K/Lc0cUr/uaVP/49iE4M4asA==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
@@ -5232,8 +5092,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-PiPblfe1BjK7WDAKR1Cr9O7VVPqVNpwFcPWgfn4xu0eMemzRp442hXyzF/fSwgrufI66FpHOEJk0yYdPInsmyQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
@@ -5249,8 +5109,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-C/ChPohUYoyUaqn1h17m/6yt6OB14hbXvT8EgM1ZWaiiTYz7nWZR0SYmMnB5BzQA4GXl3BgBO1l8MYqL/He3qw==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
@@ -5266,8 +5126,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-f37i/0zE0MjDxijkPSQw1CO/7C27Eojqb+r3BbHVxMLkj8GCa78TrBZzvPyA/FNLUMzP3eyHCVkAopkKVja+6Q==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@@ -5283,8 +5143,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-t6mN147pUIf3t6wUt3FeumoOTPfmv9Cc6DQlsVBpB7eCpLOqQDyWBP1ymXn1lDw4fNUSb/gBcKAmvTP49oIkaA==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
@@ -5300,8 +5160,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-jg9fujJTNTQBuDXdmAg1eeJUL4Jds7BklOTkkH80ZgQIoCTdQrDaHYgbFZyeTq8zbY+axgptncko3v9p5hLZtw==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
@@ -5317,8 +5177,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-tkV0xUX0pUUgY4ha7z5BbDS85uI7ABw3V1d0RNTii7E9lbmV8Z37Pup2tsLV46SQWzjOeyDi1Q7Wx2+QM8WaCQ==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
@@ -5334,8 +5194,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-DfLp8dj91cufgPZDXr9p3FoR++m3ZJ6uIXsXrIvJdOjXVREtXuQCjfMfvmc3LScAVmLjcfloyVtpn43D56JFHg==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
@@ -5351,8 +5211,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-zHbglfEdC88KMgCWpOl/zc6dDYJvWGLiUtmPRsr1OgCViu3z5GncvNVdf+6/56O2Ca8jUU+t1BW261V6kp8qdw==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
@@ -5368,8 +5228,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-JUjpystGFFmNrEHQnIVG8hKwvA2DN5o7RqiO1CVX8EN/F/gkCjkUMgVn6hzScpwnJtl2mPR6I9XV1oW8k9O+0A==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
@@ -5385,8 +5245,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-GThgZPAwOBOsheA2RUlW5UeroRfESwMq/guy8uEe3wJlAOjpOXuSevLRd70NZ37ZrpO6RHGHgEHvPg1h3S1Jug==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
@@ -5402,8 +5262,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-Ki6PlzppaFVbLnD8PtlVQfsYw4S9n3eQl87cqgeIw+O3sRr9IghpfSKY62mggdt1yCSZ8QWvTZ9jo9fjDSg9uw==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
@@ -5419,8 +5279,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-MLHj7k9hWh4y1ddkBpvRj2b9NCBhfgBt3VpWbHQnXRedVun/hC7sIyTGDGTfsGuXo4ebik2+3ShjcPbhtFwWDw==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
@@ -5436,8 +5296,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-GQoa6OrQ8G08guMFgeXPH7yE/8Dt0IfOGWJSfSH4uafwdC7rWwrfE6P9N8AtPGIjUzdo2+7bN8Xo3qC578olhg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
@@ -5453,8 +5313,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-UOozV7Ntykvr5tSOlGCrqU3NBr3d8JqPes0QWN2WOXfvkWVGRajC+Ym0/Wj88fUgecUCLDdJPDF0Nna2UK3Qtg==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
@@ -5470,8 +5330,8 @@ packages:
requiresBuild: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-oxoQgglOP7RH6iasDrhY+R/3cHrfwIDvRlT4CGChflq6twk8iENeVvMJjmvBb94Ik1Z+93iGO27err7w6l54GQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@@ -7865,7 +7725,7 @@ packages:
resolution: {integrity: sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg==}
dependencies:
- '@types/react': 18.2.42
+ '@types/react': 18.2.45
dev: true
@@ -7891,7 +7751,7 @@ packages:
resolution: {integrity: sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==}
dependencies:
- '@types/react': 18.2.42
+ '@types/react': 18.2.45
dev: true
@@ -7900,6 +7760,7 @@ packages:
'@types/prop-types': 15.7.11
'@types/scheduler': 0.16.8
csstype: 3.1.2
+ dev: true
resolution: {integrity: sha512-TtAxCNrlrBp8GoeEp1npd5g+d/OejJHFxS3OWmrPBMFaVQMSN0OFySozJio5BHxTuTeug00AVXVAjfDSfk+lUg==}
@@ -10584,24 +10445,24 @@ packages:
resolution: {integrity: sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ==}
dev: true
resolution: {integrity: sha512-ul606g0wX6oeobBgi3EqpZtCBCwNwCDivvnshsNS5pUsRylKoxUnDqK0ZIyPinlMbP6s8Opc9y2zOeY1Plhe8Q==}
peerDependencies:
esbuild: '>= 0.14.0'
dependencies:
chalk: 4.1.2
del: 6.1.1
- esbuild: 0.19.8
+ esbuild: 0.19.9
dev: true
resolution: {integrity: sha512-Bk66jpevTcV8KMFzZI1P7MZKZ+uDcrZm2G2egZ2jNIvVnivDpodZI+/KnpL3Jnap0PBdIHU7HwFGB8r+vV5CVw==}
peerDependencies:
esbuild: '>= 0.14.0'
dependencies:
chalk: 4.1.2
chokidar: 3.5.3
- esbuild: 0.19.8
+ esbuild: 0.19.9
fs-extra: 10.1.0
globby: 11.1.0
dev: true
@@ -10624,8 +10485,8 @@ packages:
'@types/sass': 1.45.0
'@types/stylus': 0.48.42
glob: 10.3.10
- postcss: 8.4.31
- postcss-modules: 6.0.0([email protected])
+ postcss: 8.4.32
+ postcss-modules: 6.0.0([email protected])
dev: true
@@ -10657,34 +10518,34 @@ packages:
'@esbuild/win32-ia32': 0.18.20
'@esbuild/win32-x64': 0.18.20
- resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==}
+ resolution: {integrity: sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
- '@esbuild/android-arm': 0.19.8
- '@esbuild/android-arm64': 0.19.8
- '@esbuild/android-x64': 0.19.8
- '@esbuild/darwin-arm64': 0.19.8
- '@esbuild/darwin-x64': 0.19.8
- '@esbuild/freebsd-arm64': 0.19.8
- '@esbuild/freebsd-x64': 0.19.8
- '@esbuild/linux-arm': 0.19.8
- '@esbuild/linux-arm64': 0.19.8
- '@esbuild/linux-ia32': 0.19.8
- '@esbuild/linux-loong64': 0.19.8
- '@esbuild/linux-mips64el': 0.19.8
- '@esbuild/linux-ppc64': 0.19.8
- '@esbuild/linux-riscv64': 0.19.8
- '@esbuild/linux-s390x': 0.19.8
- '@esbuild/linux-x64': 0.19.8
- '@esbuild/netbsd-x64': 0.19.8
- '@esbuild/openbsd-x64': 0.19.8
- '@esbuild/sunos-x64': 0.19.8
- '@esbuild/win32-arm64': 0.19.8
- '@esbuild/win32-ia32': 0.19.8
- '@esbuild/win32-x64': 0.19.8
+ '@esbuild/android-arm': 0.19.9
+ '@esbuild/android-arm64': 0.19.9
+ '@esbuild/android-x64': 0.19.9
+ '@esbuild/darwin-arm64': 0.19.9
+ '@esbuild/darwin-x64': 0.19.9
+ '@esbuild/freebsd-arm64': 0.19.9
+ '@esbuild/freebsd-x64': 0.19.9
+ '@esbuild/linux-arm': 0.19.9
+ '@esbuild/linux-arm64': 0.19.9
+ '@esbuild/linux-ia32': 0.19.9
+ '@esbuild/linux-loong64': 0.19.9
+ '@esbuild/linux-mips64el': 0.19.9
+ '@esbuild/linux-ppc64': 0.19.9
+ '@esbuild/linux-riscv64': 0.19.9
+ '@esbuild/linux-s390x': 0.19.9
+ '@esbuild/linux-x64': 0.19.9
+ '@esbuild/netbsd-x64': 0.19.9
+ '@esbuild/openbsd-x64': 0.19.9
+ '@esbuild/sunos-x64': 0.19.9
+ '@esbuild/win32-arm64': 0.19.9
+ '@esbuild/win32-ia32': 0.19.9
+ '@esbuild/win32-x64': 0.19.9
dev: true
@@ -12312,6 +12173,15 @@ packages:
dependencies:
postcss: 8.4.31
+ resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: ^8.1.0
+ dependencies:
+ postcss: 8.4.32
+ dev: true
+
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
dev: true
@@ -15182,6 +15052,15 @@ packages:
dependencies:
postcss: 8.4.31
+ resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: ^8.1.0
+ dependencies:
+ postcss: 8.4.32
+ dev: true
+
resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==}
engines: {node: ^10 || ^12 || >= 14}
@@ -15193,6 +15072,18 @@ packages:
postcss-selector-parser: 6.0.13
postcss-value-parser: 4.2.0
+ resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: ^8.1.0
+ dependencies:
+ icss-utils: 5.1.0([email protected])
+ postcss: 8.4.32
+ postcss-selector-parser: 6.0.13
+ postcss-value-parser: 4.2.0
+ dev: true
+
resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==}
engines: {node: ^10 || ^12 || >= 14}
@@ -15202,6 +15093,16 @@ packages:
postcss: 8.4.31
postcss-selector-parser: 6.0.13
+ resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: ^8.1.0
+ dependencies:
+ postcss: 8.4.32
+ postcss-selector-parser: 6.0.13
+ dev: true
+
resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==}
engines: {node: ^10 || ^12 || >= 14}
@@ -15211,19 +15112,29 @@ packages:
icss-utils: 5.1.0([email protected])
postcss: 8.4.31
+ resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: ^8.1.0
+ dependencies:
+ icss-utils: 5.1.0([email protected])
+ postcss: 8.4.32
+ dev: true
+
resolution: {integrity: sha512-7DGfnlyi/ju82BRzTIjWS5C4Tafmzl3R79YP/PASiocj+aa6yYphHhhKUOEoXQToId5rgyFgJ88+ccOUydjBXQ==}
peerDependencies:
postcss: ^8.0.0
dependencies:
generic-names: 4.0.0
- icss-utils: 5.1.0([email protected])
+ icss-utils: 5.1.0([email protected])
lodash.camelcase: 4.3.0
- postcss: 8.4.31
- postcss-modules-extract-imports: 3.0.0([email protected])
- postcss-modules-local-by-default: 4.0.3([email protected])
- postcss-modules-scope: 3.0.0([email protected])
- postcss-modules-values: 4.0.0([email protected])
+ postcss: 8.4.32
+ postcss-modules-extract-imports: 3.0.0([email protected])
+ postcss-modules-local-by-default: 4.0.3([email protected])
+ postcss-modules-scope: 3.0.0([email protected])
+ postcss-modules-values: 4.0.0([email protected])
string-hash: 1.1.3
dev: true
@@ -18502,7 +18413,7 @@ packages:
optional: true
dependencies:
'@types/node': 20.10.4
- esbuild: 0.19.8
+ esbuild: 0.19.9
less: 4.2.0
postcss: 8.4.32
rollup: 4.5.2
diff --git a/tsconfig.json b/tsconfig.json
index 9ef3b703d0..6a8bd009ab 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -89,19 +89,7 @@
"path": "./packages/uniscript"
},
{
- "path": "./examples/data"
- },
- {
- "path": "./examples/univer-plugin-debugger"
- },
- {
- "path": "./examples/docs"
- },
- {
- "path": "./examples/sheets"
- },
- {
- "path": "./examples/slides"
+ "path": "./examples"
},
{
"path": "./apps/docs"
diff --git a/turbo.json b/turbo.json
index 4b415a49a3..68e105c040 100644
--- a/turbo.json
+++ b/turbo.json
@@ -5,7 +5,7 @@
"test": {},
"coverage": {},
"build": {},
- "esbuild:demo": {},
+ "build:demo": {},
"dev:demo": {
"cache": false,
"persistent": true