Skip to content

Commit 9c94696

Browse files
committed
docs(changeset): fix exports
1 parent ffbf179 commit 9c94696

14 files changed

Lines changed: 1037 additions & 1891 deletions

File tree

.changeset/funky-rockets-agree.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react18-loaders": patch
3+
---
4+
5+
fix exports

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.4/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

examples/express/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"@repo/typescript-config": "workspace:*",
2121
"@types/body-parser": "^1.19.6",
2222
"@types/cors": "^2.8.19",
23-
"@types/express": "^5.0.3",
23+
"@types/express": "^5.0.5",
2424
"@types/morgan": "^1.9.10",
25-
"@types/node": "^24.5.0",
25+
"@types/node": "^24.10.0",
2626
"@types/supertest": "^6.0.3",
2727
"supertest": "^7.1.4",
2828
"tsup": "^8.5.0",
29-
"typescript": "^5.9.2"
29+
"typescript": "^5.9.3"
3030
}
3131
}

examples/nextjs/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

examples/nextjs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
},
1414
"dependencies": {
1515
"@repo/shared": "workspace:*",
16-
"next": "^15.5.3",
16+
"next": "^16.0.1",
1717
"nextjs-darkmode-lite": "^1.0.10",
1818
"nextjs-themes": "^4.0.6",
19-
"react": "^19.1.1",
20-
"react-dom": "^19.1.1",
19+
"react": "^19.2.0",
20+
"react-dom": "^19.2.0",
2121
"react18-loaders": "workspace:*",
2222
"webgl-generative-particles": "^0.0.1"
2323
},
2424
"devDependencies": {
2525
"@repo/typescript-config": "workspace:*",
26-
"@types/node": "^24.5.0",
27-
"@types/react": "^19.1.13",
28-
"@types/react-dom": "^19.1.9",
29-
"typescript": "^5.9.2"
26+
"@types/node": "^24.10.0",
27+
"@types/react": "^19.2.2",
28+
"@types/react-dom": "^19.2.2",
29+
"typescript": "^5.9.3"
3030
}
3131
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"use client";
2+
3+
export { default as CustomLink } from "next/link";

examples/nextjs/src/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import "react18-loaders/styles";
33
import { GlobalLoader, Header } from "@repo/shared";
44
import { Layout } from "@repo/shared/dist/server";
55
import { Inter } from "next/font/google";
6-
import Link from "next/link";
76
import { Core } from "nextjs-darkmode-lite";
87
import type { ReactNode } from "react";
98
import { Particles } from "webgl-generative-particles/react";
9+
import { CustomLink } from "./custom-link";
1010

1111
const inter = Inter({ subsets: ["latin"] });
1212

@@ -21,7 +21,7 @@ export default function RootLayout({
2121
<body className={inter.className}>
2222
<Core />
2323
<Layout>
24-
<Header linkComponent={Link} />
24+
<Header linkComponent={CustomLink} />
2525
{children}
2626
</Layout>
2727
<GlobalLoader />

examples/vite/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
"dependencies": {
1313
"@repo/shared": "workspace:*",
1414
"nextjs-darkmode": "^1.0.10",
15-
"react": "^19.1.1",
16-
"react-dom": "^19.1.1",
15+
"react": "^19.2.0",
16+
"react-dom": "^19.2.0",
1717
"react-mouse-trails": "^0.0.5",
1818
"react18-loaders": "workspace:*",
1919
"react18-themes": "^3.2.0"
2020
},
2121
"devDependencies": {
2222
"@repo/typescript-config": "workspace:*",
23-
"@types/react": "^19.1.13",
24-
"@types/react-dom": "^19.1.9",
25-
"@vitejs/plugin-react": "^5.0.2",
26-
"typescript": "^5.9.2",
27-
"vite": "^7.1.11"
23+
"@types/react": "^19.2.2",
24+
"@types/react-dom": "^19.2.2",
25+
"@vitejs/plugin-react": "^5.1.0",
26+
"typescript": "^5.9.3",
27+
"vite": "^7.2.2"
2828
}
2929
}

examples/vite/src/app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Demo, Header } from "@repo/shared";
55
import { LandingPage, Layout } from "@repo/shared/dist/server";
66
import { Core } from "nextjs-darkmode";
77
import { LoaderContainer, useLoader } from "react18-loaders";
8-
import { Bars1 } from "react18-loaders/dist/server";
8+
import { Bars1 } from "react18-loaders/server";
99

1010
/** Vite App */
1111
function App(): ReactNode {

lib/package.json

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,21 @@
1616
"dist/**"
1717
],
1818
"exports": {
19+
"./package.json": "./package.json",
1920
".": {
2021
"types": "./dist/index.d.ts",
2122
"import": "./dist/index.mjs",
2223
"require": "./dist/index.js"
2324
},
2425
"./*": {
25-
"types": [
26-
"./dist/*",
27-
"./dist/*/index.d.ts"
28-
],
29-
"import": [
30-
"./dist/*",
31-
"./dist/*/index.mjs"
32-
],
33-
"require": [
34-
"./dist/*",
35-
"./dist/*/index.js"
36-
]
26+
"types": "./dist/*/index.d.ts",
27+
"import": "./dist/*/index.mjs",
28+
"require": "./dist/*/index.js"
3729
},
3830
"./dist/*": {
39-
"types": [
40-
"./dist/*",
41-
"./dist/*/index.d.ts"
42-
],
43-
"import": [
44-
"./dist/*",
45-
"./dist/*/index.mjs"
46-
],
47-
"require": [
48-
"./dist/*",
49-
"./dist/*/index.js"
50-
]
31+
"types": "./dist/*/index.d.ts",
32+
"import": "./dist/*/index.mjs",
33+
"require": "./dist/*/index.js"
5134
},
5235
"./*/index.css": "./dist/*/index.css",
5336
"./dist/*/index.css": "./dist/*/index.css",
@@ -66,21 +49,21 @@
6649
"devDependencies": {
6750
"@repo/typescript-config": "workspace:*",
6851
"@testing-library/react": "^16.3.0",
69-
"@types/node": "^24.5.0",
70-
"@types/react": "^19.1.13",
71-
"@types/react-dom": "^19.1.9",
72-
"@vitejs/plugin-react": "^5.0.2",
73-
"@vitest/coverage-v8": "^3.2.4",
52+
"@types/node": "^24.10.0",
53+
"@types/react": "^19.2.2",
54+
"@types/react-dom": "^19.2.2",
55+
"@vitejs/plugin-react": "^5.1.0",
56+
"@vitest/coverage-v8": "^4.0.8",
7457
"esbuild-plugin-rdi": "^0.0.0",
7558
"esbuild-plugin-react18": "0.2.6",
7659
"esbuild-plugin-react18-css": "^0.0.4",
77-
"jsdom": "^27.0.0",
78-
"react": "^19.1.1",
79-
"react-dom": "^19.1.1",
60+
"jsdom": "^27.1.0",
61+
"react": "^19.2.0",
62+
"react-dom": "^19.2.0",
8063
"tsup": "^8.5.0",
81-
"typescript": "^5.9.2",
64+
"typescript": "^5.9.3",
8265
"vite-tsconfig-paths": "^5.1.4",
83-
"vitest": "^3.2.4"
66+
"vitest": "^4.0.8"
8467
},
8568
"dependencies": {
8669
"r18gs": "^3.0.1"

0 commit comments

Comments
 (0)