Skip to content

Commit cdc95b6

Browse files
committed
Rename package to @winner-fed/plugin-code-inspector, update version to 1.0.2, and add code-inspector-plugin as a dependency. Modify configuration schema for code inspection features and update release workflow with new package URL.
1 parent 40325de commit cdc95b6

File tree

5 files changed

+338
-16
lines changed

5 files changed

+338
-16
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ jobs:
127127
echo "🎉 发布成功!"
128128
echo "📦 版本: ${{ steps.get_version.outputs.version }}"
129129
echo "🏷️ 标签: ${{ steps.get_version.outputs.tag_name }}"
130-
echo "📝 npm: https://www.npmjs.com/package/winjs-plugin-template"
130+
echo "📝 npm: https://www.npmjs.com/package/@winner-fed/plugin-code-inspector"

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"name": "winjs-plugin-template",
2+
"name": "@winner-fed/plugin-code-inspector",
33
"keywords": [
44
"winjs",
55
"plugin",
6-
"template",
6+
"code-inspector",
77
"winner-fed",
88
"winjs-dev",
99
"rslib",
1010
"rsbuild",
1111
"typescript",
1212
"biome"
1313
],
14-
"version": "0.0.0",
14+
"version": "1.0.2",
1515
"repository": {
1616
"type": "git",
17-
"url": "git+https://github.com/winjs-dev/winjs-plugin-template.git"
17+
"url": "git+https://github.com/winjs-dev/winjs-plugin-code-inspector.git"
1818
},
1919
"license": "MIT",
2020
"type": "module",
@@ -43,6 +43,9 @@
4343
"simple-git-hooks": {
4444
"pre-commit": "npm run lint:write"
4545
},
46+
"dependencies": {
47+
"code-inspector-plugin": "^1.2.10"
48+
},
4649
"devDependencies": {
4750
"@biomejs/biome": "^2.2.4",
4851
"@playwright/test": "^1.55.1",

playground/.winrc.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import { defineConfig } from 'win';
22

33
export default defineConfig({
44
plugins: ['../src'],
5-
example: {
6-
foo: 'bar',
5+
codeInspector: {
6+
editor: 'code',
7+
hotKeys: ['shiftKey', 'metaKey'],
8+
showSwitch: true,
9+
autoToggle: true,
10+
ip: '127.0.0.1',
11+
port: 3050
712
},
813
});

pnpm-lock.yaml

Lines changed: 112 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)