Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
chore: init plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
FlysoftBeta committed Jul 17, 2023
1 parent 7b97028 commit 30badc8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 67 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# QQNTim 模板插件
# QQNTim 防撤回插件

## 开发

Expand Down
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function buildPlugin() {
minify: isProduction,
treeShaking: isProduction,
format: "cjs",
entryPoints: [`src${s}main.ts`, `src${s}renderer.ts`, `src${s}settings.tsx`],
entryPoints: [`src${s}main.ts`, `src${s}renderer.ts`],
outdir: "dist",
external: ["electron", "react", "react/jsx-runtime", "react-dom", "react-dom/client", "qqntim/main", "qqntim/renderer", "qqntim-settings", "qqntim-settings/components"],
});
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "qqntim-plugin-template",
"name": "qqntim-plugin-no-revoked-messages",
"private": true,
"version": "2.0.0",
"version": "1.0.0",
"packageManager": "[email protected]",
"license": "MIT",
"scripts": {
Expand Down
11 changes: 3 additions & 8 deletions publish/qqntim.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifestVersion": "3.0",
"id": "template-plugin",
"name": "QQNTim 模板插件",
"description": "快速开始开发你自己的插件",
"id": "no-revoked-messages",
"name": "防撤回",
"description": "显示被撤回的消息",
"version": "1.0.0",
"author": "Flysoft",
"injections": [
Expand All @@ -14,11 +14,6 @@
"type": "renderer",
"stylesheet": "style.css",
"script": "renderer.js"
},
{
"type": "renderer",
"page": ["settings"],
"script": "settings.js"
}
]
}
2 changes: 0 additions & 2 deletions publish/style.css

This file was deleted.

51 changes: 0 additions & 51 deletions src/settings.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1277,9 +1277,9 @@ __metadata:
languageName: node
linkType: hard

"qqntim-plugin-template@workspace:.":
"qqntim-plugin-no-revoked-messages@workspace:.":
version: 0.0.0-use.local
resolution: "qqntim-plugin-template@workspace:."
resolution: "qqntim-plugin-no-revoked-messages@workspace:."
dependencies:
"@flysoftbeta/qqntim-typings": ^3.0.0
"@types/node": ^20.4.2
Expand Down

0 comments on commit 30badc8

Please sign in to comment.