Compare commits
No commits in common. "56bbe84249e7c57c98e1e209db335f514085b1a6" and "9e392fb9452a197338bc908444f20b4175475bb7" have entirely different histories.
56bbe84249
...
9e392fb945
36
package.json
36
package.json
@ -10,29 +10,29 @@
|
||||
"dev": "webpack serve"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.24.3",
|
||||
"@babel/plugin-transform-runtime": "^7.24.3",
|
||||
"@babel/preset-env": "^7.24.3",
|
||||
"@babel/core": "^7.23.2",
|
||||
"@babel/plugin-transform-runtime": "^7.23.2",
|
||||
"@babel/preset-env": "^7.23.2",
|
||||
"babel-loader": "^9.1.3",
|
||||
"css-loader": "^6.10.0",
|
||||
"style-loader": "^3.3.4",
|
||||
"ts-loader": "^9.5.1",
|
||||
"typescript": "^5.4.3",
|
||||
"webpack": "^5.91.0",
|
||||
"css-loader": "^6.8.1",
|
||||
"style-loader": "^3.3.3",
|
||||
"ts-loader": "^9.5.0",
|
||||
"typescript": "^5.2.2",
|
||||
"webpack": "^5.89.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^5.0.4"
|
||||
"webpack-dev-server": "^4.15.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.24.1",
|
||||
"@fullcalendar/core": "^6.1.11",
|
||||
"@fullcalendar/icalendar": "^6.1.11",
|
||||
"@fullcalendar/resource": "^6.1.11",
|
||||
"@fullcalendar/resource-timegrid": "^6.1.11",
|
||||
"@fullcalendar/resource-timeline": "^6.1.11",
|
||||
"@fullcalendar/timegrid": "^6.1.11",
|
||||
"core-js": "^3.36.1",
|
||||
"@babel/runtime": "^7.23.2",
|
||||
"@fullcalendar/core": "^6.1.9",
|
||||
"@fullcalendar/icalendar": "^6.1.9",
|
||||
"@fullcalendar/resource": "^6.1.9",
|
||||
"@fullcalendar/resource-timegrid": "^6.1.9",
|
||||
"@fullcalendar/resource-timeline": "^6.1.9",
|
||||
"@fullcalendar/timegrid": "^6.1.9",
|
||||
"core-js": "^3.33.2",
|
||||
"ical.js": "^1.5.0",
|
||||
"preact": "^10.20.1",
|
||||
"preact": "^10.18.2",
|
||||
"unique-colors": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
2257
pnpm-lock.yaml
2257
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -2,8 +2,8 @@
|
||||
"type": "module",
|
||||
"exports": "./server.js",
|
||||
"dependencies": {
|
||||
"express": "^4.19.2",
|
||||
"puppeteer": "^22.6.1"
|
||||
"express": "^4.18.2",
|
||||
"puppeteer": "^21.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "npm run dev",
|
||||
@ -12,9 +12,9 @@
|
||||
"serve": "node dist/server.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/node": "^20.11.30",
|
||||
"tsx": "^4.7.1",
|
||||
"typescript": "^5.4.3"
|
||||
"@types/express": "^4.17.20",
|
||||
"@types/node": "^20.8.10",
|
||||
"tsx": "^3.14.0",
|
||||
"typescript": "^5.2.2"
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -67,7 +67,6 @@ export function main(
|
||||
.filter(([shop_name, shop]) => shop.calendar !== undefined)
|
||||
.forEach(([shop_name, shop], idx) => {
|
||||
calendar.addEventSource({
|
||||
id: shop_name,
|
||||
url: '/calendar/ical/' + shop.calendar + '/public/basic.ics',
|
||||
format: 'ics',
|
||||
color: colors[idx],
|
||||
@ -92,22 +91,6 @@ export function main(
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Add background event if resource has children
|
||||
let tool_resource = calendar.getResourceById(eventData.resourceId);
|
||||
let children = tool_resource?.getChildren();
|
||||
if (tool_resource && children?.length) {
|
||||
let new_event = {
|
||||
...eventData,
|
||||
resourceIds: [
|
||||
tool_resource.id,
|
||||
...children.map((resource) => resource.id),
|
||||
],
|
||||
display: 'background',
|
||||
};
|
||||
calendar.addEvent(new_event, shop_name);
|
||||
}
|
||||
|
||||
return eventData;
|
||||
},
|
||||
});
|
||||
|
@ -38,11 +38,7 @@
|
||||
"ShopBot, PRSstandard 96-48-8",
|
||||
"Table Saw, SawStop 3HP 10\"",
|
||||
"Planer, Powermatic 20\"",
|
||||
"Jointer, Powermatic 8\"",
|
||||
"Rikon 70-305 Wood Lathe",
|
||||
"Rikon 70-100 Wood Lathe",
|
||||
"Record CL3 Wood Lathe",
|
||||
"Powermatic 45 Wood Lathe"
|
||||
"Jointer, Powermatic 8\""
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -37,17 +37,15 @@ module.exports = [
|
||||
},
|
||||
devServer: {
|
||||
allowedHosts: 'all',
|
||||
proxy: [
|
||||
{
|
||||
context: ['/calendar'],
|
||||
proxy: {
|
||||
'/calendar': {
|
||||
target: 'https://calendar.google.com',
|
||||
changeOrigin: true,
|
||||
},
|
||||
{
|
||||
context: ['/ipad.png'],
|
||||
'/ipad.png': {
|
||||
target: 'http://localhost:1234',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
Loading…
Reference in New Issue
Block a user