feat(app): Next.js 16 + Auth.js v5 portal skeleton
Next.js 16 + Auth.js v5 skeleton: host→slug middleware, tenant-context layout, OIDC sign-in flow against breakpilot-dev realm. 100% coverage on src/lib. Bumps next to 16.2.6 to clear trivy CVEs in 15.0.3.
This commit was merged in pull request #4.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# portal — Next.js 15 + Auth.js v5 customer portal + backstage.
|
||||
|
||||
.PHONY: help install dev test lint typecheck build docker clean
|
||||
|
||||
help:
|
||||
@echo "portal targets:"
|
||||
@echo " make install pnpm install"
|
||||
@echo " make dev pnpm dev (http://localhost:3000)"
|
||||
@echo " make test pnpm test (vitest + coverage)"
|
||||
@echo " make lint pnpm lint"
|
||||
@echo " make typecheck pnpm typecheck"
|
||||
@echo " make build pnpm build (Next.js production build)"
|
||||
@echo " make docker build local image (portal:dev)"
|
||||
|
||||
install:
|
||||
@pnpm install --frozen-lockfile
|
||||
|
||||
dev:
|
||||
@pnpm dev
|
||||
|
||||
test:
|
||||
@pnpm test
|
||||
|
||||
lint:
|
||||
@pnpm lint
|
||||
|
||||
typecheck:
|
||||
@pnpm typecheck
|
||||
|
||||
build:
|
||||
@pnpm build
|
||||
|
||||
docker:
|
||||
@docker build -t portal:dev .
|
||||
|
||||
clean:
|
||||
@rm -rf .next coverage node_modules/.cache
|
||||
Reference in New Issue
Block a user