Files
pichunt/package.json
T
Pascal 01d1e5fb60
Docker Image CI / test (push) Successful in 1m47s
Tests / unit (push) Successful in 57s
Tests / integration (push) Successful in 1m38s
Docker Image CI / deploy (push) Failing after 8s
test(integration): add real-stack integration test suite with PGlite
- PGlite (in-memory WASM Postgres) hosted in a child process, exposed
  via TCP socket; real migrations applied with prisma migrate deploy
- Vitest harness (vitest.integration.config.ts, global-setup spawns
  PGlite + built Nuxt server, per-test TRUNCATE, factories, cookie-jar
  API client); no mocks, zero production code changes
- 50 tests across auth, hunt, team, submit, review, showcase, diashow
  incl. SuperJSON envelope check; *.itest.ts keeps bun test untouched
- CI: parallel unit + integration jobs in .github/workflows/test.yml
- tests/ covered by nuxt typecheck via tests/tsconfig.json reference
2026-08-13 23:10:07 +02:00

65 lines
1.9 KiB
JSON

{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview --host",
"postinstall": "nuxt prepare",
"format": "prettier --write .",
"check": "prettier --check .",
"test": "bun test",
"test:integration": "vitest run -c vitest.integration.config.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "nuxt typecheck",
"dev:up": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d",
"dev:down": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml down"
},
"dependencies": {
"@artmizu/nuxt-prometheus": "2.6.0",
"@nuxt/eslint": "1.9.0",
"@nuxtjs/i18n": "^10.0.3",
"@nuxtjs/tailwindcss": "^6.14.0",
"@pinia/nuxt": "0.11.2",
"@prisma/adapter-pg": "^6.16.1",
"@prisma/client": "^6.16.1",
"@vuestic/nuxt": "^1.0.21",
"@vuestic/tailwind": "^0.1.5",
"@vueuse/nuxt": "13.6.0",
"argon2": "^0.43.1",
"compressorjs": "^1.2.1",
"eslint": "^9.0.0",
"h3-zod": "^0.5.3",
"minio": "^8.0.5",
"nuxt": "^4.1.0",
"nuxt-auth-utils": "^0.5.22",
"pinia": "^3.0.3",
"pinia-plugin-persistedstate": "^4.5.0",
"slugify": "^1.6.6",
"superjson": "^2.2.2",
"unique-names-generator": "^4.7.1",
"vue": "^3.5.20",
"vue-matomo": "^4.2.0",
"vue-router": "^4.5.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@electric-sql/pglite": "^0.5.5",
"@electric-sql/pglite-socket": "^0.2.8",
"@nuxt/devtools": "^2.6.4",
"@types/bun": "^1.2.20",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.2.0",
"prettier-plugin-tailwindcss": "^0.6.14",
"prisma": "^6.16.1",
"vitest": "^4.1.10",
"vue-tsc": "^3.0.6"
},
"patchedDependencies": {
"@artmizu/nuxt-prometheus@2.6.0": "patches/@artmizu%2Fnuxt-prometheus@2.6.0.patch"
}
}