nxtgauge-admin-solid/package.json
Tracewebstudio Dev 164bbaf99b
Some checks failed
build-and-release / build (push) Failing after 30s
feat: role registration wizard + shared identity doc pre-fill
- Add RoleWizard inline to SwitchServicesPage after successful role
  registration — same wizard flow as ProfilePage, no separate step
- Pre-fill identity documents (Aadhaar, PAN, selfie, etc.) from the
  user's active role profile so they don't re-upload on second role
- Add identity_shared flag to RuntimeOnboardingField for admin-
  configurable per-field opt-in; CONVENTION_IDENTITY_FIELD_IDS covers
  common IDs without schema changes
- Extract roleKeyToPrefix() into src/lib/role-utils.ts (shared util)
- Fix solid/reactivity: snapshot portfolioForm()/form()/docUrls()
  synchronously before the first await in handleSubmit
- Reuse badge (♻ purple) distinguishes pre-filled docs from new uploads;
  Change link clears the pre-fill and lets user re-upload
- Pending roles now show 'Under Review' status badge instead of Switch
- ArrowLeft back-button in header exits wizard without full page reload

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-12 14:55:25 +02:00

76 lines
3.2 KiB
JSON

{
"name": "nxtgauge-admin-solid",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"start:9202": "HOST=0.0.0.0 PORT=9202 node .output/server/index.mjs",
"admin:restart:9202": "bash ./scripts/admin-3000-service.sh restart",
"admin:stop:9202": "bash ./scripts/admin-3000-service.sh stop",
"admin:status:9202": "bash ./scripts/admin-3000-service.sh status",
"admin:start:9202": "bash ./scripts/admin-3000-service.sh start",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:visual": "playwright test tests/e2e/admin-visual.spec.ts --reporter=list --workers=1",
"test:management:parity": "playwright test tests/e2e/management-parity.spec.ts --reporter=list --workers=1",
"test:storybook:e2e": "playwright test -c playwright.storybook.config.ts tests/e2e/storybook-admin-pages.spec.ts --reporter=list --workers=1",
"test:external:flow": "playwright test -c playwright.external.config.ts tests/e2e/external-user-flow.spec.ts --reporter=list --workers=1",
"test:external:roles": "playwright test -c playwright.external.config.ts tests/e2e/external-roles-onboarding-dashboard.spec.ts --reporter=list --workers=1",
"test:external:screenshots": "playwright test -c playwright.external.config.ts tests/e2e/external-role-screenshots.spec.ts --reporter=list --workers=1",
"test:accessibility": "playwright test --config=playwright.a11y.config.ts",
"test:visual:regression": "playwright test --config=playwright.visual.config.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"qa:visbug": "bash ./scripts/visbug-storybook.sh",
"qa:e2e:blueprint": "bash ./scripts/run-nxtgauge-e2e-suite.sh",
"lint": "eslint src --ext .tsx,.ts --max-warnings 0"
},
"dependencies": {
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.15.3",
"@solidjs/start": "^1.3.0",
"@tailwindcss/vite": "^4.2.2",
"@thisbeyond/solid-dnd": "^0.7.5",
"apexcharts": "^5.10.4",
"lucide-solid": "^1.0.1",
"solid-js": "^1.9.5",
"tailwindcss": "^4.2.2",
"vinxi": "^0.5.7"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.1",
"@chromatic-com/storybook": "^5.1.0",
"@playwright/test": "^1.58.2",
"@solidjs/testing-library": "^0.8.0",
"@storybook/addon-a11y": "^10.3.3",
"@storybook/addon-docs": "^10.3.3",
"@storybook/addon-vitest": "^10.3.3",
"@testing-library/jest-dom": "^6.6.3",
"@types/node": "^26.1.1",
"@types/pngjs": "^6.0.5",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/browser-playwright": "^4.1.1",
"@vitest/coverage-v8": "^4.1.1",
"eslint": "^8.57.1",
"eslint-plugin-solid": "^0.14.5",
"jsdom": "^25.0.1",
"msw": "^2.7.3",
"pixelmatch": "^7.1.0",
"playwright": "^1.58.2",
"pngjs": "^7.0.0",
"storybook": "^10.3.3",
"storybook-solidjs-vite": "^10.0.11",
"typescript": "^5.5.0",
"visbug": "^0.1.14",
"vite-plugin-solid": "^2.11.12",
"vitest": "^4.1.1"
}
}