Skip to content

Commit

Permalink
Update root scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens committed Nov 26, 2024
1 parent 292f86a commit fbc8d73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "vite build",
"lint": "eslint . --ext .ts,.tsx",
"test": "vitest",
"test:watch": "vitest watch"
"test:watch": "vitest watch",
"typecheck": "tsc --project ./tsconfig.json --noEmit"
},
"dependencies": {
"keycloak-js": "25.0.6",
Expand Down
3 changes: 3 additions & 0 deletions apps/admin/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { defineConfig } from 'vitest/config'

export default defineConfig({
plugins: [tsconfigPaths(), react()],
server: {
port: 3001,
},
test: {
coverage: {
enabled: true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
},
"scripts": {
"build": "pnpm run /^build:/",
"build:admin": "nx build admin",
"build:admin": "pnpm -F=admin build",
"build:public": "pnpm -F=public build",
"dev": "pnpm run /^dev:/",
"dev:admin": "nx dev admin",
"dev:admin": "pnpm -F=admin dev",
"dev:public": "pnpm -F=public dev",
"generate-api-client": "openapi-ts",
"lint": "npm run lint:css && npm run lint:md && npm run prettier && nx run-many --target=lint --exclude=api-client,form-renderer && pnpm -r --no-bail lint && pnpm -r --no-bail typecheck",
Expand Down

0 comments on commit fbc8d73

Please sign in to comment.