Files
bunext/package.json
tbenandClaude Opus 5.5 33145bea9e 1.4.1: nested pages dirs, CommonJS require of react in client bundles
- Page URL paths are now relative to src/pages. The old greedy
  `.*/pages/` cut mapped src/pages/admin/pages/index.tsx to /index, so
  every page under a nested `pages` directory collided with the home page
  and was never bundled. SSR also tells API routes by URL path now.
- CommonJS `require("react…")` in client bundles (for example
  use-sync-external-store/shim, pulled in by MUI) threw "Dynamic require
  of "react" is not supported" in the browser. Those requires now go
  through a small bundled ESM module that imports the external.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 08:37:44 +01:00

67 lines
1.9 KiB
JSON

{
"name": "@moduletrace/bunext",
"version": "1.4.1",
"main": "dist/index.js",
"module": "index.ts",
"dependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@types/bun": "1.3.14",
"@types/node": "^24.10.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"bun-plugin-tailwind": "^0.1.2",
"chalk": "^5.6.2",
"chokidar": "^5.0.0",
"commander": "^14.0.2",
"esbuild": "^0.28.2",
"lightningcss-wasm": "^1.32.0",
"lodash": "^4.18.1",
"ora": "^9.0.0",
"postcss": "^8.5.30",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"tailwindcss": "^4.3.3",
"typescript": "^5.0.0",
"uuid": "^14.0.2"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@types/chokidar": "^2.1.7",
"@types/lodash": "^4.17.26",
"@types/uuid": "^11.0.0",
"happy-dom": "^20.14.6"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.js",
"default": "./dist/types/index.js"
}
},
"bin": {
"bunext": "dist/commands/index.js"
},
"files": [
"dist",
"README.md",
"package.json"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"scripts": {
"dev": "tsc --watch",
"git:push": "tsc --noEmit && tsc && git add . && git commit -m 'Update init. Remove uneccessary directores creation' && git push",
"compile": "bun build ./src/commands/index.ts --compile --outfile bin/bunext --minify",
"build": "tsc",
"test": "bun test --isolate --max-concurrency=1"
},
"type": "module",
"types": "dist/index.d.ts"
}