Final fix
All checks were successful
tombutcher.work/tombutcher-ui/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2025-04-06 23:07:19 +01:00
parent 546e905bc0
commit 27c3bf16fc
5 changed files with 22403 additions and 12103 deletions

6
Jenkinsfile vendored
View File

@ -33,11 +33,7 @@ pipeline {
stage('Deploy to Cloudflare Pages') { stage('Deploy to Cloudflare Pages') {
steps { steps {
sh ''' sh 'npx wrangler deploy'
wrangler pages deploy ./build \
--project-name $PROJECT_NAME \
--branch main
'''
} }
} }
} }

22389
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

13
wrangler.json Normal file
View File

@ -0,0 +1,13 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "tombutcher-ui",
"main": "api/index.js",
"compatibility_date": "2025-03-21",
"assets": {
"not_found_handling": "single-page-application",
"binding": "WORKER_ASSETS"
},
"observability": {
"enabled": true
}
}

View File

@ -1,51 +0,0 @@
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "tombutcher-ui",
"main": "api/index.js",
"compatibility_date": "2025-03-21",
"assets": {
"not_found_handling": "single-page-application",
"binding": "ASSETS",
},
"observability": {
"enabled": true,
},
/**
* Smart Placement
* Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
*/
// "placement": { "mode": "smart" },
/**
* Bindings
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
* databases, object storage, AI inference, real-time communication and more.
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
*/
/**
* Environment Variables
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
*/
// "vars": { "GA_MEASUREMENT_ID": "" },
/**
* Note: Use secrets to store sensitive data.
* https://developers.cloudflare.com/workers/configuration/secrets/
*/
/**
* Static Assets
* https://developers.cloudflare.com/workers/static-assets/binding/
*/
// "assets": { "directory": "./public/", "binding": "ASSETS" },
/**
* Service Bindings (communicate between multiple Workers)
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
*/
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
}

12047
yarn.lock

File diff suppressed because it is too large Load Diff