diff --git a/demos/tsconfig.json b/demos/tsconfig.json index c427c2499..fc3731a11 100644 --- a/demos/tsconfig.json +++ b/demos/tsconfig.json @@ -4,39 +4,7 @@ "skipLibCheck": true, "types": ["node"], "module": "nodenext", - "moduleResolution": "nodenext", - "paths": { - "@tiptap/static-renderer/pm/html-string": [ - "../packages/static-renderer/src/pm/html-string/index.js", - "../packages/static-renderer/src/pm/html-string/index.ts" - ], - "@tiptap/static-renderer/pm/markdown": [ - "../packages/static-renderer/src/pm/markdown/index.js", - "../packages/static-renderer/src/pm/markdown/index.ts" - ], - "@tiptap/static-renderer/pm/react": [ - "../packages/static-renderer/src/pm/react/index.js", - "../packages/static-renderer/src/pm/react/index.ts" - ], - "@tiptap/static-renderer/json/html-string": [ - "../packages/static-renderer/src/json/html-string/index.js", - "../packages/static-renderer/src/json/html-string/index.ts" - ], - "@tiptap/static-renderer/json/react": [ - "../packages/static-renderer/src/json/react/index.js", - "../packages/static-renderer/src/json/react/index.ts" - ], - "@tiptap/*": [ - "../packages/*/src/index.js", - "../packages/*/src", - "../packages/*/dist/index.js", - "../packages/*/dist", - "../packages-deprecated/*/src/index.js", - "../packages-deprecated/*/src", - "../packages-deprecated/*/dist/index.js", - "../packages-deprecated/*/dist" - ] - } + "moduleResolution": "nodenext" }, "include": [ "../packages/*/src/**/*.d.ts", diff --git a/tests/cypress/tsconfig.json b/tests/cypress/tsconfig.json index a4c1af6b6..bfed8d55a 100644 --- a/tests/cypress/tsconfig.json +++ b/tests/cypress/tsconfig.json @@ -31,13 +31,13 @@ ], "@tiptap/*": [ "packages/*/src/index.js", - "packages/*/src", + "packages/*/src/index.ts", "packages/*/dist/index.js", - "packages/*/dist", + "packages/*/dist/index.ts", "packages-deprecated/*/src/index.js", - "packages-deprecated/*/src", + "packages-deprecated/*/src/index.ts", "packages-deprecated/*/dist/index.js", - "packages-deprecated/*/dist" + "packages-deprecated/*/dist/index.ts" ] }, "typeRoots": ["../../node_modules/@types", "../../node_modules/"] diff --git a/tsconfig.build.json b/tsconfig.build.json index bf40cf775..be33c55e2 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,38 +2,6 @@ "extends": "./tsconfig.json", "compilerOptions": { "rootDir": "../../", - "paths": { - "@tiptap/static-renderer/pm/html-string": [ - "packages/static-renderer/src/pm/html-string/index.js", - "packages/static-renderer/src/pm/html-string/index.ts" - ], - "@tiptap/static-renderer/pm/markdown": [ - "packages/static-renderer/src/pm/markdown/index.js", - "packages/static-renderer/src/pm/markdown/index.ts" - ], - "@tiptap/static-renderer/pm/react": [ - "packages/static-renderer/src/pm/react/index.js", - "packages/static-renderer/src/pm/react/index.ts" - ], - "@tiptap/static-renderer/json/html-string": [ - "packages/static-renderer/src/json/html-string/index.js", - "packages/static-renderer/src/json/html-string/index.ts" - ], - "@tiptap/static-renderer/json/react": [ - "packages/static-renderer/src/json/react/index.js", - "packages/static-renderer/src/json/react/index.ts" - ], - "@tiptap/*": [ - "packages/*/src/index.js", - "packages/*/src", - "packages/*/dist/index.js", - "packages/*/dist", - "packages-deprecated/*/src/index.js", - "packages-deprecated/*/src", - "packages-deprecated/*/dist/index.js", - "packages-deprecated/*/dist" - ] - }, "lib": ["esnext", "dom", "dom.iterable", "scripthost"] } } diff --git a/tsconfig.json b/tsconfig.json index cb7bbd95c..49a91a2fd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,13 +39,13 @@ ], "@tiptap/*": [ "packages/*/src/index.js", - "packages/*/src", + "packages/*/src/index.ts", "packages/*/dist/index.js", - "packages/*/dist", + "packages/*/dist/index.ts", "packages-deprecated/*/src/index.js", - "packages-deprecated/*/src", + "packages-deprecated/*/src/index.ts", "packages-deprecated/*/dist/index.js", - "packages-deprecated/*/dist" + "packages-deprecated/*/dist/index.ts" ] }, "lib": ["esnext", "dom", "dom.iterable", "scripthost"]