Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmokel/discover-colyseus-phaser
A minimum multiplayer game demo using colyseus and Phaser. Generate from my tutorial-monorepo template.
https://github.com/dmokel/discover-colyseus-phaser
Last synced: about 1 month ago
JSON representation
A minimum multiplayer game demo using colyseus and Phaser. Generate from my tutorial-monorepo template.
- Host: GitHub
- URL: https://github.com/dmokel/discover-colyseus-phaser
- Owner: dmokel
- Created: 2023-07-18T10:25:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-06T14:34:56.000Z (over 1 year ago)
- Last Synced: 2023-08-06T15:35:44.832Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.5 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @voidoor/monorepo
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
```sh
# 你应该通过pnpm run cz来创建规范化的commit-msg,
# 如果你的commit-msg不符合规范,那么你的commit将被中断。# 在根目录执行
pnpm run cz
``````sh
# 关于如何在本monorepo进行开发
#
# 当你第一次 clone 该 monorepo 工程到本地时,你需要通过 pnpm 安装依赖,
# 首先你需要在 monorepo 根目录执行
pnpm install
# 安装monorepo root依赖,请注意,此时你还未安装各个apps/packages的依赖,
# 因此你需要继续执行相关命令安装apps/pakcages的依赖,格式如下:
pnpm --filter @voidoor/{APP_NAME} install
# 示例如:pnpm --filter @voidoor/ex-http-graphql install# 你可以仅对你进行开发的apps/packages安装依赖,
# 从而减少你本地所需要安装的依赖,和减少安装依赖所需的时间。
```# @voidoor/ex-http-graphql
```sh
# 需要pnpm支持,通过
pnpm install -g [email protected]
# 安装# 在monorepo根目录执行
pnpm install
# 安装monorepo root依赖# 然后执行
pnpm ex-http-graphql install
# 安装ex-http-graphql项目的依赖# 在monorepo根目录执行
pnpm ex-http-graphql build
# 构建js产物# 继续在monorepo根目录执行
docker build -t ex-http-graphql -f apps/ex-http-graphql/Dockerfile apps/ex-http-graphql
# 构建image镜像
```获取更多[@voidoor/ex-http-graphql](./apps/ex-http-graphql/README.md) 的信息
# @voidoor/ex-copy-static-asset-with-esbuild
```sh
# 需要pnpm支持,通过
pnpm install -g [email protected]
# 安装# 在monorepo根目录执行
pnpm install
# 安装monorepo root依赖# 然后执行
pnpm ex-copy-static-asset-with-esbuild install
# 安装ex-copy-static-asset-with-esbuild项目的依赖# 在monorepo根目录执行
pnpm ex-copy-static-asset-with-esbuild build
# 构建js产物# 继续在monorepo根目录执行
docker build -t ex-copy-static-asset-with-esbuild -f apps/ex-copy-static-asset-with-esbuild/Dockerfile apps/ex-copy-static-asset-with-esbuild
# 构建image镜像
```获取更多[@voidoor/ex-copy-static-asset-with-esbuild](./apps/ex-copy-static-asset-with-esbuild/README.md) 的信息
TODO 通过 pnpm ex-copy-static-asset-with-esbuild install 依赖时,会出现无法正确安装 app 的所有依赖的情况,具体案例为,初始化一个 nuxt 项目,然后在 root 目录以上述方式安装 nuxt 项目的依赖存在问题,未完整安装所有依赖,可能是配置的问题,也可能你是 npm script 的问题;需要进入到对应的 app 下执行 pnpm install 即可完整正确安装所有依赖。