Skip to content

Commit 55baa1c

Browse files
committed
Update Halo plugin template to v2.22 dependencies
1 parent 13977f8 commit 55baa1c

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

template/build.gradle.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111
}
1212

1313
dependencies {
14-
implementation platform('run.halo.tools.platform:plugin:2.21.0')
14+
implementation platform('run.halo.tools.platform:plugin:2.22.0')
1515
compileOnly 'run.halo.app:api'
1616

1717
testImplementation 'run.halo.app:api'
@@ -48,6 +48,6 @@ tasks.named('classes') {
4848
{{/if}}
4949

5050
halo {
51-
version = '2.21'
51+
version = '2.22'
5252
}
5353

template/src/main/resources/plugin.yaml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: {{projectName}}
88
spec:
99
enabled: true
10-
requires: ">=2.21.0"
10+
requires: ">=2.22.0"
1111
author:
1212
name: {{author}}
1313
website: https://github.com/{{author}}

template/ui/package.json.template

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build-only": "rsbuild build",
1010
"dev": "rsbuild build --watch --env-mode=development",
1111
{{/if}}
12-
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
12+
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path ../.gitignore",
1313
"lint:eslint": "eslint . --fix",
1414
"lint": "run-s lint:*",
1515
"prettier": "prettier --write src/",
@@ -23,9 +23,9 @@
2323
"tabWidth": 2
2424
},
2525
"dependencies": {
26-
"@halo-dev/api-client": "^2.21.1",
27-
"@halo-dev/components": "^2.21.0",
28-
"@halo-dev/console-shared": "^2.21.0",
26+
"@halo-dev/api-client": "^2.22.0",
27+
"@halo-dev/components": "^2.22.0",
28+
"@halo-dev/ui-shared": "^2.22.0",
2929
"axios": "^1.7.2",
3030
"canvas-confetti": "^1.9.3",
3131
"vue": "^3.5.17"
@@ -37,8 +37,8 @@
3737
"@rsbuild/core": "^1.4.3",
3838
"@rsbuild/plugin-sass": "^1.3.2",
3939
{{/if}}
40-
"@halo-dev/ui-plugin-bundler-kit": "^2.21.2",
41-
"@iconify/json": "^2.2.350",
40+
"@halo-dev/ui-plugin-bundler-kit": "^2.22.0",
41+
"@iconify-json/ri": "^1.2.6",
4242
"@tsconfig/node20": "^20.1.6",
4343
"@types/canvas-confetti": "^1.9.0",
4444
"@types/jsdom": "^21.1.7",
@@ -61,5 +61,5 @@
6161
"vitest": "^3.2.4",
6262
"vue-tsc": "^2.2.10"
6363
},
64-
"packageManager": "pnpm@9.15.9"
64+
"packageManager": "pnpm@10.12.4"
6565
}

template/ui/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { definePlugin } from '@halo-dev/console-shared'
1+
import { definePlugin } from '@halo-dev/ui-shared'
22
import HomeView from './views/HomeView.vue'
33
import { IconPlug } from '@halo-dev/components'
44
import { markRaw } from 'vue'

0 commit comments

Comments
 (0)