CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
The Payload CLI failed with ERR_REQUIRE_ASYNC_MODULE on Node 22 and 26 alike: without "type": "module" it loaded payload.config.ts as CommonJS and could not require the top-level-await ESM @payloadcms/richtext-lexical. Following the official Payload template: "type": "module", CommonJS jest files and the content schema renamed to .cjs, ESLint globs updated. Next's standalone server.js is ESM and starts; 516 unit tests, tsc, lint and build are green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
72 lines
3.3 KiB
JSON
Executable File
72 lines
3.3 KiB
JSON
Executable File
{
|
|
"name": "proto",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build --turbopack",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"test": "jest --config jest.config.unit.cjs",
|
|
"test:watch": "jest --config jest.config.unit.cjs --watch",
|
|
"test:coverage": "jest --config jest.config.unit.cjs --coverage",
|
|
"test:unit": "jest --config jest.config.unit.cjs",
|
|
"test:browser": "jest --config jest.config.cjs src/__tests__/browser-integration.test.ts",
|
|
"test:integration": "INTEGRATION_TESTS=1 jest --config jest.config.integration.cjs src/__tests__/integration.test.ts",
|
|
"test:e2e": "E2E_TESTS=1 jest --config jest.config.integration.cjs src/__tests__/e2e-docker.test.ts",
|
|
"test:smoke:staging": "playwright test --config=playwright.config.ts --project=staging",
|
|
"test:seo:production": "playwright test --config=playwright.config.ts --project=production-seo",
|
|
"test:docker": "npm run test:integration && npm run test:e2e",
|
|
"test:all": "npm run test:unit && npm run test:browser && npm run test:docker",
|
|
"test:report": "npm test -- --json --outputFile=test-results.json --silent && node ../scripts/sync-test-management.js",
|
|
"test:report:integration": "npm run test:integration -- --json --outputFile=integration-results.json --silent && node ../scripts/sync-test-management.js --results-path integration-results.json",
|
|
"test:sync": "node ../scripts/sync-test-management.js",
|
|
"test:gherkin": "npm run test:all -- --json --outputFile=test-results.json --silent && node ../scripts/generate-gherkin-reports.js test-results.json",
|
|
"test:update-tc": "node ../scripts/update-tc-issues.js",
|
|
"test:full-report": "npm run test:gherkin && npm run test:update-tc",
|
|
"docker:dev": "cd .. && docker-compose -f docker-compose.dev.yml up --build",
|
|
"docker:dev:down": "cd .. && docker-compose -f docker-compose.dev.yml down",
|
|
"docker:dev:logs": "cd .. && docker-compose -f docker-compose.dev.yml logs -f app",
|
|
"docker:build": "docker build -t mozdit-app .",
|
|
"docker:run": "docker run -p 3000:3000 --env-file .env.local mozdit-app",
|
|
"migrate:content": "node --env-file=.env.local --import tsx scripts/migrate-content-to-payload.ts",
|
|
"test:payload": "node --env-file=.env.local --import tsx scripts/test-payload-local-api.ts"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/db-mongodb": "^3.88.0",
|
|
"@payloadcms/next": "^3.88.0",
|
|
"@payloadcms/richtext-lexical": "^3.88.0",
|
|
"graphql": "^16.14.2",
|
|
"mongodb": "^6.5",
|
|
"mongoose": "^8.2",
|
|
"next": "^16.3.4",
|
|
"payload": "^3.88.0",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"sharp": "^0.35.4"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@playwright/test": "^1.62.1",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/jest-dom": "^6.5",
|
|
"@testing-library/react": "^16.0",
|
|
"@testing-library/user-event": "^14.5",
|
|
"@types/jest": "^29.5",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/winston": "^2.4",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "^16.3.4",
|
|
"jest": "^29.7",
|
|
"jest-environment-jsdom": "^29.7",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.23.13",
|
|
"typescript": "^5",
|
|
"undici": "^7.15.0",
|
|
"winston": "^3.11"
|
|
}
|
|
}
|