Skip to content
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

Make game-template/* part of the pnpm monorepo #13

Merged
merged 2 commits into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
.PHONY: init
init:
pnpm install
cd game-template && pnpm install

.PHONY: build
build:
pnpm lerna run build
cd game-template && pnpm -r build

.PHONY: test
test:
Expand All @@ -28,7 +26,7 @@ check-format:

.PHONY: bump-version
bump-version:
pnpm lerna version --force-publish
pnpm lerna version --force-publish --no-private

.PHONY: publish
publish: check-format build test
Expand Down
9 changes: 5 additions & 4 deletions game-template/game/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "Game logic for the minimal example game 'Roll'",
"author": "Simon Lemieux",
"private": true,
"license": "MIT",
"type": "module",
"main": "dist/index.js",
Expand All @@ -12,15 +13,15 @@
"watch": "pnpm rollup --config --watch"
},
"devDependencies": {
"@lefun/core": "link:../../packages/core",
"@lefun/game": "link:../../packages/game",
"@lefun/core": "workspace:*",
"@lefun/game": "workspace:*",
"@rollup/plugin-typescript": "^11.1.6",
"rollup": "^4.18.0",
"tslib": "^2.6.3",
"typescript": "^5.5.2"
},
"peerDependencies": {
"@lefun/core": "^1.1.3",
"@lefun/game": "^1.1.3"
"@lefun/core": "workspace:*",
"@lefun/game": "workspace:*"
}
}
Loading