Skip to content

Commit

Permalink
Make game-template/* part of the pnpm monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
simlmx committed Jun 22, 2024
1 parent b5e8a15 commit c42d1d6
Show file tree
Hide file tree
Showing 7 changed files with 3,130 additions and 9,790 deletions.
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-git-tag-version --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

0 comments on commit c42d1d6

Please sign in to comment.