Skip to content

Commit

Permalink
chore: update project infra (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby authored Dec 4, 2023
1 parent ce9800b commit 6950501
Show file tree
Hide file tree
Showing 4 changed files with 984 additions and 896 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
Expand Down
17 changes: 5 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "com.github.node-gradle.node" version "3.3.0"
id "com.github.node-gradle.node" version "5.0.0"
id "io.freefair.lombok" version "8.0.0-rc2"
id "run.halo.plugin.devtools" version "0.0.5"
id "run.halo.plugin.devtools" version "0.0.7"
id 'java'
}

Expand All @@ -14,7 +14,7 @@ repositories {
}

dependencies {
implementation platform('run.halo.tools.platform:plugin:2.10.0-SNAPSHOT')
implementation platform('run.halo.tools.platform:plugin:2.11.0-SNAPSHOT')
compileOnly 'run.halo.app:api'

testImplementation 'run.halo.app:api'
Expand All @@ -29,15 +29,8 @@ node {
nodeProjectDir = file("${project.projectDir}/console")
}

task pnpmInstall(type: NpxTask) {
command = "pnpm@7"
args = ["install"]
}

task buildFrontend(type: NpxTask) {
command = 'pnpm@7'
task buildFrontend(type: PnpmTask) {
args = ['build']
dependsOn("pnpmInstall")
}

build {
Expand All @@ -46,5 +39,5 @@ build {
}

halo {
version = '2.6.0'
version = '2.11.1'
}
3 changes: 0 additions & 3 deletions console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"name": "@halo-dev/plugin-moments",
"version": "1.0.1",
"private": true,
"scripts": {
"dev": "vite build --mode development --watch",
"build": "vite build",
Expand Down
Loading

0 comments on commit 6950501

Please sign in to comment.