{"_id":"@batoanng/frontend-server","_rev":"17-e7cd59f36674463e259436e1e303f6e9","name":"@batoanng/frontend-server","dist-tags":{"latest":"2.8.0"},"versions":{"2.0.2":{"name":"@batoanng/frontend-server","version":"2.0.2","author":{"name":"Ba Toan Nguyen"},"license":"ISC","_id":"@batoanng/frontend-server@2.0.2","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"810391052dee81e5b08150f770648590d10a3688","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.0.2.tgz","fileCount":51,"integrity":"sha512-i5WRTK6XoOQBsf6sy17AkBkEuNcmEolvPzIYssI3qJCGCtQZBN7eI+bI4MP37Hq2lvo64a1+P8p0dtMzM/k74w==","signatures":[{"sig":"MEYCIQCC8kCXd1ssL0qeYbooZeqkH0RPW7ZFgt3P3uI4rMrJrAIhAKlYWe3xPXsBnNJG8iq7oYqlAjC4S+5v3b82jw8tCvsE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":210210},"main":"./dist/frontend-server.js","type":"module","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"gitHead":"0a1c1fd8a1ce11cc0e5b8b2d0d192456c357df4a","scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"10.8.3","description":"","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","semver":"^7.7.2","vitest":"3.0.9","globals":"^16.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","@eslint/js":"^9.29.0","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^15.1.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8","@trivago/prettier-plugin-sort-imports":"^4.3.0","@chrisneedham/rollup-plugin-peer-deps-external":"^2.3.1"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.0.2_1750581959145_0.7874464795414688","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@batoanng/frontend-server","version":"2.0.3","author":{"name":"Ba Toan Nguyen"},"license":"ISC","_id":"@batoanng/frontend-server@2.0.3","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"39bb3bf7582ca21e07218b7e417cc54c810fd255","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.0.3.tgz","fileCount":51,"integrity":"sha512-NpACc08SKJ1eKRr70xHcI75lBveVAMdRaHKzw4JobvAgkx/vijN1rQyHiQXjcCnsAvLFF7LU1gA/1fcfhaJ/Mw==","signatures":[{"sig":"MEUCIQCXfxIBig9VkDGd2GnbWCHdd+10P61l0WtooBtVqWEztAIgW2a+o1BtGAo1cUXOuoeJa5bvxWcF81SfOXQfp/aVXyI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":210465},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.0.3.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/tmp/4b1e581903d126ada5676385c4dd0bf2/batoanng-frontend-server-2.0.3.tgz","_integrity":"sha512-NpACc08SKJ1eKRr70xHcI75lBveVAMdRaHKzw4JobvAgkx/vijN1rQyHiQXjcCnsAvLFF7LU1gA/1fcfhaJ/Mw==","_npmVersion":"10.8.2","description":"","directories":{},"_nodeVersion":"20.19.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","semver":"^7.7.2","vitest":"3.0.9","globals":"^16.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","@eslint/js":"^9.29.0","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^15.1.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8","@trivago/prettier-plugin-sort-imports":"^4.3.0","@chrisneedham/rollup-plugin-peer-deps-external":"^2.3.1"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.0.3_1751088061444_0.463565742252513","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@batoanng/frontend-server","version":"2.1.1","author":{"name":"Ba Toan Nguyen"},"license":"ISC","_id":"@batoanng/frontend-server@2.1.1","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"5a8f46a8e5f203096f02329eaf9f2f9de192222c","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.1.1.tgz","fileCount":49,"integrity":"sha512-mgtZiddpfC8+OUG2MV4xVHmt6RIAoWjqyMyuwbalRzRR/M7pbtZa1IA0NNLIhq0Dq1AX9+x8tOpAU9KkJY0loA==","signatures":[{"sig":"MEQCIHU4kUTvoZQ0ChU5nN8A4thafzFr4mXcX4e26ovI9VfAAiBPIL76UfqwIiU3FBl+zdtRs2CapJ7gbjG4TDACbdnQnw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2182027},"main":"./dist/frontend-server.js","type":"commonjs","_from":"file:batoanng-frontend-server-2.1.1.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/44d628cad2f4d35c174abef1ad022720/batoanng-frontend-server-2.1.1.tgz","_integrity":"sha512-mgtZiddpfC8+OUG2MV4xVHmt6RIAoWjqyMyuwbalRzRR/M7pbtZa1IA0NNLIhq0Dq1AX9+x8tOpAU9KkJY0loA==","_npmVersion":"10.8.3","description":"","directories":{},"_nodeVersion":"20.12.2","dependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","semver":"^7.7.2","vitest":"3.0.9","globals":"^16.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","@eslint/js":"^9.29.0","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.3","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.1.1_1751624465176_0.014478666224316816","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@batoanng/frontend-server","version":"2.1.2","author":{"name":"Ba Toan Nguyen"},"license":"ISC","_id":"@batoanng/frontend-server@2.1.2","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"606c908270b6ce3c5e42cf5f4447b534e8418936","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.1.2.tgz","fileCount":49,"integrity":"sha512-yiBDD9FTduVbcvh2bX/t0+XZI039V0+xgIJ0K1N88VX3sTtszCixAbmeqiKeV5Qgje9MPgg4yl6PqwbL1Nh0/Q==","signatures":[{"sig":"MEUCIHFZQh0+GtLmwj3X+BhhmDMjjTrz3Rovuewt1YNAcWH4AiEAhDO7I9MgRzoRvHFW5wcaZXydH6Rml27kwH0tFLMrFKc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2182079},"main":"./dist/frontend-server.js","type":"commonjs","_from":"file:batoanng-frontend-server-2.1.2.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/065bcea1bb80fe76961c89ba3804a9be/batoanng-frontend-server-2.1.2.tgz","_integrity":"sha512-yiBDD9FTduVbcvh2bX/t0+XZI039V0+xgIJ0K1N88VX3sTtszCixAbmeqiKeV5Qgje9MPgg4yl6PqwbL1Nh0/Q==","_npmVersion":"10.8.3","description":"","directories":{},"_nodeVersion":"20.12.2","dependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","semver":"^7.7.2","vitest":"3.0.9","globals":"^16.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","@eslint/js":"^9.29.0","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.1.2_1751625262143_0.38041205942744316","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"@batoanng/frontend-server","version":"2.1.3","author":{"name":"Ba Toan Nguyen"},"license":"ISC","_id":"@batoanng/frontend-server@2.1.3","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"9ff1f141bed4099fd86154c600ecc679aa348b51","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.1.3.tgz","fileCount":49,"integrity":"sha512-8BVgB8jKpk2fnOyXL2/3rBNJ4MROX1S9fN+kVGITOi4uRShHH5k9nRonrdKexWGmgnax4eG7csfrArS7Bg6DZA==","signatures":[{"sig":"MEUCIQCgR7X/PYfFS1G3WAJ5peNGCVH0ywcudfzbsNZriMzJHgIgUkHItA0I1JmorYTP78I18IuA1N+dPM20DhRrq//rwXk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2182130},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.1.3.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/cada26297769a37d9b6bc2a1be41e3b0/batoanng-frontend-server-2.1.3.tgz","_integrity":"sha512-8BVgB8jKpk2fnOyXL2/3rBNJ4MROX1S9fN+kVGITOi4uRShHH5k9nRonrdKexWGmgnax4eG7csfrArS7Bg6DZA==","_npmVersion":"10.8.3","description":"","directories":{},"_nodeVersion":"20.12.2","dependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","semver":"^7.7.2","vitest":"3.0.9","globals":"^16.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","@eslint/js":"^9.29.0","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.1.3_1751776152374_0.8208865003247627","host":"s3://npm-registry-packages-npm-production"}},"2.1.4":{"name":"@batoanng/frontend-server","version":"2.1.4","author":{"name":"Ba Toan Nguyen"},"license":"ISC","_id":"@batoanng/frontend-server@2.1.4","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"5f39cce394ead6a041c6ca78d08b3b3cd7e12dc3","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.1.4.tgz","fileCount":51,"integrity":"sha512-xp/J3Nv8JnY/HbE5tS2NjiUtP+dMVbjvvpwRJMuK5wFF7fn64x+9Fq9j9wfy/Hx2Va2b2f0uc+RgSZe0L1MO5A==","signatures":[{"sig":"MEQCIB1pb/E3C6W3SHyuObvijqJKtQWjAG2yZZLcb8jkqmhBAiBevgi8ndPoumALxWrfeXXx+hUC2AcrC7S9QsCT44nuhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4059591},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.1.4.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/7b2e7312c8813842307fe8cc3c93b484/batoanng-frontend-server-2.1.4.tgz","_integrity":"sha512-xp/J3Nv8JnY/HbE5tS2NjiUtP+dMVbjvvpwRJMuK5wFF7fn64x+9Fq9j9wfy/Hx2Va2b2f0uc+RgSZe0L1MO5A==","_npmVersion":"10.8.3","description":"","directories":{},"_nodeVersion":"20.12.2","dependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","semver":"^7.7.2","vitest":"3.0.9","globals":"^16.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","@eslint/js":"^9.29.0","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.1.4_1751778206198_0.5247001283293748","host":"s3://npm-registry-packages-npm-production"}},"2.1.5":{"name":"@batoanng/frontend-server","version":"2.1.5","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.1.5","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"5635822938efe5ee036b45113285f86168c7d098","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.1.5.tgz","fileCount":52,"integrity":"sha512-oa8dDA/29tRtdGImnzJFFSz03PZFwViH/FpORsYVY1axJuTKIiBIxRjsFaST5u3pzRftwHm8qri5WFP8Dsl6rQ==","signatures":[{"sig":"MEUCIQC1xZjhpt4TB4rbq4nHWeGRWBKWpzmgKuncb5ogz+6RqgIgAMQJN1zPdhVvIKmjx3IbljtI0nnzTAFIg5wOGlG0hik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215461},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.1.5.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/a941d6d94ef48e2e3af95249e1b11189/batoanng-frontend-server-2.1.5.tgz","_integrity":"sha512-oa8dDA/29tRtdGImnzJFFSz03PZFwViH/FpORsYVY1axJuTKIiBIxRjsFaST5u3pzRftwHm8qri5WFP8Dsl6rQ==","_npmVersion":"10.8.3","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","vitest":"3.0.9","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.1.5_1751963748092_0.4447484897678182","host":"s3://npm-registry-packages-npm-production"}},"2.1.6":{"name":"@batoanng/frontend-server","version":"2.1.6","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.1.6","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"c659ad65c736deeb6ce6f9935f12153520773f84","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.1.6.tgz","fileCount":52,"integrity":"sha512-+/Gn7HT3+pIZCjs5yrBqLLHLePBKtjGtu2C6wenuolrxNGHVaNFAA7uPPWL3f/mFqXORyPFHaHLRorR+PkVH/g==","signatures":[{"sig":"MEQCIBX2OPdEzxf9FRgAO9iQOhK5R/fOYG02yJ+EV+4bH2sFAiAHEKcy4MB4G/f7ZARZBBOClOn32HxY5YJz8t8flZ5LOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215573},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.1.6.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/07e64bf3c57b28a20508269462172cfb/batoanng-frontend-server-2.1.6.tgz","_integrity":"sha512-+/Gn7HT3+pIZCjs5yrBqLLHLePBKtjGtu2C6wenuolrxNGHVaNFAA7uPPWL3f/mFqXORyPFHaHLRorR+PkVH/g==","_npmVersion":"10.8.3","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","vitest":"3.0.9","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.1.6_1751964285561_0.7544213153308901","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@batoanng/frontend-server","version":"2.2.0","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.2.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"00de90f66f29f4cd5e7057d09ef0435d54597388","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.2.0.tgz","fileCount":58,"integrity":"sha512-3sIT5Sq5/Bs/QkpZheYolJuUSw9qJZPHbVeIpyCZDltQ5u/5wD05O2WkFrxjsMBdXbQUPSTgEm+CuIBAWhN6MA==","signatures":[{"sig":"MEUCIQD09jyLKgoK4rfCAw4W0z4HXHlA7V7fa8x8tWlLJ9K3ZgIgBa2PouhTeOtQMwqQEm0mCR5YCI1qHDvP1g5z3GHEmmw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":243594},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.2.0.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/62927933153868f5f39869ec1a6c159a/batoanng-frontend-server-2.2.0.tgz","_integrity":"sha512-3sIT5Sq5/Bs/QkpZheYolJuUSw9qJZPHbVeIpyCZDltQ5u/5wD05O2WkFrxjsMBdXbQUPSTgEm+CuIBAWhN6MA==","_npmVersion":"10.8.3","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","vitest":"3.0.9","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","@batoanng/vite-config":"1.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.2.0_1752062048246_0.19020911882274105","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"@batoanng/frontend-server","version":"2.2.1","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.2.1","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"554c7d24c7a1a371ea5eb755ad9c9f315bb28289","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.2.1.tgz","fileCount":58,"integrity":"sha512-Wgj2FTI2GQq7SkMlFUFHRA3Yu1Ub8FzO6o3SYvYaXtOhUbj6Kg0E4Vm9FA/pQG/CkX5156ZabqHdcgY/6bN2vQ==","signatures":[{"sig":"MEYCIQDcffBaVyLWnMN/a39SNetEpTpdYTjlZOAeuQzT2rW4jAIhAJzCvpaQl3FH7/LVeWQ3zjaVSehIhI/9oZQD+CXQT6eV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":243719},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.2.1.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/9dac0c2e6463163e5416b6adf1566b16/batoanng-frontend-server-2.2.1.tgz","_integrity":"sha512-Wgj2FTI2GQq7SkMlFUFHRA3Yu1Ub8FzO6o3SYvYaXtOhUbj6Kg0E4Vm9FA/pQG/CkX5156ZabqHdcgY/6bN2vQ==","_npmVersion":"10.8.3","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","vitest":"3.0.9","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8","@chrisneedham/rollup-plugin-peer-deps-external":"^2.3.1"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.2.1_1752101048924_0.6765348915314093","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@batoanng/frontend-server","version":"2.3.0","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.3.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"b1351032b6ea314c2b34a7ab8f453913a0128335","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.3.0.tgz","fileCount":58,"integrity":"sha512-fvXlMpAs9X1WxewNG1X0ArDveXzRGs8IOTSIaEXLEpkP7xz2U1SejS4VqnBCqw+lZQbJauA0KqX9OotyCh1KBg==","signatures":[{"sig":"MEQCIBT2l8Rp4lkQWIpriPLtWDmX4d0q888Ckl3l8wuwakP9AiA3YhRlm5atYw1RNhPksSGcxxQACYFgC/HVJThuK7M4Fg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":244241},"main":"./dist/frontend-server.js","type":"module","_from":"file:batoanng-frontend-server-2.3.0.tgz","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/2cd66764b1cf722a8357a3214db7a17a/batoanng-frontend-server-2.3.0.tgz","_integrity":"sha512-fvXlMpAs9X1WxewNG1X0ArDveXzRGs8IOTSIaEXLEpkP7xz2U1SejS4VqnBCqw+lZQbJauA0KqX9OotyCh1KBg==","_npmVersion":"11.6.0","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","vitest":"3.0.9","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8","@chrisneedham/rollup-plugin-peer-deps-external":"^2.3.1"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.3.0_1762953567745_0.7157613329710932","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@batoanng/frontend-server","version":"2.4.0","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.4.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"ff6ee62b9f71795c50a4c46086e20135eb76ca5b","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.4.0.tgz","fileCount":64,"integrity":"sha512-/ZuD8MdmJsEEd4qmm9NAsF9ycb2c+kAwRPYZ9WRQk3kEpTItk5FBLi6T3G+uhzQjD/CAyLMntuBqwzedalLy9g==","signatures":[{"sig":"MEQCIEvzRSzfaQY/CfdPNSZPM2aPRRY7WiJfXDNssYcQTKJZAiBGgNdJMP4qntmJI9mPhz6ixebI9AMPXproygH16G6hDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":297521},"main":"./dist/frontend-server.js","type":"module","types":"./dist/src/index.d.ts","engines":{"node":"20","pnpm":"10"},"gitHead":"ee0d71ec5845050a47b5fb7cb83713d8e9b47c57","scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest --run","build":"tsc --noEmit && vite build","release":"npm run build && changeset publish","lint:fix":"eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix","changeset":"changeset","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","version-packages":"changeset version && pnpm install --lockfile-only"},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"6.2.2","eslint":"^8.41.0","vitest":"3.0.9","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.1.6","@types/cors":"^2.8.14","@types/node":"20.11.19","@types/express":"4.17.21","@changesets/cli":"^2.26.2","vite-plugin-dts":"4.5.3","@types/http-proxy":"^1.17.12","@types/mime-types":"^2.1.1","typescript-eslint":"^8.34.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","vite-plugin-static-copy":"2.3.0","@batoanng/prettier-config":"1.3.0","@typescript-eslint/parser":"^5.59.8","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-react-refresh":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.59.8","@chrisneedham/rollup-plugin-peer-deps-external":"^2.3.1"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.4.0_1775036267710_0.41294227503527225","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@batoanng/frontend-server","version":"2.5.0","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.5.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"d5ef41f26dc6a378b20d7fd6965489e63b072b28","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.5.0.tgz","fileCount":69,"integrity":"sha512-6+lZa70XXzvWqTM7ZnEuaWE1+Tub7jCFz1ahtuSasCIiwG3zshl26WzWjoI4nI0pUeGWxzbWVGmY0pf63c8Fjw==","signatures":[{"sig":"MEYCIQDPvyiZBhsO8IH6LbEAWSYrec2G3UGM3nZ2QADRQQiitQIhALcvoZ4fcl8frrDXmPTaVqj0Jb2FbNbLbXz55plpwXBe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":232467},"main":"./dist/frontend-server.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/frontend-server.js","engines":{"node":">=24.0.0","pnpm":"10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/frontend-server.js","require":"./dist/frontend-server.cjs"}},"gitHead":"9cc4168601836dc582ff6bb55d43e4ceca6db672","scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint index.ts src vite.config.ts vitest.config.ts eslint.config.mjs --max-warnings 0","test":"vitest --run --config vitest.config.ts","build":"pnpm run type-check && vite build","prepack":"pnpm run build","lint:fix":"pnpm run lint --fix","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/cors":"^2.8.19","@types/express":"4.17.21","@types/http-proxy":"^1.17.17","@types/mime-types":"^2.1.4","@batoanng/tsconfig":"workspace:*","@batoanng/vite-config":"workspace:*","@batoanng/eslint-config":"workspace:*","@batoanng/prettier-config":"workspace:*"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.5.0_1775217263622_0.14402780433527673","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@batoanng/frontend-server","version":"2.6.0","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.6.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"53ddf4d873d911dd8bf249445afae3a0de36364c","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.6.0.tgz","fileCount":69,"integrity":"sha512-k1KxjOp/uPxHFJ6X+th5ncQn6e5uUP5GGgE+DnbD1fIt27jTFUaPCyqIu2rr6fZE02/UsArb/ec1yqPgb3DLow==","signatures":[{"sig":"MEYCIQCpTUBRQpw9THUcJbvF4qlL2Fw0GzR81vcXRSALA6UfjgIhAOY+6rBmFdMRznEyIdUKUWc/kEbaBcLDl43Hgi7jcOT4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":232517},"main":"./dist/frontend-server.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/frontend-server.js","engines":{"node":">=24.0.0","pnpm":"10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/frontend-server.js","require":"./dist/frontend-server.cjs"}},"gitHead":"a055d2e7570529644e541311f02f90581c49a25f","scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint index.ts src vite.config.ts vitest.config.ts eslint.config.mjs --max-warnings 0","test":"vitest --run --config vitest.config.ts","build":"pnpm run type-check && vite build","prepack":"pnpm run build","lint:fix":"pnpm run lint --fix","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/cors":"^2.8.19","@types/express":"4.17.21","@types/http-proxy":"^1.17.17","@types/mime-types":"^2.1.4","@batoanng/tsconfig":"workspace:*","@batoanng/vite-config":"workspace:*","@batoanng/eslint-config":"workspace:*","@batoanng/prettier-config":"workspace:*"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.6.0_1775438484589_0.0413935795587308","host":"s3://npm-registry-packages-npm-production"}},"2.7.1":{"name":"@batoanng/frontend-server","version":"2.7.1","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.7.1","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"583f920ec0ead523d4c22b8753fd2283b357c7e2","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.7.1.tgz","fileCount":27,"integrity":"sha512-XaB1l+P3b//ofnJa7p8194kL5ihQ9+TDIDEx1YwSqIGzSzjK2oJa3AXUROetLJD7wHyW2QFukpnhYfuXOjy2dQ==","signatures":[{"sig":"MEQCICDl13nJ6zbBGQTXASOwvuXS5aYL4Qtz2x5zK5Ce0OciAiBP5zYiCPpbPcqkdlQDTrnZDAV07mITpVEliqvbBmuLag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113867},"main":"./dist/frontend-server.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/frontend-server.js","engines":{"node":">=24.0.0","pnpm":"10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/frontend-server.js","require":"./dist/frontend-server.cjs"}},"gitHead":"20840dc0b1b07013f2457683335a5bf1f44c188d","scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint index.ts src vite.config.ts vitest.config.ts eslint.config.mjs --max-warnings 0","test":"vitest --run --config vitest.config.ts","build":"pnpm run type-check && vite build","prepack":"pnpm run build","lint:fix":"pnpm run lint --fix","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/cors":"^2.8.19","@types/express":"4.17.21","@types/http-proxy":"^1.17.17","@types/mime-types":"^2.1.4","@batoanng/tsconfig":"workspace:*","@batoanng/vite-config":"workspace:*","@batoanng/eslint-config":"workspace:*","@batoanng/prettier-config":"workspace:*"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.7.1_1775547346793_0.6118258754423453","host":"s3://npm-registry-packages-npm-production"}},"2.7.2":{"name":"@batoanng/frontend-server","version":"2.7.2","author":{"name":"Ba Toan Nguyen"},"license":"MIT","_id":"@batoanng/frontend-server@2.7.2","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"ddc6b6a75f7229405cfed8bb8f1a3b8e5ec813fb","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.7.2.tgz","fileCount":27,"integrity":"sha512-3rfm7E4Eb9hn8D716mnvByDpY+K+uMYWSHM8dti3Ejct4jR00v0TkZG2BU8t8VpS4a3ledYuztdA8d7cJ8YYMQ==","signatures":[{"sig":"MEYCIQCQioFbmx60g61smifbxArjSwuv9MjZZDkI/PSx3xpOcAIhAPIxSVrA+jstKuAsBjlKrD4qOfuMJftXi8nhdynnDcHP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113965},"main":"./dist/frontend-server.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/frontend-server.js","engines":{"node":">=24.0.0","pnpm":"10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/frontend-server.js","require":"./dist/frontend-server.cjs"}},"gitHead":"b1a4f45c867b6acf7baeadccb11386fd6617f7cf","scripts":{"ci":"pnpm run lint && pnpm run test && pnpm run build","dev":"vite","lint":"eslint index.ts src vite.config.ts vitest.config.ts eslint.config.mjs --max-warnings 0","test":"vitest --run --config vitest.config.ts","build":"pnpm run type-check && vite build","prepack":"pnpm run build","lint:fix":"pnpm run lint --fix","tag:major":"npm run tag:create major","tag:minor":"npm run tag:create minor","tag:patch":"npm run tag:create patch","tag:create":"node scripts/create-tag.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/cors":"^2.8.19","@types/express":"4.17.21","@types/http-proxy":"^1.17.17","@types/mime-types":"^2.1.4","@batoanng/tsconfig":"^1.5.1","@batoanng/vite-config":"^1.3.1","@batoanng/eslint-config":"^3.3.2","@batoanng/prettier-config":"^1.7.0"},"peerDependencies":{"cors":"^2.8.5","dotenv":"^16.3.1","express":"4.21.2","mime-types":"^2.1.35","http-proxy-middleware":"^2.0.9"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/frontend-server_2.7.2_1777349010097_0.040112479930574096","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"name":"@batoanng/frontend-server","author":{"name":"Ba Toan Nguyen"},"version":"2.8.0","publishConfig":{"access":"public"},"type":"module","types":"./dist/index.d.ts","main":"./dist/frontend-server.cjs","module":"./dist/frontend-server.js","scripts":{"dev":"vite","build":"pnpm run type-check && vite build","lint":"eslint index.ts src vite.config.ts vitest.config.ts eslint.config.mjs --max-warnings 0","lint:fix":"pnpm run lint --fix","ci":"pnpm run lint && pnpm run test && pnpm run build","test":"vitest --run --config vitest.config.ts","type-check":"tsc --noEmit","tag:create":"node scripts/create-tag.js","tag:patch":"npm run tag:create patch","tag:minor":"npm run tag:create minor","tag:major":"npm run tag:create major","prepack":"pnpm run build"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/frontend-server.js","require":"./dist/frontend-server.cjs"}},"license":"MIT","peerDependencies":{"cors":"^2.8.6","dotenv":"^17.4.2","express":"^5.2.1","http-proxy-middleware":"^3.0.5","mime-types":"^3.0.2"},"peerDependenciesMeta":{"http-proxy-middleware":{"optional":true}},"devDependencies":{"@batoanng/eslint-config":"^3.4.0","@batoanng/prettier-config":"^1.7.1","@batoanng/tsconfig":"^1.6.0","@batoanng/vite-config":"^1.4.0","@types/cors":"^2.8.19","@types/express":"5.0.6","@types/http-proxy":"^1.17.17","@types/mime-types":"^3.0.1"},"engines":{"node":">=24.0.0","pnpm":"10"},"_id":"@batoanng/frontend-server@2.8.0","gitHead":"77f9470d74e77f51651588b25842e655993167b4","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-Es361ViW7NSbCcl2B07s2kPbBDP4qgw6zQ4A+JyZmWs7jjCjEMEuT9msXFZxPSNANvon8aeUfF6bX34WTt/bUQ==","shasum":"f88e38eb26b674ff5b9d33357b3f8f3cc3f343a2","tarball":"https://registry.npmjs.org/@batoanng/frontend-server/-/frontend-server-2.8.0.tgz","fileCount":27,"unpackedSize":113022,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD6Ue3WM/pBH9Q2reoiX9fTCqcrS6usnLO8OjGW6avZcwIhAPeX/ZS3FrMamZbZOCYGSKtS4mhmXqwQa1MRgD8Sm2RA"}]},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"directories":{},"maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/frontend-server_2.8.0_1777628634558_0.48629953405507287"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-22T08:45:59.050Z","modified":"2026-05-01T09:43:55.138Z","2.0.2":"2025-06-22T08:45:59.354Z","2.0.3":"2025-06-28T05:21:01.666Z","2.1.1":"2025-07-04T10:21:05.432Z","2.1.2":"2025-07-04T10:34:22.491Z","2.1.3":"2025-07-06T04:29:12.607Z","2.1.4":"2025-07-06T05:03:26.451Z","2.1.5":"2025-07-08T08:35:48.286Z","2.1.6":"2025-07-08T08:44:45.790Z","2.2.0":"2025-07-09T11:54:08.539Z","2.2.1":"2025-07-09T22:44:09.094Z","2.3.0":"2025-11-12T13:19:27.916Z","2.4.0":"2026-04-01T09:37:47.844Z","2.5.0":"2026-04-03T11:54:23.808Z","2.6.0":"2026-04-06T01:21:24.747Z","2.7.1":"2026-04-07T07:35:46.938Z","2.7.2":"2026-04-28T04:03:30.294Z","2.8.0":"2026-05-01T09:43:54.699Z"},"author":{"name":"Ba Toan Nguyen"},"license":"MIT","description":"[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"readme":"# Frontend Server\n\n[![install size](https://packagephobia.com/badge?p=%40batoanng%2Ffrontend-server)](https://packagephobia.com/result?p=%40batoanng%2Ffrontend-server)\n\n---\n\nDoes most of the heavy-lifting for front-end `server.js` applications. Proxies all requests to the API to a target server, catering for CORS, CSP, and HSTS. Optionally forwards payment completion responses to the Forms API.\n\n## Usage\n\n```sh\nnpm install @batoanng/frontend-server # or yarn, pnpm\n```\n\nYou can configure your own front-end server using code something as follows:\n\n```ts\nimport path from 'path';\nimport dotenv from 'dotenv';\nimport { fileURLToPath } from 'url';\nimport { buildServer } from '@batoanng/frontend-server';\n\n// load env\nconst dirname = path.dirname(fileURLToPath(import.meta.url));\nconst clientBuildPath = path.join(dirname, '../build');\n\nconst env = process.env.NODE_ENV?.toLowerCase() ?? null;\n\nif (env === null) {\n  console.log('Warning: process.env.NODE_ENV is not set, using .env as the default');\n}\n\nconst envFile = env === null \n  ? path.join(dirname, '.env') \n  : path.join(dirname, '.env.' + env);\n\ndotenv.config({ path: envFile });\n\nconst { server } = buildServer({\n  targetServerUrl: process.env.APP_API_TARGET_SERVER,\n  nodeEnv: env,\n  indexOptions: {\n    filename: 'index.html',\n    globalClientEnvVariableName: 'process.env',\n  },\n  appPrefix: process.env.APP_URL_PREFIX,\n  clientBuildPath: clientBuildPath,\n  cspOptions: {\n    services: [\n      'google-analytics',\n      'google-translate',\n      'newrelic',\n      'hotjar',\n      'full-story',\n      'google-fonts',\n    ],\n    connectSrcElements: [\n      'https://*.your-domain.com'\n    ],\n    scriptSrcElements: [\n      \"'sha256-eVzrNv8f3FKjQhflSMC3+yFtNdThPi+cT+245HpcDV0='\", // non-english inline scripts for Google Translate\n      \"'sha256-yjCTgtivmXYtWQuObDl8BjTbkgRha9Pk2lo0RDPrymA='\", // newRelic.tsx\n    ]\n  },\n  corsOptions: {\n    allowedOrigins: [process.env.REACT_APP_BASE_URL, 'http://127.0.0.1:3000']\n  },\n  newRelic: {\n    applicationId: 'NR-123...'\n  },\n  rateLimitOptions: {\n    requestsPerSecond: 100,\n    bucketCapacity: 100,\n    detailsPath: '/details',\n  },\n  configure: (server: Express, proxyBuilder: BuildServerProxyBuilder) => {\n    // Additional configuration required for Express\n    // server.set('trust proxy', true);\n  },\n});\n\nconst port = process.env.PORT ?? 3000;\n\nserver.listen(port, () => {\n  console.log(`App Server is running on port ${port}`);\n});\n```\n\n### CSP\n\nThe CSP can be modified by passing in:\n\n* `services` - the list of \"known\" services to include across all the CSP directives\n* `*Elements` - additional elements that will be added to the relevant CSP directive\n\n### Automatic client-side env variable injection\n\nClient side variables loaded from the client's `.env` files will automatically be injected into the HTML page and made available before the application scripts are executed. By default, the injection point for these variables replicates the legacy webpack method by using `window.process.env`, but this can be customized using the `indexOptions.globalClientEnvVariableName` parameter.\n\nThe relevant SHA for the script will also be generated and added to the site's CSP settings.\n\n### Rate limiting and diagnostics\n\nFrontend Server includes a built-in leaky-bucket rate limiter for normal application traffic. By default it allows `100` requests per second per client IP with a bucket capacity of `100`.\n\nThe limiter applies to static assets, index routes, proxied API requests, and custom routes added through `configure`. `OPTIONS` requests and `GET /health` bypass the limiter.\n\nRuntime diagnostics are available at `GET /details`. The response includes the active limiter configuration, the number of tracked clients, and the current caller's live bucket state.\n\nIf you run behind a reverse proxy, configure Express `trust proxy` in `configure` so `req.ip` resolves to the original client IP. If you need custom client identification, provide `rateLimitOptions.keyGenerator`.\n\n## `createClientEnvFilesPlugin`\n\nThis plugin can be included in the plugins list for vite to automatically create/copy the correct client `.env` files to the build folder, which can then be picked up by frontend server at runtime, and injected into the `index.html` file.\n\n`.env` files can be globbed (i.e. merged) with a \"common `.env` file by passing `true` to the plugin configuration. Alternatively, the `glob` setting may be passed as:\n\n* `string[]` - An array of filenames to glob, overriding earlier files with later files, before finally including the specific file based on the environment name.\n* `(validEnvironment: string) => string[]` - Allows full manual control. The glob will combine all the files named in the resulting array. The resulting file paths should be relative to the `envPath` setting.\n","readmeFilename":"README.md"}