Iām relieved to know that what I wrote doesnāt seem to have been erased.
But that doesnāt change the point that anything you write in a collaborative project can be erased at any time, so you should back it up yourself if you donāt want it to be erased.
B: Consider introducing pin-diary-X to this project
I didnāt customize the template, but I got it to work.
I customized the template to work.
Discussion Patterns
[/villagepump/ āX is an insultā is not a proposition](https://scrapbox.io/villagepump/ āX is an insultā is not a proposition).
- Ask for an hour who is the one who got sick due to lack of sleep...don't...just go to sleep (4:20).
- I got plenty of sleep (but I'm told it's not enough).
- ![image](https://gyazo.com/7e3eceea8b078d1c13aa9e1727ed68ec/thumb/1000)
- Oh, but I slept for two hours in the evening when I forgot to put my Apple Watch on, so I guess that adds up.
- [[Pikmin Bloom]], it's a 10,000 steps walking day and it's raining!
- I heard it was sunny in the morning (my wife was cleared).
- Find out how to install [pin-diary-6
- I figured out the bundled scripts, but I didn't know what to do if I wanted to change the makeDiary or change the target project.
- What is [[scrapbox-bundler.vercel.app]]...
- This or [[scrapbox-bundler]].
- I wonder if I can copy [[pin-diary-6/template]] and [[pin-diary-6]] to my project, rewrite them, and then bundle them.
- Looks like a bundle is ready.
- I looked at the list of files you're reading and confirmed that it's not a villagepump, but an import from takker99/scrapbox-userscript-std or something like that.
- Now I just need to change the format to my liking...
- No `ReferenceError: lightFormat is not defined`.
- Ah, you've bundled the deps and template implementation into one when you move it.
- ![image](https://gyazo.com/63de9996e343f67eb1373cfd97e7f94d/thumb/1000)
- I was able to do it!
- š
- Thanks for your time!
- If we had a bundler that would cache the bundle results for 10 years or so until we explicitly refreshed them, we wouldn't have to put the bundled code in Scrapbox!
- It stopped raining, so I'm going [[vibram walking]].
- I also want a medal for [[Pikmin Bloom]].
- Let's walk far away and fill the neighborhood with [[Fog of the World]] just in case it rains again.
- ![image](https://gyazo.com/2147901ee3c14fc9f9a759eab42db8dd/thumb/1000)
- ![image](https://gyazo.com/41947fa218aa5d41200b0bd20ec16363/thumb/1000)
- It looked to me like he was saying, "That way.
- ![image](https://gyazo.com/f7a185f1338d10549d07e057c5eb9c24/thumb/1000)![image](https://gyazo.com/2c9a0006b7e3057126125c50b0380a8d/thumb/1000)
- Yay!
- ![image](https://gyazo.com/03aa063394fb235f135aeb47e5d06047/thumb/1000)
- ( ć»3ć»)ćšµ
- 30x3
- I'm sleepy after dinner.
- When I was writing the introduction to pin-diary, I was thinking that if you import script Y in X from UserScript in an unlocked collaborative editing project X, there is a possibility that malicious code could be put in Y, so even if you cut out the template part, putting it in X is dangerous.
- Well, in this case, the problem is the "unlocked" part.
- [/nishio/pin-diary-X](https://scrapbox.io/nishio/pin-diary-X)I wrote an introduction memo.
- I'm not sure what you mean by the deps being split into separate files.
- If there is a plan to change the template in the future, I thought it would be easier to use launch as the entry point of the bundle and inject the template written in JS for trial-and-error.
This page is auto-translated from /nishio/ę„čØ2022-05-21 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iām very happy to spread my thought to non-Japanese readers.