Skip to content

Build your personal knowledge base with Trilium Notes

chore(dx/client): set paths for client dependencies

Elian Doran113d36f5ddee
diff --git a/packages/ckeditor5-admonition/package.json b/packages/ckeditor5-admonition/package.json
index 2d84b2145e..377abce2cb 100644
--- a/packages/ckeditor5-admonition/package.json
+++ b/packages/ckeditor5-admonition/package.json
@@ -11,18 +11,7 @@
"ckeditor5-package-generator"
],
"type": "module",
- "main": "dist/index.ts",
- "module": "dist/index.js",
- "types": "dist/index.d.ts",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js"
- },
- "./*": "./dist/*",
- "./browser/*": null,
- "./package.json": "./package.json"
- },
+ "main": "src/index.ts",
"engines": {
"node": ">=18.0.0",
"npm": ">=5.7.1"
diff --git a/packages/ckeditor5-footnotes/package.json b/packages/ckeditor5-footnotes/package.json
index 0755f8c300..b2eb2e16bf 100644
--- a/packages/ckeditor5-footnotes/package.json
+++ b/packages/ckeditor5-footnotes/package.json
@@ -11,18 +11,7 @@
"ckeditor5-package-generator"
],
"type": "module",
- "main": "dist/index.ts",
- "module": "dist/index.js",
- "types": "dist/index.d.ts",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js"
- },
- "./*": "./dist/*",
- "./browser/*": null,
- "./package.json": "./package.json"
- },
+ "main": "src/index.ts",
"license": "ISC",
"engines": {
"node": ">=18.0.0",
diff --git a/packages/ckeditor5-keyboard-marker/package.json b/packages/ckeditor5-keyboard-marker/package.json
index 5024f813e5..e4f34f135b 100644
--- a/packages/ckeditor5-keyboard-marker/package.json
+++ b/packages/ckeditor5-keyboard-marker/package.json
@@ -11,18 +11,7 @@
"ckeditor5-package-generator"
],
"type": "module",
- "main": "dist/index.ts",
- "module": "dist/index.js",
- "types": "dist/index.d.ts",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js"
- },
- "./*": "./dist/*",
- "./browser/*": null,
- "./package.json": "./package.json"
- },
+ "main": "src/index.ts",
"author": "Marek Lewandowski",
"license": "GPL-3.0",
"homepage": "https://github.com/mlewand/ckeditor5-keyboard-marker",
diff --git a/packages/ckeditor5-math/package.json b/packages/ckeditor5-math/package.json
index 7c58f2c784..a6f30aba3e 100644
--- a/packages/ckeditor5-math/package.json
+++ b/packages/ckeditor5-math/package.json
@@ -12,18 +12,7 @@
"katex"
],
"type": "module",
- "main": "dist/index.ts",
- "module": "dist/index.js",
- "types": "dist/index.d.ts",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js"
- },
- "./*": "./dist/*",
- "./browser/*": null,
- "./package.json": "./package.json"
- },
+ "main": "src/index.ts",
"author": "Sauli Anto",
"license": "ISC",
"engines": {
diff --git a/packages/ckeditor5-mermaid/package.json b/packages/ckeditor5-mermaid/package.json
index 16e82a001e..41d4c15941 100644
--- a/packages/ckeditor5-mermaid/package.json
+++ b/packages/ckeditor5-mermaid/package.json
@@ -11,18 +11,7 @@
"ckeditor5-package-generator"
],
"type": "module",
- "main": "dist/index.ts",
- "module": "dist/index.js",
- "types": "dist/index.d.ts",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js"
- },
- "./*": "./dist/*",
- "./browser/*": null,
- "./package.json": "./package.json"
- },
+ "main": "src/index.ts",
"license": "SEE LICENSE IN LICENSE.md",
"author": "CKSource (https://cksource.com/)",
"homepage": "https://github.com/ckeditor/ckeditor5-mermaid",
diff --git a/packages/ckeditor5/package.json b/packages/ckeditor5/package.json
index 49562a8cce..311e70b777 100644
--- a/packages/ckeditor5/package.json
+++ b/packages/ckeditor5/package.json
@@ -4,21 +4,7 @@
"version": "45.0.0",
"private": true,
"type": "module",
- "main": "./dist/index.js",
- "module": "./dist/index.js",
- "types": "./dist/index.d.ts",
- "exports": {
- "./package.json": "./package.json",
- "./emoji_definitions/": "./src/emoji_definitions/",
- "./content.css": "./dist/content.css",
- "./index.css": "./dist/index.css",
- ".": {
- "development": "./src/index.ts",
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js",
- "default": "./dist/index.js"
- }
- },
+ "main": "./src/index.ts",
"nx": {
"name": "ckeditor5",
"targets": {
diff --git a/packages/highlightjs/package.json b/packages/highlightjs/package.json
index c6eb24ed15..e2214e515f 100644
--- a/packages/highlightjs/package.json
+++ b/packages/highlightjs/package.json
@@ -3,18 +3,7 @@
"version": "0.0.1",
"private": true,
"type": "module",
- "main": "./dist/index.js",
- "module": "./dist/index.js",
- "types": "./dist/index.d.ts",
- "exports": {
- "./package.json": "./package.json",
- ".": {
- "development": "./src/index.ts",
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js",
- "default": "./dist/index.js"
- }
- },
+ "main": "./src/index.ts",
"nx": {
"name": "highlightjs"
},