Skip to content

Commit 1301e43

Browse files
authored
Merge pull request #497 from LGLabGreg/chore/deps-29-03-2026
Chore/deps 29 03 2026
2 parents dc13167 + db6d6b6 commit 1301e43

8 files changed

Lines changed: 734 additions & 920 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lglab/react-qr-code': patch
3+
---
4+
5+
Fix TypeScript declaration output when building with TypeScript 6: disable `vite-plugin-dts` type rollup (API Extractor used an older TS and emitted an empty declaration file). Update `types` / `exports.types` to `./dist/src/index.d.ts`.

apps/docs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@
2727
"@radix-ui/react-toggle": "^1.1.10",
2828
"@radix-ui/react-tooltip": "^1.2.8",
2929
"@uiw/react-color": "^2.9.6",
30-
"@vercel/analytics": "^1.6.1",
30+
"@vercel/analytics": "^2.0.1",
3131
"class-variance-authority": "^0.7.1",
3232
"clsx": "^2.1.1",
3333
"date-fns": "^4.1.0",
34-
"lucide-react": "^0.577.0",
35-
"next": "16.1.7",
34+
"lucide-react": "^1.7.0",
35+
"next": "16.2.1",
3636
"next-themes": "^0.4.6",
3737
"prism-react-renderer": "^2.4.1",
3838
"react": "^19.2.4",
3939
"react-dom": "^19.2.4",
40-
"react-hook-form": "^7.71.2",
40+
"react-hook-form": "^7.72.0",
4141
"react-icons": "^5.6.0",
4242
"tailwind-merge": "^3.5.0",
4343
"tailwindcss-animate": "^1.0.7"
4444
},
4545
"devDependencies": {
46-
"@tailwindcss/postcss": "^4.2.1",
46+
"@tailwindcss/postcss": "^4.2.2",
4747
"@types/node": "^25.5.0",
4848
"@types/react": "^19.2.14",
4949
"@types/react-dom": "^19.2.3",
5050
"postcss": "^8.5.8",
51-
"tailwindcss": "^4.2.1",
52-
"typescript": "^5.9.3"
51+
"tailwindcss": "^4.2.2",
52+
"typescript": "^6.0.2"
5353
}
5454
}

apps/docs/src/app/layout.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ export default function RootLayout({
7171
data-website-id={process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID}
7272
/>
7373
)}
74-
<Script
75-
async
76-
src={`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${process.env.NEXT_PUBLIC_GOOGLE_ADS_CLIENT_ID}`}
77-
crossOrigin='anonymous'
78-
/>
7974
</body>
8075
</html>
8176
)

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@
3737
"@changesets/cli": "^2.30.0",
3838
"@testing-library/jest-dom": "^6.9.1",
3939
"@testing-library/react": "^16.3.2",
40-
"@types/jsdom": "^28.0.0",
40+
"@types/jsdom": "^28.0.1",
4141
"@types/node": "^25.5.0",
4242
"@vitejs/plugin-react": "^6.0.1",
43-
"@vitest/coverage-v8": "4.1.0",
43+
"@vitest/coverage-v8": "4.1.2",
4444
"concurrently": "^9.2.1",
4545
"husky": "^9.1.7",
46-
"jsdom": "^29.0.0",
46+
"jsdom": "^29.0.1",
4747
"lint-staged": "^16.4.0",
48-
"oxfmt": "^0.41.0",
49-
"oxlint": "^1.56.0",
48+
"oxfmt": "^0.42.0",
49+
"oxlint": "^1.57.0",
5050
"react": "^19.2.4",
5151
"react-dom": "^19.2.4",
52-
"typescript": "~5.9.3",
53-
"vite": "^8.0.0",
54-
"vitest": "^4.1.0"
52+
"typescript": "~6.0.2",
53+
"vite": "^8.0.3",
54+
"vitest": "^4.1.2"
5555
}
5656
}

packages/react-qr-code/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
"scripts": {
3434
"build": "tsc -b && vite build"
3535
},
36-
"types": "./dist/index.d.ts",
36+
"types": "./dist/src/index.d.ts",
3737
"main": "./dist/index.es.js",
3838
"module": "./dist/index.es.js",
3939
"exports": {
4040
".": {
4141
"import": "./dist/index.es.js",
42-
"types": "./dist/index.d.ts"
42+
"types": "./dist/src/index.d.ts"
4343
}
4444
},
4545
"files": [
@@ -52,12 +52,12 @@
5252
"@types/node": "^25.5.0",
5353
"@types/react": "^19.2.14",
5454
"@types/react-dom": "^19.2.3",
55-
"@vitejs/plugin-react": "^6.0.0",
55+
"@vitejs/plugin-react": "^6.0.1",
5656
"globals": "^17.4.0",
5757
"react": "^19.2.4",
5858
"react-dom": "^19.2.4",
59-
"typescript": "~5.9.3",
60-
"vite": "^8.0.0",
59+
"typescript": "~6.0.2",
60+
"vite": "^8.0.3",
6161
"vite-plugin-dts": "^4.5.4"
6262
}
6363
}

packages/react-qr-code/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"esModuleInterop": true,
1111
"skipLibCheck": true,
1212
"forceConsistentCasingInFileNames": true,
13-
"moduleResolution": "node",
13+
"moduleResolution": "bundler",
1414
"resolveJsonModule": true,
1515
"isolatedModules": true,
1616
"jsx": "react-jsx",

packages/react-qr-code/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const __dirname = dirname(fileURLToPath(import.meta.url))
1010
export default defineConfig({
1111
plugins: [
1212
dts({
13-
rollupTypes: true,
13+
// rollupTypes uses API Extractor with an older bundled TS than the project (TS 6); it emitted empty `export { }`.
14+
rollupTypes: false,
1415
}),
1516
],
1617
build: {

0 commit comments

Comments
 (0)