Set up the Kifu PWA project with decent Makefiles #41

Merged
savanni merged 14 commits from kifu-pwa into main 2023-05-13 16:48:42 +00:00
Owner

This sets up the bare bones of a Kifu PWA project. This includes makefiles that build all of the dependencies of the PWA project.

Support structures:

  • ffi/wasm provides the bindings back to the core
  • core-types provides all of the data types that get exported from the core
  • kifu-pwa is the application itself. It is a typescript application with a rather simple webpack setup
This sets up the bare bones of a Kifu PWA project. This includes makefiles that build all of the dependencies of the PWA project. Support structures: - ffi/wasm provides the bindings back to the core - core-types provides all of the data types that get exported from the core - kifu-pwa is the application itself. It is a typescript application with a rather simple webpack setup
savanni added 12 commits 2023-05-13 16:18:28 +00:00
savanni reviewed 2023-05-13 16:26:45 +00:00
savanni left a comment
Author
Owner

Also, remove the icon file as it is copied from the tutorial project and isn't relevant for this one.

Also, remove the icon file as it is copied from the tutorial project and isn't relevant for this one.
@ -0,0 +9,4 @@
}
/*
#[wasm_bindgen]
Author
Owner

Remove

Remove
savanni marked this conversation as resolved
@ -0,0 +15,4 @@
*/
/*
#[wasm_bindgen]
Author
Owner

Remove

Remove
savanni marked this conversation as resolved
@ -0,0 +24,4 @@
}
*/
/* Somehow uncommenting this code actually causes the module to not load. Maybe a name conflict?
Author
Owner

Comment is now obsolete

Comment is now obsolete
savanni marked this conversation as resolved
@ -0,0 +28,4 @@
* Don't know.
*/
/*
#[wasm_bindgen]
Author
Owner

Remove

Remove
savanni marked this conversation as resolved
@ -0,0 +1,13 @@
[package]
Author
Owner

Remove this entire directory tree

Remove this entire directory tree
savanni marked this conversation as resolved
@ -0,0 +1 @@
typeshare
Author
Owner

Not needed

Not needed
savanni marked this conversation as resolved
@ -0,0 +1,12 @@
use std::process::Command;
Author
Owner

Not needed. I do the typeshare build in a different crate

Not needed. I do the typeshare build in a different crate
savanni marked this conversation as resolved
@ -0,0 +1,17 @@
{
"lang": "en-us",
"name": "Temperature converter app",
Author
Owner

This was part of the tutorial project. Update these fields.

This was part of the tutorial project. Update these fields.
savanni marked this conversation as resolved
@ -0,0 +4,4 @@
event.waitUntil((async () => {
const cache = await caches.open(CACHE_NAME);
cache.addAll([
'/',
Author
Owner

This is likely incorrect

This is likely incorrect
savanni marked this conversation as resolved
@ -0,0 +6,4 @@
cache.addAll([
'/',
'/kifu-bundle.js',
'/converter.css',
Author
Owner

Rename converter.css

Rename converter.css
savanni marked this conversation as resolved
savanni added 1 commit 2023-05-13 16:30:07 +00:00
savanni added 1 commit 2023-05-13 16:48:32 +00:00
savanni merged commit 68cec8bc12 into main 2023-05-13 16:48:42 +00:00
savanni deleted branch kifu-pwa 2023-05-13 16:48:42 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: savanni/monorepo#41
No description provided.