- Updated package.json to use npx for deploying and developing, and upgraded several dependencies including vitest and wrangler. - Renamed the project in wrangler.jsonc to include the year 2026 and added new routes and triggers for scheduled tasks. - Enhanced the API by adding new reload endpoints for pages, blogs, projects, and experiences, with appropriate CORS handling. - Implemented checks in import functions for files, images, and videos to skip updates if no changes are detected. - Improved error handling and logging across various routes and utilities. - Refactored global headers to dynamically resolve CORS origins based on incoming requests.
27 lines
645 B
JSON
27 lines
645 B
JSON
{
|
|
"name": "tombutcher-api",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"deploy": "npx wrangler deploy --env production",
|
|
"dev": "npx wrangler dev --test-scheduled --host 0.0.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-pool-workers": "^0.10.5",
|
|
"wrangler": "^4.46.0"
|
|
},
|
|
"dependencies": {
|
|
"@napi-rs/canvas": "^0.1.81",
|
|
"@notionhq/client": "^5.3.0",
|
|
"blurhash": "^2.0.5",
|
|
"dayjs": "^1.11.19",
|
|
"jpeg-js": "^0.4.4",
|
|
"lodash": "^4.17.21",
|
|
"microdiff": "^1.5.0",
|
|
"remove-svg-properties": "^0.3.4",
|
|
"sharp": "^0.34.5",
|
|
"svgson": "^5.3.1",
|
|
"upng-js": "^2.1.0"
|
|
}
|
|
}
|