Compare commits

..

No commits in common. "27c3bf16fc0c484606ec62892c480cbfacd59d2a" and "3a2e47af4298c560157f2fb6a05331cd79609227" have entirely different histories.

5 changed files with 12105 additions and 22403 deletions

8
Jenkinsfile vendored
View File

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

22389
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +0,0 @@
{
"$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
}
}

51
wrangler.jsonc Normal file
View File

@ -0,0 +1,51 @@
/**
* 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 Normal file

File diff suppressed because it is too large Load Diff