Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samteb committed Mar 26, 2024
1 parent 952ce09 commit 2fab72d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include ./apps/armory/Makefile
include ./apps/devtool/Makefile
include ./apps/policy-engine/Makefile
include ./apps/vault/Makefile
include ./packages/nestjs-shared/Makefile
include ./packages/policy-engine-shared/Makefile
include ./packages/transaction-request-intent/Makefile
include ./packages/signature/Makefile
Expand Down
16 changes: 8 additions & 8 deletions packages/nestjs-shared/Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
POLICY_ENGINE_SHARED_PROJECT_NAME := nestjs-shared
POLICY_ENGINE_SHARED_PROJECT_DIR := ./packages/nestjs-shared
NESTJS_SHARED_PROJECT_NAME := nestjs-shared
NESTJS_SHARED_PROJECT_DIR := ./packages/nestjs-shared

# == Code format ==

nestjs-shared/format:
npx nx format:write --projects ${POLICY_ENGINE_SHARED_PROJECT_NAME}
npx nx format:write --projects ${NESTJS_SHARED_PROJECT_NAME}

nestjs-shared/lint:
npx nx lint ${POLICY_ENGINE_SHARED_PROJECT_NAME} -- --fix
npx nx lint ${NESTJS_SHARED_PROJECT_NAME} -- --fix

nestjs-shared/format/check:
npx nx format:check --projects ${POLICY_ENGINE_SHARED_PROJECT_NAME}
npx nx format:check --projects ${NESTJS_SHARED_PROJECT_NAME}

nestjs-shared/lint/check:
npx nx lint ${POLICY_ENGINE_SHARED_PROJECT_NAME}
npx nx lint ${NESTJS_SHARED_PROJECT_NAME}

# == Testing ==

nestjs-shared/test/type:
npx tsc \
--project ${POLICY_ENGINE_SHARED_PROJECT_DIR}/tsconfig.lib.json \
--project ${NESTJS_SHARED_PROJECT_DIR}/tsconfig.lib.json \
--noEmit

nestjs-shared/test/unit:
npx nx test:unit ${POLICY_ENGINE_SHARED_PROJECT_NAME} -- ${ARGS}
npx nx test:unit ${NESTJS_SHARED_PROJECT_NAME} -- ${ARGS}

nestjs-shared/test/unit/watch:
make nestjs-shared/test/unit ARGS=--watch

0 comments on commit 2fab72d

Please sign in to comment.