@intlayer/editor-react 9.7.1 → 9.7.2

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.
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_EditorStateContext = require("./EditorStateContext.cjs");
5
+ let _intlayer_editor = require("@intlayer/editor");
5
6
  let react = require("react");
6
7
  let react_jsx_runtime = require("react/jsx-runtime");
7
- let _intlayer_editor = require("@intlayer/editor");
8
8
 
9
9
  // src/EditorProvider.tsx
10
10
  /**
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { EditorStateProvider } from "./EditorStateContext.mjs";
4
+ import { EditorStateManager, defineIntlayerElements, setGlobalEditorManager } from "@intlayer/editor";
4
5
  import { useEffect, useRef } from "react";
5
6
  import { jsx } from "react/jsx-runtime";
6
- import { EditorStateManager, defineIntlayerElements, setGlobalEditorManager } from "@intlayer/editor";
7
7
 
8
8
  // src/EditorProvider.tsx
9
9
  /**
@@ -1,5 +1,5 @@
1
- import { EditorStateManager } from "@intlayer/editor";
2
1
  import { FC, PropsWithChildren } from "react";
2
+ import { EditorStateManager } from "@intlayer/editor";
3
3
  export declare const EditorStateProvider: FC<PropsWithChildren<{
4
4
  manager: EditorStateManager;
5
5
  }>>;
package/package.json CHANGED
@@ -1,21 +1,17 @@
1
1
  {
2
2
  "name": "@intlayer/editor-react",
3
- "version": "9.7.1",
3
+ "version": "9.7.2",
4
4
  "private": false,
5
5
  "description": "Provides the states, contexts, hooks and components to interact with the Intlayer editor for a React application",
6
6
  "keywords": [
7
- "intlayer",
7
+ "api",
8
8
  "editor",
9
- "api"
9
+ "intlayer"
10
10
  ],
11
11
  "homepage": "https://intlayer.org",
12
12
  "bugs": {
13
13
  "url": "https://github.com/aymericzip/intlayer/issues"
14
14
  },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/aymericzip/intlayer.git"
18
- },
19
15
  "license": "Apache-2.0",
20
16
  "author": {
21
17
  "name": "Aymeric PINEAU",
@@ -28,15 +24,15 @@
28
24
  "url": "https://github.com/aymericzip"
29
25
  }
30
26
  ],
31
- "sideEffects": false,
32
- "exports": {
33
- ".": {
34
- "types": "./dist/types/index.d.ts",
35
- "require": "./dist/cjs/index.cjs",
36
- "import": "./dist/esm/index.mjs"
37
- },
38
- "./package.json": "./package.json"
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/aymericzip/intlayer.git"
39
30
  },
31
+ "files": [
32
+ "./dist",
33
+ "./package.json"
34
+ ],
35
+ "sideEffects": false,
40
36
  "main": "dist/cjs/index.cjs",
41
37
  "module": "dist/esm/index.mjs",
42
38
  "types": "dist/types/index.d.ts",
@@ -47,19 +43,23 @@
47
43
  ]
48
44
  }
49
45
  },
50
- "files": [
51
- "./dist",
52
- "./package.json"
53
- ],
46
+ "exports": {
47
+ ".": {
48
+ "types": "./dist/types/index.d.ts",
49
+ "require": "./dist/cjs/index.cjs",
50
+ "import": "./dist/esm/index.mjs"
51
+ },
52
+ "./package.json": "./package.json"
53
+ },
54
54
  "scripts": {
55
55
  "build": "bun --bun tsdown --config tsdown.config.ts",
56
56
  "build:ci": "bun --bun tsdown --config tsdown.config.ts",
57
57
  "clean": "bun --bun rimraf ./dist .turbo",
58
58
  "dev": "bun --bun tsdown --config tsdown.config.ts --watch",
59
- "format": "bun --bun biome format . --check",
60
- "format:fix": "bun --bun biome format --write .",
61
- "lint": "bun --bun biome lint .",
62
- "lint:fix": "bun --bun biome lint --write .",
59
+ "format": "oxfmt --check .",
60
+ "format:fix": "oxfmt .",
61
+ "lint": "oxlint .",
62
+ "lint:fix": "oxlint --fix .",
63
63
  "process-files": "ts-node src/transpiler/processFilesCLI.ts --dir $npm_config_dir --extension $npm_config_extension --no-node-snapshot",
64
64
  "prepublish": "cp -f ../../../README.md ./README.md",
65
65
  "publish": "bun publish || true",
@@ -71,10 +71,10 @@
71
71
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
72
72
  },
73
73
  "dependencies": {
74
- "@intlayer/config": "9.7.1",
75
- "@intlayer/core": "9.7.1",
76
- "@intlayer/editor": "9.7.1",
77
- "@intlayer/types": "9.7.1"
74
+ "@intlayer/config": "9.7.2",
75
+ "@intlayer/core": "9.7.2",
76
+ "@intlayer/editor": "9.7.2",
77
+ "@intlayer/types": "9.7.2"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/node": "^26",
@@ -85,8 +85,8 @@
85
85
  "@utils/tsdown-config": "1.0.4",
86
86
  "react": ">=16.0.0",
87
87
  "react-dom": ">=16.0.0",
88
- "rimraf": "6.1.3",
89
- "tsdown": "0.23.4",
88
+ "rimraf": "6.1.4",
89
+ "tsdown": "0.23.7",
90
90
  "typescript": "7.0.2",
91
91
  "vitest": "5.1.0"
92
92
  },