@lingo.dev/react-next 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  const require_chunk = require("./chunk.cjs");
2
2
  let _lingo_dev_react = require("@lingo.dev/react");
3
- let next_router = require("next/router");
3
+ let next_router = require("next/router.js");
4
4
  let react = require("react");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
6
- let next_head = require("next/head");
6
+ let next_head = require("next/head.js");
7
7
  next_head = require_chunk.__toESM(next_head);
8
8
  //#region src/pages/with-lingo-app.tsx
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import { ComponentType } from "react";
3
- import { AppProps } from "next/app";
3
+ import { AppProps } from "next/app.js";
4
4
 
5
5
  //#region src/pages/with-lingo-app.d.ts
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from "react";
2
2
  import * as react_jsx_runtime0 from "react/jsx-runtime";
3
- import { AppProps } from "next/app";
3
+ import { AppProps } from "next/app.js";
4
4
 
5
5
  //#region src/pages/with-lingo-app.d.ts
6
6
 
@@ -1,8 +1,8 @@
1
1
  import { LingoProvider, createLingo } from "@lingo.dev/react";
2
- import { useRouter } from "next/router";
2
+ import { useRouter } from "next/router.js";
3
3
  import { useCallback, useEffect } from "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import Head from "next/head";
5
+ import Head from "next/head.js";
6
6
  //#region src/pages/with-lingo-app.tsx
7
7
  /**
8
8
  * HOC for _app.tsx. Wraps the app in LingoProvider and handles RTL direction.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/react-next",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./pages": {
@@ -41,10 +41,10 @@
41
41
  "peerDependencies": {
42
42
  "next": ">=13",
43
43
  "react": "^18.0.0 || ^19.0.0",
44
- "@lingo.dev/react": "1.0.2"
44
+ "@lingo.dev/react": "1.0.3"
45
45
  },
46
46
  "dependencies": {
47
- "@lingo.dev/spec": "1.0.2"
47
+ "@lingo.dev/spec": "1.0.3"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@testing-library/jest-dom": "^6.9.1",
@@ -59,7 +59,7 @@
59
59
  "tsdown": "^0.12.5",
60
60
  "typescript": "^5.8.2",
61
61
  "vitest": "^4.0.18",
62
- "@lingo.dev/react": "1.0.2"
62
+ "@lingo.dev/react": "1.0.3"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown",