-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle with alfy #6
Comments
Cool XD |
等我搞完 npm-package-to-nix 就來弄 #7 然後順便弄這個好了 XD |
作者住在克拉科夫欸,今年初我還剛去過那裡 XDDDD |
發現用了 |
😂 ,用過 oclif bundle 過 node.js cli tool,速度不會那麼久,可能真是 alfy 的問題 |
@Yukaii 你有用 alfy 的經驗ㄇ?我懷疑是我測試時的環境問題。 ⋯⋯反正我先 setup 好 Babel 吧,之後再來看要不要用 alfy 包 |
有,以前接電話的時寫過一個分機速查表 (2018) ,不過當時我沒有特別到意識速度有問題,資料源是 local csv |
https://github.com/sindresorhus/alfy/blob/8d61d502965427671b78c6e27d0667ed9ba5ec32/index.js#L40-L42 他 output 只是 JSON.stringify,感覺不會是瓶頸 |
我又試了一次,直接用 commend line 指定 node 跑感覺差不多 ( 現在我比較好奇他的 auto update 是怎麼做到的 XD |
我剛剛也在看這個 https://github.com/vercel/pkg |
pkg 我們有用 w 比較複雜的專案會需要踩點雷,static assets 的部分要照他 README 改寫 |
用 vercel/pkg 包起來,跑的時候有比較快 XD
|
不過 {
"items": [
{
"title": "Error: spawn /snapshot/alfred-google-translate-workflow/node_modules/alfred-notifier/check.js ENOENT",
"subtitle": "Press ⌘L to see the full error and ⌘C to copy it.",
"valid": false,
"text": {
"copy": "```\nError: spawn /snapshot/alfred-google-translate-workflow/node_modules/alfred-notifier/check.js ENOENT\n```\n\n-\nundefined undefined\nAlfred undefined\ndarwin 19.5.0",
"largetype": "Error: spawn /snapshot/alfred-google-translate-workflow/node_modules/alfred-notifier/check.js ENOENT"
},
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
}
}
]
} |
Refs: https://github.com/sindresorhus/alfy
The text was updated successfully, but these errors were encountered: