Skip to content

Commit db01823

Browse files
committed
fix(plugins): add missing typecheck script and fix tsconfigs
1 parent 946a948 commit db01823

5 files changed

Lines changed: 11 additions & 5 deletions

File tree

plugins/code-server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"scripts": {
4343
"build": "tsdown && vite build --config src/spa/vite.config.ts",
4444
"watch": "tsdown --watch",
45+
"typecheck": "tsc --noEmit",
4546
"dev": "vite --config src/spa/vite.config.ts --host 0.0.0.0",
4647
"storybook": "storybook dev -p 6006 --host 0.0.0.0",
4748
"build-storybook": "storybook build",

plugins/code-server/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
"composite": true,
54
"lib": ["esnext", "dom"]
6-
}
5+
},
6+
"include": ["src", "test", "tsdown.config.ts"],
7+
"exclude": ["dist", "src/spa/dist", ".next", "out", "node_modules"]
78
}

plugins/git/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"storybook": "storybook dev -p 6006",
4343
"storybook:build": "storybook build -o storybook-static",
4444
"watch": "tsdown --watch",
45+
"typecheck": "tsc --noEmit",
4546
"prepack": "pnpm run build",
4647
"test": "vitest run"
4748
},

plugins/git/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export function createGitDevframe(options: GitDevframeOptions = {}): DevframeDef
4646
return defineDevframe({
4747
id: 'git',
4848
name: 'Git',
49+
version: '0.5.2',
50+
packageName: '@devframes/plugin-git',
51+
homepage: 'https://github.com/devframes/devframe/tree/main/plugins/git#readme',
52+
description: 'Git dashboard for devframe',
4953
icon: 'ph:git-branch-duotone',
5054
basePath: options.basePath,
5155
cli: {

plugins/git/tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
"composite": true,
54
"lib": ["esnext", "dom"]
65
},
7-
"include": ["src/index.ts", "src/cli.ts", "src/node", "src/rpc", "test"],
8-
"exclude": ["dist", "src/client", ".next", "out"]
6+
"include": ["src", "test", "tsdown.config.ts"],
7+
"exclude": ["dist", "src/client", ".next", "out", "node_modules"]
98
}

0 commit comments

Comments
 (0)