j#74
Closed
Danieltheflukr wants to merge 157 commits intoWisdomSky:mainfrom
Danieltheflukr:main
Closed
Conversation
scripts.build 這裡先用簡單的 echo,保證你現在部署 pipeline 通過。 以後要用 esbuild / webpack 打包的時候,這裡換成 esbuild index.js --bundle --outfile=dist/index.js。 scripts.deploy 手動部署指令,如果你本機開發完,可以直接 npm run deploy。 scripts.dev 本機開發測試指令,跑在 localhost 上。 scripts.preview Cloudflare 提供的「真實環境模擬預覽」。 engines.node 指定 Node.js 版本,保證環境一致。 dependencies / devDependencies 現階段留空沒關係,將來加插件例如 Axios、dotenv、Zod 等都可以加進來。
Cloudflared-web/ ├── index.js # Worker 主要程式碼 ├── package.json # NPM 腳本與設定檔 └── wrangler.toml # Cloudflare 部署設定檔
Avec worker
Avec worker
added 22 commits
April 22, 2025 10:57
Author
|
cf |
added 6 commits
April 24, 2025 10:04
- Implemented shared memory functionality using shmmap for various typed arrays (Int8Array, Uint8Array, etc.) in typed-arrays.js. - Created a worker abstraction in worker.js to manage child processes and IPC communication. - Added package.json for the worker module, defining dependencies and scripts. - Updated package-lock.json to include the new worker module and its dependencies. - Modified main package.json to include the worker module as a dependency.
…ment notification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
j