Skip to content

j#74

Closed
Danieltheflukr wants to merge 157 commits intoWisdomSky:mainfrom
Danieltheflukr:main
Closed

j#74
Danieltheflukr wants to merge 157 commits intoWisdomSky:mainfrom
Danieltheflukr:main

Conversation

@Danieltheflukr
Copy link
Copy Markdown

j

Danieltheflukr and others added 30 commits April 8, 2025 11:14
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 部署設定檔
@Danieltheflukr
Copy link
Copy Markdown
Author

cf

dan 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.
@WisdomSky WisdomSky closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants