Skip to content

Commit

Permalink
build: include type check in client 'yarn build'
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfost committed Aug 1, 2023
1 parent dd64d3f commit 2c393ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ deploy: build

.PHONY: buildprod
buildprod: docker-compose.yml
docker compose run --rm client yarn type-check-build
docker compose run --rm client yarn build
docker compose run --rm server yarn build

.PHONY: clean
Expand Down
8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"type-check-build": "tsc --noEmit && vue-cli-service build",
"build": "yarn type-check && yarn build-only",
"build-only": "vue-cli-service build",
"type-check": "tsc --noEmit",
"loadtest": "ts-node -r tsconfig-paths/register src/loadtest.ts",
"test:unit": "NODE_ENV=test vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e",
"lint": "eslint ./ --ext .ts,.vue",
"lint:fix": "eslint --fix ./ --ext .ts,.vue",
"style": "prettier --config ../.prettierrc --check 'src/**/*.{ts,vue}'",
"style:fix": "prettier --config ../.prettierrc --write 'src/**/*.{ts,vue}'",
"type-check": "tsc --noEmit"
"style:fix": "prettier --config ../.prettierrc --write 'src/**/*.{ts,vue}'"
},
"dependencies": {
"@colyseus/schema": "^1.0.9",
Expand Down

0 comments on commit 2c393ee

Please sign in to comment.