담기/바로구매가 메인 옵션을 로케일 값 조합(option_values)으로 전송하고 서버가 문자열 동등비교로 역매칭하던 방식은, 클라·서버 로케일 불일치나 관리자의 옵션 값 텍스트 수정 시 매칭 실패를 유발했다. 클라이언트가 이미 보유한 옵션 ID(optionId)를 전송하고, 서버는 요청 상품의 옵션 집합 내에서 ID로만 조회하도록 전환한다. 추가옵션(value_id/custom_text)은 이미 ID 기반이라 변경 없음.
62 lines
1.8 KiB
JSON
62 lines
1.8 KiB
JSON
{
|
|
"name": "sirsoft-basic",
|
|
"version": "1.0.4",
|
|
"description": "Gnuboard7 Basic User Template Components - Nexibase Style",
|
|
"type": "module",
|
|
"main": "dist/components.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"components.json"
|
|
],
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"dev": "vite build --watch",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:e2e": "playwright test --config=tests/Playwright/playwright.config.ts",
|
|
"test:e2e:ui": "playwright test --config=tests/Playwright/playwright.config.ts --ui",
|
|
"test:coverage": "vitest run --coverage",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"keywords": [
|
|
"g7",
|
|
"template",
|
|
"user",
|
|
"react",
|
|
"components",
|
|
"nexibase"
|
|
],
|
|
"author": "sirsoft",
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^5.1.0",
|
|
"axe-core": "^4.11.0",
|
|
"happy-dom": "^20.0.10",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^7.0.4",
|
|
"vite-plugin-dts": "^4.5.4",
|
|
"vitest": "^4.0.6",
|
|
"vitest-axe": "^0.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"browser-image-compression": "^2.0.2",
|
|
"dompurify": "^3.3.1",
|
|
"yet-another-react-lightbox": "^3.27.0"
|
|
}
|
|
}
|