Fixed vite install issue
Some checks failed
tombutcher.work/tombutcher-ui/pipeline/head There was a failure building this commit

This commit is contained in:
Tom Butcher 2025-04-06 22:02:36 +01:00
parent 47fc769559
commit 6019baad49
2 changed files with 3 additions and 4 deletions

3
Jenkinsfile vendored
View File

@ -22,13 +22,12 @@ pipeline {
stage('Install dependencies') {
steps {
sh 'ls && npm install' // Install project dependencies
stash name: 'node_modules', includes: 'node_modules/**'
sh 'npm install vite --save-dev'
}
}
stage('Build') {
steps {
unstash 'node_modules'
sh 'ls ./node_modules && npm ls vite && npm run build' // Build the project
}
}

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "personal-site",
"name": "tombutcher-ui",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "personal-site",
"name": "tombutcher-ui",
"version": "0.1.0",
"dependencies": {
"@ant-design/icons": "^6.0.0",