Skip to content

Commit 576fd93

Browse files
committed
added new plugin.json stuff
1 parent 0568b54 commit 576fd93

File tree

5 files changed

+28
-1
lines changed

5 files changed

+28
-1
lines changed

.vscode/pack-zip.js

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const iconFile = path.join(__dirname, '../icon.png');
66
const pluginJSON = path.join(__dirname, '../plugin.json');
77
const distFolder = path.join(__dirname, '../dist');
88
let readmeDotMd = path.join(__dirname, '../readme.md');
9+
let changelogDotMd = path.join(__dirname, '../changelogs.md');
910

1011
if (!fs.existsSync(readmeDotMd)) {
1112
readmeDotMd = path.join(__dirname, '../README.md');
@@ -18,6 +19,7 @@ const zip = new jszip();
1819
zip.file('icon.png', fs.readFileSync(iconFile));
1920
zip.file('plugin.json', fs.readFileSync(pluginJSON));
2021
zip.file('readme.md', fs.readFileSync(readmeDotMd));
22+
zip.file('changelogs.md', fs.readFileSync(changelogDotMd));
2123

2224
loadFile('', distFolder);
2325

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Acode Foundation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

changelogs.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changelogs

plugin.json

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"icon": "icon.png",
88
"files": [],
99
"minVersionCode" : 290,
10+
"license": "MIT",
11+
"changelogs": "changelogs.md",
12+
"keywords": [],
1013
"price": 0,
1114
"author": {
1215
"name": "",

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is the typescript version of Acode Plugin template
44

5-
Read acode plugin [documentation](https://acode.foxdebug.com/plugin-docs) to develop plugin for acode editor.
5+
Read acode plugin [documentation](https://acode.app/plugin-docs) to develop plugin for acode editor.
66

77
## Feature
88

0 commit comments

Comments
 (0)