Compare commits

...

3 Commits

Author SHA1 Message Date
fantasticit 0374fce058
Merge pull request #275 from fantasticit/fantasticit-patch-2
Update README.md
2024-07-03 22:50:52 +08:00
fantasticit 40787a0660
Update README.md 2024-07-03 22:50:38 +08:00
fantasticit 708be2d0b8 close #272 2024-07-03 22:47:05 +08:00
6 changed files with 11804 additions and 9179 deletions

View File

@ -3,18 +3,8 @@
## 声明
1. 请先阅读[提问的智慧](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md)
2. 为什么停止开发了?
1. 对于文档类产品,无法做出独立的 library 或 framework 给不同需求的团队(或个人),这使得我不确定这件事的意义
2. 对于独立编辑器开发,无论最终以何种形态存在,其表现还是为应用,而非框架(或依赖),能做到的也许只是一种示范
3. 作者本身专攻前端,对高性能、扩展性良好的后端架构心有余而力不足,同时也缺乏专业的运维知识(欢迎赐教)
4. 对于 ProseMirror 和 yjs 本身还有许多玩法,但是精力不足
1. 类似金山文档的表格体验
2. 类似飞书文档的拖拽到节点前后生成分栏
3. markdown 、txt、office 文件的导入导出office 方面可能需要后端协助java poi 是一个可行的选择)
4. 从 office 套件粘贴到编辑器,保留格式和图片(前端可独立完成,思路可参考 TinyCME 的 PowerPaste 和 RTF
5. 基于 yjs 的版本备份和恢复(部分同学提出增量保存 diff个人还是建议全量 snapshot
6. 基于 yjs 的协同开发(比如结合 luckysheet
3. 如果希望参与编辑器开发,可以到[这个仓库](https://github.com/fantasticit/sailkit)参与。
2. 如果希望参与独立编辑器开发,可以到[这个仓库](https://github.com/fantasticit/sailkit)参与
3. 由于服务器成本和免费的 SSL 证书也没了,网站不定期会挂,敬请谅解
## 简介

View File

@ -1,9 +1,16 @@
const semi = require('@douyinfe/semi-next').default({});
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
const withPWA = require('next-pwa');
const { getConfig } = require('@think/config');
const config = getConfig();
const pwaRuntimeCaching = require('./pwa-cache');
const withPWA = require('next-pwa')({
disable: process.env.NODE_ENV !== 'production',
dest: 'public',
sw: 'service-worker.js',
runtimeCaching: pwaRuntimeCaching,
});
/** @type {import('next').NextConfig} */
const nextConfig = semi({
@ -33,12 +40,6 @@ const nextConfig = semi({
typescript: {
ignoreBuildErrors: true,
},
pwa: {
disable: process.env.NODE_ENV !== 'production',
dest: 'public',
sw: 'service-worker.js',
runtimeCaching: pwaRuntimeCaching,
},
});
module.exports = withPWA(nextConfig);

View File

@ -79,7 +79,7 @@
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"next": "12.1.0",
"next-pwa": "^5.5.2",
"next-pwa": "^5.6.0",
"pdfjs-dist": "3.1.81",
"prosemirror-codemark": "^0.3.6",
"prosemirror-commands": "^1.3.0",
@ -128,6 +128,6 @@
"eslint-plugin-simple-import-sort": "^7.0.0",
"fs-extra": "^10.0.0",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "4.5.5"
"typescript": "^4.8.4"
}
}

View File

@ -72,7 +72,6 @@
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/cookie-parser": "^1.4.3",
"@types/cron": "^2.0.0",
"@types/express": "^4.17.13",
"@types/jest": "27.0.2",
"@types/lodash": "^4.14.182",
@ -93,7 +92,7 @@
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
"typescript": "^4.8.4"
},
"jest": {
"moduleFileExtensions": [

View File

@ -11,6 +11,7 @@
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"paths": {
"@helpers/*": ["src/helpers/*"],
"@pipes/*": ["src/pipes/*"],

File diff suppressed because it is too large Load Diff