build by use pnpm

This commit is contained in:
2026-04-22 14:13:19 -04:00
parent c41f541e20
commit bdb0e38a75
7 changed files with 2266 additions and 2612 deletions
-16
View File
@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CheckStyle-IDEA" serialisationVersion="2">
<checkstyleVersion>10.23.0</checkstyleVersion>
<scanScope>JavaOnly</scanScope>
<copyLibs>true</copyLibs>
<option name="thirdPartyClasspath" />
<option name="activeLocationIds" />
<option name="locations">
<list>
<ConfigurationLocation id="bundled-sun-checks" type="BUNDLED" scope="All" description="Sun Checks">(bundled)</ConfigurationLocation>
<ConfigurationLocation id="bundled-google-checks" type="BUNDLED" scope="All" description="Google Checks">(bundled)</ConfigurationLocation>
</list>
</option>
</component>
</project>
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="@localhost" uuid="fdee0aee-fdde-459c-94ff-615823eabeac">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://localhost:3306</jdbc-url>
<jdbc-additional-properties>
<property name="com.intellij.clouds.kubernetes.db.host.port" />
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
<property name="com.intellij.clouds.kubernetes.db.container.port" />
</jdbc-additional-properties>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>
Generated
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PhpCodeSniffer">
<phpcs_settings>
<PhpCSConfiguration asDefaultInterpreter="true" />
</phpcs_settings>
</component>
</project>
Vendored
+18 -9
View File
@@ -33,27 +33,36 @@ pipeline {
}
stages {
// stage("Pull Source Code"){
// steps {
stage("Configure"){
steps {
script {
// This command should run on the agent to configure the git environment
sh 'git config --global url."https://github.com/".insteadOf git://github.com/'
sh 'corepack enable'
sh 'corepack prepare pnpm@latest --activate'
}
// git branch: 'main',
// credentialsId: 'c9d0ec7c-0749-4588-8960-e96cab84d462',
// url: 'https://src.isharkfly.com/iSharkFly-Docs/health-docs.git'
// }
// }
// url: 'https://src.isharkfly.com/USVisaTrack/Usvisatrack-Ui.git'
}
}
stage('Build / Package') {
steps {
sh 'yarn add'
sh 'yarn docs:build'
sh 'pnpm install --frozen-lockfile'
sh 'npx browserslist@latest --update-db'
sh 'pnpm run docs:build'
}
}
stage('Deploy to Cloudflare') {
steps {
// Install Wrangler locally for the project
sh 'yarn add -D wrangler@latest'
sh 'pnpm add -D wrangler@latest'
// Deploy
sh "yarn wrangler pages deploy ./.vitepress/dist --project-name=${PRJ_NAME} --branch=main"
sh "pnpm wrangler pages deploy ./.vitepress/dist --project-name=${PRJ_NAME} --branch=main"
}
}
+2 -1
View File
@@ -1,7 +1,8 @@
{
"devDependencies": {
"vitepress": "^2.0.0-alpha.16",
"vue": "^3.5.27"
"vue": "^3.5.27",
"wrangler": "^4.84.1"
},
"scripts": {
"docs:dev": "vitepress dev",
+2246
View File
File diff suppressed because it is too large Load Diff
-2561
View File
File diff suppressed because it is too large Load Diff