Skip to content

Commit

Permalink
Migrate to Manifest V3 (#1283)
Browse files Browse the repository at this point in the history
* feat: up

* fix: fix ci
  • Loading branch information
DiamondYuan committed Jun 22, 2024
1 parent 65f0ee3 commit 0ced5bb
Show file tree
Hide file tree
Showing 83 changed files with 691 additions and 11,340 deletions.
52 changes: 0 additions & 52 deletions .github/dependabot.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
node-version: '16.x'
- name: Install Dependencies
run: npm install --force
- run: npm run lint
- run: npm run cov
env:
GITHUB_BRANCH: ${{ github.ref }}
58 changes: 0 additions & 58 deletions .github/workflows/release-beta.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/release.yml

This file was deleted.

12 changes: 2 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,9 @@
"eslint.packageManager": "yarn",
"editor.tabSize": 2,
"files.insertFinalNewline": true,
"cSpell.words": [
"dida",
"hosting",
"image",
"option",
"repos",
"ticktick",
"yuque"
],
"cSpell.words": ["dida", "hosting", "image", "option", "repos", "ticktick", "yuque"],
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
10 changes: 0 additions & 10 deletions Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,3 @@ $ yarn test
| Type | Link |
| -------- | ---------------------------------------------------- |
| Telegram | [Link](https://t.me/joinchat/HoVttRRUIA6aXASixzoqAw) |

### Sponsors

#### 感谢 [FlowUs 息流](https://flowus.cn/product) 赞助本项目

FlowUs 息流是一款为个人和团队打造的新一代知识管理与协作平台,以云端空间承载,配合灵活的信息搭建能力,为用户在工作、生活、学习中提供更多效率与专注。

产品覆盖移动及 PC 端全生态链条,依托 FlowUs 息流,团队和个人用户能够实现项目管理、知识库、企业网盘、内部工作流等一站式解决方案。

**官网**: [https://flowus.cn/product](https://flowus.cn/product)

![FlowUs](https://github.com/webclipper/web-clipper/blob/master/flowus.png?raw=true)
Empty file removed dist/.gitkeep
Empty file.
Binary file removed flowus-logo.jpg
Binary file not shown.
Binary file removed flowus.png
Binary file not shown.
54 changes: 5 additions & 49 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,15 @@
"scripts": {
"test": "vitest",
"cov": "vitest --coverage",
"dev": "cross-env NODE_ENV=development yarn _dev",
"dev:ff": "cross-env TARGET_BROWSER=Firefox NODE_ENV=development yarn _dev",
"_dev": "webpack --config webpack/webpack.dev.js --watch",
"dev": "webpack --config webpack/webpack.dev.js --watch",
"release": "ts-node script/release.ts",
"release:ff": "bash script/release_ff.sh",
"lint": "eslint --ext .js,.ts,.tsx .",
"lint-staged": "lint-staged",
"format": "web-clipper format"
},
"lint-staged": {
"src/**/*.{ts, tsx}": [
"eslint --fix",
"git add"
]
},
"pre-commit": [
"lint-staged"
],
"author": "DiamondYuan",
"license": "GPL-2.0-or-later",
"dependencies": {
"@ant-design/compatible": "^1.0.8",
"@ant-design/icons": "^4.2.2",
"@diamondyuan/eslint": "^7.0.4",
"@formily/antd": "^2.0.0-beta.47",
"@formily/core": "^2.0.0-beta.47",
"@formily/react": "^2.0.0-beta.47",
Expand Down Expand Up @@ -61,6 +46,7 @@
"mobx-react": "^6.1.4",
"qrcode": "^1.4.1",
"qs": "^6.7.0",
"query-string": "7",
"raw-loader": "^4.0.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand All @@ -77,8 +63,7 @@
"webdav": "^5.2.2"
},
"devDependencies": {
"@diamondyuan/eslint-config-react-typescript": "^7.0.1",
"@types/chrome": "^0.0.141",
"@types/chrome": "^0.0.268",
"@types/classnames": "^2.2.9",
"@types/codemirror": "^0.0.76",
"@types/history": "^4.7.2",
Expand All @@ -90,60 +75,31 @@
"@types/react-dom": "^16.9.9",
"@types/react-redux": "^7.0.8",
"@types/react-router": "^5.1.3",
"@types/redux-logger": "^3.0.6",
"@types/showdown": "^1.9.3",
"@types/tldjs": "^2.3.0",
"@types/webpack-env": "^1.13.9",
"@types/yargs": "^17.0.2",
"@vitest/coverage-v8": "^0.32.2",
"axios": "^0.21.1",
"clean-webpack-plugin": "^0.1.19",
"compressing": "^1.4.0",
"copy-webpack-plugin": "^5.1.1",
"cross-env": "^7.0.3",
"css-loader": "^1.0.0",
"eslint-import-resolver-webpack": "^0.12.0",
"eslint-plugin-prettier": "^3.4.0",
"html-webpack-plugin": "^3.2.0",
"less": "^3.8.1",
"less-loader": "^7.0.2",
"lint-staged": "^9.5.0",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"prettier": "^3.3.2",
"pump": "^3.0.0",
"semver": "^7.3.4",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^2.3.1",
"ts-import-plugin": "^1.5.5",
"ts-loader": "^6.2.1",
"ts-node": "^10.2.0",
"typescript": "^5.1.6",
"url-loader": "^3.0.0",
"vitest": "^0.32.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.2",
"webpack-create-extension-manifest-plugin": "^1.1.0",
"webpack-extension-reloader": "^1.1.4",
"webpack-merge": "^4.2.2",
"yargs": "^17.1.1"
},
"manifest": {
"manifest_version": 2,
"icons": {
"128": "icon.png"
},
"browser_action": {
"default_icon": {
"128": "icon.png"
}
},
"background": {
"scripts": [
"background.js"
]
},
"web_accessible_resources": [
"tool.html"
]
}
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}
4 changes: 2 additions & 2 deletions script/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ function send(data) {
if (!process.send) {
return;
}
return new Promise(r => {
return new Promise((r) => {
process.send(data, null, {}, r);
});
}

compiler.run(err => {
compiler.run((err) => {
if (err) {
console.log(err);
}
Expand Down
10 changes: 0 additions & 10 deletions script/download.js

This file was deleted.

Loading

0 comments on commit 0ced5bb

Please sign in to comment.